@accelerationguy/accel 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +19 -0
- package/LICENSE +33 -0
- package/README.md +275 -0
- package/bin/install.js +661 -0
- package/docs/getting-started.md +164 -0
- package/docs/module-guide.md +139 -0
- package/modules/drive/LICENSE +21 -0
- package/modules/drive/PAUL-VS-GSD.md +171 -0
- package/modules/drive/README.md +555 -0
- package/modules/drive/assets/terminal.svg +67 -0
- package/modules/drive/bin/install.js +210 -0
- package/modules/drive/integration.js +76 -0
- package/modules/drive/package.json +38 -0
- package/modules/drive/src/commands/add-phase.md +36 -0
- package/modules/drive/src/commands/apply.md +83 -0
- package/modules/drive/src/commands/assumptions.md +37 -0
- package/modules/drive/src/commands/audit.md +57 -0
- package/modules/drive/src/commands/complete-milestone.md +36 -0
- package/modules/drive/src/commands/config.md +175 -0
- package/modules/drive/src/commands/consider-issues.md +41 -0
- package/modules/drive/src/commands/discover.md +48 -0
- package/modules/drive/src/commands/discuss-milestone.md +33 -0
- package/modules/drive/src/commands/discuss.md +34 -0
- package/modules/drive/src/commands/flows.md +73 -0
- package/modules/drive/src/commands/handoff.md +201 -0
- package/modules/drive/src/commands/help.md +525 -0
- package/modules/drive/src/commands/init.md +54 -0
- package/modules/drive/src/commands/map-codebase.md +34 -0
- package/modules/drive/src/commands/milestone.md +34 -0
- package/modules/drive/src/commands/pause.md +44 -0
- package/modules/drive/src/commands/plan-fix.md +216 -0
- package/modules/drive/src/commands/plan.md +36 -0
- package/modules/drive/src/commands/progress.md +138 -0
- package/modules/drive/src/commands/register.md +29 -0
- package/modules/drive/src/commands/remove-phase.md +37 -0
- package/modules/drive/src/commands/research-phase.md +209 -0
- package/modules/drive/src/commands/research.md +47 -0
- package/modules/drive/src/commands/resume.md +49 -0
- package/modules/drive/src/commands/status.md +78 -0
- package/modules/drive/src/commands/unify.md +87 -0
- package/modules/drive/src/commands/verify.md +60 -0
- package/modules/drive/src/references/checkpoints.md +234 -0
- package/modules/drive/src/references/context-management.md +219 -0
- package/modules/drive/src/references/git-strategy.md +206 -0
- package/modules/drive/src/references/loop-phases.md +254 -0
- package/modules/drive/src/references/plan-format.md +263 -0
- package/modules/drive/src/references/quality-principles.md +152 -0
- package/modules/drive/src/references/research-quality-control.md +247 -0
- package/modules/drive/src/references/sonarqube-integration.md +244 -0
- package/modules/drive/src/references/specialized-workflow-integration.md +186 -0
- package/modules/drive/src/references/subagent-criteria.md +179 -0
- package/modules/drive/src/references/tdd.md +219 -0
- package/modules/drive/src/references/work-units.md +161 -0
- package/modules/drive/src/rules/commands.md +108 -0
- package/modules/drive/src/rules/references.md +107 -0
- package/modules/drive/src/rules/style.md +123 -0
- package/modules/drive/src/rules/templates.md +51 -0
- package/modules/drive/src/rules/workflows.md +133 -0
- package/modules/drive/src/templates/CONTEXT.md +88 -0
- package/modules/drive/src/templates/DEBUG.md +164 -0
- package/modules/drive/src/templates/DISCOVERY.md +148 -0
- package/modules/drive/src/templates/HANDOFF.md +77 -0
- package/modules/drive/src/templates/ISSUES.md +93 -0
- package/modules/drive/src/templates/MILESTONES.md +167 -0
- package/modules/drive/src/templates/PLAN.md +328 -0
- package/modules/drive/src/templates/PROJECT.md +219 -0
- package/modules/drive/src/templates/RESEARCH.md +130 -0
- package/modules/drive/src/templates/ROADMAP.md +328 -0
- package/modules/drive/src/templates/SPECIAL-FLOWS.md +70 -0
- package/modules/drive/src/templates/STATE.md +210 -0
- package/modules/drive/src/templates/SUMMARY.md +221 -0
- package/modules/drive/src/templates/UAT-ISSUES.md +139 -0
- package/modules/drive/src/templates/codebase/architecture.md +259 -0
- package/modules/drive/src/templates/codebase/concerns.md +329 -0
- package/modules/drive/src/templates/codebase/conventions.md +311 -0
- package/modules/drive/src/templates/codebase/integrations.md +284 -0
- package/modules/drive/src/templates/codebase/stack.md +190 -0
- package/modules/drive/src/templates/codebase/structure.md +287 -0
- package/modules/drive/src/templates/codebase/testing.md +484 -0
- package/modules/drive/src/templates/config.md +181 -0
- package/modules/drive/src/templates/milestone-archive.md +236 -0
- package/modules/drive/src/templates/milestone-context.md +190 -0
- package/modules/drive/src/templates/paul-json.md +147 -0
- package/modules/drive/src/vector-config/PAUL +26 -0
- package/modules/drive/src/vector-config/PAUL.manifest +11 -0
- package/modules/drive/src/workflows/apply-phase.md +393 -0
- package/modules/drive/src/workflows/audit-plan.md +344 -0
- package/modules/drive/src/workflows/complete-milestone.md +479 -0
- package/modules/drive/src/workflows/configure-special-flows.md +283 -0
- package/modules/drive/src/workflows/consider-issues.md +172 -0
- package/modules/drive/src/workflows/create-milestone.md +268 -0
- package/modules/drive/src/workflows/debug.md +292 -0
- package/modules/drive/src/workflows/discovery.md +187 -0
- package/modules/drive/src/workflows/discuss-milestone.md +245 -0
- package/modules/drive/src/workflows/discuss-phase.md +231 -0
- package/modules/drive/src/workflows/init-project.md +698 -0
- package/modules/drive/src/workflows/map-codebase.md +459 -0
- package/modules/drive/src/workflows/pause-work.md +259 -0
- package/modules/drive/src/workflows/phase-assumptions.md +181 -0
- package/modules/drive/src/workflows/plan-phase.md +385 -0
- package/modules/drive/src/workflows/quality-gate.md +263 -0
- package/modules/drive/src/workflows/register-manifest.md +107 -0
- package/modules/drive/src/workflows/research.md +241 -0
- package/modules/drive/src/workflows/resume-project.md +200 -0
- package/modules/drive/src/workflows/roadmap-management.md +334 -0
- package/modules/drive/src/workflows/transition-phase.md +368 -0
- package/modules/drive/src/workflows/unify-phase.md +290 -0
- package/modules/drive/src/workflows/verify-work.md +241 -0
- package/modules/forge/README.md +281 -0
- package/modules/forge/bin/install.js +200 -0
- package/modules/forge/package.json +32 -0
- package/modules/forge/skillsmith/rules/checklists-rules.md +42 -0
- package/modules/forge/skillsmith/rules/context-rules.md +43 -0
- package/modules/forge/skillsmith/rules/entry-point-rules.md +44 -0
- package/modules/forge/skillsmith/rules/frameworks-rules.md +43 -0
- package/modules/forge/skillsmith/rules/tasks-rules.md +52 -0
- package/modules/forge/skillsmith/rules/templates-rules.md +43 -0
- package/modules/forge/skillsmith/skillsmith.md +82 -0
- package/modules/forge/skillsmith/tasks/audit.md +277 -0
- package/modules/forge/skillsmith/tasks/discover.md +145 -0
- package/modules/forge/skillsmith/tasks/distill.md +276 -0
- package/modules/forge/skillsmith/tasks/scaffold.md +349 -0
- package/modules/forge/specs/checklists.md +193 -0
- package/modules/forge/specs/context.md +223 -0
- package/modules/forge/specs/entry-point.md +320 -0
- package/modules/forge/specs/frameworks.md +228 -0
- package/modules/forge/specs/rules.md +245 -0
- package/modules/forge/specs/tasks.md +344 -0
- package/modules/forge/specs/templates.md +335 -0
- package/modules/forge/terminal.svg +70 -0
- package/modules/ignition/README.md +245 -0
- package/modules/ignition/bin/install.js +184 -0
- package/modules/ignition/checklists/planning-quality.md +55 -0
- package/modules/ignition/data/application/config.md +21 -0
- package/modules/ignition/data/application/guide.md +51 -0
- package/modules/ignition/data/application/skill-loadout.md +11 -0
- package/modules/ignition/data/campaign/config.md +18 -0
- package/modules/ignition/data/campaign/guide.md +36 -0
- package/modules/ignition/data/campaign/skill-loadout.md +10 -0
- package/modules/ignition/data/client/config.md +18 -0
- package/modules/ignition/data/client/guide.md +36 -0
- package/modules/ignition/data/client/skill-loadout.md +11 -0
- package/modules/ignition/data/utility/config.md +18 -0
- package/modules/ignition/data/utility/guide.md +31 -0
- package/modules/ignition/data/utility/skill-loadout.md +8 -0
- package/modules/ignition/data/workflow/config.md +19 -0
- package/modules/ignition/data/workflow/guide.md +41 -0
- package/modules/ignition/data/workflow/skill-loadout.md +10 -0
- package/modules/ignition/integration.js +54 -0
- package/modules/ignition/package.json +35 -0
- package/modules/ignition/seed.md +81 -0
- package/modules/ignition/tasks/add-type.md +164 -0
- package/modules/ignition/tasks/graduate.md +182 -0
- package/modules/ignition/tasks/ideate.md +221 -0
- package/modules/ignition/tasks/launch.md +137 -0
- package/modules/ignition/tasks/status.md +71 -0
- package/modules/ignition/templates/planning-application.md +193 -0
- package/modules/ignition/templates/planning-campaign.md +138 -0
- package/modules/ignition/templates/planning-client.md +149 -0
- package/modules/ignition/templates/planning-utility.md +112 -0
- package/modules/ignition/templates/planning-workflow.md +125 -0
- package/modules/ignition/terminal.svg +74 -0
- package/modules/mission-control/CONTEXT-CONTINUITY-SPEC.md +293 -0
- package/modules/mission-control/CONTEXT-ENGINEERING-GUIDE.md +282 -0
- package/modules/mission-control/README.md +91 -0
- package/modules/mission-control/assets/terminal.svg +80 -0
- package/modules/mission-control/examples/entities.example.json +133 -0
- package/modules/mission-control/examples/projects.example.json +318 -0
- package/modules/mission-control/examples/state.example.json +183 -0
- package/modules/mission-control/examples/vector.example.json +245 -0
- package/modules/mission-control/mission-control/checklists/install-verification.md +46 -0
- package/modules/mission-control/mission-control/frameworks/framework-registry.md +83 -0
- package/modules/mission-control/mission-control/mission-control.md +83 -0
- package/modules/mission-control/mission-control/tasks/insights.md +73 -0
- package/modules/mission-control/mission-control/tasks/install.md +194 -0
- package/modules/mission-control/mission-control/tasks/status.md +125 -0
- package/modules/mission-control/schemas/entities.schema.json +89 -0
- package/modules/mission-control/schemas/projects.schema.json +221 -0
- package/modules/mission-control/schemas/state.schema.json +108 -0
- package/modules/mission-control/schemas/vector.schema.json +200 -0
- package/modules/momentum/README.md +678 -0
- package/modules/momentum/bin/install.js +563 -0
- package/modules/momentum/integration.js +131 -0
- package/modules/momentum/package.json +42 -0
- package/modules/momentum/schemas/entities.schema.json +89 -0
- package/modules/momentum/schemas/projects.schema.json +221 -0
- package/modules/momentum/schemas/state.schema.json +108 -0
- package/modules/momentum/src/commands/audit-claude-md.md +31 -0
- package/modules/momentum/src/commands/audit.md +33 -0
- package/modules/momentum/src/commands/groom.md +35 -0
- package/modules/momentum/src/commands/history.md +27 -0
- package/modules/momentum/src/commands/pulse.md +33 -0
- package/modules/momentum/src/commands/scaffold.md +33 -0
- package/modules/momentum/src/commands/status.md +28 -0
- package/modules/momentum/src/commands/surface-convert.md +35 -0
- package/modules/momentum/src/commands/surface-create.md +34 -0
- package/modules/momentum/src/commands/surface-list.md +27 -0
- package/modules/momentum/src/commands/vector-hygiene.md +33 -0
- package/modules/momentum/src/framework/context/momentum-principles.md +71 -0
- package/modules/momentum/src/framework/frameworks/audit-strategies.md +53 -0
- package/modules/momentum/src/framework/frameworks/satellite-registration.md +44 -0
- package/modules/momentum/src/framework/tasks/audit-claude-md.md +68 -0
- package/modules/momentum/src/framework/tasks/audit.md +64 -0
- package/modules/momentum/src/framework/tasks/groom.md +164 -0
- package/modules/momentum/src/framework/tasks/history.md +34 -0
- package/modules/momentum/src/framework/tasks/pulse.md +83 -0
- package/modules/momentum/src/framework/tasks/scaffold.md +202 -0
- package/modules/momentum/src/framework/tasks/status.md +35 -0
- package/modules/momentum/src/framework/tasks/surface-convert.md +143 -0
- package/modules/momentum/src/framework/tasks/surface-create.md +184 -0
- package/modules/momentum/src/framework/tasks/surface-list.md +42 -0
- package/modules/momentum/src/framework/tasks/vector-hygiene.md +160 -0
- package/modules/momentum/src/framework/templates/workspace-json.md +96 -0
- package/modules/momentum/src/hooks/_template.py +129 -0
- package/modules/momentum/src/hooks/active-hook.py +178 -0
- package/modules/momentum/src/hooks/backlog-hook.py +115 -0
- package/modules/momentum/src/hooks/mission-control-insights.py +169 -0
- package/modules/momentum/src/hooks/momentum-pulse-check.py +351 -0
- package/modules/momentum/src/hooks/operator.py +53 -0
- package/modules/momentum/src/hooks/psmm-injector.py +67 -0
- package/modules/momentum/src/hooks/satellite-detection.py +248 -0
- package/modules/momentum/src/packages/momentum-mcp/index.js +119 -0
- package/modules/momentum/src/packages/momentum-mcp/package.json +10 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/entities.js +226 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/operator.js +106 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/projects.js +322 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/psmm.js +206 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/state.js +199 -0
- package/modules/momentum/src/packages/momentum-mcp/tools/surfaces.js +404 -0
- package/modules/momentum/src/skill/momentum.md +111 -0
- package/modules/momentum/src/tasks/groom.md +164 -0
- package/modules/momentum/src/templates/operator.json +66 -0
- package/modules/momentum/src/templates/workspace.json +111 -0
- package/modules/momentum/terminal.svg +77 -0
- package/modules/radar/README.md +1552 -0
- package/modules/radar/commands/audit.md +233 -0
- package/modules/radar/commands/guardrails.md +194 -0
- package/modules/radar/commands/init.md +207 -0
- package/modules/radar/commands/playbook.md +176 -0
- package/modules/radar/commands/remediate.md +156 -0
- package/modules/radar/commands/report.md +172 -0
- package/modules/radar/commands/resume.md +176 -0
- package/modules/radar/commands/status.md +148 -0
- package/modules/radar/commands/transform.md +205 -0
- package/modules/radar/commands/validate.md +177 -0
- package/modules/radar/docs/ARCHITECTURE.md +336 -0
- package/modules/radar/docs/GETTING-STARTED.md +287 -0
- package/modules/radar/docs/standards/agents.md +197 -0
- package/modules/radar/docs/standards/commands.md +250 -0
- package/modules/radar/docs/standards/domains.md +191 -0
- package/modules/radar/docs/standards/personas.md +211 -0
- package/modules/radar/docs/standards/rules.md +218 -0
- package/modules/radar/docs/standards/runtime.md +445 -0
- package/modules/radar/docs/standards/schemas.md +269 -0
- package/modules/radar/docs/standards/tools.md +273 -0
- package/modules/radar/docs/standards/workflows.md +254 -0
- package/modules/radar/docs/terminal.svg +72 -0
- package/modules/radar/docs/validation/convention-compliance-report.md +183 -0
- package/modules/radar/docs/validation/cross-reference-report.md +195 -0
- package/modules/radar/docs/validation/validation-summary.md +118 -0
- package/modules/radar/docs/validation/version-manifest.yaml +363 -0
- package/modules/radar/install.sh +711 -0
- package/modules/radar/integration.js +53 -0
- package/modules/radar/src/core/agents/architect.md +25 -0
- package/modules/radar/src/core/agents/compliance-officer.md +25 -0
- package/modules/radar/src/core/agents/data-engineer.md +25 -0
- package/modules/radar/src/core/agents/devils-advocate.md +22 -0
- package/modules/radar/src/core/agents/performance-engineer.md +25 -0
- package/modules/radar/src/core/agents/principal-engineer.md +23 -0
- package/modules/radar/src/core/agents/reality-gap-analyst.md +22 -0
- package/modules/radar/src/core/agents/security-engineer.md +25 -0
- package/modules/radar/src/core/agents/senior-app-engineer.md +25 -0
- package/modules/radar/src/core/agents/sre.md +25 -0
- package/modules/radar/src/core/agents/staff-engineer.md +23 -0
- package/modules/radar/src/core/agents/test-engineer.md +25 -0
- package/modules/radar/src/core/personas/architect.md +111 -0
- package/modules/radar/src/core/personas/compliance-officer.md +104 -0
- package/modules/radar/src/core/personas/data-engineer.md +113 -0
- package/modules/radar/src/core/personas/devils-advocate.md +105 -0
- package/modules/radar/src/core/personas/performance-engineer.md +119 -0
- package/modules/radar/src/core/personas/principal-engineer.md +119 -0
- package/modules/radar/src/core/personas/reality-gap-analyst.md +111 -0
- package/modules/radar/src/core/personas/security-engineer.md +108 -0
- package/modules/radar/src/core/personas/senior-app-engineer.md +111 -0
- package/modules/radar/src/core/personas/sre.md +117 -0
- package/modules/radar/src/core/personas/staff-engineer.md +109 -0
- package/modules/radar/src/core/personas/test-engineer.md +109 -0
- package/modules/radar/src/core/workflows/disagreement-resolution.md +183 -0
- package/modules/radar/src/core/workflows/phase-0-context.md +148 -0
- package/modules/radar/src/core/workflows/phase-1-reconnaissance.md +169 -0
- package/modules/radar/src/core/workflows/phase-2-domain-audits.md +190 -0
- package/modules/radar/src/core/workflows/phase-3-cross-domain.md +177 -0
- package/modules/radar/src/core/workflows/phase-4-adversarial-review.md +165 -0
- package/modules/radar/src/core/workflows/phase-5-report.md +189 -0
- package/modules/radar/src/core/workflows/phase-checkpoint.md +222 -0
- package/modules/radar/src/core/workflows/session-handoff.md +152 -0
- package/modules/radar/src/domains/00-context.md +201 -0
- package/modules/radar/src/domains/01-architecture.md +248 -0
- package/modules/radar/src/domains/02-data.md +224 -0
- package/modules/radar/src/domains/03-correctness.md +230 -0
- package/modules/radar/src/domains/04-security.md +274 -0
- package/modules/radar/src/domains/05-compliance.md +228 -0
- package/modules/radar/src/domains/06-testing.md +228 -0
- package/modules/radar/src/domains/07-reliability.md +246 -0
- package/modules/radar/src/domains/08-performance.md +247 -0
- package/modules/radar/src/domains/09-maintainability.md +271 -0
- package/modules/radar/src/domains/10-operability.md +250 -0
- package/modules/radar/src/domains/11-change-risk.md +246 -0
- package/modules/radar/src/domains/12-team-risk.md +221 -0
- package/modules/radar/src/domains/13-risk-synthesis.md +202 -0
- package/modules/radar/src/rules/agent-boundaries.md +78 -0
- package/modules/radar/src/rules/disagreement-protocol.md +76 -0
- package/modules/radar/src/rules/epistemic-hygiene.md +78 -0
- package/modules/radar/src/schemas/confidence.md +185 -0
- package/modules/radar/src/schemas/disagreement.md +238 -0
- package/modules/radar/src/schemas/finding.md +287 -0
- package/modules/radar/src/schemas/report-section.md +150 -0
- package/modules/radar/src/schemas/signal.md +108 -0
- package/modules/radar/src/tools/checkov.md +463 -0
- package/modules/radar/src/tools/git-history.md +581 -0
- package/modules/radar/src/tools/gitleaks.md +447 -0
- package/modules/radar/src/tools/grype.md +611 -0
- package/modules/radar/src/tools/semgrep.md +378 -0
- package/modules/radar/src/tools/sonarqube.md +550 -0
- package/modules/radar/src/tools/syft.md +539 -0
- package/modules/radar/src/tools/trivy.md +439 -0
- package/modules/radar/src/transform/agents/change-risk-modeler.md +24 -0
- package/modules/radar/src/transform/agents/execution-validator.md +24 -0
- package/modules/radar/src/transform/agents/guardrail-generator.md +24 -0
- package/modules/radar/src/transform/agents/pedagogy-agent.md +24 -0
- package/modules/radar/src/transform/agents/remediation-architect.md +24 -0
- package/modules/radar/src/transform/personas/change-risk-modeler.md +95 -0
- package/modules/radar/src/transform/personas/execution-validator.md +95 -0
- package/modules/radar/src/transform/personas/guardrail-generator.md +103 -0
- package/modules/radar/src/transform/personas/pedagogy-agent.md +105 -0
- package/modules/radar/src/transform/personas/remediation-architect.md +95 -0
- package/modules/radar/src/transform/rules/change-risk-rules.md +87 -0
- package/modules/radar/src/transform/rules/safety-governance.md +87 -0
- package/modules/radar/src/transform/schemas/change-risk.md +139 -0
- package/modules/radar/src/transform/schemas/intervention-level.md +207 -0
- package/modules/radar/src/transform/schemas/playbook.md +205 -0
- package/modules/radar/src/transform/schemas/verification-plan.md +134 -0
- package/modules/radar/src/transform/workflows/phase-6-remediation.md +148 -0
- package/modules/radar/src/transform/workflows/phase-7-risk-validation.md +161 -0
- package/modules/radar/src/transform/workflows/phase-8-execution-planning.md +159 -0
- package/modules/radar/src/transform/workflows/transform-safety.md +158 -0
- package/modules/vector/.vector-template/sessions/.gitkeep +0 -0
- package/modules/vector/.vector-template/vector.json +72 -0
- package/modules/vector/AUDIT-CLAUDEMD.md +154 -0
- package/modules/vector/INSTALL.md +185 -0
- package/modules/vector/LICENSE +21 -0
- package/modules/vector/README.md +409 -0
- package/modules/vector/VECTOR-BLOCK.md +57 -0
- package/modules/vector/assets/terminal.svg +68 -0
- package/modules/vector/bin/install.js +455 -0
- package/modules/vector/bin/migrate-v1-to-v2.sh +492 -0
- package/modules/vector/commands/help.md +46 -0
- package/modules/vector/hooks/vector-hook.py +775 -0
- package/modules/vector/mcp/index.js +118 -0
- package/modules/vector/mcp/package.json +10 -0
- package/modules/vector/mcp/tools/decisions.js +269 -0
- package/modules/vector/mcp/tools/domains.js +361 -0
- package/modules/vector/mcp/tools/staging.js +252 -0
- package/modules/vector/mcp/tools/vector-json.js +647 -0
- package/modules/vector/package.json +38 -0
- package/modules/vector/schemas/vector.schema.json +237 -0
- package/package.json +39 -0
- package/shared/branding/branding.js +70 -0
- package/shared/config/defaults.json +59 -0
- package/shared/events/README.md +175 -0
- package/shared/events/event-bus.js +134 -0
- package/shared/events/event_bus.py +255 -0
- package/shared/events/integrations.js +161 -0
- package/shared/events/schemas/audit-complete.schema.json +21 -0
- package/shared/events/schemas/phase-progress.schema.json +23 -0
- package/shared/events/schemas/plan-created.schema.json +21 -0
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: radar:playbook
|
|
3
|
+
description: Generate a remediation playbook for a specific finding
|
|
4
|
+
argument-hint: "<finding-id>"
|
|
5
|
+
allowed-tools: [Read, Write, Glob, Grep, AskUserQuestion]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<objective>
|
|
9
|
+
Generates a remediation playbook for a single specific finding. This is the most targeted Transform operation — produces both human-readable (.md) and machine-consumable (.yaml) playbook files for one finding.
|
|
10
|
+
|
|
11
|
+
If the playbook already exists, offers options to view or regenerate.
|
|
12
|
+
|
|
13
|
+
Produces: .radar/remediation/playbooks/{finding-id}.md and .radar/remediation/playbooks/{finding-id}.yaml.
|
|
14
|
+
</objective>
|
|
15
|
+
|
|
16
|
+
<execution_context>
|
|
17
|
+
@~/.claude/radar/transform/workflows/phase-6-remediation.md
|
|
18
|
+
@~/.claude/radar/transform/workflows/transform-safety.md
|
|
19
|
+
</execution_context>
|
|
20
|
+
|
|
21
|
+
<context>
|
|
22
|
+
$ARGUMENTS
|
|
23
|
+
@.radar/STATE.md
|
|
24
|
+
@.radar/findings/
|
|
25
|
+
@.radar/remediation/playbooks/
|
|
26
|
+
</context>
|
|
27
|
+
|
|
28
|
+
<process>
|
|
29
|
+
|
|
30
|
+
## Step 1: Check Prerequisites
|
|
31
|
+
|
|
32
|
+
Check if .radar/report/ exists with completed Core audit:
|
|
33
|
+
|
|
34
|
+
- If Layer A incomplete:
|
|
35
|
+
```
|
|
36
|
+
════════════════════════════════════════
|
|
37
|
+
CORE AUDIT INCOMPLETE
|
|
38
|
+
════════════════════════════════════════
|
|
39
|
+
|
|
40
|
+
Playbook generation requires a completed Layer A record.
|
|
41
|
+
|
|
42
|
+
[1] Resume audit → runs /radar:resume
|
|
43
|
+
[2] Cancel
|
|
44
|
+
════════════════════════════════════════
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
- If Layer A complete: proceed to Step 2
|
|
48
|
+
|
|
49
|
+
## Step 2: Validate Finding ID
|
|
50
|
+
|
|
51
|
+
Check $ARGUMENTS for a finding ID:
|
|
52
|
+
|
|
53
|
+
- If no finding ID provided:
|
|
54
|
+
```
|
|
55
|
+
════════════════════════════════════════
|
|
56
|
+
FINDING ID REQUIRED
|
|
57
|
+
════════════════════════════════════════
|
|
58
|
+
|
|
59
|
+
Usage: /radar:playbook <finding-id>
|
|
60
|
+
|
|
61
|
+
Example: /radar:playbook F-04-001
|
|
62
|
+
|
|
63
|
+
To see all findings, run /radar:status.
|
|
64
|
+
|
|
65
|
+
[1] List all finding IDs
|
|
66
|
+
[2] Cancel
|
|
67
|
+
════════════════════════════════════════
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
If [1]: list all finding IDs with severity and domain, then prompt for selection.
|
|
71
|
+
|
|
72
|
+
- If finding ID provided: validate it exists in .radar/findings/
|
|
73
|
+
- Search across all agent directories: .radar/findings/*/{finding-id}*
|
|
74
|
+
- If not found: report error with suggestions (list similar IDs)
|
|
75
|
+
|
|
76
|
+
## Step 3: Display Finding Context
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
════════════════════════════════════════
|
|
80
|
+
FINDING DETAILS
|
|
81
|
+
════════════════════════════════════════
|
|
82
|
+
|
|
83
|
+
Finding: [finding-id]
|
|
84
|
+
Domain: [domain name]
|
|
85
|
+
Severity: [severity]
|
|
86
|
+
Agent: [agent that produced it]
|
|
87
|
+
Confidence: [overall confidence score]
|
|
88
|
+
|
|
89
|
+
Summary: [first line or title of finding]
|
|
90
|
+
════════════════════════════════════════
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
## Step 4: Check Existing Playbook
|
|
94
|
+
|
|
95
|
+
Check if .radar/remediation/playbooks/{finding-id}.md exists:
|
|
96
|
+
|
|
97
|
+
- If playbook exists:
|
|
98
|
+
```
|
|
99
|
+
════════════════════════════════════════
|
|
100
|
+
EXISTING PLAYBOOK FOUND
|
|
101
|
+
════════════════════════════════════════
|
|
102
|
+
|
|
103
|
+
Playbook: .radar/remediation/playbooks/[finding-id].md
|
|
104
|
+
YAML: .radar/remediation/playbooks/[finding-id].yaml
|
|
105
|
+
|
|
106
|
+
[1] View playbook
|
|
107
|
+
[2] Regenerate (overwrites existing)
|
|
108
|
+
[3] Cancel
|
|
109
|
+
════════════════════════════════════════
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
- If no playbook exists: proceed to Step 5
|
|
113
|
+
|
|
114
|
+
## Step 5: Safety Confirmation
|
|
115
|
+
|
|
116
|
+
```
|
|
117
|
+
════════════════════════════════════════
|
|
118
|
+
SAFETY REVIEW
|
|
119
|
+
════════════════════════════════════════
|
|
120
|
+
|
|
121
|
+
Finding: [finding-id]
|
|
122
|
+
Confidence: [score] → Intervention level: [Suggesting / Planning / Authorizing]
|
|
123
|
+
|
|
124
|
+
Playbook will contain:
|
|
125
|
+
- Root cause analysis
|
|
126
|
+
- Remediation strategy (4-layer: abstract → framework → language → project)
|
|
127
|
+
- Before/after examples
|
|
128
|
+
- Educational context
|
|
129
|
+
- Verification steps
|
|
130
|
+
|
|
131
|
+
No changes will be applied to your codebase.
|
|
132
|
+
|
|
133
|
+
[1] Generate playbook (recommended)
|
|
134
|
+
[2] Cancel
|
|
135
|
+
════════════════════════════════════════
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
## Step 6: Generate Playbook
|
|
139
|
+
|
|
140
|
+
1. Delegate to phase-6-remediation workflow scoped to single finding
|
|
141
|
+
2. Transform safety validation runs automatically during generation
|
|
142
|
+
|
|
143
|
+
## Step 7: Playbook Complete
|
|
144
|
+
|
|
145
|
+
```
|
|
146
|
+
════════════════════════════════════════
|
|
147
|
+
PLAYBOOK GENERATED
|
|
148
|
+
════════════════════════════════════════
|
|
149
|
+
|
|
150
|
+
Human-readable: .radar/remediation/playbooks/[finding-id].md
|
|
151
|
+
Machine-consumable: .radar/remediation/playbooks/[finding-id].yaml
|
|
152
|
+
|
|
153
|
+
Intervention level: [level]
|
|
154
|
+
|
|
155
|
+
Next steps:
|
|
156
|
+
- Review the playbook
|
|
157
|
+
- Generate more playbooks: /radar:playbook <finding-id>
|
|
158
|
+
- Generate all playbooks: /radar:remediate
|
|
159
|
+
- Generate guardrails: /radar:guardrails
|
|
160
|
+
|
|
161
|
+
════════════════════════════════════════
|
|
162
|
+
```
|
|
163
|
+
|
|
164
|
+
</process>
|
|
165
|
+
|
|
166
|
+
<success_criteria>
|
|
167
|
+
- [ ] Layer A prerequisite validated
|
|
168
|
+
- [ ] Finding ID validated (exists in .radar/findings/)
|
|
169
|
+
- [ ] Finding context displayed (domain, severity, confidence)
|
|
170
|
+
- [ ] Existing playbook detected and options presented
|
|
171
|
+
- [ ] Intervention level displayed before generation
|
|
172
|
+
- [ ] Explicit confirmation obtained
|
|
173
|
+
- [ ] Phase 6 workflow delegated to (scoped to single finding)
|
|
174
|
+
- [ ] Both .md and .yaml playbook locations communicated
|
|
175
|
+
- [ ] Cancellation available at every decision point
|
|
176
|
+
</success_criteria>
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: radar:remediate
|
|
3
|
+
description: Generate remediation plans for all findings or a specific domain
|
|
4
|
+
argument-hint: "[domain-number]"
|
|
5
|
+
allowed-tools: [Read, Write, Edit, Bash, Glob, Grep, Task, AskUserQuestion]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<objective>
|
|
9
|
+
Generates remediation knowledge (Layer B) from diagnostic findings, optionally scoped to a specific domain. Can continue through the full Transform pipeline (Phases 6-8) or stop after playbook generation.
|
|
10
|
+
|
|
11
|
+
If remediation already exists, offers options to view, extend, or regenerate.
|
|
12
|
+
|
|
13
|
+
Produces: playbooks in .radar/remediation/playbooks/, patterns in .radar/remediation/patterns/, and optionally risk scores and execution plans.
|
|
14
|
+
</objective>
|
|
15
|
+
|
|
16
|
+
<execution_context>
|
|
17
|
+
@~/.claude/radar/transform/workflows/phase-6-remediation.md
|
|
18
|
+
@~/.claude/radar/transform/workflows/phase-7-risk-validation.md
|
|
19
|
+
@~/.claude/radar/transform/workflows/phase-8-execution-planning.md
|
|
20
|
+
@~/.claude/radar/transform/workflows/transform-safety.md
|
|
21
|
+
</execution_context>
|
|
22
|
+
|
|
23
|
+
<context>
|
|
24
|
+
$ARGUMENTS
|
|
25
|
+
@.radar/STATE.md
|
|
26
|
+
@.radar/report/
|
|
27
|
+
@.radar/findings/
|
|
28
|
+
@.radar/remediation/
|
|
29
|
+
</context>
|
|
30
|
+
|
|
31
|
+
<process>
|
|
32
|
+
|
|
33
|
+
## Step 1: Check Prerequisites
|
|
34
|
+
|
|
35
|
+
Check if .radar/report/ exists with completed Core audit:
|
|
36
|
+
|
|
37
|
+
- If Layer A incomplete:
|
|
38
|
+
```
|
|
39
|
+
════════════════════════════════════════
|
|
40
|
+
CORE AUDIT INCOMPLETE
|
|
41
|
+
════════════════════════════════════════
|
|
42
|
+
|
|
43
|
+
Remediation requires a completed Layer A record (all Core phases 0-5).
|
|
44
|
+
|
|
45
|
+
[1] Resume audit → runs /radar:resume
|
|
46
|
+
[2] Cancel
|
|
47
|
+
════════════════════════════════════════
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
- If Layer A complete: proceed to Step 2
|
|
51
|
+
|
|
52
|
+
## Step 2: Determine Scope
|
|
53
|
+
|
|
54
|
+
Check $ARGUMENTS:
|
|
55
|
+
- If domain number provided: scope to that domain's findings only
|
|
56
|
+
- Validate domain number (0-13)
|
|
57
|
+
- Count findings for that domain
|
|
58
|
+
- If no findings for domain: report and exit
|
|
59
|
+
- If no arguments: scope to all findings
|
|
60
|
+
|
|
61
|
+
Display scope:
|
|
62
|
+
```
|
|
63
|
+
════════════════════════════════════════
|
|
64
|
+
REMEDIATION SCOPE
|
|
65
|
+
════════════════════════════════════════
|
|
66
|
+
|
|
67
|
+
Scope: [All findings / Domain NN — {domain name}]
|
|
68
|
+
Findings in scope: [N]
|
|
69
|
+
Severity: Critical [N], High [N], Medium [N], Low [N], Info [N]
|
|
70
|
+
════════════════════════════════════════
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Step 3: Check Existing Remediation
|
|
74
|
+
|
|
75
|
+
Check if .radar/remediation/ exists:
|
|
76
|
+
|
|
77
|
+
- If remediation exists:
|
|
78
|
+
```
|
|
79
|
+
════════════════════════════════════════
|
|
80
|
+
EXISTING REMEDIATION FOUND
|
|
81
|
+
════════════════════════════════════════
|
|
82
|
+
|
|
83
|
+
Playbooks: [N] in .radar/remediation/playbooks/
|
|
84
|
+
Patterns: [N] in .radar/remediation/patterns/
|
|
85
|
+
|
|
86
|
+
[1] View existing playbooks
|
|
87
|
+
[2] Generate missing playbooks only (skip already-generated findings)
|
|
88
|
+
[3] Regenerate all playbooks (overwrites existing)
|
|
89
|
+
[4] Cancel
|
|
90
|
+
════════════════════════════════════════
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
- If no remediation exists: proceed to Step 4
|
|
94
|
+
|
|
95
|
+
## Step 4: Safety Confirmation
|
|
96
|
+
|
|
97
|
+
Display intervention level information:
|
|
98
|
+
```
|
|
99
|
+
════════════════════════════════════════
|
|
100
|
+
SAFETY REVIEW
|
|
101
|
+
════════════════════════════════════════
|
|
102
|
+
|
|
103
|
+
Remediation will produce playbooks at these intervention levels:
|
|
104
|
+
|
|
105
|
+
Suggesting: [N] findings — advisory remediation
|
|
106
|
+
Planning: [N] findings — specific change proposals
|
|
107
|
+
Authorizing: [N] findings — execution-ready plans
|
|
108
|
+
|
|
109
|
+
Low-confidence findings ([N]) will be capped at Suggesting level.
|
|
110
|
+
|
|
111
|
+
IMPORTANT: No changes will be applied to your codebase.
|
|
112
|
+
|
|
113
|
+
[1] Confirm — generate remediation (recommended)
|
|
114
|
+
[2] Cancel
|
|
115
|
+
════════════════════════════════════════
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
## Step 5: Execute Remediation
|
|
119
|
+
|
|
120
|
+
1. Delegate to phase-6-remediation workflow (scoped to selected findings)
|
|
121
|
+
2. After Phase 6 completes, offer continuation:
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
════════════════════════════════════════
|
|
125
|
+
REMEDIATION GENERATED
|
|
126
|
+
════════════════════════════════════════
|
|
127
|
+
|
|
128
|
+
Playbooks: [N] created in .radar/remediation/playbooks/
|
|
129
|
+
Patterns: [N] identified in .radar/remediation/patterns/
|
|
130
|
+
|
|
131
|
+
Continue the pipeline?
|
|
132
|
+
|
|
133
|
+
[1] Continue to risk validation (Phase 7) + execution planning (Phase 8)
|
|
134
|
+
[2] Continue to risk validation only (Phase 7)
|
|
135
|
+
[3] Stop here — review playbooks first
|
|
136
|
+
[4] Cancel
|
|
137
|
+
════════════════════════════════════════
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
If [1]: delegate to phase-7-risk-validation, then phase-8-execution-planning
|
|
141
|
+
If [2]: delegate to phase-7-risk-validation only
|
|
142
|
+
If [3]: exit with playbook locations displayed
|
|
143
|
+
If [4]: exit
|
|
144
|
+
|
|
145
|
+
</process>
|
|
146
|
+
|
|
147
|
+
<success_criteria>
|
|
148
|
+
- [ ] Layer A prerequisite validated
|
|
149
|
+
- [ ] Scope correctly determined (all findings or domain-specific)
|
|
150
|
+
- [ ] Existing remediation detected and options presented
|
|
151
|
+
- [ ] Intervention levels displayed before any output
|
|
152
|
+
- [ ] Explicit confirmation obtained before proceeding
|
|
153
|
+
- [ ] Phase 6 workflow delegated to with correct scope
|
|
154
|
+
- [ ] Pipeline continuation options presented after Phase 6
|
|
155
|
+
- [ ] Cancellation available at every decision point
|
|
156
|
+
</success_criteria>
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: radar:report
|
|
3
|
+
description: Generate or view the Radar diagnostic audit report
|
|
4
|
+
argument-hint: "[section]"
|
|
5
|
+
allowed-tools: [Read, Write, Glob, Grep]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<objective>
|
|
9
|
+
Generates, regenerates, or displays the final Radar diagnostic report from a completed Core audit. Verifies that all Core phases (0-5) are complete before allowing report generation, and delegates to the Phase 5 report workflow for actual generation.
|
|
10
|
+
|
|
11
|
+
If the report already exists, offers options to view specific sections or regenerate.
|
|
12
|
+
|
|
13
|
+
Produces: report files in .radar/report/ (executive-summary.md, findings-by-domain.md, disagreements.md, remediation-roadmap.md).
|
|
14
|
+
</objective>
|
|
15
|
+
|
|
16
|
+
<execution_context>
|
|
17
|
+
@~/.claude/radar/core/workflows/phase-5-report.md
|
|
18
|
+
</execution_context>
|
|
19
|
+
|
|
20
|
+
<context>
|
|
21
|
+
$ARGUMENTS
|
|
22
|
+
@.radar/STATE.md
|
|
23
|
+
@.radar/report/
|
|
24
|
+
</context>
|
|
25
|
+
|
|
26
|
+
<process>
|
|
27
|
+
|
|
28
|
+
## Step 1: Check Prerequisites
|
|
29
|
+
|
|
30
|
+
Check if .radar/STATE.md exists:
|
|
31
|
+
|
|
32
|
+
- If NO:
|
|
33
|
+
```
|
|
34
|
+
════════════════════════════════════════
|
|
35
|
+
NO ACTIVE AUDIT
|
|
36
|
+
════════════════════════════════════════
|
|
37
|
+
|
|
38
|
+
No .radar/ directory found. Start an audit first with /radar:audit.
|
|
39
|
+
|
|
40
|
+
[1] Start new audit → runs /radar:audit
|
|
41
|
+
[2] Cancel
|
|
42
|
+
════════════════════════════════════════
|
|
43
|
+
```
|
|
44
|
+
Route based on selection.
|
|
45
|
+
|
|
46
|
+
- If YES: read STATE.md and check phase completion
|
|
47
|
+
|
|
48
|
+
## Step 2: Verify Phase Completion
|
|
49
|
+
|
|
50
|
+
Read .radar/STATE.md phase progress. Check if Phases 0-4 are all complete. Phase 5 (Report) is the phase this command triggers, so it does not need to be complete as a prerequisite.
|
|
51
|
+
|
|
52
|
+
If any prerequisite phase (0-4) is incomplete:
|
|
53
|
+
```
|
|
54
|
+
════════════════════════════════════════
|
|
55
|
+
AUDIT INCOMPLETE
|
|
56
|
+
════════════════════════════════════════
|
|
57
|
+
|
|
58
|
+
Report generation requires all prerequisite Core phases (0-4) to be complete.
|
|
59
|
+
|
|
60
|
+
Current progress:
|
|
61
|
+
Phase 0 (Context): [status]
|
|
62
|
+
Phase 1 (Signals): [status]
|
|
63
|
+
Phase 2 (Domain Audits): [status]
|
|
64
|
+
Phase 3 (Cross-Domain): [status]
|
|
65
|
+
Phase 4 (Adversarial Review): [status]
|
|
66
|
+
Phase 5 (Report): [status]
|
|
67
|
+
|
|
68
|
+
Incomplete phases: [list]
|
|
69
|
+
|
|
70
|
+
[1] Resume audit to complete remaining phases → runs /radar:resume
|
|
71
|
+
[2] Cancel
|
|
72
|
+
════════════════════════════════════════
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
If all phases 0-4 complete: proceed to Step 3
|
|
76
|
+
|
|
77
|
+
## Step 3: Check Existing Report
|
|
78
|
+
|
|
79
|
+
Check if .radar/report/ directory exists and contains report files:
|
|
80
|
+
|
|
81
|
+
- If report exists:
|
|
82
|
+
```
|
|
83
|
+
════════════════════════════════════════
|
|
84
|
+
EXISTING REPORT FOUND
|
|
85
|
+
════════════════════════════════════════
|
|
86
|
+
|
|
87
|
+
Report generated: [timestamp from file modification]
|
|
88
|
+
Sections:
|
|
89
|
+
- executive-summary.md [exists/missing]
|
|
90
|
+
- findings-by-domain.md [exists/missing]
|
|
91
|
+
- disagreements.md [exists/missing]
|
|
92
|
+
- remediation-roadmap.md [exists/missing]
|
|
93
|
+
|
|
94
|
+
[1] View report (display in terminal)
|
|
95
|
+
[2] View specific section
|
|
96
|
+
[3] Regenerate report (overwrites existing)
|
|
97
|
+
[4] Cancel
|
|
98
|
+
════════════════════════════════════════
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
If [1]: display all report sections in sequence
|
|
102
|
+
If [2]: present section selector:
|
|
103
|
+
```
|
|
104
|
+
Select section:
|
|
105
|
+
[1] Executive Summary
|
|
106
|
+
[2] Findings by Domain
|
|
107
|
+
[3] Disagreements
|
|
108
|
+
[4] Remediation Roadmap
|
|
109
|
+
[5] Back
|
|
110
|
+
```
|
|
111
|
+
Display the selected section.
|
|
112
|
+
If [3]: proceed to Step 4 (regeneration)
|
|
113
|
+
If [4]: exit
|
|
114
|
+
|
|
115
|
+
- If no report exists: proceed to Step 4
|
|
116
|
+
|
|
117
|
+
## Step 4: Generate Report
|
|
118
|
+
|
|
119
|
+
If $ARGUMENTS contains a section name (e.g., "executive-summary"), generate only that section. Otherwise generate all sections.
|
|
120
|
+
|
|
121
|
+
```
|
|
122
|
+
════════════════════════════════════════
|
|
123
|
+
REPORT GENERATION
|
|
124
|
+
════════════════════════════════════════
|
|
125
|
+
|
|
126
|
+
Scope: [Full report / Single section]
|
|
127
|
+
Findings to synthesize: [total count across all phases]
|
|
128
|
+
Disagreements to resolve: [count] (open: [count])
|
|
129
|
+
Domains covered: [count] of 14
|
|
130
|
+
|
|
131
|
+
[1] Generate report (recommended)
|
|
132
|
+
[2] Cancel
|
|
133
|
+
════════════════════════════════════════
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
If [1]: delegate to phase-5-report workflow for generation
|
|
137
|
+
If [2]: exit
|
|
138
|
+
|
|
139
|
+
## Step 5: Report Complete
|
|
140
|
+
|
|
141
|
+
After generation completes:
|
|
142
|
+
```
|
|
143
|
+
════════════════════════════════════════
|
|
144
|
+
REPORT GENERATED
|
|
145
|
+
════════════════════════════════════════
|
|
146
|
+
|
|
147
|
+
Location: .radar/report/
|
|
148
|
+
|
|
149
|
+
Files:
|
|
150
|
+
- executive-summary.md
|
|
151
|
+
- findings-by-domain.md
|
|
152
|
+
- disagreements.md
|
|
153
|
+
- remediation-roadmap.md
|
|
154
|
+
|
|
155
|
+
Next steps:
|
|
156
|
+
- Review the report in .radar/report/
|
|
157
|
+
- Run /radar:transform to generate remediation plans (Layer B)
|
|
158
|
+
- Archive the audit when satisfied
|
|
159
|
+
|
|
160
|
+
════════════════════════════════════════
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
</process>
|
|
164
|
+
|
|
165
|
+
<success_criteria>
|
|
166
|
+
- [ ] Prerequisites validated (active audit, phases complete)
|
|
167
|
+
- [ ] Existing report detected and options presented (view/regenerate)
|
|
168
|
+
- [ ] Phase 5 workflow delegated to for report generation
|
|
169
|
+
- [ ] Report files created in .radar/report/
|
|
170
|
+
- [ ] Next steps clearly communicated (Transform pipeline, archival)
|
|
171
|
+
- [ ] Cancellation available at every decision point
|
|
172
|
+
</success_criteria>
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: radar:resume
|
|
3
|
+
description: Resume an interrupted Radar diagnostic audit
|
|
4
|
+
argument-hint: "[phase-number]"
|
|
5
|
+
allowed-tools: [Read, Write, Edit, Bash, Glob, Grep, Task, AskUserQuestion]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
<objective>
|
|
9
|
+
Resumes an interrupted Radar diagnostic audit from the last checkpoint or a specified phase. Reads .radar/STATE.md to determine current position, displays progress, and routes to the appropriate phase workflow.
|
|
10
|
+
|
|
11
|
+
If no active audit exists, routes to /radar:audit to start a new one.
|
|
12
|
+
|
|
13
|
+
Produces: continued audit execution from the resume point, updated .radar/STATE.md.
|
|
14
|
+
</objective>
|
|
15
|
+
|
|
16
|
+
<execution_context>
|
|
17
|
+
@~/.claude/radar/core/workflows/phase-0-context.md
|
|
18
|
+
@~/.claude/radar/core/workflows/phase-1-reconnaissance.md
|
|
19
|
+
@~/.claude/radar/core/workflows/phase-2-domain-audits.md
|
|
20
|
+
@~/.claude/radar/core/workflows/phase-3-cross-domain.md
|
|
21
|
+
@~/.claude/radar/core/workflows/phase-4-adversarial-review.md
|
|
22
|
+
@~/.claude/radar/core/workflows/phase-5-report.md
|
|
23
|
+
@~/.claude/radar/core/workflows/phase-checkpoint.md
|
|
24
|
+
</execution_context>
|
|
25
|
+
|
|
26
|
+
<context>
|
|
27
|
+
$ARGUMENTS
|
|
28
|
+
@.radar/STATE.md
|
|
29
|
+
</context>
|
|
30
|
+
|
|
31
|
+
<process>
|
|
32
|
+
|
|
33
|
+
## Step 1: Check for Active Audit
|
|
34
|
+
|
|
35
|
+
Check if .radar/STATE.md exists:
|
|
36
|
+
|
|
37
|
+
- If NO:
|
|
38
|
+
```
|
|
39
|
+
════════════════════════════════════════
|
|
40
|
+
NO ACTIVE AUDIT
|
|
41
|
+
════════════════════════════════════════
|
|
42
|
+
|
|
43
|
+
No .radar/ directory found. Start a new audit with /radar:audit.
|
|
44
|
+
|
|
45
|
+
[1] Start new audit → runs /radar:audit
|
|
46
|
+
[2] Cancel
|
|
47
|
+
════════════════════════════════════════
|
|
48
|
+
```
|
|
49
|
+
Route based on selection.
|
|
50
|
+
|
|
51
|
+
- If YES: proceed to Step 2
|
|
52
|
+
|
|
53
|
+
## Step 2: Read Audit State
|
|
54
|
+
|
|
55
|
+
Read .radar/STATE.md and extract:
|
|
56
|
+
- Target repository
|
|
57
|
+
- Audit start time
|
|
58
|
+
- Current phase (0-5)
|
|
59
|
+
- Overall status (in_progress / paused / complete)
|
|
60
|
+
- Per-phase status (pending / active / complete)
|
|
61
|
+
- Finding counts per phase
|
|
62
|
+
- Last action and next action from Resume Info
|
|
63
|
+
- Any unresolved disagreements
|
|
64
|
+
- Session tracking data:
|
|
65
|
+
- Sessions: total session count so far
|
|
66
|
+
- Last session: timestamp of last activity
|
|
67
|
+
- Started: when the audit began
|
|
68
|
+
- Checkpoint History: list of phase completions with timestamps and decisions
|
|
69
|
+
|
|
70
|
+
If status is "complete":
|
|
71
|
+
```
|
|
72
|
+
════════════════════════════════════════
|
|
73
|
+
AUDIT COMPLETE
|
|
74
|
+
════════════════════════════════════════
|
|
75
|
+
|
|
76
|
+
This audit has already completed all phases.
|
|
77
|
+
|
|
78
|
+
[1] View status → runs /radar:status
|
|
79
|
+
[2] Generate report → runs /radar:report
|
|
80
|
+
[3] Start Transform pipeline → runs /radar:transform
|
|
81
|
+
[4] Start fresh audit (WARNING: deletes current state) → runs /radar:audit
|
|
82
|
+
[5] Cancel
|
|
83
|
+
════════════════════════════════════════
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Step 3: Display Progress
|
|
87
|
+
|
|
88
|
+
```
|
|
89
|
+
════════════════════════════════════════
|
|
90
|
+
Radar AUDIT — RESUME
|
|
91
|
+
════════════════════════════════════════
|
|
92
|
+
|
|
93
|
+
Target: [repository path]
|
|
94
|
+
Started: [timestamp]
|
|
95
|
+
Status: [in_progress / paused]
|
|
96
|
+
Session: [N] (last active: [relative time — e.g., "2 hours ago", "yesterday", "3 days ago"])
|
|
97
|
+
|
|
98
|
+
Phase Progress:
|
|
99
|
+
┌───────┬──────────────────────────────┬──────────┬──────────┬──────────┐
|
|
100
|
+
│ Phase │ Name │ Status │ Agents │ Findings │
|
|
101
|
+
├───────┼──────────────────────────────┼──────────┼──────────┼──────────┤
|
|
102
|
+
│ 0 │ Context & Threat Modeling │ complete │ 1 │ - │
|
|
103
|
+
│ 1 │ Automated Signal Gathering │ complete │ (tools) │ - │
|
|
104
|
+
│ 2 │ Deep Domain Audits │ active │ 6 of 8 │ 23 │
|
|
105
|
+
│ 3 │ Cross-Domain Synthesis │ pending │ - │ - │
|
|
106
|
+
│ 4 │ Adversarial Review │ pending │ - │ - │
|
|
107
|
+
│ 5 │ Synthesis & Report │ pending │ - │ - │
|
|
108
|
+
└───────┴──────────────────────────────┴──────────┴──────────┴──────────┘
|
|
109
|
+
|
|
110
|
+
Cumulative: [N] findings (critical: [N], high: [N], medium: [N], low: [N])
|
|
111
|
+
Disagreements: [N] detected, [N] resolved
|
|
112
|
+
|
|
113
|
+
Checkpoint History:
|
|
114
|
+
- Phase 0 (Context & Threat Modeling) — [timestamp]
|
|
115
|
+
- Phase 1 (Signal Gathering) — [timestamp]
|
|
116
|
+
[... one line per completed phase checkpoint]
|
|
117
|
+
|
|
118
|
+
Last action: [from STATE.md Resume Info]
|
|
119
|
+
Next action: [from STATE.md Resume Info]
|
|
120
|
+
|
|
121
|
+
════════════════════════════════════════
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
Note: Compute relative time from Last session timestamp (e.g., if last session was 2 hours ago, display "2 hours ago"). If Session Tracking section is missing from STATE.md (pre-Phase 12 audits), display "Session: 1 (no tracking data)" and omit Checkpoint History.
|
|
125
|
+
|
|
126
|
+
## Step 4: Present Resume Options
|
|
127
|
+
|
|
128
|
+
Check if $ARGUMENTS contains a phase number:
|
|
129
|
+
- If YES: validate the phase number (0-5), skip to delegation with that phase
|
|
130
|
+
- If NO: present options
|
|
131
|
+
|
|
132
|
+
```
|
|
133
|
+
[1] Resume from last checkpoint (recommended) — continues Phase [N+1] without re-reading completed phases
|
|
134
|
+
[2] Re-run Phase [N] — [last completed phase] (re-executes from scratch)
|
|
135
|
+
[3] Jump to Phase [N] — [specify phase number]
|
|
136
|
+
[4] Start fresh (WARNING: deletes .radar/ and all findings)
|
|
137
|
+
[5] Cancel
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
If [1]: determine the correct resume point from STATE.md:
|
|
141
|
+
- If a phase is "active" with partial completion: resume that phase at the next unfinished agent
|
|
142
|
+
- If the last phase is "complete": start the next pending phase
|
|
143
|
+
|
|
144
|
+
If [2]: confirm re-run (warns that existing phase output will be overwritten), then delegate
|
|
145
|
+
|
|
146
|
+
If [3]: validate phase number, warn if skipping phases (findings may be incomplete), then delegate
|
|
147
|
+
|
|
148
|
+
If [4]: require explicit confirmation ("type DELETE to confirm"), then delegate to /radar:audit
|
|
149
|
+
|
|
150
|
+
If [5]: exit
|
|
151
|
+
|
|
152
|
+
## Step 5: Delegate to Phase Workflow
|
|
153
|
+
|
|
154
|
+
Based on the selected resume point:
|
|
155
|
+
1. Update .radar/STATE.md:
|
|
156
|
+
- Resume Info: last action and next action
|
|
157
|
+
- Session Tracking: increment Sessions count, update Last session timestamp
|
|
158
|
+
- Overall status: in_progress (if was paused)
|
|
159
|
+
2. Delegate to the appropriate phase workflow (context loading is handled by the phase workflow and session-handoff — do NOT re-read completed phase outputs at the resume command level):
|
|
160
|
+
- Phase 0 → phase-0-context workflow
|
|
161
|
+
- Phase 1 → phase-1-reconnaissance workflow
|
|
162
|
+
- Phase 2 → phase-2-domain-audits workflow
|
|
163
|
+
- Phase 3 → phase-3-cross-domain workflow
|
|
164
|
+
- Phase 4 → phase-4-adversarial-review workflow
|
|
165
|
+
- Phase 5 → phase-5-report workflow
|
|
166
|
+
|
|
167
|
+
</process>
|
|
168
|
+
|
|
169
|
+
<success_criteria>
|
|
170
|
+
- [ ] .radar/STATE.md read and current position identified
|
|
171
|
+
- [ ] Phase progress displayed clearly to user
|
|
172
|
+
- [ ] Resume point selected (automatic or user-chosen)
|
|
173
|
+
- [ ] Correct phase workflow delegated to
|
|
174
|
+
- [ ] .radar/STATE.md updated with resume action
|
|
175
|
+
- [ ] Cancellation available at every decision point
|
|
176
|
+
</success_criteria>
|