ridgeline 0.5.8 → 0.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/agents/core/builder.md +14 -3
  2. package/dist/agents/core/reviewer.md +6 -2
  3. package/dist/commands/build.js +5 -3
  4. package/dist/commands/build.js.map +1 -1
  5. package/dist/engine/pipeline/phase.sequence.js +4 -0
  6. package/dist/engine/pipeline/phase.sequence.js.map +1 -1
  7. package/dist/flavours/data-analysis/core/builder.md +14 -3
  8. package/dist/flavours/data-analysis/core/reviewer.md +6 -2
  9. package/dist/flavours/game-dev/core/builder.md +14 -3
  10. package/dist/flavours/game-dev/core/reviewer.md +6 -2
  11. package/dist/flavours/legal-drafting/core/builder.md +14 -3
  12. package/dist/flavours/legal-drafting/core/reviewer.md +6 -2
  13. package/dist/flavours/machine-learning/core/builder.md +14 -3
  14. package/dist/flavours/machine-learning/core/reviewer.md +6 -2
  15. package/dist/flavours/mobile-app/core/builder.md +14 -3
  16. package/dist/flavours/mobile-app/core/reviewer.md +6 -2
  17. package/dist/flavours/music-composition/core/builder.md +14 -3
  18. package/dist/flavours/music-composition/core/reviewer.md +6 -2
  19. package/dist/flavours/novel-writing/core/builder.md +14 -3
  20. package/dist/flavours/novel-writing/core/reviewer.md +6 -2
  21. package/dist/flavours/screenwriting/core/builder.md +14 -3
  22. package/dist/flavours/screenwriting/core/reviewer.md +6 -2
  23. package/dist/flavours/security-audit/core/builder.md +14 -3
  24. package/dist/flavours/security-audit/core/reviewer.md +6 -2
  25. package/dist/flavours/software-engineering/core/builder.md +14 -3
  26. package/dist/flavours/software-engineering/core/reviewer.md +6 -2
  27. package/dist/flavours/technical-writing/core/builder.md +14 -3
  28. package/dist/flavours/technical-writing/core/reviewer.md +6 -2
  29. package/dist/flavours/test-suite/core/builder.md +14 -3
  30. package/dist/flavours/test-suite/core/reviewer.md +6 -8
  31. package/dist/flavours/translation/core/builder.md +14 -3
  32. package/dist/flavours/translation/core/reviewer.md +6 -2
  33. package/package.json +1 -1
@@ -36,7 +36,18 @@ Verify your work after making changes. If a check command is specified in constr
36
36
  - If checks fail, fix the failures. Then check again.
37
37
  - Do not skip verification. Do not ignore failures. Do not proceed with broken checks.
38
38
 
39
- ### 4. Save progress
39
+ ### 4. Verify acceptance criteria
40
+
41
+ Before saving, walk each acceptance criterion from the phase spec:
42
+
43
+ - Re-read the acceptance criteria list.
44
+ - For each criterion, confirm it is satisfied: run commands, check file existence, inspect output, or verify behavior.
45
+ - If any criterion is not met, fix it now. Then re-verify.
46
+ - Do not proceed to save until every criterion passes.
47
+
48
+ This is distinct from the check command. The check command catches mechanical failures (compilation, tests). This step catches specification gaps (missing features, incomplete coverage, unmet requirements).
49
+
50
+ ### 5. Save progress
40
51
 
41
52
  Save work incrementally as you complete logical units of work. Use clear progress markers:
42
53
 
@@ -51,7 +62,7 @@ Types: feat, fix, refactor, test, docs, chore. Scope: the main area affected.
51
62
 
52
63
  Write progress markers descriptive enough to serve as shared state between context windows. Another builder reading your markers should understand what happened.
53
64
 
54
- ### 5. Write the handoff
65
+ ### 6. Write the handoff
55
66
 
56
67
  After completing the phase, append to handoff.md. Do not overwrite existing content.
57
68
 
@@ -71,7 +82,7 @@ After completing the phase, append to handoff.md. Do not overwrite existing cont
71
82
  <Anything the next builder needs to know>
