docs(readme): a system map above the documentation index; open parts link docs to the roadmap

The maintainer's request of 2026-11-28, in chat, after 6ef8381: use Archify to map the
system and add the map to the README, before the index that links each part to its
documentation; say which parts to document and which open parts the documentation
should link into the roadmap. Two menus followed, each answered with the option
recommended. Menu 3: all fourteen parts, in four groups; all nine open parts, listed
on the roadmap page and linked from the seven pages that describe them; a static SVG
in the README, the interactive HTML left out of the repository; the open parts show
the states as the records hold them today, not the decisions of the earlier menu.
Menu 4: the wording of the section and of the seven sentences, and the caption of the
image, each "Write it as shown (Recommended)".

Four places differ from that wording, each on a finding of the reviewer. The two
cells follow the answer that the section show the states as the records hold them
today: the row on graph reuse says "Not scheduled; no step owns it" where the wording
said R5, and the row on the proof arm says "R4, if it needs it" where it said R4.
The pre-push page gained a sentence in front of its link: "No pre-push capability is
admitted yet." And the box of the proof arm in the map names "Use case", the page
that describes the arm, where it named "Where we stand".

What changed. Measured in /tmp/opencode/s10_rd2_diffcheck.out and s10_rd2_svg.out:
nine tracked files changed (39 insertions, 4 deletions) and one file is new.
- docs/system-map.svg, new: 225,027 bytes, 922 by 936, exported by Archify 3.3.2
  from its checked HTML (four gates passed, no crossover). Fourteen components in
  four groups: what you call, inside a scan, maintainers only, how detection is
  measured. The second line of each component names its page in short. The
  candidate cites forty source ranges, read at 6ef8381. The labels are text. The
  file is ASCII: the exporter's hover titles hold a middle dot, replaced by a
  hyphen. It holds no digit in its text, no ".kiro", no "kiro-", and none of the
  five patterns that test_plane_literals forbids under docs.
- README.md, 301 lines: the image and one caption at the top of "Documentation",
  before the site paragraph and the table.
- docs/roadmap.md, 140 lines: a section "Open parts" before "Rules at every step",
  nine rows: the open part, its state today, the page that describes it, and the
  step that closes it. The words "on synthetic review batches" in the first row
  are the handover's, which is not tracked; the reviewer found them consistent
  with commits 825e680, 6d66501 and c2b5f5b.
- Seven pages, one linking sentence each, with a link to that section:
  docs/evaluation.md, docs/pre-push-for-developers.md,
  docs/detection-techniques.md, docs/architecture.md,
  docs/use-case-fix-and-reverify.md, docs/deployment.md and
  docs/decision-engine.md.

The map was drawn by a subagent with the Archify skill, from a list of fourteen
parts and fifteen relationships; it attached the sources. It was corrected twice,
after its reports and my reading of the captures. The arrow between the report and
the plane pointed from the report to the plane, which suggests that a scan sends
something to the plane. It now runs from the plane to the quick rules, "runs the
quick scan on both pins", on the call in src/openultrasast/plane/tasks/alerts.py
(lines 117 to 168, cited on the caller). The legend's "Frontend" became
"Entry point". Two arrows simplify the code, as the subagent reported: the overlay
asks the engine for a flow and merges it, and the engine's answers are graded on
the evidence ladder. I inspected the captures at 900 pixels: light and dark of the
first delivery, and light of the second and of the third; the third differs from the
second in one second line. The labels read. The title of the second group sits at
the top middle of its frame, above the arrow labelled "standard".

Checks, in files under /tmp/opencode/ that start with their command.
- s10_rd2_pytest_docs.out: 30 passed in the five test files that read the README,
  docs and ops, with the strict build, run after the last edit.
- s10_rd2_site.out: a strict build to /tmp/opencode/site-rd2-check copies the SVG
  into the site, and no page of that site contains ".kiro" or "kiro-".
- s10_rd2_links.out (script s10_rd2_links.py): the relative links resolve, anchors
  included: 42 in the README, 14 in docs/roadmap.md. The script names three
  anchors of docs/deployment.md that it cannot find; they lead into the pages that
  include ops/ax/README.md and ops/README.md, and the strict build accepts them.
