Two producers (the prover's trace, Joern's taint and dominance results), two driver
inputs, arms as masks of the existing paired ablation, three samples with a vote, one
page per example, and the cache keys in the memory store. Generated, not approved.
The answers to the second menu of 2026-11-30 are recorded in the roadmap.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
The maintainer's second decision of 2026-11-30. The requirements of dspy-driver are
approved, with a memory amendment: a cache in stage one, a case memory and a curator
that prunes as later stages. The kube and AX plane is retired and its removal is
listed as steps C1 to C5 of the roadmap. search-with-proof is deferred to a follow-up
spec in Docker on a dedicated runner, opened once the driver's baseline is read.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Staged on the maintainer's condition of 2026-11-30: measurable, not theoretic. The
example book, the wiring of the prover's trace and Joern's results, the delivery
check E0 and the baseline E1 are specified. E2 to E6 enter by dated amendment only
after the result before them is read. Generated, not approved.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
The open work of hunter-learning-loop (4.1, 6 and the group 7 of the same day)
moves to dspy-driver as D1 to D10. The brief maps the driving in seven stages and
orders the experiments E0 to E6. The abstract interpretation is wired in before
anything is measured: the prover's trace and Joern's results are not inputs of the
driver today. HarnessX is gone from the tree, and the four plane modules the ledger
suspected are still imported.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
hunter-learning-loop gets group 7 (the driver on the trace), search-with-proof
group 7 (proof on the driver's suspects, shown to the developer), pre-push-safety-net
task 18, and engine-change-scoped-analysis the carried engine work. Superseded specs
keep their directory with a notice. The breadth ledger follows.
Co-Authored-By: Claude Fable 5.2 <[email protected]>
The decision of the maintainer on the ninth session's menu, answer 9 (.kiro/handover.md,
untracked, 1340-1343 as it stood on 2026-11-27; the option as offered, 1451-1452):
> 9. The ledger in the image. Answer: "Decide the key now": a digest of the tree's files
> (the `fingerprint` of the `provenance` stage is no digest), one ledger per digest under
> the runs directory; a design note is shown to the maintainer before any code.
The design note (/tmp/opencode/s10_c10_design_note.md, 299 lines) was reviewed in five
rounds before it was shown, and shown to the maintainer whole on 2026-11-27 with its three
questions. The maintainer's answers came on 2026-11-28, through the question tool, each the
recommended option as offered: "Stand as written (Recommended)" on the note's rule of reading
and writing (its section 3.3), "With the runs, by last use (Recommended)" on how long a ledger
stays (section 3.5), and "Build it now (Recommended)". The dated note on task 3.1 of
.kiro/specs/contributor-scan/tasks.md (lines 459-502) carries the rule as approved.
The fault: the image mounts the target read-only, so the ledger a scan writes into the tree
(<target>/.openultrasast/calibration/false_positive_learnings.json) cannot be written there,
the scan records ledger_not_written, and the next scan in the image starts without the
learnings of the one before.
What changed
- src/openultrasast/tree_digest.py: tree_digest(target, runs_directory) (line 48), a sha256
over one entry per file in path order (the length of the path, a colon, the path, a tab,
the sha256 of the bytes), after a version line. Left out: links, the directories a scan
ignores (IGNORED_DIRS, so that the tree's ledger does not change its own key) and the runs
directory, whichever way it is reached (by device and inode). A file that cannot be read
and a directory that cannot be listed are named "unreadable"; a directory that can be
listed but not searched raises, as the scan's own reading of the tree does.
- src/openultrasast/digest_ledger.py: the ledger of a digest, calibration/<digest>.json under
the runs directory, in the JSON of the tree's ledger. read_digest_ledger (line 47) reads it
and marks it as used; settle_digest_ledger (line 65) applies the rule.
The tree took the write: the ledger is removed. The tree refused: the ledger is written
with its own entries and this scan's new ones, never one whose finding id the tree's
ledger has, only when that differs from its content, and removed when that would leave it
empty. No write: a ledger whose every entry the tree's ledger also has is removed. One that
could not be read (a file that is not a ledger, whatever its top level or its depth) is
taken for empty and goes, unless the tree refused and this scan wrote it. It is written
through a temporary file of the writer's own and a rename (line 112).
- src/openultrasast/cli.py: the stage tree_digest, before any stage reads the tree
(cli.py:603-605); _read_ledgers (cli.py:1085-1099), the tree's ledger and then the
digest's, the tree's entry winning by finding id; _persist_calibration_feedback
(cli.py:1101-1136), which writes the tree's ledger when its content would differ from what
it held, also when only the digest's entries are new to it; the manifest's ledger block
(cli.py:731-735); a notice when the digest's ledger could not be written or removed
(cli.py:755).
- src/openultrasast/run.py: prune_expired_ledgers (run.py:112), called by prune_scan_runs
(run.py:71-99). Under calibration/ of the same two locations as the runs, a ledger, or the
temporary file it was written through, last used OPENULTRASAST_RUNS_RETENTION_DAYS days
ago is removed; 0 keeps all. Files called something else, links and directories stay. A
removal that fails is said once and costs the scan nothing.
- src/openultrasast/reports.py: write_manifest takes ledger (reports.py:212, 254-255). The
ledger_not_written sentence names the digest's ledger when it holds the learnings
(reports.py:461-467, chosen at 479-483).
- README.md, docs/examples.md, docs/architecture.md and
.agents/skills/openultrasast-scan/SKILL.md say where the learnings of a read-only tree go,
and what removes them.
Two departures from recorded decisions, both put to the maintainer in the note and accepted
with it:
- The tree's ledger is written when a scan learns nothing new, because the digest's entries
are new to it. The decision of 2026-11-24 says it "is written only when a scan learns
something" (spec.json:68).
- A ledger of a digest is removed when it expires, and its time is changed when a scan reads
it. The decision of 2026-11-24 says "the scan's own run and anything not named like a run
are never touched" (spec.json:73), and dates a run by its id, where a ledger is dated by
its use.
Measured
- The built function gives the note's prototype's digest for the four-file subject
(915506a8...) and for libpng's copy (1dcd664f...): s10_c10_port.out.
- In the image, on the final code. A probe image of openultrasast:dev (3f959b31f2f2) with
the tree's package copied over it, built at 09:06:36Z and holding the tree's 297 .py files
(s10_c10_image_probe/03_probe_sources.out, s10_c10_sources_still_equal4.out). Standard
mode, no key, network none. The four C files of contrib/examples of libpng and their
README, copied fresh and mounted read-only at /target; a scratch runs directory mounted at
/reports with the wrapper's OPENULTRASAST_RUNS_DIR=/reports (s10_c10_image_probe.sh,
stamps 09:06:36Z to 09:09:14Z, 2026-11-28).
- The first scan learns four entries and keeps them in /reports/calibration/<digest>.json:
calibrations_applied=0, project_score 26, the manifest's ledger {digest_ledger: written,
learnings_read: {digest: 0, tree: 0}} (10_, 11_). The report names the file.
- The second scan of the same bytes reads them: calibrations_applied=2 on two files,
project_score 59, penalty_total 32.0, learnings_read 4 from the digest's ledger,
digest_ledger "left as it was" (20_, 21_). The file's time is that of the second scan's
read, 09:07:19Z (22_).
- The digest the scan took in the image equals the one taken on the host for the same
files (s10_c10_image_digest_host4.out). The target is unchanged
(s10_c10_image_target_same4.out).
- Three earlier runs of this probe and of the native run below, each on the code as it
stood before a later correction of the same rule (the value for a ledger that could not
be read; a ledger whose top level is not an object; one nested too deep), gave the same
numbers. Their stamps: 08:12:50Z to 08:17:31Z, 08:23:38Z to 08:27:42Z and 08:50:15Z to
08:54:17Z. They are kept as s10_c10_image_probe_run1, _run2, s10_c10_native_run1,
_run2 and _run3; of the third image run s10_c10_image_probe_run3.out and the host,
target and sources checks numbered 3 remain, since s10_c10_image_probe_run3 is empty.
Its files were read by the reviewer in round two.
- The shipped image, the control, on the same files: calibrations_applied=0 and
project_score 26 on both scans, no ledger block and no ledger (30_ to 42_).
- Natively, on a fresh copy of the same five files, the network off (s10_c10_native.sh,
09:09:14Z to 09:10:38Z): the first scan writes the tree's ledger (calibrations_applied=0,
project_score 26, digest_ledger none), the second reads it (calibrations_applied=2,
project_score 59, learnings_read 4 from the tree's ledger), and no ledger of a digest is
made (s10_c10_native/10_ to 22_).
- The probe left no container (2 before, 2 after: 00_, 91_) and its image is removed (90_,
92_).
Tests
- tests/test_tree_digest.py (7) and tests/test_digest_ledger.py (11, one over nine contents
a file may hold); seven tests in tests/test_scan_output_location.py, six through the scan
(three over two cases) and one on _read_ledgers; six in tests/test_run_pruning.py; one
sentence in tests/test_reports.py. The scan test of a refused write selects its run by
name now, since the runs directory holds calibration/ as well.
- RED on an archive of e231b78 with the final test files: the two unit files do not import
(s10_c10_red14.out); the scan, pruning and report files give 15 failed, 101 passed
(s10_c10_red13.out; the tree's tree_digest.py and digest_ledger.py were copied into that
archive, since the test file imports both, and cli.py, run.py and reports.py were HEAD's).
On the tree before each fix: the test of a ledger that is not a JSON object failed
(s10_c10_red8.out), and so did the content nested too deep and its scan test
(s10_c10_red12.out).
- GREEN on the final tree: 134 passed over the five files (s10_c10_green9.out); 873 passed
over the 60 files of the scan path (s10_c10_wide4_full.out; the list is
s10_c10_testfiles.txt); the docs and skills tests, with the strict site build, 11 passed
(s10_c10_docs_tests4.out; no page changed after it).
- Gates on the final tree: ten zeros (s10_c10e_exits.txt), the three gate outputs equal to
the baseline.
- Review: three rounds against e231b78, by one reviewer subagent, read-only; no
docker and no wrapper run, the probes read from their files. Round one blocked
on one finding and measured it end to end on a scratch tree: a ledger of a
digest whose top level is not a JSON object raised AttributeError in the tree's
loader and stopped the scan (exit 1), against the note's "a cache must not stop
a scan". Round two approved with remarks, which the code and the tests took:
RecursionError joined the tuple (digest_ledger.py:57), with a ninth content in
the unit test and a scan test of a ledger that is not a ledger, red before the
fix (s10_c10_red12.out). Round three approved the code, the tests and the dated
note, and blocked on one sentence of this message, which named
s10_c10_image_probe_run3 as kept: that directory is empty. On the final tree the
reviewer measured the scan past a digest's ledger nested 5000 deep (exit 0,
"unreadable", the file removed) and passed 30000 contents through
read_digest_ledger, with none let through; it re-ran the five files (134
passed), the docs and skills files with two scan files outside the sixty (20
passed), ruff, mypy (297 files) and the comparison of the three gate outputs
with the baseline, the gates themselves not run; it recomputed the three
digests, matched the tree's 297 .py files to the fourth probe image's list, and
read the fourth image and native runs. The third image run's files were read in
round two, before they were lost. The sentence was reworded as the reviewer
wrote it.
By reading, not measured
- A pre-push run does not go through _run_scan, and src/openultrasast/push names no ledger:
nothing changes there.
- ousast benchmark and the MCP server call _run_scan and get the rule as a scan does.
- mark_all of the hunt tooling lists the children of a runs root it is given; it has no
caller under src.
Found and not fixed, for the maintainer
- The note says the digest stage's seconds are in the manifest. No stage's are: a stage's
time is in trace/events.jsonl (stage_start and stage_end), and so is this one's. The pages
and the dated note do not repeat the sentence.
- The report's sentence (reports.py:461-467) says this scan's learnings are kept in the
ledger of the digest whenever that file holds some of them (cli.py:1131-1133). A new
learning whose finding id the tree's ledger already holds is left out by the rule; the
tree's version stands, and the new evidence text is in the run directory alone. The
sentence is the note's as approved.
- The tree's own ledger stops the scan when its top level is not a JSON object, or when it
is nested too deep (calibration.py:157-159, read at cli.py:610 outside any stage). That
is older than this commit; the ledger of a digest does not.
- read_digest_ledger raises when calibration/ cannot be searched, as the tree's ledger does
when .openultrasast/calibration cannot (digest_ledger.py:53).
- By reading: a tree whose runs directory is the target itself gets another digest at every
scan, since its run directory is made inside the target before the stage. Such a tree can
be written, so its own ledger takes the learnings and no ledger of a digest is made.
- docs/architecture.md draws no provenance stage, which cli.py runs between
entry_point_mapping and rank.
- The wrapper builds its image only when the image is missing: until a rebuild, a scan
through it runs the shipped code, which has none of this.
- The notice of a removed ledger names the runs directory as the scan sees it (/reports in
the image), not the host's path.
Not checked
- the whole test suite; Windows; ops/shell/ousast.ps1 (not read for this commit); two scans
of one tree at once; the wrapper and the compose route (the probe used docker run with the
wrapper's mount and override); a removal that fails on a real cache; Docker Desktop, where
a directory mounted twice may not keep one inode.
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).
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.
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.
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.
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.
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.
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.
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.
`_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.
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.
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.
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.
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.
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.
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.
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.
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.
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 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.
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.