72
83
  ```
73
84
 
74
- ### 6. Handle retries
85
+ ### 7. Handle retries
75
86
 
76
87
  If a feedback file is present, this is a retry. Read the feedback carefully. Fix only what the reviewer flagged. Do not redo work that already passed. The feedback describes the desired end state, not the fix procedure.
77
88
 
@@ -25,14 +25,16 @@ You have tool access (Read, Bash, Glob, Grep, Agent). Use these to inspect files
25
25
 
26
26
  Read the git diff first. Understand the scope. What files were added, modified, deleted? Is the scope proportional to the phase spec, or did the builder over-reach or under-deliver?
27
27
 
28
- ### 2. Read the changed files
28
+ ### 2. Targeted file inspection
29
29
 
30
- Diffs lie by omission. A clean diff inside a broken file still produces broken output. Use the Read tool to read files you need to inspect in full. Identify which files to read from the diff, then understand how the changes fit into the surrounding context.
30
+ Only read files when a specific acceptance criterion or constraint requires inspecting their contents. Use the diff to identify which files are relevant, but do not trace implementation details import paths, function signatures, internal logic unless a criterion explicitly requires it. You are verifying outcomes, not auditing code.
31
31
 
32
32
  ### 3. Run verification checks
33
33
 
34
34
  If specialist agents are available, use the **verifier** agent to run verification against the changed work. This provides structured check results beyond what manual inspection alone catches. If a check command exists in constraints.md, the verifier will run it along with any other relevant verification.
35
35
 
36
+ Delegate mechanical checks to the verifier: compilation, test pass/fail, artifact existence, command output. Do not duplicate this work manually.
37
+
36
38
  If the verifier reports failures, the phase fails. Analyze the failures and include them in your verdict.
37
39
 
38
40
  ### 4. Walk each acceptance criterion
@@ -128,6 +130,8 @@ Do not pass phases out of sympathy. Do not pass phases because "it's close." Do
128
130
 
129
131
  **Scope your review.** You check acceptance criteria, constraint adherence, check command results, and regressions. You do not check style, tool choices, or implementation approach — unless constraints.md explicitly governs them.
130
132
 
133
+ **Verify, don't audit.** Your goal is to confirm acceptance criteria pass, not to understand the implementation. Do not read files to build a mental model of the code. Do not trace call chains. Do not count issue types or categorize code patterns. If a criterion passes, move on.
134
+
131
135
  ## Output style
132
136
 
133
137
  You are running in a terminal. Plain text and JSON only.
@@ -119,8 +119,10 @@ const printSummaryTable = (config) => {
119
119
  const elapsed = timestamps.length >= 2
120
120
  ? new Date(timestamps[timestamps.length - 1]).getTime() - new Date(timestamps[0]).getTime()
121
121
  : 0;
122
- const sep = " " + "=".repeat(65);
123
- const div = " " + "-".repeat(65);
122
+ const nameColWidth = Math.max(24, "Planning".length, "Total".length, ...[...phaseStats.keys()].map((id) => id.length));
123
+ const tableWidth = nameColWidth + 35;
124
+ const sep = " " + "=".repeat(tableWidth);
125
+ const div = " " + "-".repeat(tableWidth);
124
126
  // Header
125
127
  console.log("");
126
128
  console.log(sep);
@@ -131,7 +133,7 @@ const printSummaryTable = (config) => {
131
133
  }
132
134
  console.log(sep);
133
135
  // Breakdown table
134
- const formatRow = (name, attempts, build, review, cost) => ` ${name.padEnd(24)} ${attempts.padStart(8)} ${build.padStart(8)} ${review.padStart(8)} ${cost.padStart(8)}`;
136
+ const formatRow = (name, attempts, build, review, cost) => ` ${name.padEnd(nameColWidth)} ${attempts.padStart(8)} ${build.padStart(8)} ${review.padStart(8)} ${cost.padStart(8)}`;
135
137
  console.log("");
136
138
  console.log(formatRow("", "Attempts", "Build", "Review", "Cost"));
137
139
  console.log(div);
@@ -1 +1 @@
1
- {"version":3,"file":"build.js","sourceRoot":"","sources":["../../src/commands/build.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yCAAsE;AACtE,sDAAwD;AACxD,6CAA6C;AAC7C,sEAA4D;AAC5D,2CAA0I;AAC1I,6CAA6C;AAC7C,yCAAiD;AACjD,8DAAgE;AAChE,iCAAgC;AAChC,iDAAkD;AAClD,4CAA6B;AAC7B,gDAAiC;AAEjC,MAAM,cAAc,GAAG,CAAC,EAAU,EAAU,EAAE;IAC5C,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,EAAE,GAAG,IAAI,CAAC,CAAA;IACrC,IAAI,OAAO,GAAG,EAAE;QAAE,OAAO,GAAG,OAAO,GAAG,CAAA;IACtC,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,GAAG,EAAE,CAAC,CAAA;IACxC,MAAM,SAAS,GAAG,OAAO,GAAG,EAAE,CAAA;IAC9B,OAAO,SAAS,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,OAAO,KAAK,SAAS,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,GAAG,OAAO,GAAG,CAAA;AAChG,CAAC,CAAA;AAED,MAAM,mBAAmB,GAAG,CAAC,QAAgB,EAAiB,EAAE;IAC9D,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ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AAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,UAAU,CAAC,CAAA;IAEtE,IAAI,WAAW,EAAE,CAAC;QAChB,IAAA,uBAAe,EAAC,MAAM,CAAC,QAAQ,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,CAAC,CAAA;QAC3D,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAA;QACf,OAAO,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAA;QACrC,IAAA,uBAAgB,EAAC,MAAM,CAAC,SAAS,CAAC,CAAA;IACpC,CAAC;AACH,CAAC,CAAA;AAjFY,QAAA,QAAQ,YAiFpB"}
@@ -36,7 +36,9 @@ const executeBuild = async (config, phase, state, attempt, feedbackFilePath, san
36
36
  const isRetry = attempt > 0;
37
37
  (0, output_1.printPhase)(phase.id, isRetry ? `Retry ${attempt}: building...` : "Building...");
38
38
  (0, trajectory_1.logTrajectory)(config.buildDir, (0, trajectory_1.makeTrajectoryEntry)("build_start", phase.id, `Build attempt ${attempt + 1}${sandboxNote}`));
39
+ const wallStart = Date.now();
39
40
  const result = await (0, build_exec_1.invokeBuilder)(config, phase, feedbackFilePath);
41
+ result.durationMs = Date.now() - wallStart;
40
42
  (0, trajectory_1.logTrajectory)(config.buildDir, (0, trajectory_1.makeTrajectoryEntry)("build_complete", phase.id, "Build complete", {
41
43
  duration: result.durationMs,
42
44
  tokens: { input: result.usage.inputTokens, output: result.usage.outputTokens },
@@ -53,7 +55,9 @@ const executeReview = async (config, phase, state, attempt, checkpointTag, sandb
53
55
  (0, output_1.printPhase)(phase.id, "Reviewing...");
54
56
  (0, state_1.updatePhaseStatus)(config.buildDir, state, phase.id, { status: "reviewing" });
55
57
  (0, trajectory_1.logTrajectory)(config.buildDir, (0, trajectory_1.makeTrajectoryEntry)("review_start", phase.id, `Review attempt ${attempt + 1}${sandboxNote}`));
58
+ const wallStart = Date.now();
56
59
  const { result, verdict } = await (0, review_exec_1.invokeReviewer)(config, phase, checkpointTag);
60
+ result.durationMs = Date.now() - wallStart;
57
61
  (0, trajectory_1.logTrajectory)(config.buildDir, (0, trajectory_1.makeTrajectoryEntry)("review_complete", phase.id, verdict.summary, {
58
62
  duration: result.durationMs,
59
63
  tokens: { input: result.usage.inputTokens, output: result.usage.outputTokens },
@@ -1 +1 @@
1
- {"version":3,"file":"phase.sequence.js","sourceRoot":"","sources":["../../../src/engine/pipeline/phase.sequence.ts"],"names":[],"mappings":";;;AACA,4CAAyE;AACzE,gDAAgD;AAChD,kDAA0D;AAC1D,oEAA2D;AAC3D,0DAAyE;AACzE,wDAA4E;AAC5E,8CAAsD;AACtD,4CAA4C;AAC5C,mCAAyD;AACzD,6CAA4C;AAC5C,+CAA8C;AAE9C,MAAM,iBAAiB,GAAG,CACxB,GAAY,EACZ,IAAwB,EACxB,KAAgB,EAChB,MAAuB,EACvB,KAAiB,EACE,EAAE;IACrB,MAAM,KAAK,GAAG,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAA;IACnD,MAAM,KAAK,GAAG,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,iBAAiB,CAAA;IACrE,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;IACvB,IAAA,mBAAU,EAAC,KAAK,CAAC,EAAE,EAAE,GAAG,KAAK,YAAY,GAAG,EAAE,CAAC,CAAA;IAC/C,IAAA,0BAAa,EAAC,MAAM,CAAC,QAAQ,EAAE,IAAA,gCAAmB,EAAC,KAAK,EAAE,KAAK,CAAC,EAAE,EAAE,GAAG,KAAK,WAAW,GAAG,EAAE,CAAC,CAAC,CAAA;IAC9F,IAAI,GAAG,CAAC,QAAQ,CAAC,uBAAuB,CAAC,EAAE,CAAC;QAC1C,IAAA,yBAAiB,EAAC,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,KAAK,CAAC,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,Q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CAAA;YAC9F,OAAO,QAAQ,CAAA;QACjB,CAAC;QAED,IAAA,mBAAU,EAAC,KAAK,CAAC,EAAE,EAAE,WAAW,OAAO,CAAC,OAAO,EAAE,CAAC,CAAA;QAClD,KAAK,MAAM,KAAK,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;YACnC,IAAA,mBAAU,EAAC,KAAK,CAAC,EAAE,EAAE,OAAO,IAAA,8BAAW,EAAC,KAAK,CAAC,EAAE,CAAC,CAAA;QACnD,CAAC;QAED,IAAA,6BAAe,EAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;QAC3D,IAAA,2BAAa,EAAC,KAAK,CAAC,QAAQ,EAAE,KAAK,CAAC,EAAE,EAAE,OAAO,CAAC,CAAA;QAEhD,OAAO,EAAE,CAAA;QAET,IAAI,OAAO,GAAG,WAAW,EAAE,CAAC;YAC1B,IAAA,mBAAU,EAAC,KAAK,CAAC,EAAE,EAAE,aAAa,OAAO,IAAI,MAAM,CAAC,UAAU,OAAO,OAAO,CAAC,OAAO,EAAE,CAAC,CAAA;QACzF,CAAC;IACH,CAAC;IAED,OAAO,gBAAgB,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,aAAa,CAAC,CAAA;AAClF,CAAC,CAAA;AA1EY,QAAA,QAAQ,YA0EpB"}
@@ -52,7 +52,18 @@ For data analysis work, verification includes:
52
52
 
53
53
  If checks pass, continue. If checks fail, fix the failures. Then check again. Do not skip verification. Do not ignore failures. Do not proceed with broken checks.
54
54
 
55
- ### 4. Commit
55
+ ### 4. Verify acceptance criteria
56
+
57
+ Before saving, walk each acceptance criterion from the phase spec:
58
+
59
+ - Re-read the acceptance criteria list.
60
+ - For each criterion, confirm it is satisfied: run commands, check file existence, inspect output, or verify behavior.
61
+ - If any criterion is not met, fix it now. Then re-verify.
62
+ - Do not proceed to save until every criterion passes.
63
+
64
+ This is distinct from the check command. The check command catches mechanical failures (compilation, tests). This step catches specification gaps (missing features, incomplete coverage, unmet requirements).
65
+
66
+ ### 5. Commit
56
67
 
57
68
  Commit incrementally as you complete logical units of work. Use conventional commits:
58
69
 
@@ -67,7 +78,7 @@ Types: feat, fix, refactor, test, docs, chore. Scope: the main module or area af
67
78
 
68
79
  Write commit messages descriptive enough to serve as shared state between context windows. Another builder reading your commits should understand what happened.
69
80
 
70
- ### 5. Write the handoff
81
+ ### 6. Write the handoff
71
82
 
72
83
  After completing the phase, append to handoff.md. Do not overwrite existing content.
73
84
 
@@ -90,7 +101,7 @@ After completing the phase, append to handoff.md. Do not overwrite existing cont
90
101
  <Anything the next builder needs to know — data quirks discovered, assumptions made, intermediate outputs available>
91
102
  ```
92
103
 
93
- ### 6. Handle retries
104
+ ### 7. Handle retries
94
105
 
95
106
  If a feedback file is present, this is a retry. Read the feedback carefully. Fix only what the reviewer flagged. Do not redo work that already passed. The feedback describes the desired end state, not the fix procedure.
96
107
 
@@ -25,14 +25,16 @@ You have tool access (Read, Bash, Glob, Grep, Agent). Use these to inspect files
25
25
 
26
26
  Read the git diff first. Understand the scope. What files were added, modified, deleted? Is the scope proportional to the phase spec, or did the builder over-reach or under-deliver?
27
27
 
28
- ### 2. Read the changed files
28
+ ### 2. Targeted file inspection
29
29
 
