Commit Graph
710 Commits
Author SHA1 Message Date
Marius Ciepluch 80abac5fd1 spec(contributor-scan): record the thirteen answers of 2026-11-27 (item 5b)
A record of maintainer decisions, in the form of 23c5383. In
.kiro/specs/contributor-scan/spec.json, updated_at moves to 2026-11-27T14:15:26Z and
approval_history gains one entry with the maintainer's thirteen answers of 2026-11-27 to
the ninth session's menu, each with the label chosen and what it means as offered. Until
now they were recorded only in .kiro/handover.md, which is not tracked. The work they
choose is item 5b of the queue, before step 9; this commit is its first piece.

The entry also records what started the work. On 2026-11-27 the maintainer wrote
"proceed". Asked with the question tool what it names (the options: item 5b only, step 9,
step 6), the maintainer answered in free text "1-13". The session's reading, labelled as
such in the entry and open to correction: the work of item 5b in full, a record commit
first and then the menu's questions 1 to 13 in the order of the questions; question 13 is
the order of work, not a word for step 9. The session told the maintainer that reading
and that step 9 would be asked for; the maintainer had not answered by the time of this
record. Nothing is decided here beyond the maintainer's words.

Limits of what is on record:
- The options not chosen are not repeated in the entry; the handover holds them.
- In the handover the section that copies the menu ("Open items of the ninth session")
  restates the chosen label of answers 2, 6, 7, 10, 12 and 13 and some options not chosen,
  against its own sentence that it keeps them as offered. The entry quotes the labels of
  the decisions section, which a reviewer checked against the stored question call: they
  are the labels offered and returned. The handover is not tracked and is not changed
  here.

spec.json parses, with its keys in order and its earlier seven entries equal to HEAD's;
outside updated_at and the new entry the file is byte-identical to HEAD (one line
replaced, five added). The added lines are ASCII and `git diff --check` exits 0. ruff,
mypy, the three gates and compileall pass, and the gates print what they printed before.
No test reads a spec, by a grep of tests/. An independent reviewer approved the change in
one round; its optional rewordings are applied after the approval, as proposed (items 3
and 11 carry the meaning as offered; the pointer names the handover's decisions section;
the answer "1-13" is said to be free text; the entry says the maintainer had not answered
the reading).
2026-11-27 15:31:17 +01:00
Marius Ciepluch 23c5383701 spec(contributor-scan): record item 5a under 3.2, and what is left open (item 5a)
The record of the ninth session (2026-11-26 and 2026-11-27), in the form of ea8d3d2. Four
dated notes close task 3.2's list, at .kiro/specs/contributor-scan/tasks.md:538-660:
- item 5a: the eight commits, each with the menu item of 2026-11-26 it answers, in the
  order of the commits, and the two decisions of the maintainer on 2026-11-27;
- the judge calls with the network off, assessed on menu item 5: nothing fixed;
- the release job's tests of run 42229293910, assessed on menu item 9: nothing fixed;
- sixteen points left for the maintainer: reported, not fixed.

