Commit Graph
6 Commits
Author SHA1 Message Date
Marius Ciepluch 6e4a62edd4 docs(contributor-scan): the citations in detection-techniques.md name the instruction (item 5a)
docs/detection-techniques.md pointed into Dockerfile and docker-compose.yml by line
number, and every one of those citations was off. Its three doc regions were written on
2026-10-02. Then 1b9d1ca (2026-10-05) moved the base image and php-cli out of the root
Dockerfile and into the task base (plane/Dockerfile.base), and 9d53c32 moved the Joern
build argument of docker-compose.yml from line 15 to line 16. Before this commit, lines
171 and 299 cited Dockerfile:14, Dockerfile:12 and docker-compose.yml:30-31, none of
them the instruction meant, and docker-compose.yml:15 no longer held the pin.

The maintainer's decision of 2026-11-26 (menu item 8): "Name instructions", so that the
next edit does not stale them. What the four citations name now:
- Dockerfile: the ARG JOERN_VERSION line (line 7 at HEAD).
- docker-compose.yml: the JOERN_VERSION build argument (line 16 at HEAD).
- docker-compose.yml: the comment above mem_limit (lines 49-51 at HEAD). The quotation
  is unchanged.
- The Java the engine runs on: the FROM eclipse-temurin:21-jdk-jammy AS jdk line of
  plane/Dockerfile.base (line 5 at HEAD).

Two positions are this session's, not the maintainer's decision; both are open to a
correction:
- A fifth citation of the same kind. The decision names four. The PHP row of the
  frontend table (line 158) cited Dockerfile:17-21 for the php-cli install. It was exact
  when written and went stale in 1b9d1ca with the others. It now names the apt-get
  install line of the base stage in plane/Dockerfile.base (lines 20-21 at HEAD; the file
  has a second apt-get install line, in its base-browser stage), and says the base image
  installs php-cli, since the root Dockerfile no longer does.
- A fact changed, not only a citation. The sentence said the image is on
  eclipse-temurin:21-jre-noble (Dockerfile:12). That FROM left the root Dockerfile in
  1b9d1ca, so no instruction could be named for it. The sentence now says the engine
  runs on Temurin 21, taken from eclipse-temurin:21-jdk-jammy: the jdk stage of
  plane/Dockerfile.base, copied into its base stage (line 11), which the task-base-image
  workflow publishes (target: base) and Dockerfile builds on (line 5).

Measured on 2026-11-27 in openultrasast:dev (3f959b31f2f2, built from 88ea171): Debian
13 (trixie), OpenJDK Runtime Environment Temurin-21.0.12.1+1, PHP 8.4.26 (cli), uid
1000; exit 0. No file that enters the image changed, so it was not rebuilt.

Left alone, and reported:
- .kiro/specs/plane-on-kubernetes/design.md:252 cites Dockerfile:1-7 for the argument
  against sibling services. That header left the root Dockerfile in 1b9d1ca too. It is
  a spec's design record, not a site page. By the reviewer's reading, two more are stale
  in the same spec (design.md:248 and tasks.md:180, both Dockerfile.runner:25-29).
- The citations into the Python source by line number, in the same page, are not
  touched: the decision is about the Dockerfile and compose citations.
After this commit no site page (docs/, README.md, ops/README.md) cites a Dockerfile or
a compose file by line number.

`mkdocs build --strict` exits 0, tests/test_docs_site.py and
tests/test_removed_plane_references.py pass (8 tests), ruff, mypy, the three gates and
compileall pass, and the gates print what they printed before. An independent reviewer
approved the change in one round; its remark that the root Dockerfile no longer installs
php-cli is applied.
2026-11-27 10:43:13 +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 CiepluchandClaude Fable 5.1 f5a904b7f2 chore(p0): retire regress, the skill router, the module audit tool and vocabulary.sc
Off every active line (PATHFINDER-2026-10-13/03-unified-proposal.md, cuts).
Deleted: src/openultrasast/regress/ and the deep-mode REGRESS branch (deep
now records a regress_retired degradation and equals standard; proof is the
search-with-proof arm's job), the sandbox docker runner and probe that only
regress used, --fail-on worth-fixing, RegressConfig, the two ledger helpers
only regress called; skills.py and index.py with the hunter pool's skill
routing; model/audit.py; cpg/queries/vocabulary.sc with
benchmarks/push/ontology_gap.py. Docs and the scan skill describe the
retirement. Net: 3,895 lines deleted, 86 added. Targeted tests: 180 passed,
28 skipped; 3,331 tests collect.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-10-13 10:50:01 +02:00
Marius CiepluchandClaude Fable 5.1 94e96c6885 chore(p0): remove the improve lever and the plane improvement loop
Off every active line (PATHFINDER-2026-10-13/03-unified-proposal.md, cuts).
Deleted: src/openultrasast/improve/ (1,175 lines), the ousast improve
subcommand, plane/tasks/loop.py and loop.yaml with the --loop generation,
the memory-snapshot step in memory.seed, pairs.build_pair_signals, and the
four improve tests plus the loop cases in other tests. Docs no longer
describe the lever. Net: 3,073 lines deleted, 83 added. Targeted tests:
154 passed; 3,436 tests collect.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-10-13 10:34:57 +02:00
Marius CiepluchandClaude Opus 5.5 352f8c07aa docs: plain-language pass -- detection techniques, architecture, evaluation, decision engine
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EmM1j46qgKMh3zqD1QMwEo
2026-10-02 21:03:24 +02:00
Marius CiepluchandClaude Fable 5.1 d0ac8b5f3d docs: detection techniques -- representations, taint, obligations, ranking, the model's role
New page docs/detection-techniques.md: the three representations (regex over the
file, tree-sitter IR, Joern CPG) and what each can see; Joern as a section of its
own (frontends, one graph per language partition, census as the instrument check,
batching against the measured cost curve, deadlines, degradations, where the engine
sits in the plane, cost and misses with records); taint from fact tables to query to
verdict with each refinement traced to its record or commit; obligations, dominance,
constant abstraction, census; regions, ranking ties and budgets; the residual
question and MAX_JUDGED_CANDIDATES; REGRESS verdicts and the unassigned
execution_confirmed rung; an honest table of what each technique misses.

Nav entry under "How it works" after Scanning; one link from the index; one
cross-link line each in scanning.md and architecture.md.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01EmM1j46qgKMh3zqD1QMwEo
2026-10-02 19:48:32 +02:00