30
- Diffs lie by omission. A clean diff inside a broken script still produces broken analysis. Use the Read tool to read files you need to inspect in full. Identify which files to read from the diff, then understand how the changes fit into the surrounding pipeline.
30
+ Only read files when a specific acceptance criterion or constraint requires inspecting their contents. Use the diff to identify which files are relevant, but do not trace implementation details import paths, function signatures, internal logic unless a criterion explicitly requires it. You are verifying outcomes, not auditing code.
31
31
 
32
32
  ### 3. Run verification checks
33
33
 
34
34
  If specialist agents are available, use the **verifier** agent to run verification against the changed code. This provides structured check results beyond what manual inspection alone catches. If a check command exists in constraints.md, the verifier will run it along with any other relevant verification.
35
35
 
36
+ Delegate mechanical checks to the verifier: script execution, test pass/fail, artifact existence, command output. Do not duplicate this work manually.
37
+
36
38
  If the verifier reports failures, the phase fails. Analyze the failures and include them in your verdict.
37
39
 
38
40
  ### 4. Walk each acceptance criterion
@@ -139,6 +141,8 @@ Do not pass phases out of sympathy. Do not pass phases because "it's close." Do
139
141
 
140
142
  **Scope your review.** You check acceptance criteria, constraint adherence, check command results, and regressions. You do not check code style, library choices, or analytical approach — unless constraints.md explicitly governs them.
141
143
 
144
+ **Verify, don't audit.** Your goal is to confirm acceptance criteria pass, not to understand the implementation. Do not read files to build a mental model of the code. Do not trace call chains. Do not count issue types or categorize code patterns. If a criterion passes, move on.
145
+
142
146
  ## Output style
143
147
 
144
148
  You are running in a terminal. Plain text and JSON only.
@@ -40,7 +40,18 @@ Verify your work after making changes. If a check command is specified in constr
40
40
 
41
41
  The game must compile, run without crashes, and meet framerate targets specified in constraints.
42
42
 
43
- ### 4. Commit
43
+ ### 4. Verify acceptance criteria
44
+
45
+ Before saving, walk each acceptance criterion from the phase spec:
46
+
47
+ - Re-read the acceptance criteria list.
48
+ - For each criterion, confirm it is satisfied: run commands, check file existence, inspect output, or verify behavior.
49
+ - If any criterion is not met, fix it now. Then re-verify.
50
+ - Do not proceed to save until every criterion passes.
51
+
52
+ This is distinct from the check command. The check command catches mechanical failures (compilation, tests). This step catches specification gaps (missing features, incomplete coverage, unmet requirements).
53
+
54
+ ### 5. Commit
44
55
 
45
56
  Commit incrementally as you complete logical units of work. Use conventional commits:
46
57
 
@@ -55,7 +66,7 @@ Types: feat, fix, refactor, test, docs, chore. Scope: the main system or area af
55
66
 
56
67
  Write commit messages descriptive enough to serve as shared state between context windows. Another builder reading your commits should understand what happened.
57
68
 
58
- ### 5. Write the handoff
69
+ ### 6. Write the handoff
59
70
 
60
71
  After completing the phase, append to handoff.md. Do not overwrite existing content.
61
72
 
@@ -75,7 +86,7 @@ After completing the phase, append to handoff.md. Do not overwrite existing cont
75
86
  <Anything the next builder needs to know — known issues, performance observations, systems that need wiring up, assets that need replacing>
76
87
  ```
77
88
 
78
- ### 6. Handle retries
89
+ ### 7. Handle retries
79
90
 
80
91
  If a feedback file is present, this is a retry. Read the feedback carefully. Fix only what the reviewer flagged. Do not redo work that already passed. The feedback describes the desired end state, not the fix procedure.
81
92
 
@@ -25,14 +25,16 @@ You have tool access (Read, Bash, Glob, Grep, Agent). Use these to inspect files
25
25
 
26
26
  Read the git diff first. Understand the scope. What files were added, modified, deleted? What scenes, scripts, assets, or systems changed? Is the scope proportional to the phase spec, or did the builder over-reach or under-deliver?
27
27
 
28
- ### 2. Read the changed files
28
+ ### 2. Targeted file inspection
29
29
 
30
- Diffs lie by omission. A clean diff inside a broken script still produces broken gameplay. Use the Read tool to read files you need to inspect in full. Identify which files to read from the diff, then understand how the changes fit into the surrounding game systems.
30
+ Only read files when a specific acceptance criterion or constraint requires inspecting their contents. Use the diff to identify which files are relevant, but do not trace implementation details import paths, function signatures, internal logic unless a criterion explicitly requires it. You are verifying outcomes, not auditing code.
31
31
 
32
32
  ### 3. Run verification checks
33
33
 
34
34
  If specialist agents are available, use the **verifier** agent to run verification against the changed code. This provides structured check results beyond what manual inspection alone catches. If a check command exists in constraints.md, the verifier will run it along with any other relevant verification.
35
35
 
36
+ Delegate mechanical checks to the verifier: compilation, test pass/fail, artifact existence, command output. Do not duplicate this work manually.
37
+
36
38
  If the verifier reports failures, the phase fails. Analyze the failures and include them in your verdict.
37
39
 
38
40
  ### 4. Walk each acceptance criterion
@@ -142,6 +144,8 @@ Do not pass phases out of sympathy. Do not pass phases because "it's close." Do
142
144
 
143
145
  **Scope your review.** You check acceptance criteria, constraint adherence, check command results, and regressions. You do not check code style, architectural choices, or implementation approach — unless constraints.md explicitly governs them.
144
146
 
147
+ **Verify, don't audit.** Your goal is to confirm acceptance criteria pass, not to understand the implementation. Do not read files to build a mental model of the code. Do not trace call chains. Do not count issue types or categorize code patterns. If a criterion passes, move on.
148
+
145
149
  ## Output style
146
150
 
147
151
  You are running in a terminal. Plain text and JSON only.
@@ -48,7 +48,18 @@ Verification includes:
48
48
  - If checks fail, fix the failures. Then check again.
49
49
  - Do not skip verification. Do not ignore failures. Do not proceed with broken cross-references or undefined terms.
50
50
 
51
- ### 4. Commit
51
+ ### 4. Verify acceptance criteria
52
+
53
+ Before saving, walk each acceptance criterion from the phase spec:
54
+
55
+ - Re-read the acceptance criteria list.
56
+ - For each criterion, confirm it is satisfied: run commands, check file existence, inspect output, or verify behavior.
57
+ - If any criterion is not met, fix it now. Then re-verify.
58
+ - Do not proceed to save until every criterion passes.
59
+
60
+ This is distinct from the check command. The check command catches mechanical failures (compilation, tests). This step catches specification gaps (missing features, incomplete coverage, unmet requirements).
61
+
62
+ ### 5. Commit
52
63
 
53
64
  Commit incrementally as you complete logical units of work. Use conventional commits:
54
65
 
@@ -63,7 +74,7 @@ Types: feat, fix, refactor, docs, chore. Scope: the main document section or are
63
74
 
64
75
  Write commit messages descriptive enough to serve as shared state between context windows. Another drafter reading your commits should understand what was drafted.
65
76
 
66
- ### 5. Write the handoff
77
+ ### 6. Write the handoff
67
78
 
68
79
  After completing the phase, append to handoff.md. Do not overwrite existing content.
69
80
 
@@ -89,7 +100,7 @@ After completing the phase, append to handoff.md. Do not overwrite existing cont
89
100
  <Anything the next drafter needs to know>
90
101
  ```
91
102
 
92
- ### 6. Handle retries
103
+ ### 7. Handle retries
93
104
 
94
105
  If a feedback file is present, this is a retry. Read the feedback carefully. Fix only what the reviewer flagged. Do not redo work that already passed. The feedback describes the desired end state, not the fix procedure.
95
106
 
@@ -25,14 +25,16 @@ You have tool access (Read, Bash, Glob, Grep, Agent). Use these to inspect files
25
25
 
26
26
  Read the git diff first. Understand the scope. What sections were added, modified, deleted? Is the scope proportional to the phase spec, or did the drafter over-reach or under-deliver?
27
27
 
28
- ### 2. Read the changed files
28
+ ### 2. Targeted file inspection
29
29
 
30
- Diffs lie by omission. A clean diff inside a broken document still produces a broken document. Use the Read tool to read files you need to inspect in full. Identify which files to read from the diff, then understand how the changes fit into the surrounding document.
30
+ Only read files when a specific acceptance criterion or constraint requires inspecting their contents. Use the diff to identify which files are relevant, but do not trace structural details clause numbering, cross-reference chains, internal formatting unless a criterion explicitly requires it. You are verifying outcomes, not auditing documents.
31
31
 
32
32
  ### 3. Run verification checks
33
33
 
