Commit 0cf3170
verify
feat(review): retire dry chunks from reverse-audit rounds and pipeline verification
Rebuild of the retirement/pipelining feature as one commit on top of the
merged reverse-audit budget gate (#8468).
- retirement.ts: per-chunk scheduler over the CLI's own prompt records
and the harness transcripts — a chunk whose two most recent audits are
substantive dry receipts is cold-checked on the even rounds instead of
audited on every one, and a cold check that yields returns it to
every-round auditing. The certifying match is counted records per
transcript (one launch matching several records certifies none), dry
receipts are read structurally with the zh forms beside the English
ones, and a filed finding requires the File+Severity pair so an echoed
quotation cannot pin a chunk hot. Everything fails toward auditing.
- agent-prompt --all-chunks: requireAuditableChunks, then the schedule
(round >= 3, fail-open to all-due on any error), then CONVERGED exit 5
(nothing built, no stamp, no marker), then the budget gate (exit 4 +
marker), then the build. The admission stamp keeps the #8468 ordering
and lands only after the build succeeds: a cold-check-only round that
builds still stamps, a converged round never does, and a build that
throws leaves no stamp.
- agent-prompt --chunk: a round holding an admission stamp is repaired
without gates or scheduling; an unadmitted round answers to the same
sequence as --all-chunks (convergence, then budget), and its first
chunk build is the round's admission — stamped after the build.
- prompt-record: optional sinceMs fence on readRecordedPrompts (history
readers only; coverage's obligation reads stay unfenced), plus the
flattenPrompt/deliveredVerbatim split so the scheduler flattens each
launch once instead of once per (record, transcript) pair.
- deadline: doc-comments rewritten for the pipelined cadence — the
admission-to-admission measure no longer contains a verification pass,
so the tail reserve is the terminal round's only cover (replacing the
'deliberate margin' overlap rationale), and the workflow's reserve cap
is cross-referenced. runEpochMs fencing, the bilingual budget-stop
marker and the stamp semantics are unchanged from #8468.
- SKILL Step 5: builder-owned 3B scheduling, the CONVERGED exit-5
termination rule, verification launched alongside the next round's
auditors, and the cumulative reported list with '— [unverified]'
tagging (added at the admitting merge, cleared or removed after the
verdict; anything still tagged is excluded from Step 6).
Superseded pieces of the parallel branch were dropped in favour of the
#8468 form now on main: the planMtimeMs-equality fence (runEpochMs
stays), the budget-scaled round-1 estimate, stamping inside the
admission helper, and the branch's variants of the budget-gate tests.1 parent ac67de2 commit 0cf3170
7 files changed
Lines changed: 1698 additions & 84 deletions
File tree
- packages
- cli/src/commands/review
- lib
- core/src/skills/bundled/review
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
68 | 69 | | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
73 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
74 | 77 | | |
75 | 78 | | |
76 | 79 | | |
| |||
176 | 179 | | |
177 | 180 | | |
178 | 181 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
184 | 188 | | |
185 | 189 | | |
186 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
128 | 134 | | |
129 | 135 | | |
130 | 136 | | |
131 | | - | |
132 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
133 | 155 | | |
134 | 156 | | |
135 | 157 | | |
| |||
150 | 172 | | |
151 | 173 | | |
152 | 174 | | |
153 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
154 | 178 | | |
155 | 179 | | |
156 | 180 | | |
| |||
186 | 210 | | |
187 | 211 | | |
188 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
189 | 229 | | |
190 | 230 | | |
191 | 231 | | |
| |||
194 | 234 | | |
195 | 235 | | |
196 | 236 | | |
197 | | - | |
198 | 237 | | |
199 | 238 | | |
200 | | - | |
| 239 | + | |
201 | 240 | | |
202 | 241 | | |
203 | 242 | | |
204 | 243 | | |
205 | 244 | | |
206 | 245 | | |
207 | | - | |
208 | | - | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
209 | 251 | | |
210 | 252 | | |
211 | 253 | | |
212 | 254 | | |
213 | 255 | | |
214 | 256 | | |
215 | 257 | | |
216 | | - | |
| 258 | + | |
217 | 259 | | |
218 | 260 | | |
0 commit comments