@@ -7,6 +7,8 @@ prompt: |
77 can we do that so everything is end to end seamless and anyone and
88 specially agents can understand easily how to use it all properly
99
10+ you removed a lot of content that helped rank it om google - bring it back
11+
1012 Use @SKILL.md, @modes/dispatch.md, @modes/fix-pipeline.md,
1113 @schemas/scan-report.schema.json, @schemas/fix-plan.schema.json,
1214 @schemas/fixer-scope.schema.json, @scripts/dep-scan.cjs, and
@@ -29,8 +31,9 @@ prompt: |
29318 . An optional strategy and fix plan classify safe and unsafe remediation.
30329 . An optional Fixer applies only authorized changes and runs verification.
3133
32- Each phase exchanges schema-validated JSON. A malformed phase result is a
33- failure, not a successful clean scan.
34+ Role, report, coverage, and fix phases exchange schema-validated JSON. Triage
35+ JSON is deterministic pipeline input. A malformed required canonical artifact
36+ is a failure, not a successful clean scan.
3437
3538## Roles
3639
@@ -41,7 +44,7 @@ failure, not a successful clean scan.
4144| Skeptic | Challenge Hunter claims | Final verdicts or edits |
4245| Referee | Decide findings from evidence | Files outside the reviewed scope |
4346| Fix planner | Classify and order remediation | Unapproved bug IDs |
44- | Fixer | Apply the approved plan | New findings, wider files, or wider ranges |
47+ | Fixer | Apply the approved plan | New findings or wider files |
4548
4649The Referee-only verdict boundary prevents the agent that found a bug from
4750declaring its own claim confirmed.
@@ -58,25 +61,25 @@ features, and requested scope:
5861- large-codebase for domain-scoped execution
5962- local-sequential when subagents are unavailable
6063
61- All delegated modes use the same dispatch contract. State includes the run ID,
62- target fingerprint, queue, attempts, and artifact paths so an interrupted run
63- does not silently resume against a different target.
64+ Most delegated modes use the canonical dispatch contract. Large-codebase mode
65+ currently uses per-domain variants before its final merge. State records queue
66+ and chunk progress; a sibling identity file stores run and target identity so
67+ an interrupted run does not silently resume against a different target.
6468
6569## Mutation boundaries
6670
6771Scan-only is the default.
6872
69- Fixing requires an explicit fixing mode. The plan binds :
73+ Fixing requires an explicit fixing mode. The plan records :
7074
7175- approved bug IDs
7276- allowed files
73- - allowed line ranges
77+ - claimed line ranges for review context
7478- remediation class
7579- canary and rollout stages
76- - required checks
77-
78- The Fixer must reject work outside that scope. ` --auto-commit ` is a separate
79- permission and only permits approved paths.
80+ The validated Fixer scope binds repository root, base commit, bug IDs, and file
81+ paths before dispatch. It does not independently prove line-range or committed
82+ path compliance after a patch. ` --auto-commit ` is a separate permission.
8083
8184Worktree-based fixing uses verified worktree identity and a fresh preservation
8285check before cleanup. If safe removal cannot be proven, cleanup stops and
@@ -98,16 +101,16 @@ Artifacts live in `.bug-hunter/`.
98101| File | Generated when | Meaning |
99102| ---| ---| ---|
100103| ` triage.json ` | every scan | Risk map and selected strategy |
101- | ` recon.json ` | every scan | Stack and attack-surface map |
104+ | ` recon.json ` | multi-file scan | Prioritized risk tiers and Recon notes |
102105| ` hunter-findings.json ` | every scan | Canonical Hunter claims |
103106| ` skeptic.json ` | findings exist | Challenges and counter-evidence |
104107| ` referee.json ` | findings exist | Final verdicts |
105108| ` scan-report.json ` | completed scan | Joined counts and verdicts |
106109| ` report.md ` | completed scan | Human-readable report |
107- | ` coverage.json ` | coverage loop | Recorded file outcomes |
110+ | ` coverage.json ` | coverage loop | Per- file entries derived from chunk progress |
108111| ` fix-strategy.json ` | planning or fixing | Remediation classes |
109112| ` fix-plan.json ` | planning or fixing | Authorized execution plan |
110- | ` fix-report.json ` | fix run | Patch and verification results |
113+ | ` fix-report.json ` | fix run | Verification and final-status results |
111114| ` threat-model.md ` | threat-model run | STRIDE boundaries and flows |
112115| ` dep-findings.json ` | dependency run | Supported audit results |
113116
0 commit comments