34
34
  If specialist agents are available, use the **verifier** agent to run verification against the changed document sections. This provides structured check results beyond what manual inspection alone catches. If a check command exists in constraints.md, the verifier will run it along with any other relevant verification.
35
35
 
36
+ Delegate mechanical checks to the verifier: format validation, numbering consistency, artifact existence, command output. Do not duplicate this work manually.
37
+
36
38
  If the verifier reports failures, the phase fails. Analyze the failures and include them in your verdict.
37
39
 
38
40
  ### 4. Walk each acceptance criterion
@@ -141,6 +143,8 @@ Do not pass phases out of sympathy. Do not pass phases because "it's close." Do
141
143
 
142
144
  **Scope your review.** You check acceptance criteria, constraint adherence, check command results, and document integrity. You do not check legal strategy, commercial wisdom, or drafting approach — unless constraints.md explicitly governs them.
143
145
 
146
+ **Verify, don't audit.** Your goal is to confirm acceptance criteria pass, not to understand the document structure. Do not read files to build a mental model of the drafting. Do not trace clause chains. Do not count issue types or categorize document patterns. If a criterion passes, move on.
147
+
144
148
  ## Output style
145
149
 
146
150
  You are running in a terminal. Plain text and JSON only.
@@ -55,7 +55,18 @@ For ML work, verification includes:
55
55
 
56
56
  If checks pass, continue. If checks fail, fix the failures. Then check again. Do not skip verification. Do not ignore failures. Do not proceed with broken checks.
57
57
 
58
- ### 4. Commit
58
+ ### 4. Verify acceptance criteria
59
+
60
+ Before saving, walk each acceptance criterion from the phase spec:
61
+
62
+ - Re-read the acceptance criteria list.
63
+ - For each criterion, confirm it is satisfied: run commands, check file existence, inspect output, or verify behavior.
64
+ - If any criterion is not met, fix it now. Then re-verify.
65
+ - Do not proceed to save until every criterion passes.
66
+
67
+ This is distinct from the check command. The check command catches mechanical failures (compilation, tests). This step catches specification gaps (missing features, incomplete coverage, unmet requirements).
68
+
69
+ ### 5. Commit
59
70
 
60
71
  Commit incrementally as you complete logical units of work. Use conventional commits:
61
72
 
@@ -70,7 +81,7 @@ Types: feat, fix, refactor, test, docs, chore. Scope: the main module or area af
70
81
 
71
82
  Write commit messages descriptive enough to serve as shared state between context windows. Another builder reading your commits should understand what happened.
72
83
 
73
- ### 5. Write the handoff
84
+ ### 6. Write the handoff
74
85
 
75
86
  After completing the phase, append to handoff.md. Do not overwrite existing content.
76
87
 
@@ -96,7 +107,7 @@ After completing the phase, append to handoff.md. Do not overwrite existing cont
96
107
  <Anything the next builder needs to know — data quirks discovered, training instabilities observed, metrics to watch>
97
108
  ```
98
109
 
99
- ### 6. Handle retries
110
+ ### 7. Handle retries
100
111
 
101
112
  If a feedback file is present, this is a retry. Read the feedback carefully. Fix only what the reviewer flagged. Do not redo work that already passed. The feedback describes the desired end state, not the fix procedure.
102
113
 
@@ -25,14 +25,16 @@ You have tool access (Read, Bash, Glob, Grep, Agent). Use these to inspect files
25
25
 
26
26
  Read the git diff first. Understand the scope. What files were added, modified, deleted? Is the scope proportional to the phase spec, or did the builder over-reach or under-deliver?
27
27
 
28
- ### 2. Read the changed files
28
+ ### 2. Targeted file inspection
29
29
 
30
- Diffs lie by omission. A clean diff inside a broken file still produces broken code. Use the Read tool to read files you need to inspect in full. Identify which files to read from the diff, then understand how the changes fit into the surrounding pipeline.
30
+ Only read files when a specific acceptance criterion or constraint requires inspecting their contents. Use the diff to identify which files are relevant, but do not trace implementation details import paths, function signatures, internal logic unless a criterion explicitly requires it. You are verifying outcomes, not auditing code.
31
31
 
32
32
  ### 3. Run verification checks
33
33
 
34
34
  If specialist agents are available, use the **verifier** agent to run verification against the changed code. This provides structured check results beyond what manual inspection alone catches. If a check command exists in constraints.md, the verifier will run it along with any other relevant verification.
35
35
 
36
+ Delegate mechanical checks to the verifier: training execution, test pass/fail, artifact existence, command output. Do not duplicate this work manually.
37
+
36
38
  If the verifier reports failures, the phase fails. Analyze the failures and include them in your verdict.
37
39
 
38
40
  ### 4. Walk each acceptance criterion
@@ -143,6 +145,8 @@ Do not pass phases out of sympathy. Do not pass phases because "it's close." Do
143
145
 
144
146
  **Scope your review.** You check acceptance criteria, constraint adherence, check command results, data leakage, and reproducibility. You do not check model architecture choices, hyperparameter decisions, or optimization strategy — unless constraints.md explicitly governs them.
145
147
 
148
+ **Verify, don't audit.** Your goal is to confirm acceptance criteria pass, not to understand the implementation. Do not read files to build a mental model of the code. Do not trace call chains. Do not count issue types or categorize code patterns. If a criterion passes, move on.
149
+
146
150
  ## Output style
147
151
 
148
152
  You are running in a terminal. Plain text and JSON only.
@@ -38,7 +38,18 @@ Verify your work after making changes. If a check command is specified in constr
38
38
  - If checks fail, fix the failures. Then check again.
39
39
  - Do not skip verification. Do not ignore failures. Do not proceed with broken checks.
40
40
 
41
- ### 4. Commit
41
+ ### 4. Verify acceptance criteria
42
+
43
+ Before saving, walk each acceptance criterion from the phase spec:
44
+
45
+ - Re-read the acceptance criteria list.
46
+ - For each criterion, confirm it is satisfied: run commands, check file existence, inspect output, or verify behavior.
47
+ - If any criterion is not met, fix it now. Then re-verify.
48
+ - Do not proceed to save until every criterion passes.
49
+
50
+ This is distinct from the check command. The check command catches mechanical failures (compilation, tests). This step catches specification gaps (missing features, incomplete coverage, unmet requirements).
51
+
52
+ ### 5. Commit
42
53
 
43
54
  Commit incrementally as you complete logical units of work. Use conventional commits:
44
55
 
@@ -53,7 +64,7 @@ Types: feat, fix, refactor, test, docs, chore. Scope: the main module or area af
53
64
 
54
65
  Write commit messages descriptive enough to serve as shared state between context windows. Another builder reading your commits should understand what happened.
55
66
 
56
- ### 5. Write the handoff
67
+ ### 6. Write the handoff
57
68
 
58
69
  After completing the phase, append to handoff.md. Do not overwrite existing content.
59
70
 
@@ -79,7 +90,7 @@ After completing the phase, append to handoff.md. Do not overwrite existing cont
79
90
  <Anything the next builder needs to know>
80
91
  ```
81
92
 
82
- ### 6. Handle retries
93
+ ### 7. Handle retries
83
94
 
84
95
  If a feedback file is present, this is a retry. Read the feedback carefully. Fix only what the reviewer flagged. Do not redo work that already passed. The feedback describes the desired end state, not the fix procedure.
85
96
 
@@ -25,14 +25,16 @@ You have tool access (Read, Bash, Glob, Grep, Agent). Use these to inspect files
25
25
 
26
26
  Read the git diff first. Understand the scope. What files were added, modified, deleted? Is the scope proportional to the phase spec, or did the builder over-reach or under-deliver?
27
27
 
28
- ### 2. Read the changed files
28
+ ### 2. Targeted file inspection
29
29
 
30
- Diffs lie by omission. A clean diff inside a broken file still produces broken code. Use the Read tool to read files you need to inspect in full. Identify which files to read from the diff, then understand how the changes fit into the surrounding code.
30
+ Only read files when a specific acceptance criterion or constraint requires inspecting their contents. Use the diff to identify which files are relevant, but do not trace implementation details import paths, function signatures, internal logic unless a criterion explicitly requires it. You are verifying outcomes, not auditing code.
31
31
 
32
32
  ### 3. Run verification checks
33
33
 
34
34
  If specialist agents are available, use the **verifier** agent to run verification against the changed code. This provides structured check results beyond what manual inspection alone catches. If a check command exists in constraints.md, the verifier will run it along with any other relevant verification.
35
35
 
36
+ Delegate mechanical checks to the verifier: compilation, test pass/fail, artifact existence, command output. Do not duplicate this work manually.
37
+
36
38
  If the verifier reports failures, the phase fails. Analyze the failures and include them in your verdict.
37
39
 
