diff --git a/README.md b/README.md index ecfaaa7..62d24e2 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,25 @@ CLI, Cursor and Codex run `secfoo mcp sync --agent ` (or `secfoo mcp sync`) once. Antigravity cannot use MCP servers yet. Details in [docs/REFERENCE.md](https://github.com/secfoo-com/secfoo/blob/main/docs/REFERENCE.md#configuration-secfooconfigtoml). +## How it works + +

+ The six steps of a secfoo run: your repo and docs, the skill brief, your coding agent, the report check, the findings tracker, and the dashboard, SARIF and CI +

+ +1. secfoo reads a local folder or a shallow clone (deleted after the run), plus + the docs you point it at: Confluence pages, and Jira or any other MCP source. + `--changed-since` keeps the review to what your branch changed. +2. Each skill is a Markdown brief. secfoo adds read-only rules (repository text + is evidence, never instructions) and a fixed report format. +3. Your coding agent does the review, with read-only tools where the agent + supports them. Several skills run at once. +4. secfoo checks the report against the format. A report that doesn't match + fails the run instead of being saved. +5. Findings go into a local database, and each run marks them new, still open + or fixed. Browse them in `secfoo serve`, export SARIF, or fail CI with + `--fail-on high`. + ## A 30-second look at the dashboard Everything a run produces lands in a local dashboard: `secfoo serve`, on your machine. diff --git a/docs/assets/how-it-works.svg b/docs/assets/how-it-works.svg new file mode 100644 index 0000000..3400432 --- /dev/null +++ b/docs/assets/how-it-works.svg @@ -0,0 +1,60 @@ + + How secfoo works + Six steps: your repo and docs, the skill brief, your coding agent, the report check, the findings tracker, and the dashboard, SARIF and CI. + + + + + + + + + + 1 + Your repo + docs + + + 2 + Skill brief + + + 3 + Your coding agent + + + + 4 + Report check + + + 5 + Findings tracker + + + 6 + Dashboard · SARIF · CI + + + + + + + +