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
+10 -3
View File
@@ -184,9 +184,16 @@ invocation per query kind.
## What is not true yet
- **The C story does not work.** `c/memory` has produced zero true positives and three distinct classes of
false one. It models string functions; libpng overflows through arithmetic, and its library code never
calls a sink we model. This is structural, not tuning.
- **The C story does not work, and its scope is now decided.** `c/memory` has produced zero true positives
and three distinct classes of false one. It models string functions; libpng overflows through arithmetic,
and its library code never calls a sink we model. This is structural, not tuning. **Decided by the
maintainer on 2026-11-24 (contributor-scan task 4.1): "C memory-safety beyond string-function misuse is out
of scope. Record that, and say so per corpus slice."** The evidence on record: the family models calls, not
arithmetic; no execution tier is adopted, since `Rung.EXECUTION_CONFIRMED` has no producer; and in the
real-world `vfc` slice no pair is labelled as going through a string API the `memory` family models (129 of
176 carry no sink label). With it the C harvest (task 5.3) and the allocated-destination rule (task 2.13)
are withdrawn, and the pair corpus README says so for every slice that holds C pairs. The evidence on record
and the counts are in the spec's amendment record.
- **Two languages are demonstrated.** Python end to end, and PHP on a real plugin slice where it found a
real CVE. Ruby and Go still have **zero families** — Joern parses them and the engine says nothing.
- **Not at repository scale for PHP.** The 637-file checkout does not load; the 2-file slice does. That
+11 -4
View File
@@ -557,7 +557,7 @@ distrust SAST.
PHP moves up: it is the shortest path from here to a target the maintainer named, and it is the case the
existing arbiter is best suited to. The C decision moves up with it, because criterion 4 needs `c/memory`
either earning its place or being scoped, and scoping it is cheap.
either earning its place or being scoped, and scoping it is cheap. Taken on 2026-11-24: scoped.
## The one test everything is ordered by
@@ -610,10 +610,14 @@ Only after a scan finishes is there any point tuning what it finds.
8. For **2.14**, check control dependence. It is absent from both CPGs, so every guard question runs on CFG dominance. Find
out whether Joern's CDG pass can be applied from the query script and what it costs. If it cannot, that is
a real bound on what this engine can reason about and should be recorded as one.
9. **2.13** covers a destination allocated to size. It is deliberately blocked on 6, so the rule can be measured for what
it *silences* as well as what it clears.
9. **2.13** was to cover a `strcpy` copy into a destination allocated to fit. **Withdrawn 2026-11-24:** its
Observable needs a second C checkout with a genuine CWE-121, and the harvest that was to supply one (5.3)
is withdrawn.
10. Ship **Group 3–4**: contributor output, the Docker image, the memory-family decision, and retirement of
`evidence_level` now that the rung carries the meaning.
`evidence_level`. **Decided 2026-11-24:** C memory-safety beyond string-function misuse is out of scope
(contributor-scan task 4.1, so the C harvest in 5.3 is withdrawn), and `evidence_level` stays beside `rung`
as the overlay pipeline's own vocabulary, with the reason recorded (task 4.2). Revisit it when detection-core
revises its consumer contract.
## Alongside — keep the codebase from growing into the problem
@@ -633,6 +637,9 @@ Only after a scan finishes is there any point tuning what it finds.
The order matters: **question 1 lands before question 2 starts**, or adopting an IR makes
the growth problem worse rather than better.
**Overtaken 2026-11-24:** C memory-safety beyond string-function misuse is out of scope (contributor-scan task
4.1), so question 2 is not pursued.
## After — the feedback loop
11. **`finding-feedback-loop`** (design generated, awaiting approval). Its ledger and dismissals are useful