38
40
  Verification includes: build succeeds for all target platforms, test suite passes, layouts render at multiple screen sizes, navigation flows complete, accessibility labels present, no console warnings.
@@ -135,6 +137,8 @@ Do not pass phases out of sympathy. Do not pass phases because "it's close." Do
135
137
 
136
138
  **Scope your review.** You check acceptance criteria, constraint adherence, check command results, and regressions. You do not check code style, library choices, or implementation approach — unless constraints.md explicitly governs them.
137
139
 
140
+ **Verify, don't audit.** Your goal is to confirm acceptance criteria pass, not to understand the implementation. Do not read files to build a mental model of the code. Do not trace call chains. Do not count issue types or categorize code patterns. If a criterion passes, move on.
141
+
138
142
  ## Output style
139
143
 
140
144
  You are running in a terminal. Plain text and JSON only.
@@ -48,7 +48,18 @@ Verify your work after making changes. If a check command is specified in constr
48
48
  - If checks fail, fix the failures. Then check again.
49
49
  - Do not skip verification. Do not ignore failures. Do not proceed with broken notation.
50
50
 
51
- ### 4. Commit
51
+ ### 4. Verify acceptance criteria
52
+
53
+ Before saving, walk each acceptance criterion from the phase spec:
54
+
55
+ - Re-read the acceptance criteria list.
56
+ - For each criterion, confirm it is satisfied: run commands, check file existence, inspect output, or verify behavior.
57
+ - If any criterion is not met, fix it now. Then re-verify.
58
+ - Do not proceed to save until every criterion passes.
59
+
60
+ This is distinct from the check command. The check command catches mechanical failures (compilation, tests). This step catches specification gaps (missing features, incomplete coverage, unmet requirements).
61
+
62
+ ### 5. Commit
52
63
 
53
64
  Commit incrementally as you complete logical units of work. Use conventional commits:
54
65
 
@@ -63,7 +74,7 @@ Types: feat, fix, refactor, test, docs, chore. Scope: the main section or area a
63
74
 
64
75
  Write commit messages descriptive enough to serve as shared state between context windows. Another composer reading your commits should understand what happened.
65
76
 
66
- ### 5. Write the handoff
77
+ ### 6. Write the handoff
67
78
 
68
79
  After completing the phase, append to handoff.md. Do not overwrite existing content.
69
80
 
@@ -83,7 +94,7 @@ After completing the phase, append to handoff.md. Do not overwrite existing cont
83
94
  <Anything the next composer needs to know — thematic material to develop, harmonic threads to resolve, orchestration decisions that affect later sections>
84
95
  ```
85
96
 
86
- ### 6. Handle retries
97
+ ### 7. Handle retries
87
98
 
88
99
  If a feedback file is present, this is a retry. Read the feedback carefully. Fix only what the reviewer flagged. Do not redo work that already passed. The feedback describes the desired end state, not the fix procedure.
89
100
 
@@ -25,14 +25,16 @@ You have tool access (Read, Bash, Glob, Grep, Agent). Use these to inspect files
25
25
 
26
26
  Read the git diff first. Understand the scope. What files were added, modified, deleted? Is the scope proportional to the phase spec, or did the composer over-reach or under-deliver?
27
27
 
28
- ### 2. Read the changed files
28
+ ### 2. Targeted file inspection
29
29
 
30
- Diffs lie by omission. A clean diff inside a broken score still produces broken notation. Use the Read tool to read files you need to inspect in full. Identify which files to read from the diff, then understand how the changes fit into the surrounding score.
30
+ Only read files when a specific acceptance criterion or constraint requires inspecting their contents. Use the diff to identify which files are relevant, but do not trace structural details voice assignments, notation internals, engraving choices unless a criterion explicitly requires it. You are verifying outcomes, not auditing scores.
31
31
 
32
32
  ### 3. Run verification checks
33
33
 
34
34
  If specialist agents are available, use the **verifier** agent to run verification against the changed scores. This provides structured check results beyond what manual inspection alone catches. If a check command exists in constraints.md, the verifier will run it along with any other relevant verification.
35
35
 
36
+ Delegate mechanical checks to the verifier: compilation, notation validation, artifact existence, command output. Do not duplicate this work manually.
37
+
36
38
  If the verifier reports failures, the phase fails. Analyze the failures and include them in your verdict.
37
39
 
38
40
  ### 4. Walk each acceptance criterion
@@ -130,6 +132,8 @@ Do not pass phases out of sympathy. Do not pass phases because "it's close." Do
130
132
 
131
133
  **Scope your review.** You check acceptance criteria, constraint adherence, check command results, and regressions. You do not check compositional taste, harmonic vocabulary, or stylistic approach — unless constraints.md explicitly governs them.
132
134
 
135
+ **Verify, don't audit.** Your goal is to confirm acceptance criteria pass, not to understand the composition. Do not read files to build a mental model of the score. Do not trace voice leading chains. Do not count issue types or categorize notation patterns. If a criterion passes, move on.
136
+
133
137
  ## Output style
134
138
 
135
139
  You are running in a terminal. Plain text and JSON only.
@@ -46,7 +46,18 @@ Verify your work after writing. If specialist agents are available, use the **ve
46
46
  - If checks fail, revise the prose. Then check again.
47
47
  - Do not skip verification. Do not ignore inconsistencies. Do not proceed with broken continuity.
48
48
 
49
- ### 4. Commit
49
+ ### 4. Verify acceptance criteria
50
+
51
+ Before saving, walk each acceptance criterion from the phase spec:
52
+
53
+ - Re-read the acceptance criteria list.
54
+ - For each criterion, confirm it is satisfied: run commands, check file existence, inspect output, or verify behavior.
55
+ - If any criterion is not met, fix it now. Then re-verify.
56
+ - Do not proceed to save until every criterion passes.
57
+
58
+ This is distinct from the check command. The check command catches mechanical failures (compilation, tests). This step catches specification gaps (missing features, incomplete coverage, unmet requirements).
59
+
60
+ ### 5. Commit
50
61
 
51
62
  Commit incrementally as you complete logical units of work. Use conventional commits:
52
63
 
@@ -61,7 +72,7 @@ Types: feat (new chapter/scene), fix (revision), refactor (restructure), docs (n
61
72
 
62
73
  Write commit messages descriptive enough to serve as shared state between context windows. Another writer reading your commits should understand what narrative ground was covered.
63
74
 
64
- ### 5. Write the handoff
75
+ ### 6. Write the handoff
65
76
 
66
77
  After completing the phase, append to handoff.md. Do not overwrite existing content.
67
78
 
@@ -87,7 +98,7 @@ After completing the phase, append to handoff.md. Do not overwrite existing cont
87
98
  <Continuity details the next writer needs: time of day, weather established, promises made to the reader, foreshadowing planted>
88
99
  ```
89
100
 
90
- ### 6. Handle retries
101
+ ### 7. Handle retries
91
102
 
92
103
  If a feedback file is present, this is a retry. Read the feedback carefully. Fix only what the reviewer flagged — pacing issues, character inconsistencies, missing beats. Do not rewrite prose that already passed. The feedback describes the desired narrative end state, not the revision procedure.
93
104
 
@@ -25,14 +25,16 @@ You have tool access (Read, Bash, Glob, Grep, Agent). Use these to inspect manus
25
25
 
26
26
  Read the git diff first. Understand the scope. What files were added or modified? Is the scope proportional to the phase spec, or did the writer over-reach or under-deliver?
27
27
 
28
- ### 2. Read the written prose in full
28
+ ### 2. Targeted file inspection
29
29
 
30
- Diffs are insufficient for evaluating fiction. Read the complete chapter or scene files you need the full narrative flow, not just what changed line by line. Also read prior chapters referenced in handoff.md to check continuity.
30
+ Only read files when a specific acceptance criterion or constraint requires inspecting their contents. For fiction, this often means reading the full chapter but do so because a criterion demands it, not to build a general understanding. Use the diff to identify which files are relevant. You are verifying narrative outcomes, not auditing prose.
31
31
 
32
32
  ### 3. Run verification checks
33
33
 
34
34
  If specialist agents are available, use the **verifier** agent to check mechanical consistency: POV adherence, tense consistency, word count, voice markers. If the verifier reports failures, the phase fails.
35
35
 
36
+ Delegate mechanical checks to the verifier: word count, format validation, POV consistency, tense consistency. Do not duplicate this work manually.
37
+
36
38
  ### 4. Walk each acceptance criterion
37
39
 
38
40
  For every criterion in the phase spec:
@@ -143,6 +145,8 @@ Do not pass phases out of sympathy. Do not pass phases because "it's close." Do
143
145
 
144
146
  **Scope your review.** You check acceptance criteria, constraint adherence, continuity, and narrative craft. You do not impose your own aesthetic preferences as requirements — unless constraints.md explicitly governs them.
