mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-03 02:08:18 +00:00
docs: a humanizer pass over the README and the docs pages
The maintainer's request, in their words: "run /humanizer across the readme and docs and push them to main". The menu of 2026-11-28, three answers, each the option recommended: prose only (headings, code blocks, commands, paths, link targets and quoted strings stay); README.md and the 21 pages under docs/ (the three ops pages that the site includes stay as they are); the push follows the full gate. What changed - The pass read the 22 files with the humanizer skill, in its register for reference text: plain and neutral, no personality added. Apart from the two corrections below, a file was edited only where a pattern of the skill required it. - Six files changed, +14 -12 (s10_rd3_diffcheck.out). The other 16 pages are byte-identical to HEAD. - README.md: one tailing negation became a sentence of its own. A missing engine is recorded as a degradation; it does not count as a clean result. - README.md, docs/architecture.md, docs/memory-and-detection.md and docs/scanning.md: four sentences lost a diff-anchored "now" (one word each). - docs/pre-push-for-developers.md: two "not just" contrasts, a tailing negation and a run of three subjectless "No ..." fragments became plain clauses. The bold label keeps its strength: "It can prove as well as warn." - Two old faults that the README rewrite of6ef8381carried over, seen by the pass and corrected here: - docs/examples.md pointed at a README section that was removed on 2026-10-02 (bdabb97, "Agent integrations"). It now names "For maintainers and contributors", which holds the text on the MCP server. - README.md, scan modes: "Each adds to the one before" (552671c, 2026-10-02) contradicted the third bullet below it since that bullet was rewritten on 2026-10-13 (f5a904b): deep records a degradation and otherwise equals standard. The sentence now says the same. Checks - s10_rd3_pytest_docs.out: the five test files that read the README, docs and ops: 30 passed. - s10_rd3_build.out: a strict build, exit 0, 22 html files (21 pages and the 404 page), none with a steering string on it. - s10_rd3_invariants.out, against HEADc10dc11for all 22 files: headings, fenced lines, include lines and link targets equal; no non-ASCII in prose. The script prints FAIL for one check, by design: README.md gained four inline code spans in the corrected sentence on the scan modes. Its "only in HEAD" lists are empty, so no code span was lost. - s10_rd3_exits.txt: the gates with label rd3, ten zeros. - s10_rd3_diffcheck.out: git diff --check exits 0. Not verified - The claims of the pages against the records. Apart from the two corrections, the pass kept every claim as it was; what it saw and left is in the session's evidence, for the maintainer. Review. Two rounds on 2026-11-28, read-only, against HEADc10dc11. Round one approved the tree and blocked the message on five statements; all five are corrected. Round two read the three edits made in between against their old lines and the facts: README.md:118 keeps the qualifier of the third bullet, README.md:128 lost its "now" like the two other copies, and pre-push-for-developers.md:58 has the strength of its original. Every hunk was read old against new in both rounds. My own comparison of the six HEAD blobs with the working tree found headings, fenced lines, include lines, link targets, HTML tags and bold marks equal, with no non-ASCII character added. No page under docs/ contains ".kiro" or "kiro-". The other 16 files are tracked and identical to HEAD. Run again in each round: the five test files, 30 passed; a strict build to a scratch directory, exit 0, 22 html files (21 pages and 404.html), none with a steering string; git diff --check, exit 0.
This commit is contained in:
@@ -115,7 +115,8 @@ The plane's memory store and the optional S3 bucket are maintainer topics:
|
|||||||
|
|
||||||
## Scan modes
|
## 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.
|
- `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
|
- `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
|
question. Without a key, that question is skipped and only the graph's entailed findings are
|
||||||
reported.
|
reported.
|
||||||
- `deep` requests the REGRESS stage, which was retired on 2026-10-13: the scan records a
|
- `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.
|
search-with-proof arm.
|
||||||
|
|
||||||
A missing engine is a recorded degradation (`cpg_unavailable`, `regress_retired`), never a
|
A missing engine is recorded as a degradation (`cpg_unavailable`, `regress_retired`). It does
|
||||||
clean result.
|
not count as a clean result.
|
||||||
|
|
||||||
`--fail-on never|findings|verified|worth-fixing` sets the exit code. `--config openultrasast.toml`
|
`--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`,
|
loads settings. Every run writes `manifest.json`, `findings.json`, `verification.json`,
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ The CLI is thin. `HarnessRuntime` owns the lifecycle. It writes an event trace f
|
|||||||
|
|
||||||
- `quick` runs STATIC;
|
- `quick` runs STATIC;
|
||||||
- `standard` adds MAP;
|
- `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)
|
policy_load ─▶ ruleset_load ─▶ policy_check (fail loud on an ungoverned CWE)
|
||||||
|
|||||||
+1
-1
@@ -119,4 +119,4 @@ Then call the tools in this order:
|
|||||||
2. `openultrasast.findings {run_dir}` lists the findings.
|
2. `openultrasast.findings {run_dir}` lists the findings.
|
||||||
3. `openultrasast.explain {run_dir, finding_id}` explains one.
|
3. `openultrasast.explain {run_dir, finding_id}` explains one.
|
||||||
|
|
||||||
See the README section "Agent integrations".
|
See the README section "For maintainers and contributors".
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ Each instrument contributes one block to a candidate's feature record (`learn/sc
|
|||||||
- `roles` (model source, sink and sanitizer roles);
|
- `roles` (model source, sink and sanitizer roles);
|
||||||
- `delta`;
|
- `delta`;
|
||||||
- `verify` and `agree` (the plane's verify passes and their agreement);
|
- `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`.
|
lives in `plane/tasks/roles.py`.
|
||||||
|
|
||||||
A candidate is `(path, function, family)` of one repository and pin. At least one instrument must have
|
A candidate is `(path, function, family)` of one repository and pin. At least one instrument must have
|
||||||
|
|||||||
@@ -25,7 +25,8 @@ without you having to become the security reviewer.
|
|||||||
|
|
||||||
## From a finding to capacity
|
## 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
|
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
|
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.
|
2. Push normally. Findings print at push time.
|
||||||
3. Optionally set model keys and a spend cap in `.env`; nothing else is required.
|
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
|
## How it decides, without annotations
|
||||||
|
|
||||||
@@ -54,7 +55,7 @@ No code annotations. No markup. No per-project security config.
|
|||||||
not declare any of this.
|
not declare any of this.
|
||||||
- **It looks only at your change.** It builds a graph of the changed code and
|
- **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.
|
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
|
and runs it and demonstrates the issue by execution, so a finding is a
|
||||||
reproducible fact, not a confidence score.
|
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`
|
- **Advisory or blocking.** Advisory by default; `OUSAST_PUSH_MODE=blocking`
|
||||||
turns it into a gate. Adopt in advisory mode, build trust, then block.
|
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
|
- **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.
|
- **Where proof runs.** Local sandbox, a container, or a shared cluster.
|
||||||
- **Models and spend.** Keys and caps live in `.env`.
|
- **Models and spend.** Keys and caps live in `.env`.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -15,7 +15,7 @@ The stages each mode requests are listed in `MODE_STAGES` in `src/openultrasast/
|
|||||||
|
|
||||||
- `quick` runs STATIC.
|
- `quick` runs STATIC.
|
||||||
- `standard` adds MAP.
|
- `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
|
```mermaid
|
||||||
flowchart TD
|
flowchart TD
|
||||||
|
|||||||
Reference in New Issue
Block a user