oh-my-codex 0.22.8 → 0.22.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.
package/Cargo.lock CHANGED
@@ -32,7 +32,7 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
32
32
 
33
33
  [[package]]
34
34
  name = "omx-api"
35
- version = "0.22.8"
35
+ version = "0.22.9"
36
36
  dependencies = [
37
37
  "serde",
38
38
  "serde_json",
@@ -40,14 +40,14 @@ dependencies = [
40
40
 
41
41
  [[package]]
42
42
  name = "omx-explore-harness"
43
- version = "0.22.8"
43
+ version = "0.22.9"
44
44
  dependencies = [
45
45
  "libc",
46
46
  ]
47
47
 
48
48
  [[package]]
49
49
  name = "omx-mux"
50
- version = "0.22.8"
50
+ version = "0.22.9"
51
51
  dependencies = [
52
52
  "serde",
53
53
  "serde_json",
@@ -55,7 +55,7 @@ dependencies = [
55
55
 
56
56
  [[package]]
57
57
  name = "omx-runtime"
58
- version = "0.22.8"
58
+ version = "0.22.9"
59
59
  dependencies = [
60
60
  "fs2",
61
61
  "libc",
@@ -67,7 +67,7 @@ dependencies = [
67
67
 
68
68
  [[package]]
69
69
  name = "omx-runtime-core"
70
- version = "0.22.8"
70
+ version = "0.22.9"
71
71
  dependencies = [
72
72
  "fs2",
73
73
  "serde",
@@ -76,7 +76,7 @@ dependencies = [
76
76
 
77
77
  [[package]]
78
78
  name = "omx-sparkshell"
79
- version = "0.22.8"
79
+ version = "0.22.9"
80
80
  dependencies = [
81
81
  "omx-mux",
82
82
  ]
package/Cargo.toml CHANGED
@@ -11,7 +11,7 @@ resolver = "2"
11
11
 
12
12
  [workspace.package]
13
13
 
14
- version = "0.22.8"
14
+ version = "0.22.9"
15
15
 
16
16
  edition = "2021"
17
17
  rust-version = "1.73"
@@ -71,5 +71,86 @@ describe('code-review skill contract', () => {
71
71
  Number(mediumCount[1]) +
72
72
  Number(lowCount[1]));
73
73
  });
74
+ describe('continuation decision table', () => {
75
+ it('defines continuation decision table with five cases', () => {
76
+ assert.match(codeReviewSkill, /Continuation Decision Table/i);
77
+ assert.match(codeReviewSkill, /Fresh Review/i);
78
+ assert.match(codeReviewSkill, /Resuming Missing Lane/i);
79
+ assert.match(codeReviewSkill, /Resuming Missing Validation/i);
80
+ assert.match(codeReviewSkill, /Repair Re-review/i);
81
+ assert.match(codeReviewSkill, /Complete Evidence/i);
82
+ });
83
+ it('distinguishes fresh review from continuation', () => {
84
+ assert.match(codeReviewSkill, /Fresh Review.*no prior receipt.*OR source\/requirements\/gates changed/i);
85
+ assert.match(codeReviewSkill, /Launch both code-reviewer and architect lanes in parallel on clean contexts/i);
86
+ });
87
+ it('covers missing lane resumption with evidence reuse', () => {
88
+ assert.match(codeReviewSkill, /Resuming Missing Lane.*one lane has evidence, other missing/i);
89
+ assert.match(codeReviewSkill, /Re-launch the missing lane only/i);
90
+ assert.match(codeReviewSkill, /Carry prior evidence from the complete lane/i);
91
+ });
92
+ it('covers incomplete validation collection', () => {
93
+ assert.match(codeReviewSkill, /Resuming Missing Validation.*both lanes returned, validation incomplete/i);
94
+ assert.match(codeReviewSkill, /Collect missing validation inputs\/results/i);
95
+ assert.match(codeReviewSkill, /Reuse lane evidence/i);
96
+ });
97
+ it('covers repair re-review with source change', () => {
98
+ assert.match(codeReviewSkill, /Repair Re-review.*implementation changed source.*authorized repair owner/i);
99
+ assert.match(codeReviewSkill, /Re-launch both lanes on the revised scope/i);
100
+ assert.match(codeReviewSkill, /Include prior findings as context/i);
101
+ });
102
+ it('covers complete evidence termination', () => {
103
+ assert.match(codeReviewSkill, /Complete Evidence.*all lanes returned, all validation complete/i);
104
+ assert.match(codeReviewSkill, /Return the existing scoped result and stop/i);
105
+ });
106
+ it('enforces binding rules for evidence reuse', () => {
107
+ assert.match(codeReviewSkill, /Binding Rules/i);
108
+ assert.match(codeReviewSkill, /source-bound receipt tracks scope identity/i);
109
+ assert.match(codeReviewSkill, /Missing or unverifiable bindings.*prevent evidence reuse/i);
110
+ });
111
+ });
112
+ describe('source-bound review receipt', () => {
113
+ it('defines receipt structure with scope, source, gates, lanes, and validation', () => {
114
+ assert.match(codeReviewSkill, /Source-Bound Review Receipt/i);
115
+ assert.match(codeReviewSkill, /REVIEW SCOPE/i);
116
+ assert.match(codeReviewSkill, /SOURCE IDENTITY/i);
117
+ assert.match(codeReviewSkill, /REQUIREMENTS & GATES/i);
118
+ assert.match(codeReviewSkill, /LANE RESULTS/i);
119
+ assert.match(codeReviewSkill, /VALIDATION/i);
120
+ assert.match(codeReviewSkill, /FINDINGS & GAPS/i);
121
+ assert.match(codeReviewSkill, /FINAL RECOMMENDATION/i);
122
+ });
123
+ it('records scope identity including uncommitted changes', () => {
124
+ assert.match(codeReviewSkill, /Files Reviewed/i);
125
+ assert.match(codeReviewSkill, /Changed Lines/i);
126
+ assert.match(codeReviewSkill, /Base Commit/i);
127
+ assert.match(codeReviewSkill, /Uncommitted Changes.*file hashes if present/i);
128
+ });
129
+ it('tracks source binding status and invalidation triggers', () => {
130
+ assert.match(codeReviewSkill, /Source Binding: <valid\|stale\|unbound>/i);
131
+ assert.match(codeReviewSkill, /Invalidation Triggers/i);
132
+ assert.match(codeReviewSkill, /Base commit or uncommitted changes differ/i);
133
+ assert.match(codeReviewSkill, /Requirements or acceptance criteria are updated/i);
134
+ assert.match(codeReviewSkill, /Configured quality gates change/i);
135
+ assert.match(codeReviewSkill, /Validation inputs\/results are unavailable or stale/i);
136
+ assert.match(codeReviewSkill, /Required lanes.*are missing or unavailable/i);
137
+ });
138
+ it('records each lane result with recommendation, findings, and artifact', () => {
139
+ assert.match(codeReviewSkill, /code-reviewer:\s*Recommendation:/i);
140
+ assert.match(codeReviewSkill, /Finding Severity.*CRITICAL.*HIGH.*MEDIUM.*LOW/i);
141
+ assert.match(codeReviewSkill, /Artifact:.*reference or hash/i);
142
+ assert.match(codeReviewSkill, /architect:\s*Status: CLEAR \| WATCH \| BLOCK/i);
143
+ });
144
+ it('records custom gate results with mode and verdict', () => {
145
+ assert.match(codeReviewSkill, /\[custom gates\]:/i);
146
+ assert.match(codeReviewSkill, /Gate Name.*skill name/i);
147
+ assert.match(codeReviewSkill, /Mode: blocking \| advisory/i);
148
+ assert.match(codeReviewSkill, /Verdict: pass \| fail \| unavailable/i);
149
+ });
150
+ it('distinguishes binding status and prevents unverifiable approval', () => {
151
+ assert.match(codeReviewSkill, /Reuse Rules.*Evidence may be reused.*only if all binding conditions match/i);
152
+ assert.match(codeReviewSkill, /Missing or unverifiable bindings never establish approval/i);
153
+ });
154
+ });
74
155
  });
75
156
  //# sourceMappingURL=code-review-skill-contract.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"code-review-skill-contract.test.js","sourceRoot":"","sources":["../../../src/hooks/__tests__/code-review-skill-contract.test.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAC1D,MAAM,eAAe,GAAG,YAAY,CAClC,IAAI,CAAC,SAAS,EAAE,sCAAsC,CAAC,EACvD,OAAO,CACR,CAAC;AAEF,QAAQ,CAAC,4BAA4B,EAAE,GAAG,EAAE;IAC1C,EAAE,CAAC,gFAAgF,EAAE,GAAG,EAAE;QACxF,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,gEAAgE,CAAC,CAAC;QAChG,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,kFAAkF,CAAC,CAAC;QAClH,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,y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,WAAW,GAAG,eAAe,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC;QAClE,MAAM,aAAa,GAAG,eAAe,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;QACnE,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,aAAa,CAAC,CAAC;QAC7C,MAAM,SAAS,GAAG,eAAe,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;QAC3D,MAAM,WAAW,GAAG,eAAe,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC;QAC/D,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;QACzD,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,0CAA0C,CAAC,CAAC;QAC1E,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,0BAA0B,CAAC,CAAC;QAC1D,MAAM,CAAC,YAAY,CAAC,eAAe,EAAE,oCAAoC,CAAC,CAAC;QAC3E,MAAM,CAAC,YAAY,CAAC,eAAe,EAAE,4BAA4B,CAAC,CAAC;QACnE,MAAM,CAAC,EAAE,CAAC,WAAW,IAAI,aAAa,IAAI,SAAS,IAAI,WAAW,IAAI,QAAQ,CAAC,CAAC;QAChF,MAAM,CAAC,KAAK,CACV,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,EACtB,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;YACtB,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YACpB,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YACtB,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CACtB,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"code-review-skill-contract.test.js","sourceRoot":"","sources":["../../../src/hooks/__tests__/code-review-skill-contract.test.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,YA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C;YAClE,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,sDAAsD,CAAC,CAAC;YACtF,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,6CAA6C,CAAC,CAAC;QAC/E,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,sEAAsE,EAAE,GAAG,EAAE;YAC9E,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,mCAAmC,CAAC,CAAC;YACnE,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,gDAAgD,CAAC,CAAC;YAChF,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,+BAA+B,CAAC,CAAC;YAC/D,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,+CAA+C,CAAC,CAAC;QACjF,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,mDAAmD,EAAE,GAAG,EAAE;YAC3D,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,oBAAoB,CAAC,CAAC;YACpD,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,wBAAwB,CAAC,CAAC;YACxD,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,6BAA6B,CAAC,CAAC;YAC7D,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,uCAAuC,CAAC,CAAC;QACzE,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,iEAAiE,EAAE,GAAG,EAAE;YACzE,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,4EAA4E,CAAC,CAAC;YAC5G,MAAM,CAAC,KAAK,CAAC,eAAe,EAAE,4DAA4D,CAAC,CAAC;QAC9F,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-codex",
3
- "version": "0.22.8",
3
+ "version": "0.22.9",
4
4
  "description": "Multi-agent orchestration layer for OpenAI Codex CLI",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-codex",
3
- "version": "0.22.8",
3
+ "version": "0.22.9",
4
4
  "description": "Multi-agent orchestration layer for OpenAI Codex CLI",
5
5
  "author": {
6
6
  "name": "Yeachan Heo",
@@ -29,6 +29,20 @@ git diff --stat
29
29
  git diff -- <scope>
30
30
  ```
31
31
 
32
+ ## Continuation Decision Table
33
+
34
+ When a user requests `continue` or provides existing artifacts, check the source binding and decide the next step:
35
+
36
+ | Condition | Action |
37
+ |-----------|--------|
38
+ | **Fresh Review** (no prior receipt, OR source/requirements/gates changed) | Launch both code-reviewer and architect lanes in parallel on clean contexts. Treat prior artifacts as context only; do not reuse evidence. |
39
+ | **Resuming Missing Lane** (one lane has evidence, other missing, source/requirements/gates unchanged) | Re-launch the missing lane only. Carry prior evidence from the complete lane. |
40
+ | **Resuming Missing Validation** (both lanes returned, validation incomplete, source/requirements/gates unchanged) | Collect missing validation inputs/results. Reuse lane evidence. |
41
+ | **Repair Re-review** (implementation changed source after prior review, authorized repair owner confirmed) | Re-launch both lanes on the revised scope. Include prior findings as context; preserve dispositions unless new evidence justifies reopening. Carry repair authorization through the review. |
42
+ | **Complete Evidence** (all lanes returned, all validation complete, source/requirements/gates unchanged) | Return the existing scoped result and stop. No re-review needed. |
43
+
44
+ **Binding Rules**: A source-bound receipt tracks scope identity (commit, uncommitted changes, file hashes), requirements, configured gates, and lane results. Missing or unverifiable bindings (stale/unbound artifacts, changed source not signed by repair authorization) prevent evidence reuse. Invalidation triggers a fresh review; partial evidence loss triggers lane resumption, not full restart.
45
+
32
46
  ## Execution
33
47
 
34
48
  1. Identify changed files and review boundaries; do not silently widen the scope.
@@ -116,6 +130,76 @@ RECOMMENDATION: COMMENT
116
130
  Replace the illustrative counts and verdict with observed values. Include scope,
117
131
  lane evidence/artifact references, unresolved risks, and validation gaps.
118
132
 
133
+ ## Source-Bound Review Receipt
134
+
135
+ When a review completes or a user requests continuation, record a source-bound receipt that binds the review result to its input context. This receipt is the basis for deciding whether to reuse evidence or perform a fresh review.
136
+
137
+ **Receipt Structure**:
138
+
139
+ ```text
140
+ SOURCE-BOUND REVIEW RECEIPT
141
+
142
+ REVIEW SCOPE
143
+ Files Reviewed: <count>
144
+ Changed Lines: <+/->
145
+ Boundaries: <scope description>
146
+
147
+ SOURCE IDENTITY
148
+ Base Commit: <commit hash>
149
+ Uncommitted Changes: <yes|no> [file hashes if present]
150
+ Source Binding: <valid|stale|unbound>
151
+
152
+ REQUIREMENTS & GATES
153
+ Specification: [reference or summary]
154
+ Acceptance Criteria: [reference or summary]
155
+ Test/CI Evidence: [references]
156
+ Configured Quality Gates: [list of blocking/advisory gates]
157
+
158
+ LANE RESULTS
159
+ code-reviewer:
160
+ Recommendation: APPROVE | REQUEST CHANGES | COMMENT
161
+ Finding Severity: CRITICAL (N) | HIGH (N) | MEDIUM (N) | LOW (N)
162
+ Artifact: [reference or hash]
163
+ Status: complete | unavailable
164
+
165
+ architect:
166
+ Status: CLEAR | WATCH | BLOCK
167
+ Finding Severity: CRITICAL (N) | HIGH (N) | MEDIUM (N) | LOW (N)
168
+ Artifact: [reference or hash]
169
+ Status: complete | unavailable
170
+
171
+ [custom gates]:
172
+ Gate Name: <skill name>
173
+ Mode: blocking | advisory
174
+ Verdict: pass | fail | unavailable
175
+ Artifact: [reference or hash]
176
+ Status: complete | unavailable
177
+
178
+ VALIDATION
179
+ Inputs Recorded: [list of validation requirements met]
180
+ Validation Results: [status of each requirement]
181
+ Validation Status: complete | incomplete
182
+
183
+ FINDINGS & GAPS
184
+ Unresolved High/Critical: [count and list]
185
+ Evidence Gaps: [any missing evidence from required lanes or gates]
186
+ Blockers: [any blocking conditions preventing approval]
187
+
188
+ FINAL RECOMMENDATION
189
+ Recommendation: APPROVE | REQUEST CHANGES | COMMENT
190
+ Merge-Ready: yes | no
191
+ Binding Status: bound | unbound
192
+ ```
193
+
194
+ **Invalidation Triggers**: The receipt becomes invalid if:
195
+ - Base commit or uncommitted changes differ from the initial review (source changed)
196
+ - Requirements or acceptance criteria are updated
197
+ - Configured quality gates change (gates added, removed, or mode changed)
198
+ - Validation inputs/results are unavailable or stale
199
+ - Required lanes (code-reviewer or architect) are missing or unavailable
200
+
201
+ **Reuse Rules**: Evidence may be reused across continuation requests only if all binding conditions match and the receipt status is `bound`. A `stale` or `unbound` receipt requires fresh review. Missing or unverifiable bindings never establish approval.
202
+
119
203
  ## Exit condition
120
204
 
121
205
  Stop when the scoped diff has two independent lane results and a deterministic final
@@ -29,6 +29,20 @@ git diff --stat
29
29
  git diff -- <scope>
30
30
  ```
31
31
 
32
+ ## Continuation Decision Table
33
+
34
+ When a user requests `continue` or provides existing artifacts, check the source binding and decide the next step:
35
+
36
+ | Condition | Action |
37
+ |-----------|--------|
38
+ | **Fresh Review** (no prior receipt, OR source/requirements/gates changed) | Launch both code-reviewer and architect lanes in parallel on clean contexts. Treat prior artifacts as context only; do not reuse evidence. |
39
+ | **Resuming Missing Lane** (one lane has evidence, other missing, source/requirements/gates unchanged) | Re-launch the missing lane only. Carry prior evidence from the complete lane. |
40
+ | **Resuming Missing Validation** (both lanes returned, validation incomplete, source/requirements/gates unchanged) | Collect missing validation inputs/results. Reuse lane evidence. |
41
+ | **Repair Re-review** (implementation changed source after prior review, authorized repair owner confirmed) | Re-launch both lanes on the revised scope. Include prior findings as context; preserve dispositions unless new evidence justifies reopening. Carry repair authorization through the review. |
42
+ | **Complete Evidence** (all lanes returned, all validation complete, source/requirements/gates unchanged) | Return the existing scoped result and stop. No re-review needed. |
43
+
44
+ **Binding Rules**: A source-bound receipt tracks scope identity (commit, uncommitted changes, file hashes), requirements, configured gates, and lane results. Missing or unverifiable bindings (stale/unbound artifacts, changed source not signed by repair authorization) prevent evidence reuse. Invalidation triggers a fresh review; partial evidence loss triggers lane resumption, not full restart.
45
+
32
46
  ## Execution
33
47
 
34
48
  1. Identify changed files and review boundaries; do not silently widen the scope.
@@ -116,6 +130,76 @@ RECOMMENDATION: COMMENT
116
130
  Replace the illustrative counts and verdict with observed values. Include scope,
117
131
  lane evidence/artifact references, unresolved risks, and validation gaps.
118
132
 
133
+ ## Source-Bound Review Receipt
134
+
135
+ When a review completes or a user requests continuation, record a source-bound receipt that binds the review result to its input context. This receipt is the basis for deciding whether to reuse evidence or perform a fresh review.
136
+
137
+ **Receipt Structure**:
138
+
139
+ ```text
140
+ SOURCE-BOUND REVIEW RECEIPT
141
+
142
+ REVIEW SCOPE
143
+ Files Reviewed: <count>
144
+ Changed Lines: <+/->
145
+ Boundaries: <scope description>
146
+
147
+ SOURCE IDENTITY
148
+ Base Commit: <commit hash>
149
+ Uncommitted Changes: <yes|no> [file hashes if present]
150
+ Source Binding: <valid|stale|unbound>
151
+
152
+ REQUIREMENTS & GATES
153
+ Specification: [reference or summary]
154
+ Acceptance Criteria: [reference or summary]
155
+ Test/CI Evidence: [references]
156
+ Configured Quality Gates: [list of blocking/advisory gates]
157
+
158
+ LANE RESULTS
159
+ code-reviewer:
160
+ Recommendation: APPROVE | REQUEST CHANGES | COMMENT
161
+ Finding Severity: CRITICAL (N) | HIGH (N) | MEDIUM (N) | LOW (N)
162
+ Artifact: [reference or hash]
163
+ Status: complete | unavailable
164
+
165
+ architect:
166
+ Status: CLEAR | WATCH | BLOCK
167
+ Finding Severity: CRITICAL (N) | HIGH (N) | MEDIUM (N) | LOW (N)
168
+ Artifact: [reference or hash]
169
+ Status: complete | unavailable
170
+
171
+ [custom gates]:
172
+ Gate Name: <skill name>
173
+ Mode: blocking | advisory
174
+ Verdict: pass | fail | unavailable
175
+ Artifact: [reference or hash]
176
+ Status: complete | unavailable
177
+
178
+ VALIDATION
179
+ Inputs Recorded: [list of validation requirements met]
180
+ Validation Results: [status of each requirement]
181
+ Validation Status: complete | incomplete
182
+
183
+ FINDINGS & GAPS
184
+ Unresolved High/Critical: [count and list]
185
+ Evidence Gaps: [any missing evidence from required lanes or gates]
186
+ Blockers: [any blocking conditions preventing approval]
187
+
188
+ FINAL RECOMMENDATION
189
+ Recommendation: APPROVE | REQUEST CHANGES | COMMENT
190
+ Merge-Ready: yes | no
191
+ Binding Status: bound | unbound
192
+ ```
193
+
194
+ **Invalidation Triggers**: The receipt becomes invalid if:
195
+ - Base commit or uncommitted changes differ from the initial review (source changed)
196
+ - Requirements or acceptance criteria are updated
197
+ - Configured quality gates change (gates added, removed, or mode changed)
198
+ - Validation inputs/results are unavailable or stale
199
+ - Required lanes (code-reviewer or architect) are missing or unavailable
200
+
201
+ **Reuse Rules**: Evidence may be reused across continuation requests only if all binding conditions match and the receipt status is `bound`. A `stale` or `unbound` receipt requires fresh review. Missing or unverifiable bindings never establish approval.
202
+
119
203
  ## Exit condition
120
204
 
121
205
  Stop when the scoped diff has two independent lane results and a deterministic final