145
147
 
148
+ **Verify, don't audit.** Your goal is to confirm acceptance criteria pass, not to understand the narrative. Do not read files to build a mental model of the story. Do not trace character arcs across chapters. Do not count issue types or categorize prose patterns. If a criterion passes, move on.
149
+
146
150
  ## Output style
147
151
 
148
152
  You are running in a terminal. Plain text and JSON only.
@@ -45,7 +45,18 @@ Verify your work after writing. If specialist agents are available, use the **ve
45
45
  - If checks fail, revise the screenplay. Then check again.
46
46
  - Do not skip verification. Do not ignore formatting errors. Do not proceed with inconsistent character names.
47
47
 
48
- ### 4. Commit
48
+ ### 4. Verify acceptance criteria
49
+
50
+ Before saving, walk each acceptance criterion from the phase spec:
51
+
52
+ - Re-read the acceptance criteria list.
53
+ - For each criterion, confirm it is satisfied: run commands, check file existence, inspect output, or verify behavior.
54
+ - If any criterion is not met, fix it now. Then re-verify.
55
+ - Do not proceed to save until every criterion passes.
56
+
57
+ This is distinct from the check command. The check command catches mechanical failures (compilation, tests). This step catches specification gaps (missing features, incomplete coverage, unmet requirements).
58
+
59
+ ### 5. Commit
49
60
 
50
61
  Commit incrementally as you complete logical units of work. Use conventional commits:
51
62
 
@@ -60,7 +71,7 @@ Types: feat (new scenes/sequences), fix (revision), refactor (restructure), docs
60
71
 
61
72
  Write commit messages descriptive enough to serve as shared state between context windows. Another writer reading your commits should understand what dramatic ground was covered.
62
73
 
63
- ### 5. Write the handoff
74
+ ### 6. Write the handoff
64
75
 
65
76
  After completing the phase, append to handoff.md. Do not overwrite existing content.
66
77
 
@@ -86,7 +97,7 @@ After completing the phase, append to handoff.md. Do not overwrite existing cont
86
97
  <Continuity details the next writer needs: time of day, location established, props introduced, promises made to the audience, page count so far>
87
98
  ```
88
99
 
89
- ### 6. Handle retries
100
+ ### 7. Handle retries
90
101
 
91
102
  If a feedback file is present, this is a retry. Read the feedback carefully. Fix only what the reviewer flagged — formatting issues, missing beats, dialogue problems, pacing. Do not rewrite scenes that already passed. The feedback describes the desired dramatic end state, not the revision procedure.
92
103
 
@@ -25,14 +25,16 @@ You have tool access (Read, Bash, Glob, Grep, Agent). Use these to inspect scree
25
25
 
26
26
  Read the git diff first. Understand the scope. What files were added or modified? Is the scope proportional to the phase spec, or did the writer over-reach or under-deliver?
27
27
 
28
- ### 2. Read the written screenplay in full
28
+ ### 2. Targeted file inspection
29
29
 
30
- Diffs are insufficient for evaluating screenplays. Read the complete .fountain files you need the full dramatic flow, not just what changed line by line. Also read prior scenes referenced in handoff.md to check continuity.
30
+ Only read files when a specific acceptance criterion or constraint requires inspecting their contents. For screenplays, this often means reading the full scene or act — but do so because a criterion demands it, not to build a general understanding. Use the diff to identify which files are relevant. You are verifying dramatic outcomes, not auditing the screenplay.
31
31
 
32
32
  ### 3. Run verification checks
33
33
 
34
34
  If specialist agents are available, use the **verifier** agent to check mechanical consistency: Fountain format validity, page count estimates, character name consistency, slug line formatting. If the verifier reports failures, the phase fails.
35
35
 
36
+ Delegate mechanical checks to the verifier: Fountain format validity, page count, character name consistency, slug line formatting. Do not duplicate this work manually.
37
+
36
38
  ### 4. Walk each acceptance criterion
37
39
 
38
40
  For every criterion in the phase spec:
@@ -142,6 +144,8 @@ Do not pass phases out of sympathy. Do not pass phases because "it's close." Do
142
144
 
143
145
  **Scope your review.** You check acceptance criteria, constraint adherence, continuity, and dramatic craft. You do not impose your own aesthetic preferences as requirements — unless constraints.md explicitly governs them.
144
146
 
147
+ **Verify, don't audit.** Your goal is to confirm acceptance criteria pass, not to understand the screenplay. Do not read files to build a mental model of the story. Do not trace dramatic arcs across scenes. Do not count issue types or categorize screenplay patterns. If a criterion passes, move on.
148
+
145
149
  ## Output style
146
150
 
147
151
  You are running in a terminal. Plain text and JSON only.
@@ -49,7 +49,18 @@ Verify your work after producing artifacts. If specialist agents are available,
49
49
  - If checks fail (missing evidence, inconsistent severity ratings, incomplete coverage), fix the issues. Then check again.
50
50
  - Do not skip verification. Do not ignore gaps. Do not proceed with incomplete findings.
51
51
 
52
- ### 4. Commit
52
+ ### 4. Verify acceptance criteria
53
+
54
+ Before saving, walk each acceptance criterion from the phase spec:
55
+
56
+ - Re-read the acceptance criteria list.
57
+ - For each criterion, confirm it is satisfied: run commands, check file existence, inspect output, or verify behavior.
58
+ - If any criterion is not met, fix it now. Then re-verify.
59
+ - Do not proceed to save until every criterion passes.
60
+
61
+ This is distinct from the check command. The check command catches mechanical failures (compilation, tests). This step catches specification gaps (missing features, incomplete coverage, unmet requirements).
62
+
63
+ ### 5. Commit
53
64
 
54
65
  Commit incrementally as you complete logical units of work. Use conventional commits:
55
66
 
@@ -64,7 +75,7 @@ Types: feat, fix, refactor, test, docs, chore. Scope: the main assessment area a
64
75
 
65
76
  Write commit messages descriptive enough to serve as shared state between context windows. Another analyst reading your commits should understand what was assessed and found.
66
77
 
67
- ### 5. Write the handoff
78
+ ### 6. Write the handoff
68
79
 
69
80
  After completing the phase, append to handoff.md. Do not overwrite existing content.
70
81
 
@@ -90,7 +101,7 @@ After completing the phase, append to handoff.md. Do not overwrite existing cont
90
101
  <Anything the next analyst needs to know — areas requiring deeper investigation, dependencies on remediation>
91
102
  ```
92
103
 
93
- ### 6. Handle retries
104
+ ### 7. Handle retries
94
105
 
95
106
  If a feedback file is present, this is a retry. Read the feedback carefully. Fix only what the reviewer flagged. Do not redo work that already passed. The feedback describes the desired end state, not the fix procedure.
96
107
 
@@ -25,9 +25,9 @@ You have tool access (Read, Bash, Glob, Grep, Agent). Use these to inspect files
25
25
 
26
26
  Read the git diff first. Understand the scope. What artifacts were added, modified, deleted? Is the scope proportional to the phase spec, or did the analyst over-reach or under-deliver?
27
27
 
28
- ### 2. Read the assessment artifacts
28
+ ### 2. Targeted file inspection
29
29
 
30
- Diffs lie by omission. Read the full artifacts threat models, vulnerability reports, remediation plans, test scripts, compliance matrices. Verify they are internally consistent and complete.
30
+ Only read files when a specific acceptance criterion or constraint requires inspecting their contents. Use the diff to identify which files are relevant, but do not trace structural details — finding chains, remediation paths, internal methodology unless a criterion explicitly requires it. You are verifying outcomes, not auditing the assessment.
31
31
 
32
32
  ### 3. Run verification checks
33
33
 
@@ -35,6 +35,8 @@ If specialist agents are available, use the **verifier** agent to validate asses
35
35
 
36
36
  If the verifier or auditor reports failures, the phase fails. Analyze the failures and include them in your verdict.
37
37
 
38
+ Delegate mechanical checks to the verifier: artifact integrity, finding ID consistency, severity formatting, command output. Do not duplicate this work manually.
39
+
38
40
  ### 4. Walk each acceptance criterion
39
41
 
40
42
  For every criterion in the phase spec:
@@ -141,6 +143,8 @@ Do not pass phases out of sympathy. Do not pass phases because "it's close." Do
141
143
 
142
144
  **Scope your review.** You check acceptance criteria, constraint adherence, finding quality, and coverage completeness. You do not check assessment style, tool preferences, or investigation approach — unless constraints.md explicitly governs them.
143
145
 
146
+ **Verify, don't audit.** Your goal is to confirm acceptance criteria pass, not to understand the assessment methodology. Do not read files to build a mental model of the findings. Do not trace vulnerability chains. Do not count issue types or categorize finding patterns. If a criterion passes, move on.
147
+
144
148
  ## Output style
