diff --git a/README.md b/README.md index 73612d84..eed67861 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,8 @@ The plane's memory store and the optional S3 bucket are maintainer topics: ## Scan modes -There are three modes. Each adds to the one before. +There are three modes. `standard` adds to `quick`. `deep` requests a stage that was retired, so +it equals `standard` apart from the recorded degradation. - `quick` runs the pattern rules, hints, ranking, verification and score. It needs nothing. - `standard` adds a complexity map, the semantic overlay, authorization obligations and the Joern @@ -124,11 +125,11 @@ There are three modes. Each adds to the one before. question. Without a key, that question is skipped and only the graph's entailed findings are reported. - `deep` requests the REGRESS stage, which was retired on 2026-10-13: the scan records a - `regress_retired` degradation and otherwise equals `standard`. Execution proof now comes from the + `regress_retired` degradation and otherwise equals `standard`. Execution proof comes from the search-with-proof arm. -A missing engine is a recorded degradation (`cpg_unavailable`, `regress_retired`), never a -clean result. +A missing engine is recorded as a degradation (`cpg_unavailable`, `regress_retired`). It does +not count as a clean result. `--fail-on never|findings|verified|worth-fixing` sets the exit code. `--config openultrasast.toml` loads settings. Every run writes `manifest.json`, `findings.json`, `verification.json`, diff --git a/docs/architecture.md b/docs/architecture.md index eaced141..14058f6c 100644 --- a/docs/architecture.md +++ b/docs/architecture.md @@ -16,7 +16,7 @@ The CLI is thin. `HarnessRuntime` owns the lifecycle. It writes an event trace f - `quick` runs STATIC; - `standard` adds MAP; -- `deep` requests the REGRESS stage, which was retired on 2026-10-13: the scan records a `regress_retired` degradation and otherwise equals `standard`. Execution proof now comes from the search-with-proof arm. +- `deep` requests the REGRESS stage, which was retired on 2026-10-13: the scan records a `regress_retired` degradation and otherwise equals `standard`. Execution proof comes from the search-with-proof arm. ``` policy_load ─▶ ruleset_load ─▶ policy_check (fail loud on an ungoverned CWE) diff --git a/docs/examples.md b/docs/examples.md index 0b5dbc49..45eb02b3 100644 --- a/docs/examples.md +++ b/docs/examples.md @@ -119,4 +119,4 @@ Then call the tools in this order: 2. `openultrasast.findings {run_dir}` lists the findings. 3. `openultrasast.explain {run_dir, finding_id}` explains one. -See the README section "Agent integrations". +See the README section "For maintainers and contributors". diff --git a/docs/memory-and-detection.md b/docs/memory-and-detection.md index 6e079a8c..9f42e482 100644 --- a/docs/memory-and-detection.md +++ b/docs/memory-and-detection.md @@ -43,7 +43,7 @@ Each instrument contributes one block to a candidate's feature record (`learn/sc - `roles` (model source, sink and sanitizer roles); - `delta`; - `verify` and `agree` (the plane's verify passes and their agreement); -- `model_sinks` (the archived stage-1 classifier, `benchmarks/archive/model_sinks.py`). Its logic now +- `model_sinks` (the archived stage-1 classifier, `benchmarks/archive/model_sinks.py`). Its logic lives in `plane/tasks/roles.py`. A candidate is `(path, function, family)` of one repository and pin. At least one instrument must have diff --git a/docs/pre-push-for-developers.md b/docs/pre-push-for-developers.md index 96473333..aa61531c 100644 --- a/docs/pre-push-for-developers.md +++ b/docs/pre-push-for-developers.md @@ -25,7 +25,8 @@ without you having to become the security reviewer. ## From a finding to capacity -The point of the proof is the prioritization conversation, not just your terminal. +The proof matters beyond your terminal: it is what you bring to the prioritization +conversation. A theoretical warning dies in the backlog. A demonstrated proof does not: it is a reproducible check that triggers the problem on the current code and stops once @@ -45,7 +46,7 @@ itself. That is what gets a fix scheduled rather than deferred. 2. Push normally. Findings print at push time. 3. Optionally set model keys and a spend cap in `.env`; nothing else is required. -No code annotations. No markup. No per-project security config. +You need no code annotations, no markup and no per-project security config. ## How it decides, without annotations @@ -54,7 +55,7 @@ No code annotations. No markup. No per-project security config. not declare any of this. - **It looks only at your change.** It builds a graph of the changed code and checks it against those framework facts, scoped to the diff, not the whole repo. -- **It can prove, not just warn.** When the app is runnable, the proof arm builds +- **It can prove as well as warn.** When the app is runnable, the proof arm builds and runs it and demonstrates the issue by execution, so a finding is a reproducible fact, not a confidence score. @@ -63,7 +64,7 @@ No code annotations. No markup. No per-project security config. - **Advisory or blocking.** Advisory by default; `OUSAST_PUSH_MODE=blocking` turns it into a gate. Adopt in advisory mode, build trust, then block. - **Budget and deadline.** One budget covers the whole push; if it runs out you - get an honest "incomplete coverage" notice, never a made-up verdict. + get an honest "incomplete coverage" notice instead of a made-up verdict. - **Where proof runs.** Local sandbox, a container, or a shared cluster. - **Models and spend.** Keys and caps live in `.env`. diff --git a/docs/scanning.md b/docs/scanning.md index 231efad6..0174a303 100644 --- a/docs/scanning.md +++ b/docs/scanning.md @@ -15,7 +15,7 @@ The stages each mode requests are listed in `MODE_STAGES` in `src/openultrasast/ - `quick` runs STATIC. - `standard` adds MAP. -- `deep` requests the REGRESS stage, which was retired on 2026-10-13: the scan records a `regress_retired` degradation and otherwise equals `standard`. Execution proof now comes from the search-with-proof arm. +- `deep` requests the REGRESS stage, which was retired on 2026-10-13: the scan records a `regress_retired` degradation and otherwise equals `standard`. Execution proof comes from the search-with-proof arm. ```mermaid flowchart TD