spec(contributor-scan): close the deferred decisions 4.1 and 4.2 on the maintainer's record

Task 4.1 (Req 7.1), decided 2026-11-24: "C memory-safety beyond string-function misuse
is out of scope. Record that, and say so per corpus slice." The decision is recorded in
the spec's amendment record, the steering overview and roadmap, and the user docs; the
pair corpus README states it per slice (vfc, sast, local). The maintainer stated no
reason, so the records name the evidence that was on record and label it as such: the
memory family models calls, not arithmetic; no execution tier is adopted, since
Rung.EXECUTION_CONFIRMED has no producer; of the 176 vfc pairs none is labelled as going
through a string API the family models (129 carry no sink label, counted 2026-11-24).

With it, task 5.3 (the C harvest of Req 9.2) and task 2.13 are withdrawn, and task 2.15
closes on its recorded-decision branch. Req 9.2 is left unmet and its text stands. The
entailment at contrib/examples/iccfrompng.c:124, libpng's last one by task 2.13's
account, now has nothing that removes it; that is recorded as to be re-measured.

Task 4.2 (Req 7.2), decided 2026-11-24: "Keep both, record why. No output change for
JSON, SARIF or MCP consumers. Record the reason in the spec and docs, and revisit when
detection-core revises its consumer contract." rung is the model ladder's verdict;
evidence_level is the pattern and overlay pipeline's vocabulary, which the overlay raises
only to static_corroboration. Folding one into the other would present a text match as a
model verdict or change the JSON, SARIF and MCP output. No code changes.

Reviewed in four adversarial rounds; the fourth approved both records.
This commit is contained in:
Marius Ciepluch
2026-11-24 14:17:30 +01:00
parent 89d08e01d3
commit ab2f55d8ae
9 changed files with 140 additions and 16 deletions
+20 -2
View File
@@ -27,19 +27,37 @@ Pairs in this directory **must not** join `LANGUAGE_MANIFESTS`.
## Slices
- **local** — in-tree fixture counterparts (`app.py` vs `safe.py`, …). CI gate:
every local pair must pass (`python -m openultrasast.pair_gate`).
every local pair must pass (`python -m openultrasast.pair_gate`). Its one
C++ pair (`local-cpp-buffer`) exercises string APIs the `memory` family
models, so it is inside the scope that stays (decision of 2026-11-24,
under `vfc`).
- **github** — real commit/function pairs (SVEN, CWE-Bench-Java, NVD patterns).
Measured, not a 90% smoke gate. Misses here are the honesty / evolve-the-harness
dashboard.
- **sast** — OWASP Benchmark Java/Python true-vs-false files and Juliet
bad-vs-good sinks (`benchmarks/pairs/sast/`). Score is Youden (TPR − FPR).
Honesty dashboard, not a CI fail.
Honesty dashboard, not a CI fail. Its two C pairs (`juliet-c-cwe134-printf`,
`juliet-c-cwe121-strcpy`) go through string APIs the `memory` family models, so
they are inside the scope that stays (decision of 2026-11-24, under `vfc`).
- **vfc** — reviewed isolated functions from OpenSSL, Firefox, Chromium, and
curl (`benchmarks/pairs/vfc/`). Overlay vs inventory scoreboard. Honesty
dashboard, not a CI fail. Training labels (vuln vs fixed) are
`vfc/training/manifest.jsonl` (vuln vs fixed, one snapshot per line).
Grow with a blobless `git log --grep=CVE-202` mine plus `vfc/harvest.py`,
then `vfc/generate_catalog.py` (maintainer, not CI).
**The model layer decides none of this slice** (counts taken from
`vfc/catalog.toml` on 2026-11-24). 176 pairs: 173 in C or C++, 3 without a
language. No pair is labelled as going through a string API that the
`memory` family models (`gets`, `strcpy`, `strcat`, `sprintf` or a
non-literal format string): 129 pairs carry no sink label, and of the 16
distinct named sinks (across 47 pairs) the most common are `NULL` (15
pairs), `memcpy` (13) and `free` (4). 130 pairs record their mechanism only
as `other`; 44 name one of the mechanisms the `memory` family declares. The
family's own `verifier` is `"none"`. By maintainer decision of 2026-11-24, C
memory-safety beyond string-function misuse is out of scope, so these pairs
are not waiting for a rule. The harvest that would have grown the slice for
the model layer is withdrawn (contributor-scan task 5.3); the mine above
grows the overlay scoreboard only.
- **vibe-py** — Real-Vuln-Benchmark functions (`benchmarks/pairs/vibe-py/`):
Python web repos pinned by commit, one vulnerable function per pair with a
false-positive trap from the same repo as the fixed twin. Today only the 15