mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-03 10:18:18 +00:00
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.