Repository navigation
Commit f505253
fix(tests): the S0 control checks that the flag does not move the version
`tests/check_fix_candidates_facts.py` asserted `ownir_version == 0` under the
message "ownir_version must stay 0". What it meant is that `--fix-candidates`
is additive metadata and does not move the vocabulary version; what it checked
was a literal, which held only until the vocabulary first moved. OwnIR v1 moved
it, and the `C# leak extractor (Roslyn) -> OwnIR -> core` job went red on that
line — with the extractor doing exactly the right thing.
It now checks the claim: the flag-on facts are stamped with the core's current
OWNIR_VERSION, and with the same value as the flag-off facts.
This is the third control of this shape the bump has found (the validation
ledger in #383, the instrument's generated facts in this branch), and the only
one that needed the server to find it: the script takes the extractor's output
as its argument, so it is not part of `tests/run_tests.py` and no local run of
that suite could reach it. The job's steps were then run locally as written,
from this one to the end of the job, on a Linux clone of the committed tree.
tests/goldens/README.md records the golden's second amendment: one line,
`"ownir_version": 0` -> `1`, made in the vocabulary commit.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1 parent 98c062e commit f505253
2 files changed
Lines changed: 29 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
20 | 25 | | |
21 | 26 | | |
22 | 27 | | |
| |||
65 | 70 | | |
66 | 71 | | |
67 | 72 | | |
68 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
69 | 78 | | |
70 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
71 | 82 | | |
72 | 83 | | |
73 | 84 | | |
| |||
226 | 237 | | |
227 | 238 | | |
228 | 239 | | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
229 | 243 | | |
230 | 244 | | |
231 | 245 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
34 | 47 | | |
35 | 48 | | |
36 | 49 | | |
| |||
0 commit comments