Files
Open_Ultra_SAST/docs/index.md
T
Marius Ciepluch 6ef8381396 docs(readme): an adopter's front door; roadmap and engine-trace runbook move to docs
The maintainer's request of 2026-11-28, in chat: update the README for an adopter
with /cobesy; move the parts on the roadmap and on technical internals to docs;
index docs/ from the README; add a roadmap visualization with the present state
and the past milestones; then give the choices for the open items through the
menu. The menu had eleven questions, each answered with the option recommended.
Two answers govern this commit. "README first": the README work is committed with
the per-commit gate and a fresh reviewer, before the record commit for 5b and
item 5c. "Fix in this commit": the faults found while moving text are fixed here,
the wording shown first.

The wording of the two fixes was shown in chat and answered "Write it as shown
(Recommended)" and "Say why, in a comment (Recommended)". A third fault offered in
that menu, "five docs pages link README anchors that do not exist", was the
session's error: they are seven links, in four pages, to five anchors of
ops/ax/README.md and ops/README.md, and all five headings exist. Nothing was
repointed. The learning is in the handover, which is not tracked, with the
maintainer's approval.

What changed. Measured in /tmp/opencode/s10_rd1_diffcheck.out: five tracked files
changed (144 insertions, 328 deletions) and three files are new.
- README.md, 488 lines at HEAD and 296 now. It keeps the install of Tier 1 and
  Tier 2, the scan modes, the run artifacts and the maintainer commands. It adds
  "What you can run today", "Status and roadmap" (a Mermaid ladder of R0 to R6, a
  table with each step's state on 2026-11-28, a table of past milestones) and
  "Documentation", a table with one row for each of the 21 pages under docs/.
- docs/roadmap.md, new, 123 lines: the destination, the ladder with what must be
  true to move on, the release milestones M1a to M5, the past milestones, the
  status of 2026-11-06 as the README carried it, what changed after that day, and
  the rules that bind every step.
- ops/ax/engine-traces.md, new, 80 lines: the README's section "Engine traces on
  kube-ax" as it stood, with "s3://..." written "s3://<bucket>" and the link to
  ops/ax/README.md written as a path and a section name. docs/ops/ax/engine-traces.md,
  new, includes it from its line 3, as docs/ops/ax/README.md includes
  ops/ax/README.md.
- mkdocs.yml: two entries in the nav, Roadmap and Engine traces on kube-ax.
- docs/evaluation.md: one paragraph with the gate's committed baseline
  (benchmarks/measurements/2026-09-06-gate-baseline.txt: recall 93.62%, 44 of 47;
  false positives 0.0%), the day the README quoted it (2026-10-02, bdabb97), and
  that PHP is not in the gate.
- docs/examples.md: two sentences moved from the README, on the ledger block of
  manifest.json and on the MCP tool openultrasast.benchmark. The sentence that
  pointed to the README's "Scan modes" now points to architecture.md.
- docs/index.md: the state line, from 2026-10-02 to 2026-11-28, in the words that
  were shown.
- The README's pull line: a comment says that 2.0.1 is the last full release and
  that a prerelease is tagged with its version (.github/workflows/release.yml:93-95).

Left out of the README because another page already held it, each checked by grep
before the cut and then by the reviewer: Tier 3 and Tier 4, the plane, the memory
store, the decision engine, the token economics, the detection techniques, the
framework priors, and the details of the run directory, its retention and the
ledger (docs/examples.md, docs/architecture.md). The note on the retired HarnessX
keys is in RELEASE_NOTES.md, which the README links.

Checks, in files under /tmp/opencode/ that start with their command; s10_rd1_exits.txt
is the gates script's own output, ten exit codes.
- s10_rd1_pytest_docs.out: 30 passed in the five test files that read the README,
  docs and ops (test_docs_site, with the strict build;
  test_removed_plane_references; test_plane_literals; test_push_explain;
  test_engine_queue), run after the last edit.
- s10_rd1_pytest_ops.out: 141 passed and 3 skipped in seven test files that touch
  ops/ax or the hook install.
- s10_rd1_links.out: the relative links resolve, anchors included: 41 in the
  README, 5 in docs/roadmap.md, 19 in docs/index.md, 3 in docs/evaluation.md, 2
  in docs/examples.md. README.md and docs/roadmap.md hold one flowchart each, of
  seven nodes, by the checks of test_docs_site. No file under docs/ contains
  ".kiro" or "kiro-".
- s10_rd1_diffcheck.out: the new text is ASCII; git diff --check exits 0.
- s10_rd1_gates_run.out and s10_rd1_exits.txt: the gates of label rd1 give ten
  zeros.
Not verified: the README's Mermaid block in a browser.

Review.
Three rounds, read-only. The old README was split into 351 sentences and each was
traced in the README, docs/, ops/ and the release notes. Round one found a lost
sentence, now in docs/examples.md, four false states in README.md and docs/roadmap.md
(Docker, M4, the proof arm, "a human go") and three wrong counts in the message; all
are corrected. Round two found the rewording of a remark false at docs/roadmap.md:14.
Round three read every number of that page: its only detection figures are the two
recall counts of the status of 2026-11-06, as the page now says. Measured in round
three: 123 lines; 41 relative links of the README resolve, and 5, 19, 3 and 2 in the
changed pages; 21 rows for 21 pages; one flowchart of seven nodes in each of README.md
and docs/roadmap.md; a strict build with no ".kiro" or "kiro-"; 11 tests passed in
the three permitted files. The counts 30, 141 and 3 and the ten gate zeros were read
in the session's files, not re-run.
2026-11-28 16:30:44 +01:00

65 lines
4.1 KiB
Markdown

# OpenUltraSAST
OpenUltraSAST is an experimental static security analyser. It is meant to be a safety net on
repositories it has never seen. It scans a checkout, or the commits a `git push` would publish. It
keeps what it can prove apart from what it only suspects. When a scan could not look at
something, it records a degradation. It does not report a clean result.
**State as of 2026-11-28:** the safety net is not released yet. No hook capability is enabled: the pre-push
hook is advisory, and nothing blocks a push. No detection arm has met the release gate on unseen
repositories (see [Evaluation](evaluation.md)). The project is at step R3 of its ladder, the first
honest number, which waits on independently reviewed cases (see [Roadmap](roadmap.md)).
## Three layers
| Layer | What it is | Where |
| --- | --- | --- |
| **Scanners** | `ousast scan` (`quick`, `standard`, `deep`) and `ousast pre-push`: language-scoped pattern rules, a Joern code property graph engine, verification and scoring. Deterministic in `quick`; no model is needed for a scan. | [Scanning](scanning.md), [Architecture](architecture.md) |
| **The agentic plane on ax** | Model-driven work over whole repositories, run as a DAG of tasks on google/ax, one isolated actor per task. What the runs learn is kept in a memory store. Maintainer surface: `ousast plane`. | [The plane on ax](plane.md), [Memory](memory.md) |
| **The decision engine** | A learned classifier that weighs every instrument's signals against similar labelled cases from memory. **In development, not adopted**: no scan, pre-push check or report uses it. Maintainer surface: `ousast learn`. | [Memory and detection](memory-and-detection.md), [Decision engine](decision-engine.md) |
A code property graph is a graph of the program's syntax, control flow and data flow. Joern builds
it.
## How they connect
```mermaid
flowchart LR
repo["Repository or push delta"] --> scan["Scanners: quick rules, Joern engine, verify, score"]
scan --> report["Report: findings with evidence, SARIF, score"]
scan -- "alerts on vulnerable and fixed pins" --> plane["Plane on ax: repo-facts, verify a/b/c, agree, features"]
plane -- "remember" --> mem[("Memory store: rows, facts, examples, blobs")]
labels["Labels from ground truth"] --> mem
mem -- "retrieval of similar labelled cases" --> engine["Decision engine: compiled AI classifier"]
engine -. "intended, not adopted: BLOCK / ADVISORY" .-> report
```
- The **scanners** produce findings. Inside plane Runs, they also produce the `alerts` that become
memory rows.
- The **plane** runs model work per case: verify passes and roles. It also runs model-free
bookkeeping per case: facts, agreement and feature records. Its `remember` task turns a case's
artifacts into rows of the [memory store](memory.md).
- The decision engine retrieves labelled examples from the memory store.
- The decision engine's output (dotted line) is the intended path. Nothing user-facing reads it
today.
## Where to go next
- The current state in one page, every figure with its record: [Where we stand](where-we-stand.md).
It covers capability against the M4 gates, the step-by-step approach, ax on the server, token
economics before and after, and the open items.
- Run a scan: [Examples](examples.md), and the commands in [Scanning](scanning.md).
- Understand a finding's evidence and score: [Architecture](architecture.md).
- The program analysis under a scan, what each representation can see and what it misses:
[Detection techniques](detection-techniques.md).
- Operate the plane and its store: [ax on this host](ops/ax/README.md) and
[RustFS setup](rustfs.md).
- How the plane was deployed on the maintainer's host, and what moving it to a separate
Kubernetes cluster would take (planned, not done): [Deployment](deployment.md).
- Where the model spend goes, per Task at runtime and in the maintainers' own coding sessions,
and what is reused instead of paid again: [Token ergonomics](token-ergonomics.md).
- Trust boundaries and hardening: [Threat model](threat-model.md).
Every number in these pages is quoted from a committed record. The record's path is given next to
the number.