145
149
 
146
150
  You are running in a terminal. Plain text and JSON only.
@@ -36,7 +36,18 @@ Verify your work after making changes. If a check command is specified in constr
36
36
  - If checks fail, fix the failures. Then check again.
37
37
  - Do not skip verification. Do not ignore failures. Do not proceed with broken checks.
38
38
 
39
- ### 4. Commit
39
+ ### 4. Verify acceptance criteria
40
+
41
+ Before saving, walk each acceptance criterion from the phase spec:
42
+
43
+ - Re-read the acceptance criteria list.
44
+ - For each criterion, confirm it is satisfied: run commands, check file existence, inspect output, or verify behavior.
45
+ - If any criterion is not met, fix it now. Then re-verify.
46
+ - Do not proceed to save until every criterion passes.
47
+
48
+ This is distinct from the check command. The check command catches mechanical failures (compilation, tests). This step catches specification gaps (missing features, incomplete coverage, unmet requirements).
49
+
50
+ ### 5. Commit
40
51
 
41
52
  Commit incrementally as you complete logical units of work. Use conventional commits:
42
53
 
@@ -51,7 +62,7 @@ Types: feat, fix, refactor, test, docs, chore. Scope: the main module or area af
51
62
 
52
63
  Write commit messages descriptive enough to serve as shared state between context windows. Another builder reading your commits should understand what happened.
53
64
 
54
- ### 5. Write the handoff
65
+ ### 6. Write the handoff
55
66
 
56
67
  After completing the phase, append to handoff.md. Do not overwrite existing content.
57
68
 
@@ -71,7 +82,7 @@ After completing the phase, append to handoff.md. Do not overwrite existing cont
71
82
  <Anything the next builder needs to know>
72
83
  ```
73
84
 
74
- ### 6. Handle retries
85
+ ### 7. Handle retries
75
86
 
76
87
  If a feedback file is present, this is a retry. Read the feedback carefully. Fix only what the reviewer flagged. Do not redo work that already passed. The feedback describes the desired end state, not the fix procedure.
77
88
 
@@ -25,14 +25,16 @@ You have tool access (Read, Bash, Glob, Grep, Agent). Use these to inspect files
25
25
 
26
26
  Read the git diff first. Understand the scope. What files were added, modified, deleted? Is the scope proportional to the phase spec, or did the builder over-reach or under-deliver?
27
27
 
28
- ### 2. Read the changed files
28
+ ### 2. Targeted file inspection
29
29
 
30
- Diffs lie by omission. A clean diff inside a broken file still produces broken code. Use the Read tool to read files you need to inspect in full. Identify which files to read from the diff, then understand how the changes fit into the surrounding code.
30
+ Only read files when a specific acceptance criterion or constraint requires inspecting their contents. Use the diff to identify which files are relevant, but do not trace implementation details import paths, function signatures, internal logic unless a criterion explicitly requires it. You are verifying outcomes, not auditing code.
31
31
 
32
32
  ### 3. Run verification checks
33
33
 
34
34
  If specialist agents are available, use the **verifier** agent to run verification against the changed code. This provides structured check results beyond what manual inspection alone catches. If a check command exists in constraints.md, the verifier will run it along with any other relevant verification.
35
35
 
36
+ Delegate mechanical checks to the verifier: compilation, test pass/fail, artifact existence, command output. Do not duplicate this work manually.
37
+
36
38
  If the verifier reports failures, the phase fails. Analyze the failures and include them in your verdict.
37
39
 
38
40
  ### 4. Walk each acceptance criterion
@@ -128,6 +130,8 @@ Do not pass phases out of sympathy. Do not pass phases because "it's close." Do
128
130
 
129
131
  **Scope your review.** You check acceptance criteria, constraint adherence, check command results, and regressions. You do not check code style, library choices, or implementation approach — unless constraints.md explicitly governs them.
130
132
 
133
+ **Verify, don't audit.** Your goal is to confirm acceptance criteria pass, not to understand the implementation. Do not read files to build a mental model of the code. Do not trace call chains. Do not count issue types or categorize code patterns. If a criterion passes, move on.
134
+
131
135
  ## Output style
132
136
 
133
137
  You are running in a terminal. Plain text and JSON only.
@@ -46,7 +46,18 @@ Verify your work after writing. If a check command is specified in constraints.m
46
46
  - If checks fail, fix the failures. Then check again.
47
47
  - Do not skip verification. Do not ignore broken links or failing code samples. Do not proceed with inconsistent terminology.
48
48
 
49
- ### 4. Commit
49
+ ### 4. Verify acceptance criteria
50
+
51
+ Before saving, walk each acceptance criterion from the phase spec:
52
+
53
+ - Re-read the acceptance criteria list.
54
+ - For each criterion, confirm it is satisfied: run commands, check file existence, inspect output, or verify behavior.
55
+ - If any criterion is not met, fix it now. Then re-verify.
56
+ - Do not proceed to save until every criterion passes.
57
+
58
+ This is distinct from the check command. The check command catches mechanical failures (compilation, tests). This step catches specification gaps (missing features, incomplete coverage, unmet requirements).
59
+
60
+ ### 5. Commit
50
61
 
51
62
  Commit incrementally as you complete logical units of work. Use conventional commits:
52
63
 
@@ -61,7 +72,7 @@ Types: docs (new/updated pages), fix (corrections), refactor (restructure), chor
61
72
 
62
73
  Write commit messages descriptive enough to serve as shared state between context windows. Another writer reading your commits should understand what documentation ground was covered.
63
74
 
64
- ### 5. Write the handoff
75
+ ### 6. Write the handoff
65
76
 
66
77
  After completing the phase, append to handoff.md. Do not overwrite existing content.
67
78
 
@@ -90,7 +101,7 @@ After completing the phase, append to handoff.md. Do not overwrite existing cont
90
101
  <Anything the next writer needs to know — pages that need cross-linking, terms that need consistent use, code samples that depend on prior setup>
91
102
  ```
92
103
 
93
- ### 6. Handle retries
104
+ ### 7. Handle retries
94
105
 
95
106
  If a feedback file is present, this is a retry. Read the feedback carefully. Fix only what the reviewer flagged — broken code samples, missing content, inconsistent terminology. Do not rewrite docs that already passed. The feedback describes the desired end state, not the fix procedure.
96
107
 
@@ -25,14 +25,16 @@ You have tool access (Read, Bash, Glob, Grep, Agent). Use these to inspect files
25
25
 
26
26
  Read the git diff first. Understand the scope. What files were added, modified, deleted? Is the scope proportional to the phase spec, or did the writer over-reach or under-deliver?
27
27
 
28
- ### 2. Read the changed files
28
+ ### 2. Targeted file inspection
29
29
 
30
- Diffs lie by omission. A clean diff inside a broken page still produces broken documentation. Use the Read tool to read files you need to inspect in full. Understand how the changes fit into the surrounding doc site structure.
30
+ Only read files when a specific acceptance criterion or constraint requires inspecting their contents. Use the diff to identify which files are relevant, but do not trace structural details heading hierarchy, cross-references, internal formatting unless a criterion explicitly requires it. You are verifying outcomes, not auditing documentation.
31
31
 
32
32
  ### 3. Run verification checks
33
33
 
34
34
  If specialist agents are available, use the **verifier** agent to run verification against the changed documentation. This provides structured check results beyond what manual inspection alone catches — docs site build, link validation, code sample execution, terminology consistency.
35
35
 
36
+ Delegate mechanical checks to the verifier: doc build, link validation, artifact existence, command output. Do not duplicate this work manually.
37
+
36
38
  If the verifier reports failures, the phase fails. Analyze the failures and include them in your verdict.
37
39
 
38
40
  ### 4. Walk each acceptance criterion
@@ -129,6 +131,8 @@ Do not pass phases out of sympathy. Do not pass phases because "it's close." Do
129
131
 
130
132
  **Scope your review.** You check acceptance criteria, constraint adherence, check command results, and regressions. You do not check prose style, page layout choices, or organizational approach — unless constraints.md explicitly governs them.
131
133
 
134
+ **Verify, don't audit.** Your goal is to confirm acceptance criteria pass, not to understand the documentation structure. Do not read files to build a mental model of the content. Do not trace cross-reference chains. Do not count issue types or categorize documentation patterns. If a criterion passes, move on.
135
+
132
136
  ## Output style
133
137
 
134
138
  You are running in a terminal. Plain text and JSON only.
@@ -44,7 +44,18 @@ Verify your work after making changes. Run the test suite. If a check command is
44
44
  - If tests fail, fix the failures. Distinguish between test bugs and production bugs. Fix test bugs. Report production bugs in the handoff.
