Repository navigation
Commit 2e92028
docs: scope the rollout gate to consumers below the floor (#510)
Rebasing onto main brought in #511, which drops a declaration whose phase sits
above every phase the evaluating binary can name instead of failing the whole
response. Two statements written before it were left false: docs/sbom.md said
Evaluate returns an error and no tasks whenever a consumer cannot represent the
phase, and docs/effective-inputs.md said such a phase fails the whole response
rather than being skipped.
Both are now scoped to the consumers the gate is actually about, and the reason
the floor does not move is stated: a core that cannot name phase 9 predates the
image_sbom capability field and therefore predates #511 as well, so it has no
skip; a core that can name the phase but carries the old validKey bound does not
qualify for skipping either, since the phase is not above what it knows, so it
takes the loud rejection. #511's protection is prospective — it covers phases
added after TASK_PHASE_IMAGE_SBOM, not this one.
The test this branch previously added is gone from its history as part of the
same rebase. It asserted the error #511 deliberately removed, and #511's
TestNewerPhaseKeepsDiscovery covers the surviving contract more thoroughly,
including the malformed and representable-but-unrequested cases that still fail
loudly.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 491cac0 commit 2e92028
2 files changed
Lines changed: 28 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
225 | 233 | | |
226 | 234 | | |
227 | 235 | | |
| |||
0 commit comments