Nothing is decided here. "Proceed", read as the work of item 5a only, is the session's
reading. The first assessment rests on five runs (natively with the network off, without
a key and with a placeholder key; in the image with the placeholder; and the eighth
session's two image runs) and on the code by reading: a failed judge call drops the claim
as a "no" does, nothing in the manifest or the run directory says so, and such a report
says less than one without an endpoint. The second rests on `gh run view` logs: twelve
tests failed in the release job; they pass at 7e26f5f on this machine; ten of them still
failed on the runner at origin/main. In the log of the d26fbcb checks job the list of
failed tests is taken from the outer run's eleven failure lines; a nested pytest run of 45
failures inside one test's message is not counted.

In .kiro/specs/contributor-scan/spec.json, updated_at moves to 2026-11-27T10:49:05Z and
approval_history gains one entry with the maintainer's thirteen answers of 2026-11-26 and
two decisions of 2026-11-27. Until now the thirteen answers were recorded only in
.kiro/handover.md, which is not tracked. The two decisions of 2026-11-27 (the mount with
the override OPENULTRASAST_RUNS_DIR=/reports; the PowerShell wrapper changed, untested)
changed the shape answer 4 was offered in, and were otherwise recorded only in d1f61fb's
message. 4ef1394, 11733bf and ab2f55d did the same for earlier decisions; ea8d3d2 and
7e26f5f recorded no decision and touched tasks.md only.

Limits of what is on record:
- The two option labels, "Mount and override" and "Change it, untested here", are quoted
  from the session's question to the maintainer; they are in the handover, in no tracked
  file.
- The removal of the two images and the deletion of the regress directory rest on the
  handover and one output file; git holds no trace of either.
- The mount-alone run's output was overwritten; the claim also follows by reading, since
  docker-compose.yml sets OPENULTRASAST_RUNS_DIR to /reports/runs.
- "Natively" for an empty directory is the eighth session's word: its output on file is
  the image run.
- 68 against 44 and 65 against 40 are whole-command times.
- The reviewer rounds are from the commit messages; libpng at cf53e54 rests on the eighth
  session's record; the scratch under /tmp/opencode/s9_* is not kept.

spec.json parses, with its keys in order and its earlier six entries equal to HEAD's.
Everything outside lines 538-660 of the spec is byte-identical to HEAD. The added lines
are ASCII and `git diff --check` exits 0. ruff, mypy, the three gates and compileall
pass, and the gates print what they printed before. No test reads a spec, by grep. An
independent reviewer approved the change in two rounds: its first round found the
commit list numbered with the session's own item numbers and presented as the menu's,
and that is corrected; its four optional rewordings of the second round are applied
after the approval, as proposed.
2026-11-27 12:13:37 +01:00
Marius Ciepluch 9a8e0038b0 spec(plane-on-kubernetes): 4.4 is on kube-ax, a dated note (item 5a)
The maintainer's decision of 2026-11-26 on the eighth session's menu (item 13), as it
was offered: "plane-on-kubernetes tasks.md:191 says '4.4 Kind proof and record' while
roadmap.md:318 places 4.4 on kube-ax: a dated note or a reworded line." Answer: "4.4
line to kube-ax". The form was offered both ways and left to this session, which says
before this commit that it takes a dated note. A reworded line is not taken: the header
of the spec keeps the text of groups 3 to 8 as written, and this file records change by
dated text (the header note and the last section, both of 2026-11-24).

Two files. In .kiro/specs/plane-on-kubernetes/tasks.md, nine lines are the last
sub-bullet of task 4.4; the line of 4.4 and its bullets are untouched and the checkbox
stays open. In .kiro/specs/plane-on-kubernetes/spec.json, updated_at moves from
2026-11-24T13:58:17Z to 2026-11-27T10:39:48Z: d45fc98, this spec's last dated note, did
the same, and the spec skills say to update the timestamp. No code changes.

The note records that the roadmap counts 4.4 among "the open spec tasks that gate G1"
and describes it as the engine smoke on kube-ax, leading to record 04. It decides
nothing. Three points are named as open: what the proof is on kube-ax, since the
roadmap calls 4.4 the engine smoke and the task's bullets prove the GHCR images; how a
task of a group to re-plan under G4 gates G1, in a section of the roadmap whose ordering
the sections above it supersede (roadmap.md:5, the ladder of 2026-11-20, and :162; :115
and :150 say the same for detection work and detection claims); and the marker
"(coordinator, network)", which the roadmap says 4.4 and 5.4 carry and neither task's
line in the spec has. The roadmap, which is steering, is not touched.

The decision and its options are recorded in .kiro/handover.md, which is not tracked;
the note names it.

No test reads the spec, by grep: the tests that name it do so in comments and
docstrings. tests/test_obligation_siblings.py passes (4 tests) and reads no spec. ruff,
mypy, the three gates and compileall pass, and the gates print what they printed before.
An independent reviewer approved in two rounds. Its four remarks of the first round are
applied: the handover is named as the record of the decision; "the task above" became
"the bullets above"; the clause on ordering; and the marker sentence names 4.4 and 5.4
and says neither task's line carries the marker.
2026-11-27 11:44:33 +01:00
Marius Ciepluch 7e26f5fabc spec(contributor-scan): the ledger in the image is an open task on 3.1 (item 5a)
A dated note on task 3.1 of .kiro/specs/contributor-scan/tasks.md (ninth session,
2026-11-27). No code changes, and nothing is decided: the maintainer chose "Open task"
on 2026-11-26 for item 3 of the eighth session's menu ("Record it as an open task:
nothing changes now. A dated note on task 3.1 holds the measurements and the design
question (a ledger under the runs directory must be keyed by target, because its
entries name relative paths)."), and the checkbox of 3.1 stays open.

The note holds:
- what a scan does with the false-positive ledger, by reading
  src/openultrasast/cli.py and reports.py: the path under the target, the read before
  the ranking is calibrated, the write when its content would change, the degradation
  ledger_not_written on a read-only target, the report's sentence under "What could
  not be analysed", and that through the image a scan applies learnings only from a
  ledger already in the tree and can never add one (by the code, not run);
- the measurements of 2026-11-26, read again on 2026-11-27 from the run artifacts, not
  from new runs. Standard mode on contrib/examples of libpng at cf53e54, 15 findings on
  both sides, no key on either side. In the image (run 20261126T125414Z-facce3bb):
  calibrations_applied=0, project_score 26, penalty_total 80.0. Natively, a second scan
  of a copy that held the ledger an earlier native scan had written:
  calibrations_applied=2, project_score 59, penalty_total 32.0. calibrations_applied
  counts files: the native second scan applied all four learnings of that ledger, to
  two files;
- the design question, with the options not chosen.

The design question names no key for a ledger under the runs directory. The note
records two candidates that cannot serve: the path as the image shows it (every target
is /target there) and the fingerprint of the provenance stage, which classes a tree as
human, agent or mixed and hashes nothing.

The decision and its options are recorded in .kiro/handover.md, which is not tracked;
the note says so. The measurements rest on the eighth and ninth sessions' scratch under
/tmp/opencode, which is not kept; the note names the files.

tests/test_obligation_siblings.py passes (4 tests), ruff, mypy, the three gates and
compileall pass, and the gates print what they printed before. An independent reviewer
approved the change in three rounds. Its remarks are applied: the handover is named as
the record of the decision; the image figures come from the run without a key, as the
native run is; calibrations_applied is said to count files; and a clause that pointed
the design at a function that is not a key is gone. That clause came from the
reviewer's own first-round remark and was written in after checking only the call
site; the reviewer caught it in the second round.
2026-11-27 11:07:49 +01:00
Marius Ciepluch ea8d3d2e6e spec(contributor-scan): record part 2 of the image under 3.2, and what is left open
Started on the maintainer's "proceed" of 2026-11-26, read as step 5 only. The note on task
3.2 records part 2, done in `9d53c32` and `88ea171`, with its evidence: the image built from
`88ea171`, the documented command before and after `9d53c32`, the read-only target, the
network off, the reserved populations absent, the parity of a first scan natively and in the
image on libpng's `contrib/examples` (4 and 4 findings, then 15 and 15) and on libpng whole
(167 and 167), the wrapper, the release pins read with `gh`, and what the entailment at
`contrib/examples/iccfrompng.c:124` does at `88ea171`: it is still reported, so the roadmap's
second criterion does not hold on libpng. The box of 3.2 is ticked; the task's observable
is met.

A second note lists eleven items left for the maintainer, none of them changed. The first
is a fault: the native path of `ops/shell/ousast.sh` changes into the checkout before any
path is rewritten, so `ousast scan .` from a user's directory would scan the OpenUltraSAST
checkout.

Decisions are quoted and everything else is labelled as evidence. No test reads this file;
`tests/test_obligation_siblings.py`, which the handover names as the one that reads the
specs, passes (4 tests). ruff format, ruff check, mypy, the three gates and compileall
pass, and the gates print what they printed before. An independent reviewer approved the
note in the third round. Its first verdict corrected the open list: one number was wrong
(the first run printed 84 lines, 74 of them build output) and one count could not be
verified because its output had not been kept, so it was dropped; five measurements were
then re-run with complete captures kept.
2026-11-26 15:03:38 +01:00
Marius Ciepluch 8daca3df76 docs(plane-on-kubernetes): the pages that placed the plane in the kind cluster say it is stopped
By the maintainer's decisions of 2026-11-25 and 2026-11-26, recorded in the handover. The
question: "The local kind cluster is stopped since 2026-11-24, and three pages still say in
the present tense that the plane runs in it ... Fix them?" Answer: "One docs commit now", as
offered: "The statement step 3 made in the other pages: the cluster is stopped and its code
stays. The docs tests and a reviewer, as for step 3." Four smaller leftovers chosen in the
same menu are done here too: "Reword three link sentences", "Drop Today's in
deployment.md", "Note the proof on kind" and "Note the probe on kind".

The three pages: `docs/ops/ax/README.md` and `docs/where-we-stand.md` take the sentence of
`3a34929` ("That cluster is stopped since 2026-11-24: the code stays, `ops/ax/up.sh`
recreates the cluster, and whether the executor code is deleted is decided at the plane
re-plan"). `ops/ax/README.md` lines 3-4 are one sentence now, as the second menu decided,
and still two lines, because `docs/ops/ax/README.md` includes that page from its line 5.
For that reason the clause "`ousast plane run` submits, resumes, starts and collects" left
those two lines; it stays in the docs page's own paragraph.

The link sentences in `README.md`, `ops/README.md` and `docs/index.md` say what
`docs/deployment.md` holds, in the page's own words: how the plane was deployed on the
maintainer's host, and what moving it to a separate cluster would take. In
`docs/deployment.md`, "Today's EndpointSlice" is an undated statement about the kind
profile. Two dated notes say what waits for the cluster: the replay proof of 5.4 on kind,
and the kind half of the probe of task 3.2 in the parked search-with-proof spec.

Left alone, as decided: `ops/ax/README.md:20`; the rewrite of `ops/ax/README.md` and
`docs/ops/ax/README.md`, and k3s against kube-ax, wait for the plane re-plan.

Tests: the seven test files that read these pages (`test_docs_site.py`,
`test_removed_plane_references.py`, `test_plane_literals.py`, `test_plane_profile.py`,
`test_obligation_siblings.py`, `test_learn_experiments.py`, `test_config.py`): 113 passed
before and after the change. `git diff --check` is clean, and `mkdocs build --strict`
builds the site into a scratch directory. An independent reviewer approved the change in
one round; its remarks on the probe's kind half and on the style of the two notes are
applied.

Outside this commit, from the reviewer: `.kiro/specs/plane-on-kubernetes/tasks.md` has
"4.4 Kind proof and record 04", while `roadmap.md` places 4.4 on kube-ax.
2026-11-26 10:59:35 +01:00
Marius Ciepluch 3a34929c55 docs(plane-on-kubernetes): the docs say the local kind cluster is stopped and its code stays
The maintainer decided on 2026-11-24: "The local kind cluster is stopped and the
code stays. Whether the executor code is deleted is decided at the plane
re-plan." d45fc98 recorded the decision in the spec's tasks. The documentation
went on calling the cluster the development default, or saying that it runs
today. This is step 3 of the handover: one documentation commit for that
decision, with the two records the same step names.

What changes, by file:

- README.md, tier 3: the cluster is stopped since 2026-11-24, the code stays,
  ops/ax/up.sh recreates the cluster, and the deletion of the executor code is
  decided at the plane re-plan. Tier 4 names the stop where it says that no
  other cluster has received a deployment.
- docs/plane.md: the same under "ax is the only executor"; the Deployment link
  and the profile list no longer say "today".
- docs/deployment.md: a dated paragraph at the top carries the record's own
  facts: the decision, the teardown with ops/ax/down.sh, ops/ax/up.sh, a cold
  bring-up that has not been timed, and that nothing on the product's main line
  used the cluster. The frame sentence, two headings, one table header and the
  sentences that said "today" or "runs" are dated or put in the past.
- .kiro/steering/overview.md, the Engine bullet of the dated section of
  2026-10-04; .kiro/steering/roadmap.md, the Destination list, the
  Infrastructure row and the plane-on-kubernetes row. Each keeps the earlier
  target and adds the dated fact, the form roadmap.md already uses for the
  decisions of 2026-11-24.
- ops/k8s/profiles/kind.toml: the leading comment only. No value changes.
- .kiro/specs/ir-consolidation/brief.md: a dated note. Question 2 is overtaken
  by the maintainer's decision on contributor-scan task 4.1: "C memory-safety
  beyond string-function misuse is out of scope. Record that, and say so per
  corpus slice." Question 1 is not affected.
- .kiro/specs/reachability-flow-model/design.md, Data Models: the run directory
  of a scan since 6edae3a, where the line named the location that ended then.

The roadmap's Position is refreshed (verified 2026-11-25). An open subtask is
an open checkbox whose first token is a task number without a trailing dot;
the group headers end with a dot. valid-detection-benchmark 2 (11.6, 11.7);
contributor-scan 18; plane-on-kubernetes 22; reachability-flow-model 16;
authorization-obligations 18; pre-push-safety-net 4 (8.3, 11.3, 13.2, 13.3);
hunter-learning-loop 1; detection-core 0 (11.4 closed under R0). The new
bullet says what the task boxes show for R1 to R5 and records the stop.

Beyond the handover's line numbers, in files it names: README tier 4 (one
clause), two sentences of docs/plane.md, and in docs/deployment.md the frame
sentence, two headings, one table header and three sentences that said "today"
or "runs". Also roadmap.md's Destination bullet (line 239 before this commit):
the same claim 21 lines above the row the handover names, in steering that
every run loads.

Left as they are and reported, on the maintainer's rule that a fault outside
the chosen tasks is reported and not fixed in passing: docs/ops/ax/README.md:3,
ops/ax/README.md:3 and :20, and docs/where-we-stand.md:184-185, which still say
that the plane runs in the cluster; README.md:270-271, ops/README.md:388 and
docs/index.md:56, "where the plane runs today"; roadmap.md:317, "proof on
kind"; search-with-proof/tasks.md:27; the requirements and design of
plane-on-kubernetes, where a change is a spec amendment; and README tier 4 and
docs/deployment.md naming k3s as production, where the roadmap's spec map says
that the production path was re-scoped to kube-ax.

Evidence:
- tests/test_docs_site.py (the strict site build), test_removed_plane_references.py,
  test_plane_literals.py, test_plane_profile.py and test_obligation_siblings.py:
  exit=0, 40 passed, on the committed tree.
- git diff --check: exit 0. The added lines are ASCII.
- The reviewer counted the open work by a method of its own and found the same
  numbers. It built the site strict into scratch, and measured the host: no
  kind cluster and no kube context.

Review: an independent reviewer approved the change in round 1 (no REQUIRED
finding, two SHOULD FIX) and again in round 2, after those were folded in.
After round 2 its round-2 wordings were applied as proposed: one sentence, one
clause and two table labels. No test pins these sentences. The cluster was not
recreated and ops/ax/up.sh was not run.
2026-11-25 19:19:46 +01:00
Marius Ciepluch 9a0b27e07b spec(contributor-scan): record the benchmark runs and the skipped runs directory under 3.1
The 3.1 task note gains two record paragraphs.

`9e4983f` moved the benchmark runs beside the scan runs. `56c4620` made a
scan skip its runs directory when it lies inside the scanned path: the
maintainer's decision, as the handover records it, is quoted. Each paragraph
closes the item the note of 2026-11-24 had marked "not yet done", and the
older wording, "skip the cache when a scan meets a directory that contains
it", is marked as overtaken by the decision, which names the runs directory
only.

The rest is labeled evidence on record: the skip applies only where the runs
directory lies inside the scanned path (the reading the independent reviewer
confirmed), it is silent, no run of this package keeps a source file today,
and the counts of tests, lint and gates of `56c4620`. What is left for the
maintainer is named as such and not decided: whether a scan should say when
it left files out, whether a target inside the runs directory should be
named, and a sentence for the user docs.

No code changes.
2026-11-25 14:42:59 +01:00
Marius Ciepluch 78434a6e9f refactor(contributor-scan): split _run_scan into its stages (3.1, follow-up)
`_run_scan` in src/openultrasast/cli.py stood at a McCabe complexity of 18
and 124 logical lines, against the caps of 10 and 50 in
.kiro/steering/code-standards.md. It is now 5 and 45 and reads as the stage
sequence.

The stages moved to six private helpers in the same module, in call order:
_map_scan_targets, _collect_findings, _verify_and_fuse, _map_and_overlay,
_add_obligation_and_model_findings and _run_map_stage. Two small records
carry what crosses between them. _RunFiles names the ten artifacts a run
writes, where the function kept ten path locals; _MapStage carries what the
MAP stage hands to the reports, with the defaults of a scan that did not
request that stage. The wrote_overlay flag is gone: the overlay is a list
when the stage ran and None otherwise.

No statement changed. What differs from the old function is where values
live: the tool hunter's budget is read as config.hardening.max_findings,
the fusion decisions come from their helper's return, and the reports and
the manifest read the two records.

Logical lines are counted the way the detection-core final gate counts
them (the tokenize method). _main, _pre_push and _plane in the same file
were already over the complexity cap and are not touched.

Tests: the 38 test files that import the CLI or the MCP server pass (563
passed, 11 skipped); ruff, mypy and the three gates pass. Scans by the code
before and after agree artifact for artifact: quick mode on a scratch copy
of src and tests, and standard mode with defaults and with the scripted
tool hunter under a budget of three findings. An independent reviewer
approved the change in two rounds; its first round asked for the
logical-lines cap, which this cut meets.

The task note in .kiro/specs/contributor-scan/tasks.md records the split.
2026-11-24 22:05:49 +01:00
Marius Ciepluch 02493bd6b7 spec(pre-push-safety-net): record the stale push eligibility registry as owned M5 work
The maintainer decided on 2026-11-24 to file the push eligibility registry
under milestone M5 ("File under M5"). The item had no owner.

The paragraph under M5 in release-milestones.md quotes the decision and
labels the rest as evidence on record: the file was last written at commit
b506516 (2026-09-13), and by the task 15.2 note its bindings match the code
of that commit and no binding at HEAD, so load_registry returns stale with
zero capabilities and the hook emits no admitted alert. The hook stays
silent until M5 regenerates the registry.
2026-11-24 18:37:47 +01:00
Marius Ciepluch 4ef1394c2b spec(contributor-scan): record the decisions taken after the stop: run retention, the push condition, and the next session's work
The maintainer answered six open questions on 2026-11-24, so that a new
session can continue without asking. tasks.md carries them where they apply.
Task 3.1 notes the run retention (17d46c0) and the three follow-ons decided
for the next session: the benchmark runs move to the cache, a scan that
meets a directory containing the cache skips it, and _run_scan is split in
its own commit. Task 3.2 notes that part 2 also carries the release workflow
fix and the libpng re-measurement against the second release criterion.
Tasks 5.14, 7.3, 7.7, 7.8 and 5.9 carry one rule: each closes on the fresh
pmpro measurement when its own completion criterion holds there, and stays
open with the fresh number recorded otherwise.

spec.json records the same decisions in one approval entry together with
the push condition: a push follows a local gate, the whole test suite and
every CI command passing locally, while GitHub CI stays red for reasons in
other specs.
2026-11-24 17:54:21 +01:00
Marius Ciepluch efa2b62bff feat(contributor-scan): pin Open Notebook as the whole vibe-code checkout (5.2, part 1)
benchmarks/repos/open-notebook.toml pins lfnovo/open-notebook at 89eac04c
(tag v1.8.3, MIT), chosen by the maintainer from a shortlist: 462 files in
two languages, 101 Python and 197 TypeScript or JavaScript. It holds one
known entry for each of the eight published advisories whose range covers
the pin, five in scope and three out with the reason in each, and asserts no
rung. Every site was read in the code at the pin, and the fix statements in
the code of the fixed trees rather than in the advisory text.

What the recipe says about scope, so that the measurement is read correctly:
two in-scope entries hand the value to a dependency that performs the sink
(a file read and an HTTP request in content-core), and one sits in
docker-compose.yml, which no scan opens. The engine cannot entail a flow to
a callee that no sink table names, so a miss on those is structural. Only
CVE-2026-33588 has its sink in the tree. The recipe also states what the
learning labels would make of the YAML entry, were a source to list it.

The measurement is part 2 and runs in the image.
2026-11-24 16:06:32 +01:00
Marius Ciepluch 6edae3a585 feat(contributor-scan): a scan writes its run to the user cache, and the ledger only when it learns (3.1, part A)
Where a scan writes. A native scan now creates its run under the user cache,
~/.cache/openultrasast/runs/<scan-id>/ by default ($XDG_CACHE_HOME when it is
set and absolute), prints run_dir=<path> once, and no longer writes anything
under the analysed tree. OPENULTRASAST_RUNS_DIR still wins: an absolute value
is used as given, a relative one resolves against the working directory.
Pre-push storage is unchanged.

The calibration ledger, by maintainer decision: .openultrasast/calibration/
stays the store, and a scan writes the false-positive ledger into the tree
only when its content would change. On a read-only tree the scan records
ledger_not_written, with a sentence in the report, and completes; before, a
read-only target with one rejected finding crashed before report.md existed.

benchmarks/repos/measure.py follows the printed run directory. It read the
run from under the scanned copy, which would have recorded every repository
as failed, and it also read a stale run left in a copy.

Tests: tests/test_scan_output_location.py drives the real CLI and compares
the whole tree before and after; tests/test_repo_measure.py pins the
measurement script; an autouse fixture keeps every test's scan runs out of
the developer's cache; fourteen test files follow the run to its new place.
README, docs/examples.md and the scan skill name the ledger as the one write
a scan makes. _run_scan is touched by one line and stays over the complexity
cap.

Task 3.1 stays open for part B, the readable summary.
2026-11-24 15:33:35 +01:00
Marius Ciepluch d45fc98c4e spec(plane-on-kubernetes): record that the local kind cluster is stopped and the code stays
The maintainer decided on 2026-11-24 to stop the local kind cluster and keep
the code until groups 3 to 8 are re-planned. The cluster was torn down the
same day with ops/ax/down.sh; whether the executor code is deleted is decided
at that re-plan.

The dated section at the end of tasks.md records what was true when the
decision was taken, each with its source: nothing on the product's main line
used the cluster or its stores and the memory store is remote; the rustfs in
the cluster was Substrate's snapshot store, and a file copy of it with
Substrate's postgres data is kept on the development machine; search-with-proof
demonstrated on kube-ax and takes from plane/ only memory.py and budget.py;
the admission that decides rollout does not depend on the local cluster. The
status block at the top points to it, and spec.json carries the date.
2026-11-24 15:25:48 +01:00
Marius Ciepluch 11733bfb87 spec(contributor-scan): record the course of the implementation run and close 7.1 as superseded
The maintainer set the course for this run on 2026-11-24. spec.json now
carries it as two approval entries: the course itself (7.1 closes as
superseded; 5.12 covers facts and generic features and is to record why it
drops the LLM ranker; 7.2 lands before 5.6 and 5.1; the subject for 5.2 is
chosen by the maintainer; a native scan writes to the user cache; both
stages run autonomously and a push follows only after the whole test suite
and every CI check pass), and the later decisions of the same day, recorded
at the time of writing (the 5.2 subject, the calibration ledger, the build
cache, the image contents).

tasks.md: 7.1 is ticked as superseded. Its instrument was built on
2026-09-21 (0beae46, b0500ec), measured on NodeGoat only, and retired with
the other cuts on 2026-10-13 (f5a904b); the NodeGoat record survives and the
successor is the detection-core fact-pack workstream. 5.1 carries its
deferral, which sets aside the Depends line task 5.6 carries. 5.2 names its
chosen subject and says that other advisories affect the pinned version
besides the two labelled ones.
2026-11-24 14:40:08 +01:00
Marius Ciepluch ab2f55d8ae 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.
2026-11-24 14:17:30 +01:00
Marius Ciepluch d26fbcbe53 docs(valid-detection-benchmark): record the full-scale rehearsal measurement
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.
2026-11-24 07:42:06 +01:00
Marius Ciepluch 26833ffe52 docs(valid-detection-benchmark): record the pre-11.6 hardening pass
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.
2026-11-23 21:55:38 +01:00
Marius Ciepluch 2b49fd748f docs(pre-push-safety-net): record protocol v4 and close the stale open items for 15.1
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.
2026-11-23 21:05:56 +01:00
Marius Ciepluch 62a08a0398 docs(pre-push-safety-net): record the population v4 reservation and freeze for 15.1 2026-11-23 17:42:23 +01:00
Marius Ciepluch 078692e903 docs(pre-push-safety-net): record the provisional advisory scope for 15.2
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.
2026-11-23 15:02:59 +01:00
Marius Ciepluch a68796610a feat(valid-detection-benchmark): 11.5 streaming scale bounded validation and back-pressure 2026-11-23 06:21:43 +01:00
Marius Ciepluch 66ec3e1a31 feat(valid-detection-benchmark): 11.4 spend-ordering crash and failure-visibility matrix 2026-11-23 03:51:56 +01:00
Marius Ciepluch da5323002e feat(valid-detection-benchmark): 11.3 end-to-end lifecycle with case adapter and hostile-decode retrofit 2026-11-23 02:50:12 +01:00
Marius Ciepluch 73c8a9d6b3 feat(valid-detection-benchmark): 11.2 persistence custody and scratch-loss suites 2026-11-22 23:28:46 +01:00
Marius Ciepluch 936835477a feat(valid-detection-benchmark): 11.1 governance and confidentiality adversarial suites 2026-11-22 23:01:01 +01:00
Marius Ciepluch c587f25bb3 feat(valid-detection-benchmark): 10.7 freeze and causally bind replacement baseline 2026-11-22 22:27:09 +01:00
Marius Ciepluch 93ebea7b93 feat(valid-detection-benchmark): 10.6 draw and validate ordinary-change population 2026-11-22 21:38:26 +01:00
Marius Ciepluch c867f24f7d docs(valid-detection-benchmark): persist 10.4/10.5 review advisories 2026-11-22 20:12:21 +01:00
Marius Ciepluch c2b5f5bc92 feat(valid-detection-benchmark): 10.5 ingest fourth cohort and close positive set 2026-11-22 20:12:03 +01:00
Marius Ciepluch 6d66501192 feat(valid-detection-benchmark): 10.4 select and ingest third reviewed cohort 2026-11-22 19:16:54 +01:00
Marius Ciepluch 408a562c41 feat(valid-detection-benchmark): 10.3 ingest bounded reviewed JavaScript/TypeScript cohort 2026-11-22 18:42:51 +01:00
Marius Ciepluch 825e680804 feat(valid-detection-benchmark): 10.2 ingest bounded reviewed Python cohort 2026-11-22 10:25:59 +01:00
Marius Ciepluch 34344234d5 feat(valid-detection-benchmark): 10.1 create bounded sourcing and review queues for both initial ecosystems 2026-11-21 21:29:52 +01:00
Marius Ciepluch e4ae37958e docs(valid-detection-benchmark): record R1 final-validation follow-up owners 2026-11-21 19:41:35 +01:00
Marius Ciepluch 38e12282da feat(valid-detection-benchmark): 9.3 publish benchmark-only run, resume, and status commands 2026-11-21 19:27:27 +01:00
Marius Ciepluch 4085f236f3 feat(valid-detection-benchmark): 8.6 resume exact pre-spend and post-spend workflows without changing authority 2026-11-21 17:39:10 +01:00
Marius Ciepluch 6fad162962 feat(valid-detection-benchmark): 8.5 produce every scoped report and one complete evaluation replay 2026-11-21 16:34:30 +01:00
Marius Ciepluch 475ff3a5fe feat(valid-detection-benchmark): 8.4 project exact-scope cases and promote only matching differential proof 2026-11-21 15:23:51 +01:00
Marius Ciepluch 14036e1ec9 feat(valid-detection-benchmark): 8.3 commit spend before label release with independent V3 case review 2026-11-21 14:11:01 +01:00
Marius Ciepluch 14bf931f01 feat(valid-detection-benchmark): 9.2 remove replacement authority from legacy aggregate scoring 2026-11-21 13:39:38 +01:00
Marius Ciepluch 9ba0a9d4c5 feat(valid-detection-benchmark): 8.2 execute and seal planned observations before spend 2026-11-21 12:41:55 +01:00
Marius Ciepluch a7adc99d31 feat(valid-detection-benchmark): 9.1 route catalog, verification, and assembly through new authorities 2026-11-21 12:41:42 +01:00
Marius Ciepluch 3a9f1d12ab feat(valid-detection-benchmark): 8.1 admission preflight with sealed retry authority 2026-11-21 11:10:05 +01:00
Marius Ciepluch 8b0cf664b3 feat(valid-detection-benchmark): render deterministic transport-neutral operator reports 2026-11-21 10:25:33 +01:00
Marius Ciepluch cf4467aa5e feat(valid-detection-benchmark): implement causal workflow journal with lease-protected head 2026-11-20 22:25:06 +01:00
Marius Ciepluch 0ba6d22d17 feat(valid-detection-benchmark): define closed workflow outcomes and redacted serialization 2026-11-20 21:35:16 +01:00
Marius Ciepluch b1a7ccd231 feat(valid-detection-benchmark): integrate sealed pre-spend diagnostics with reviewed development opening 2026-11-20 20:25:08 +01:00
Marius Ciepluch 37d98a846b docs(access-control-prover): reconcile amendment group headers
All 62 numbered subtasks are complete; tick groups 7-14 to match.
2026-11-20 20:08:21 +01:00
Marius Ciepluch e6984b2f46 feat(detection-core): resolve 11.4 governance blocker and pass final gate
The owning spec valid-detection-benchmark landed the authoritative
reservation/withdrawal/replacement lifecycle (tasks 2.1-2.4), resolving
the reservation-guard conflict that blocked the full-suite gate. The
final gate instrument now declares the V3 evaluation layer in its core
authority and passes; test_independent_population is green 12/12.
Full-tree 6425 passed with one documented load-induced timing flake
(budget-contract tests pass standalone 52/52).
2026-11-20 20:08:16 +01:00