Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions rules/AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,7 @@ Never run a final `loop render` or hand deliverables to the user before running
- `loop source-check <dir>` -> verify every `"source"` in `showcase.json` resolves to an existing file and valid line range.
- **Cold Read**: Invoke the `loop-cold-reader` subagent (or `loop-cold-read` skill) with *only* `storyboard.png` to confirm an unprimed reader can state what the project does in one sentence matching `showcase.json#says`.
- **3-Round Revision Cap**: Repeat the inspect -> revise -> re-check cycle at most **3 rounds**. If any check still fails after Round 3, stop and report the exact failing metric and trade-off to the user.

## 6. Concise Output

- Keep user-facing updates and final replies brief (2–5 short lines): state the generated files, `seamScore`, and any key change or blocker. Never print long recaps, repeated status walls, or raw frame-delta arrays.
3 changes: 2 additions & 1 deletion tool/bin/loop.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@ async function cmdSeam(targetDir, flags) {
const report = analyzeSeam(frames, evalW, evalH);
const outPath = path.join(absDir, "seam.json");
fs.writeFileSync(outPath, JSON.stringify(report, null, 2) + "\n", "utf8");
console.log(JSON.stringify({ file: outPath, ...report }, null, 2));
const { normalizedSteps: _omit, ...summary } = report;
console.log(JSON.stringify({ file: outPath, ...summary }, null, 2));
if (!report.pass) process.exitCode = 1;
}

Expand Down
Loading