From 949c5339f169671023425a2cb9d6c9cce8748322 Mon Sep 17 00:00:00 2001 From: MarcusK00 Date: Wed, 18 Nov 2026 19:24:01 +0100 Subject: [PATCH] fix: enforce concise agent reporting in plugin rules and compact loop seam stdout --- rules/AGENTS.md | 4 ++++ tool/bin/loop.js | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/rules/AGENTS.md b/rules/AGENTS.md index eab4dc5..4d9df40 100644 --- a/rules/AGENTS.md +++ b/rules/AGENTS.md @@ -66,3 +66,7 @@ Never run a final `loop render` or hand deliverables to the user before running - `loop source-check ` -> 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. diff --git a/tool/bin/loop.js b/tool/bin/loop.js index e4a5ab4..9ff240d 100755 --- a/tool/bin/loop.js +++ b/tool/bin/loop.js @@ -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; }