- s10_rd2_svg.out: the size, the viewBox, 49 lines with a text element, and the
  counts above.
- s10_rd2_diffcheck.out: the added text is ASCII; git diff --check exits 0.
- s10_rd2_gates_run.out and s10_rd2_exits.txt: the gates of label rd2 give ten
  zeros. They ran before the last edits, which touch documentation only.
Not verified: the image through GitHub's proxy; the switch to the light theme was
seen in headless Chromium only. Not in the repository: the interactive HTML and the
candidate, which stay under /tmp/opencode/archify-system-map/.

Review.
Three rounds. Round one blocked on two points; rounds two and three checked the fixes and the
message. The graph reuse row (docs/roadmap.md:121) now says "Not scheduled; no step owns it",
as the records say; the Proof arm box of docs/system-map.svg names "Use case", the page that
describes the arm; the pre-push page gained a sentence in front of its link; the proof arm row
reads "R4, if it needs it" (roadmap.md:122). Round three found the tree as in round two: the
nine blobs and the SVG are those I approved. Measured: 225,027 bytes, 922 by 936, 49 text
lines, 14 boxes, 15 arrows (11 labelled), ASCII, no digit, none of the five patterns; 40 source
ranges inside files at 6ef8381; 42 and 14 relative links; six anchors in a strict build of my
own; 11 tests passed, again in round three; the captures of the three deliveries read at 900
pixels. Remark: line 88 of the pre-push page is 131 columns wide and line 89 is 91; the
page's other lines stop at 84.
This commit is contained in:
Marius Ciepluch
2026-11-28 17:48:16 +01:00
parent 6ef8381396
commit c10dc11a43
10 changed files with 1505 additions and 4 deletions
+5
View File
@@ -221,6 +221,11 @@ Every figure has its record in [Where we stand](docs/where-we-stand.md).
## Documentation
![System map of OpenUltraSAST in four groups](docs/system-map.svg)
The system in four groups: what you call, what runs inside a scan, what only maintainers use, and how
detection is measured. Each box names its page in short; the table below has the links.
The documentation site is published at <https://norandom.github.io/OpenUltraSAST/>. Its sources are
in `docs/` and `mkdocs.yml`; to preview it locally, run `uv sync --extra docs && uv run mkdocs serve`.
Every page, by what you want to do:
+3
View File
@@ -73,6 +73,9 @@ asked. Only the graph's entailed findings are reported then.
**REGRESS** was retired on 2026-10-13. Deep mode records a `regress_retired` degradation and otherwise equals standard. Execution proof is the search-with-proof arm's job (`search/verify.py`, bubblewrap sandbox, differential runs against owned canaries).
Reusing the graph across revisions, which would let a changed-code scan fit its 30 second budget, is
not scheduled; see [Open parts](roadmap.md#open-parts) on the roadmap page.
## Evidence ladder: how a false positive is eliminated
Evidence level is a state machine, not a label a model may assign. The verifier
+2 -1
View File
@@ -3,7 +3,8 @@
**Status 2026-10-02: in development, not adopted.** No scan, pre-push check or report uses it.
Every user-facing path stays on today's deterministic one until a compiled program is adopted.
The design is the `learned-decision-engine` specification (maintainer tooling). The code is in
`src/openultrasast/learn/`.
`src/openultrasast/learn/`. The roadmap does not schedule its adoption; see
[Open parts](roadmap.md#open-parts) on the roadmap page.
## Why
+3
View File
@@ -365,6 +365,9 @@ Running the reconciler in-cluster is itself planned. Today it is a host process.
| Reconciler running in-cluster with Secrets injected into its environment | **planned** |
| `AX_SNAPSHOTS_BUCKET` on your own bucket, worker pool sized to the cluster | your deployment's setting; documented, nothing to change in this repository |
The move to a separate cluster is planned and waits for a re-plan; see
[Open parts](roadmap.md#open-parts) on the roadmap page.
## Production topology: ax on a Kubernetes cluster
This section answers the maintainer's questions from the code and the upstream checkouts under
+2 -1
View File
@@ -746,4 +746,5 @@ verdict (`model/ladder.py`): suspicion, `model_corroborated`, `model_entailed`,
read it, ranking reads it, and the report uses it to group pattern-only matches. Folding one
vocabulary into the other would either present a text match as a model verdict or change the
JSON, SARIF and MCP output and the `min_evidence_level` declared on all 52 rules. A reader
must never take `static_corroboration` as `model_corroborated`.
must never take `static_corroboration` as `model_corroborated`. What is still missing in the engine,
and the step that builds it, is in [Open parts](roadmap.md#open-parts) on the roadmap page.
+3
View File
@@ -88,6 +88,9 @@ stateDiagram-v2
end note
```
What is still open on this road, the reviewed cohorts, the governed run and the reading of M4, is
listed in [Open parts](roadmap.md#open-parts) on the roadmap page.
## Folds: how learned decisions are kept out of their own training data
The decision engine is evaluated on repositories it was not shown
+2 -1
View File
@@ -85,4 +85,5 @@ No code annotations. No markup. No per-project security config.
An MCP agent and skills so your editor or your coding agent gets the same check
earlier, inline, before the push, so feedback arrives while you are still writing
rather than at the gate. See the follow-up spec `mcp-shift-left-agent`.
rather than at the gate. See the follow-up spec `mcp-shift-left-agent`. No pre-push capability is admitted yet. What is still open,
and the step that closes it, is in [Open parts](roadmap.md#open-parts) on the roadmap page.
+17
View File
@@ -107,6 +107,23 @@ Every detection change must show an improvement in a controlled measurement on h
- The local cluster that runs the plane is stopped since 2026-11-24. A wider Kubernetes deployment
of the plane waits for a re-plan.
## Open parts
Work that is not done, with the page that describes it and the step that closes it. The states are
those the records hold today.
| Open part | State today | Described in | Closed by |
| --- | --- | --- | --- |
| Reviewed cohorts of real repositories | None exist. The tasks that prepare them are ticked, on synthetic review batches. | [Evaluation](evaluation.md#independent-populations-and-the-m4-gates) | R2 |
| The governed admission run (task 11.6) and the final gate (task 11.7) | Not run. | [Evaluation](evaluation.md#independent-populations-and-the-m4-gates) | R3 |
| An admitted pre-push capability | None. The eligibility registry was last written on 2026-09-13. | [Pre-push security for developers](pre-push-for-developers.md) | R6 |
| Engine depth: control dependence, modelled sinks, sanitizer and framework knowledge | Open. The PHP transfer is blocked by its runtime. | [Detection techniques](detection-techniques.md#8-what-each-technique-misses) | R5 |
| Graph reuse across revisions (M2, the 30 second gate) | Accepted on 2026-09-17. No open task owns it. | [Architecture](architecture.md#the-scan-pipeline) | Not scheduled; no step owns it |
| The proof arm | A pilot, parked until R4 needs it. | [Use case: catch, prove, fix, re-verify](use-case-fix-and-reverify.md#honest-status) | R4, if it needs it |
| The plane on a separate Kubernetes cluster | Planned, not done. The local cluster is stopped since 2026-11-24. | [Deployment](deployment.md#b-a-separate-kubernetes-cluster-planned) | R4 or R6, after a re-plan |
| The qualification M4 | Pending M3. Its 11 cases are frozen and unscanned. | [Evaluation](evaluation.md#independent-populations-and-the-m4-gates) | R4 (M4) |
| The decision engine | In development, not adopted. The roadmap does not schedule its adoption. | [Decision engine](decision-engine.md) | Not on the ladder |
## Rules at every step
- The benchmark population measures. It never trains.
+1466
View File
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 220 KiB

+2 -1
View File
@@ -95,4 +95,5 @@ formatter and the automatic landing of a proof as a committed regression test ar
not packaged yet, and the base-versus-head path inherits the open large-repo
latency limit, so a long deadline or a cluster lane may be needed on big diffs.
The full-repository CI scan (as opposed to a diff) is roadmap work
(`plane-on-kubernetes`), not the pre-push diff path shown here.
(`plane-on-kubernetes`), not the pre-push diff path shown here. The proof arm is a pilot; it is parked
until step R4 of the roadmap needs it, see [Open parts](roadmap.md#open-parts) on the roadmap page.