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.
`docker compose build` has failed since 1b9d1ca (2026-10-05): the Dockerfile requires the task
base's tag and digest and deliberately has no floating fallback, but the compose file passed
neither argument. Compose now defaults both from plane/task-base.digest, the pin CI builds
from, and a test fails when the two drift apart or an argument goes missing.
The service also sets OPENULTRASAST_RUNS_DIR=/reports/runs, so a scan's run directory lands on
the one writable mount (Req 6.3) whatever the default location is.
Built and verified once, with no scan (2026-11-24, 11:02Z to 11:10Z): `docker compose build`
exit 0 in 8m03s, the Joern zip passing its sha512 check, and inside the image the CLI usage,
native PHP 8.4.26, lib/io.joern.joern-cli-4.0.625.jar, the installed package, and the pinned
base's 12 layers and 24 history entries as the image's prefix. That image held HEAD's source
and was removed from the build machine by a Docker prune at 12:56Z.
Task 3.2 stays open: the image must be rebuilt after task 3.1 lands, and part 2 (a real scan
through the image and the shell wrapper, parity with a native run) is not done. Known for part
2: on a fresh checkout Docker creates ./reports root-owned and the image runs as uid 1000, so
the first run cannot write its output.
Four regression tests for the mechanism that landed in 9a8e9f0 and 3b6e642:
- a family absent from the repository is never asked, at callDepth 0 or 3;
- the evidence that prunes a question is asked over that question's own
scope and at the arbiter's callDepth;
- a pruned question is recorded as deferred with reason tier_zero and
never as an outcome;
- an evidence summary that does not say the family is absent excludes
nothing.
Each test was shown red under a control that breaks only the rule it
names. The engine's half of the rules (familyInRepo over the whole graph,
the reachable-set scope above depth 0) is verified by reading taint.sc
only; no executable test pins it.
Task 5.14 stays open: its Observable also asks whether the query completes
on pmpro, and the record on file (2026-09-22) answers that it does not.
Item 9 of the hardening pass: the opt-in rehearsal completed a correctly
reviewed 840-input lifecycle in about 92 minutes, with the replay
derivation taking 75% of the time. The note carries the stage timings so
the 11.6 owner budgets the run from a measurement.
One test runs the whole lifecycle at 840 inputs with every planned arm and
the per-population review subject, so a correctly reviewed full-scale run
completes for the first time. It is skipped unless
OPENULTRASAST_FULL_SCALE_REHEARSAL=1 and records per-stage wall-clock
seconds. The default path is unchanged: the new ScaleLifecycle arguments
default to None and the timing wrapper always calls its stage.
Fold-in notes for the reviewer advisories closed before 11.6: reservation
identity, preparation-rooted spend and its harness adoption, the
wrong-typed stage product, the license fixture, the ledger and closure
type guards, the sourcing queue key, the runtime floor, the whole-tree
formatter gate, and the residuals left for the 11.6 owner.
The end-to-end and scale harnesses committed the shared custody spend by
hand. They now bind the production stage (bind_case_adapter_spend_stage)
through one shared helper that predicts the release review subject before
the spend, so the harness exercises the same path the adapter replay
binds. The failure-injection copy stays a raising fault injector so the
failure matrix keeps its pinned outcomes.
The sealed release the harness persists now has the production shape
(schema version and review covered by the release digest); nothing
pinned the old five-key payload.
The lines that said population v4 has no protocol now name protocol-v4.md
(committed before any scan). The 15.1 notes record the maintainer
decisions the protocol fixes, correct the claim that the quick rules are
PHP-only, and list what is still open before the first scan: the v4
runner work, the entry points not traced at the freeze, and a possible
twelfth case.
Protocol v4 fixes, before any scan of population v4: the one-time M4 run
after the candidate frozen at M3; three instruments at one analyzer
commit (engine, enabled quick rules, the pre-push hook as the M4
answer); matching with file scope equal to module scope; the v3 gates
per instrument; zero model spend, a model instrument only by amendment
committed before the first scan.
Decisions 1-5 and the hook candidate set are the maintainer's; the
controller's drafting decisions are listed separately in the
confirmation section.
A run stage that returned None or a product of another type escaped the run
command as a raw AttributeError, or was passed on to the next stage. The
run command now type-checks every stage product against its declared type
and persists an IMPAIRED outcome at that phase with reason
INSTRUMENT_FAILURE; the spent flag stays what durable custody says. Seam
refusals are still re-raised and the INTERRUPTED path is unchanged.
Add bind_case_adapter_spend_stage and export it from the run module: the
stage derives the preparation from the adapter request and commits the
shared spend through commit_preparation_spend_and_release, so a receipt
minted on this path satisfies the core's shared-spend validation. The
legacy release is refused on the same path (contrast test).
The bound stage refuses a stage product that differs from the execution the
request was validated for, before any custody read or write.
Add commit_preparation_spend_and_release: the shared label spend mints its
custody receipt from preparation.label_release_request, which is what the
core's shared-spend validation requires (arm id and influenced artifact
digest of the authority). commit_spend_and_release keeps its behaviour and
its mint order; its receipts cannot satisfy a preparation and are refused by
the replay, as a contrast test now pins.
Closed refusals, all before any write unless stated: wrong preparation type,
head unavailable or moved (no CAS), lost CAS, labels unreadable after the
committed spend (labels_spent true).
admission_spend.py, admission_case_adapter.py and run.py were still
unformatted at HEAD (CI runs ruff format --check over the whole tree).
Formatting only: the abstract syntax tree of each file is identical to
the previous revision.
Population v4 (11 cases: 4 PHP with JavaScript, 4 TypeScript, 3 Python) was frozen on 2026-11-23 and is unscanned. The docs and steering that enumerate populations v1, v2 and v3-php now name it, with no result claimed.
freeze.py verified every case with git and file reads only (exit 0). A hand
review in two independent sessions then read each sink at the vulnerable pin
and each benign diff. Eleven cases stand; irrd-host-header-reset-poisoning
was dropped (its declared sink file holds no link construction and the fix
touches none of the link files, so the sink rule cannot be met).
4 PHP with JavaScript, 4 TypeScript, 3 Python; injection 6, untrusted
destination 3, configuration 2. Nothing in it has been scanned, traced,
probed or censused. protocol-v4.md must be committed before the first scan.
freeze-v4.json is pinned in reservation_guard_sources.py beside the
research record, so the guard fails loudly if either file changes.
Reserve a fourth independent population for milestone M4: twelve
repositories (four PHP, four TypeScript, four Python) chosen by the
maintainer from a sixteen-candidate research record built without a
clone or a scan. None of the twelve is named anywhere else in the
development tree.
The research record is pinned by SHA-256 in the reservation guard so the
production guard accepts the one file allowed to name the reserved
repositories. The population is reserved, not frozen: pins, sink
presence and benign changes are verified by the freeze step. Nothing in
it has been scanned, traced, probed or censused.
Task 15.2 is implemented as a provisional record (commits b82b52f, d9b7aaa): one packaged scope record, one bounded Scope line per run, the artifact key and the wheel membership. Notes the dangling Requirement 5.6 citation (implemented against 3.1, 5.1, 7.1, 7.3), what must be decided before the scope takes effect, the registry that has been stale since 2026-09-13, and the reviewer suggestions left open.
- advisory-scope.json names the taxonomy family memory as excluded, with
the registry-grounded reason and what a run does not tell
- docs/scanning.md shows the Scope line exactly as the hook prints it
- the loaded-scope guard moves into a helper, so __post_init__ keeps its
complexity of 14
- one sourcing-queue pair per fix-site key element (path-only,
function-only), each proven red by dropping that key line alone
- the closure decode test covers a self-consistent bool total next to
the float total
- the _request_order docstring names the two ties that remain open
(fix revisions; shared candidate digest with another family or CWE)
One packaged record (advisory-scope.json, shipped in the wheel beside eligibility.json) states the provisional scope, every exclusion with its reason, and what each exclusion leaves untold. The hook renders exactly one bounded Scope line per run in every state (provisional, with defects, record unavailable) and the artifact carries the record under advisory_scope. The record is provisional if and only if the shipped registry is NO-GO with no enabled declaration.
Task 15.2. The task text cites a requirement 5.6 that does not exist, so this is implemented against 3.1, 5.1, 7.1 and 7.3.
CI runs ruff format --check over the whole repository, and these modules under benchmarks/valid were the last unformatted files. Formatting only: the AST dump of every file is identical to the previous revision and the logical line count is unchanged (admission_execution.py and admission_projection.py stay at 400).
The license_class conjunct of the public-material partition had no mismatch fixture. NON_PERMISSIVE and UNCERTAIN sources with an allowlisted expression and an approval are now pinned to the private partition.
Candidates that differed only in fix-site path or function were selected by input order under the queue cap. Both scalars are now part of the request order, so cap selection no longer depends on input order for them.
total_accepted_positives accepted floats and booleans on both the direct and the decode path. Both now fail closed with STATE_MISMATCH through one sibling helper that keeps _validate_closure within the complexity cap.
_ledger_facts accepted any pending_entries value and turned it into a set; a ledger outside the durable shape is now a STATE_MISMATCH on both selection rounds. The _pending_by_ecosystem docstring now states the conflicting-accepted-review corner accurately.
A reference such as OWNER/REPO.GIT escaped the reserved-identity check at both reservation sites because the suffix was stripped case-sensitively. One shared strip now handles the suffix case-insensitively; identities without a mixed-case suffix are byte-identical.
The 11.5 review noted that the scale validator accepted runtime_ms >= 0,
so a sub-millisecond or frozen-clock reading could be recorded as 0 ms.
Clamp every recorded runtime (per-arm, streaming, lane) to at least 1 ms
and tighten the validator to > 0. A frozen-clock test proves all three
floors; it fails against the previous source (0 ms receipts).
`ruff format --check src tests` failed on the 17 test files and helpers added by tasks 10.x and 11.x. Formatting only: the AST of every file is unchanged.