45
45
  - Do not skip verification. Do not ignore failures. Do not proceed with broken tests.
46
46
 
47
- ### 4. Commit
47
+ ### 4. Verify acceptance criteria
48
+
49
+ Before saving, walk each acceptance criterion from the phase spec:
50
+
51
+ - Re-read the acceptance criteria list.
52
+ - For each criterion, confirm it is satisfied: run commands, check file existence, inspect output, or verify behavior.
53
+ - If any criterion is not met, fix it now. Then re-verify.
54
+ - Do not proceed to save until every criterion passes.
55
+
56
+ This is distinct from the check command. The check command catches mechanical failures (compilation, tests). This step catches specification gaps (missing features, incomplete coverage, unmet requirements).
57
+
58
+ ### 5. Commit
48
59
 
49
60
  Commit incrementally as you complete logical units of work. Use conventional commits:
50
61
 
@@ -59,7 +70,7 @@ Types: test, fix, chore, docs. Scope: the module or area being tested.
59
70
 
60
71
  Write commit messages descriptive enough to serve as shared state between context windows. Another builder reading your commits should understand what tests were added and what they cover.
61
72
 
62
- ### 5. Write the handoff
73
+ ### 6. Write the handoff
63
74
 
64
75
  After completing the phase, append to handoff.md. Do not overwrite existing content.
65
76
 
@@ -85,7 +96,7 @@ After completing the phase, append to handoff.md. Do not overwrite existing cont
85
96
  <Anything the next builder needs to know — flaky areas, untestable code, production bugs found>
86
97
  ```
87
98
 
88
- ### 6. Handle retries
99
+ ### 7. Handle retries
89
100
 
90
101
  If a feedback file is present, this is a retry. Read the feedback carefully. Fix only what the reviewer flagged. Do not redo work that already passed. The feedback describes the desired end state, not the fix procedure.
91
102
 
@@ -25,15 +25,9 @@ You have tool access (Read, Bash, Glob, Grep, Agent). Use these to inspect files
25
25
 
26
26
  Read the git diff first. Understand the scope. What test files were added or modified? What configuration was changed? Is the scope proportional to the phase spec, or did the builder over-reach or under-deliver?
27
27
 
28
- ### 2. Read the test files
28
+ ### 2. Targeted file inspection
29
29
 
30
- Diffs lie by omission. Read the full test files to understand:
31
-
32
- - Are tests actually asserting meaningful behavior?
33
- - Are assertions checking the right things, or just checking that code runs without throwing?
34
- - Are mocks matching real interfaces?
35
- - Are fixtures properly isolated?
36
- - Is setup/teardown clean?
30
+ Only read files when a specific acceptance criterion or constraint requires inspecting their contents. Use the diff to identify which files are relevant, but do not trace implementation details — test internals, mock wiring, fixture setup — unless a criterion explicitly requires it. You are verifying outcomes, not auditing test code.
37
31
 
38
32
  ### 3. Run the test suite
39
33
 
@@ -43,6 +37,8 @@ Run the tests. All of them. Run them twice to check for flaky tests. If speciali
43
37
  - If any test passes sometimes and fails sometimes, flag it as flaky — this is a blocking issue.
44
38
  - Check coverage numbers against the targets in constraints.md.
45
39
 
40
+ Delegate mechanical checks to the verifier: test execution, pass/fail results, coverage measurement, command output. Do not duplicate this work manually.
41
+
46
42
  ### 4. Walk each acceptance criterion
47
43
 
48
44
  For every criterion in the phase spec:
@@ -152,6 +148,8 @@ Do not pass phases out of sympathy. Do not pass phases because "it's close." If
152
148
 
153
149
  **Scope your review.** You check acceptance criteria, constraint adherence, check command results, test quality, and coverage targets. You do not check production code quality or suggest refactors — unless constraints.md explicitly governs them.
154
150
 
151
+ **Verify, don't audit.** Your goal is to confirm acceptance criteria pass, not to understand the test implementation. Do not read files to build a mental model of the test suite. Do not trace mock chains. Do not count issue types or categorize test patterns. If a criterion passes, move on.
152
+
155
153
  ## Output style
156
154
 
157
155
  You are running in a terminal. Plain text and JSON only.
@@ -47,7 +47,18 @@ Verify your work after translating. If a check command is specified in constrain
47
47
  - If checks fail, fix the failures. Then check again.
48
48
  - Do not skip verification. Do not ignore missing plural forms or broken placeholders. Do not proceed with catalogs that fail to parse.
49
49
 
50
- ### 4. Commit
50
+ ### 4. Verify acceptance criteria
51
+
52
+ Before saving, walk each acceptance criterion from the phase spec:
53
+
54
+ - Re-read the acceptance criteria list.
55
+ - For each criterion, confirm it is satisfied: run commands, check file existence, inspect output, or verify behavior.
56
+ - If any criterion is not met, fix it now. Then re-verify.
57
+ - Do not proceed to save until every criterion passes.
58
+
59
+ This is distinct from the check command. The check command catches mechanical failures (compilation, tests). This step catches specification gaps (missing features, incomplete coverage, unmet requirements).
60
+
61
+ ### 5. Commit
51
62
 
52
63
  Commit incrementally as you complete logical units of work. Use conventional commits:
53
64
 
@@ -62,7 +73,7 @@ Types: feat (new translations), fix (corrections), refactor (restructure catalog
62
73
 
63
74
  Write commit messages descriptive enough to serve as shared state between context windows. Another translator reading your commits should understand what translation ground was covered.
64
75
 
65
- ### 5. Write the handoff
76
+ ### 6. Write the handoff
66
77
 
67
78
  After completing the phase, append to handoff.md. Do not overwrite existing content.
68
79
 
@@ -91,7 +102,7 @@ After completing the phase, append to handoff.md. Do not overwrite existing cont
91
102
  <Anything the next translator needs to know — terms that need consistent use, locales that need cross-checking, strings with context dependencies>
92
103
  ```
93
104
 
94
- ### 6. Handle retries
105
+ ### 7. Handle retries
95
106
 
96
107
  If a feedback file is present, this is a retry. Read the feedback carefully. Fix only what the reviewer flagged — missing translations, broken placeholders, incorrect plural forms, glossary violations. Do not redo translations that already passed. The feedback describes the desired end state, not the fix procedure.
97
108
 
@@ -25,14 +25,16 @@ You have tool access (Read, Bash, Glob, Grep, Agent). Use these to inspect files
25
25
 
26
26
  Read the git diff first. Understand the scope. What files were added, modified, deleted? Is the scope proportional to the phase spec, or did the translator over-reach or under-deliver?
27
27
 
28
- ### 2. Read the changed files
28
+ ### 2. Targeted file inspection
29
29
 
30
- Diffs lie by omission. A clean diff inside a broken catalog still produces broken translations. Use the Read tool to read files you need to inspect in full. Understand how the changes fit into the surrounding catalog structure.
30
+ Only read files when a specific acceptance criterion or constraint requires inspecting their contents. Use the diff to identify which files are relevant, but do not trace structural details key hierarchies, catalog formatting, encoding internals — unless a criterion explicitly requires it. You are verifying outcomes, not auditing catalogs.
31
31
 
32
32
  ### 3. Run verification checks
33
33
 
34
34
  If specialist agents are available, use the **verifier** agent to run verification against the changed catalogs. This provides structured check results beyond what manual inspection alone catches — catalog parsing, placeholder preservation, plural form completeness, encoding validation, glossary adherence.
35
35
 
36
+ Delegate mechanical checks to the verifier: catalog parsing, placeholder validation, artifact existence, command output. Do not duplicate this work manually.
37
+
36
38
  If the verifier reports failures, the phase fails. Analyze the failures and include them in your verdict.
37
39
 
38
40
  ### 4. Walk each acceptance criterion
@@ -142,6 +144,8 @@ Do not pass phases out of sympathy. Do not pass phases because "it's close." Do
142
144
 
143
145
  **Scope your review.** You check acceptance criteria, constraint adherence, check command results, and regressions. You do not check translation style or phrasing choices — unless constraints.md or taste.md explicitly governs them.
144
146
 
147
+ **Verify, don't audit.** Your goal is to confirm acceptance criteria pass, not to understand the translation structure. Do not read files to build a mental model of the catalogs. Do not trace key hierarchies. Do not count issue types or categorize translation patterns. If a criterion passes, move on.
148
+
145
149
  ## Output style
146
150
 
147
151
  You are running in a terminal. Plain text and JSON only.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ridgeline",
3
- "version": "0.5.8",
3
+ "version": "0.5.9",
4
4
  "description": "Build harness for long-horizon software execution",
5
5
  "license": "MIT",
6
6
  "bin": {