@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,148 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: radar:status
|
|
3
|
+
description: Display current Radar audit state and progress
|
|
4
|
+
allowed-tools: [Read, Glob, Grep]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
<objective>
|
|
8
|
+
Displays the current state of a Radar diagnostic audit without modifying anything. Shows phase-by-phase progress, finding counts, disagreement status, and suggests the next action.
|
|
9
|
+
|
|
10
|
+
This is a read-only command — it never modifies .radar/ state or audit artifacts.
|
|
11
|
+
|
|
12
|
+
If no active audit exists, reports that and suggests /radar:audit.
|
|
13
|
+
</objective>
|
|
14
|
+
|
|
15
|
+
<execution_context>
|
|
16
|
+
<!-- Read-only command: no workflow delegation required -->
|
|
17
|
+
</execution_context>
|
|
18
|
+
|
|
19
|
+
<context>
|
|
20
|
+
@.radar/STATE.md
|
|
21
|
+
</context>
|
|
22
|
+
|
|
23
|
+
<process>
|
|
24
|
+
|
|
25
|
+
## Step 1: Check for Active Audit
|
|
26
|
+
|
|
27
|
+
Check if .radar/STATE.md exists:
|
|
28
|
+
|
|
29
|
+
- If NO:
|
|
30
|
+
```
|
|
31
|
+
════════════════════════════════════════
|
|
32
|
+
NO ACTIVE AUDIT
|
|
33
|
+
════════════════════════════════════════
|
|
34
|
+
|
|
35
|
+
No .radar/ directory found in the current repository.
|
|
36
|
+
|
|
37
|
+
To start an audit, run: /radar:audit
|
|
38
|
+
════════════════════════════════════════
|
|
39
|
+
```
|
|
40
|
+
Exit.
|
|
41
|
+
|
|
42
|
+
- If YES: proceed to Step 2
|
|
43
|
+
|
|
44
|
+
## Step 2: Read Audit State
|
|
45
|
+
|
|
46
|
+
Read .radar/STATE.md and extract all fields:
|
|
47
|
+
- Audit info: target, started, current phase, status
|
|
48
|
+
- Phase progress: per-phase status, agents, finding counts, timestamps
|
|
49
|
+
- Summary: total findings, disagreements (open/resolved), domains covered
|
|
50
|
+
- Resume info: last action, next action
|
|
51
|
+
|
|
52
|
+
Also check the filesystem for additional context:
|
|
53
|
+
- Count files in .radar/findings/*/ for actual finding counts
|
|
54
|
+
- Count files in .radar/signals/*/ for signal counts
|
|
55
|
+
- Check .radar/report/ existence for report status
|
|
56
|
+
- Check .radar/review/ existence for adversarial review status
|
|
57
|
+
|
|
58
|
+
## Step 3: Display Full Status
|
|
59
|
+
|
|
60
|
+
```
|
|
61
|
+
════════════════════════════════════════
|
|
62
|
+
Radar AUDIT STATUS
|
|
63
|
+
════════════════════════════════════════
|
|
64
|
+
|
|
65
|
+
Target: [repository path]
|
|
66
|
+
Started: [timestamp]
|
|
67
|
+
Status: [in_progress / paused / complete]
|
|
68
|
+
Radar Version: [from MANIFEST.md]
|
|
69
|
+
|
|
70
|
+
────────────────────────────────────────
|
|
71
|
+
PHASE PROGRESS
|
|
72
|
+
────────────────────────────────────────
|
|
73
|
+
|
|
74
|
+
┌───────┬──────────────────────────────┬──────────┬──────────┬──────────┬───────────┐
|
|
75
|
+
│ Phase │ Name │ Status │ Agents │ Findings │ Completed │
|
|
76
|
+
├───────┼──────────────────────────────┼──────────┼──────────┼──────────┼───────────┤
|
|
77
|
+
│ 0 │ Context & Threat Modeling │ [status] │ [count] │ - │ [time] │
|
|
78
|
+
│ 1 │ Automated Signal Gathering │ [status] │ (tools) │ - │ [time] │
|
|
79
|
+
│ 2 │ Deep Domain Audits │ [status] │ [n of m] │ [count] │ [time] │
|
|
80
|
+
│ 3 │ Cross-Domain Synthesis │ [status] │ [n of m] │ [count] │ [time] │
|
|
81
|
+
│ 4 │ Adversarial Review │ [status] │ [count] │ [count] │ [time] │
|
|
82
|
+
│ 5 │ Synthesis & Report │ [status] │ [count] │ - │ [time] │
|
|
83
|
+
└───────┴──────────────────────────────┴──────────┴──────────┴──────────┴───────────┘
|
|
84
|
+
|
|
85
|
+
────────────────────────────────────────
|
|
86
|
+
SUMMARY
|
|
87
|
+
────────────────────────────────────────
|
|
88
|
+
|
|
89
|
+
Total findings: [N]
|
|
90
|
+
Critical: [N] High: [N] Medium: [N] Low: [N] Info: [N]
|
|
91
|
+
Disagreements: [N] total (open: [N], resolved: [N])
|
|
92
|
+
Domains covered: [N] of 14
|
|
93
|
+
Sessions completed: [N]
|
|
94
|
+
|
|
95
|
+
────────────────────────────────────────
|
|
96
|
+
ESTIMATED REMAINING WORK
|
|
97
|
+
────────────────────────────────────────
|
|
98
|
+
|
|
99
|
+
[Show for each pending phase:]
|
|
100
|
+
Phase [N] — [Name]: ~[N] session(s)
|
|
101
|
+
|
|
102
|
+
Estimates per phase:
|
|
103
|
+
Phase 0: 1 session (single agent — Principal Engineer)
|
|
104
|
+
Phase 1: 1 session (tool orchestration — no reasoning agents)
|
|
105
|
+
Phase 2: 1-8 sessions (8 parallel domain specialists)
|
|
106
|
+
Phase 3: 1-2 sessions (2 sequential agents — Staff Engineer, Reality Gap Analyst)
|
|
107
|
+
Phase 4: 1 session (single agent — Devil's Advocate)
|
|
108
|
+
Phase 5: 1 session (single agent — Principal Engineer)
|
|
109
|
+
|
|
110
|
+
Total estimated remaining: [N]-[M] sessions
|
|
111
|
+
|
|
112
|
+
────────────────────────────────────────
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Note: Session estimates are based on phase agent counts. Actual sessions may vary based on context budget and agent complexity. Only show remaining estimates for phases with status "pending" — omit completed and active phases from the estimate. Read Sessions count from .radar/STATE.md Session Tracking section (default to "-" if section missing).
|
|
116
|
+
|
|
117
|
+
## Step 4: Suggest Next Action
|
|
118
|
+
|
|
119
|
+
Based on the current state, suggest exactly one next action:
|
|
120
|
+
|
|
121
|
+
| State | Suggestion |
|
|
122
|
+
|-------|------------|
|
|
123
|
+
| All phases complete, no report | "Run /radar:report to generate the final audit report." |
|
|
124
|
+
| All phases complete, report exists | "Core audit complete. Run /radar:transform to start the remediation pipeline." |
|
|
125
|
+
| A phase is active (in progress) | "Resume with /radar:resume to continue Phase [N]." |
|
|
126
|
+
| A phase is pending (next in sequence) | "Resume with /radar:resume to start Phase [N]." |
|
|
127
|
+
| Audit paused | "Resume with /radar:resume to continue from [last action]." |
|
|
128
|
+
|
|
129
|
+
```
|
|
130
|
+
────────────────────────────────────────
|
|
131
|
+
NEXT ACTION
|
|
132
|
+
────────────────────────────────────────
|
|
133
|
+
|
|
134
|
+
▶ [suggested command and description]
|
|
135
|
+
|
|
136
|
+
════════════════════════════════════════
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
</process>
|
|
140
|
+
|
|
141
|
+
<success_criteria>
|
|
142
|
+
- [ ] .radar/STATE.md read successfully
|
|
143
|
+
- [ ] Phase progress displayed with accurate counts
|
|
144
|
+
- [ ] Finding summary displayed with severity breakdown
|
|
145
|
+
- [ ] Disagreement status displayed
|
|
146
|
+
- [ ] Exactly one next action suggested based on current state
|
|
147
|
+
- [ ] No state files modified (read-only command)
|
|
148
|
+
</success_criteria>
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: radar:transform
|
|
3
|
+
description: Initiate the full Radar Transform pipeline on a completed audit
|
|
4
|
+
allowed-tools: [Read, Write, Edit, Bash, Glob, Grep, Task, AskUserQuestion]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
<objective>
|
|
8
|
+
Initiates the full Radar Transform pipeline (Phases 6-8) on a completed Core audit. Guides the user through scope selection, displays intervention level distribution and confidence information, and requires explicit confirmation before producing any Transform output.
|
|
9
|
+
|
|
10
|
+
This is the master entry point for all Transform operations. For targeted operations, use /radar:remediate, /radar:playbook, or /radar:guardrails instead.
|
|
11
|
+
|
|
12
|
+
Produces: Layer B remediation knowledge (playbooks, patterns, guardrails) and Layer C execution plans (change graph, risk scores, Drive project).
|
|
13
|
+
</objective>
|
|
14
|
+
|
|
15
|
+
<execution_context>
|
|
16
|
+
@~/.claude/radar/transform/workflows/phase-6-remediation.md
|
|
17
|
+
@~/.claude/radar/transform/workflows/phase-7-risk-validation.md
|
|
18
|
+
@~/.claude/radar/transform/workflows/phase-8-execution-planning.md
|
|
19
|
+
@~/.claude/radar/transform/workflows/transform-safety.md
|
|
20
|
+
</execution_context>
|
|
21
|
+
|
|
22
|
+
<context>
|
|
23
|
+
@.radar/STATE.md
|
|
24
|
+
@.radar/report/
|
|
25
|
+
@.radar/findings/
|
|
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 .radar/ does not exist:
|
|
35
|
+
```
|
|
36
|
+
════════════════════════════════════════
|
|
37
|
+
NO ACTIVE AUDIT
|
|
38
|
+
════════════════════════════════════════
|
|
39
|
+
|
|
40
|
+
No .radar/ directory found. A completed Core audit is required
|
|
41
|
+
before Transform can run.
|
|
42
|
+
|
|
43
|
+
[1] Start new audit → runs /radar:audit
|
|
44
|
+
[2] Cancel
|
|
45
|
+
════════════════════════════════════════
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
- If .radar/ exists but .radar/report/ is missing or incomplete:
|
|
49
|
+
```
|
|
50
|
+
════════════════════════════════════════
|
|
51
|
+
CORE AUDIT INCOMPLETE
|
|
52
|
+
════════════════════════════════════════
|
|
53
|
+
|
|
54
|
+
Transform requires a completed Layer A record (all Core phases 0-5).
|
|
55
|
+
|
|
56
|
+
Current progress:
|
|
57
|
+
Phase 0 (Context): [status]
|
|
58
|
+
Phase 1 (Signals): [status]
|
|
59
|
+
Phase 2 (Domain Audits): [status]
|
|
60
|
+
Phase 3 (Cross-Domain): [status]
|
|
61
|
+
Phase 4 (Adversarial Review): [status]
|
|
62
|
+
Phase 5 (Report): [status]
|
|
63
|
+
|
|
64
|
+
[1] Resume audit to complete remaining phases → runs /radar:resume
|
|
65
|
+
[2] Cancel
|
|
66
|
+
════════════════════════════════════════
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
- If Layer A complete: proceed to Step 2
|
|
70
|
+
|
|
71
|
+
## Step 2: Analyze Transform Scope
|
|
72
|
+
|
|
73
|
+
Read all findings from .radar/findings/ and compute:
|
|
74
|
+
- Total finding count across all domains
|
|
75
|
+
- Finding distribution by severity (critical/high/medium/low/info)
|
|
76
|
+
- Confidence distribution across findings
|
|
77
|
+
- Estimated playbook count
|
|
78
|
+
- Maximum intervention level available (based on confidence distribution)
|
|
79
|
+
|
|
80
|
+
Display:
|
|
81
|
+
```
|
|
82
|
+
════════════════════════════════════════
|
|
83
|
+
Radar TRANSFORM — PIPELINE OVERVIEW
|
|
84
|
+
════════════════════════════════════════
|
|
85
|
+
|
|
86
|
+
Core Audit: Complete
|
|
87
|
+
Findings: [N] across [M] domains
|
|
88
|
+
|
|
89
|
+
Severity distribution:
|
|
90
|
+
Critical: [N] High: [N] Medium: [N] Low: [N] Info: [N]
|
|
91
|
+
|
|
92
|
+
Confidence distribution:
|
|
93
|
+
High (4-5): [N] findings
|
|
94
|
+
Medium (3): [N] findings
|
|
95
|
+
Low (1-2): [N] findings
|
|
96
|
+
|
|
97
|
+
Estimated playbook count: ~[N]
|
|
98
|
+
Maximum intervention level: [Suggesting / Planning / Authorizing]
|
|
99
|
+
════════════════════════════════════════
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## Step 3: Select Transform Scope
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
════════════════════════════════════════
|
|
106
|
+
TRANSFORM SCOPE
|
|
107
|
+
════════════════════════════════════════
|
|
108
|
+
|
|
109
|
+
[1] Full Transform — all findings, all phases (6-8) (recommended)
|
|
110
|
+
[2] Selective — choose specific domains or severity levels
|
|
111
|
+
[3] Playbooks only — Phase 6 only (remediation knowledge, no risk scoring or execution planning)
|
|
112
|
+
[4] Cancel
|
|
113
|
+
════════════════════════════════════════
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
If [2] (Selective) selected, present filter options:
|
|
117
|
+
```
|
|
118
|
+
Filter by:
|
|
119
|
+
|
|
120
|
+
[1] Domain — select specific domains to remediate
|
|
121
|
+
[2] Severity — minimum severity threshold (e.g., high and above)
|
|
122
|
+
[3] Back
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
If domain filter: present domain checklist with finding counts per domain.
|
|
126
|
+
If severity filter: present threshold selector (critical only / high+ / medium+ / all).
|
|
127
|
+
|
|
128
|
+
## Step 4: Safety Confirmation
|
|
129
|
+
|
|
130
|
+
Display intervention level information and require explicit confirmation:
|
|
131
|
+
```
|
|
132
|
+
════════════════════════════════════════
|
|
133
|
+
SAFETY REVIEW
|
|
134
|
+
════════════════════════════════════════
|
|
135
|
+
|
|
136
|
+
Transform will produce remediation at these intervention levels:
|
|
137
|
+
|
|
138
|
+
Suggesting: [N] findings — advisory only, no changes proposed
|
|
139
|
+
Planning: [N] findings — specific changes proposed, human review required
|
|
140
|
+
Authorizing: [N] findings — changes ready for execution with approval
|
|
141
|
+
|
|
142
|
+
Confidence summary:
|
|
143
|
+
[N] findings have high confidence (reliable remediation)
|
|
144
|
+
[N] findings have medium confidence (review recommended)
|
|
145
|
+
[N] findings have low confidence (will be capped at Suggesting level)
|
|
146
|
+
|
|
147
|
+
IMPORTANT: Radar Transform produces plans only. No changes will
|
|
148
|
+
be applied to your codebase without explicit execution through Drive.
|
|
149
|
+
|
|
150
|
+
[1] Confirm — proceed with Transform (recommended)
|
|
151
|
+
[2] Modify scope
|
|
152
|
+
[3] Cancel
|
|
153
|
+
════════════════════════════════════════
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
If [1]: proceed to Step 5
|
|
157
|
+
If [2]: return to Step 3
|
|
158
|
+
If [3]: exit
|
|
159
|
+
|
|
160
|
+
## Step 5: Execute Transform Pipeline
|
|
161
|
+
|
|
162
|
+
1. Update .radar/STATE.md with Transform initiation
|
|
163
|
+
2. Delegate to phase-6-remediation workflow (Layer B: playbooks + patterns)
|
|
164
|
+
3. After Phase 6 completes:
|
|
165
|
+
- If scope includes Phases 7-8: delegate to phase-7-risk-validation workflow
|
|
166
|
+
- If playbooks-only scope: skip to Step 6
|
|
167
|
+
4. After Phase 7 completes: delegate to phase-8-execution-planning workflow (Layer C)
|
|
168
|
+
5. Transform safety workflow is invoked automatically by each phase workflow at safety checkpoints
|
|
169
|
+
|
|
170
|
+
## Step 6: Transform Complete
|
|
171
|
+
|
|
172
|
+
```
|
|
173
|
+
════════════════════════════════════════
|
|
174
|
+
TRANSFORM COMPLETE
|
|
175
|
+
════════════════════════════════════════
|
|
176
|
+
|
|
177
|
+
Layer B — Remediation Knowledge:
|
|
178
|
+
Playbooks: [N] in .radar/remediation/playbooks/
|
|
179
|
+
Patterns: [N] in .radar/remediation/patterns/
|
|
180
|
+
Guardrails: .radar/remediation/guardrails/
|
|
181
|
+
|
|
182
|
+
Layer C — Execution Planning:
|
|
183
|
+
Change graph: .radar/execution/change-graph.yaml
|
|
184
|
+
Risk scores: .radar/execution/risk-scores.yaml
|
|
185
|
+
Drive project: .radar/execution/drive-project/
|
|
186
|
+
|
|
187
|
+
Next steps:
|
|
188
|
+
- Review playbooks in .radar/remediation/playbooks/
|
|
189
|
+
- Review guardrails in .radar/remediation/guardrails/
|
|
190
|
+
- Execute remediation via Drive using .radar/execution/drive-project/
|
|
191
|
+
|
|
192
|
+
════════════════════════════════════════
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
</process>
|
|
196
|
+
|
|
197
|
+
<success_criteria>
|
|
198
|
+
- [ ] Layer A prerequisite validated (Core audit complete)
|
|
199
|
+
- [ ] Transform scope selected and confirmed by user
|
|
200
|
+
- [ ] Intervention levels and confidence displayed before any output
|
|
201
|
+
- [ ] Explicit user confirmation obtained before Transform proceeds
|
|
202
|
+
- [ ] Transform workflows delegated to in correct sequence (6 → 7 → 8)
|
|
203
|
+
- [ ] Transform output locations clearly communicated
|
|
204
|
+
- [ ] Cancellation available at every decision point
|
|
205
|
+
</success_criteria>
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: radar:validate
|
|
3
|
+
description: Test Radar tool installation and framework integrity
|
|
4
|
+
allowed-tools: [Read, Bash, Glob, Grep]
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
<objective>
|
|
8
|
+
Tests the Radar installation by verifying framework files, slash commands, and each OSS analysis tool. Reports pass/fail per component with troubleshooting guidance for any failures.
|
|
9
|
+
|
|
10
|
+
This is a read-only command — it never modifies files or installs anything. Safe to run anytime.
|
|
11
|
+
</objective>
|
|
12
|
+
|
|
13
|
+
<execution_context>
|
|
14
|
+
<!-- Read-only command: no workflow delegation required -->
|
|
15
|
+
</execution_context>
|
|
16
|
+
|
|
17
|
+
<context>
|
|
18
|
+
@.radar/STATE.md
|
|
19
|
+
</context>
|
|
20
|
+
|
|
21
|
+
<process>
|
|
22
|
+
|
|
23
|
+
## Step 1: Check Framework Installation
|
|
24
|
+
|
|
25
|
+
Verify the Radar framework is installed:
|
|
26
|
+
|
|
27
|
+
1. Check `~/.claude/radar/` exists:
|
|
28
|
+
- If YES: count files in key subdirectories (domains/, schemas/, rules/, tools/, core/, transform/)
|
|
29
|
+
- If NO: report "Framework not installed" and suggest `install.sh`
|
|
30
|
+
|
|
31
|
+
2. Check `~/.claude/commands/radar/` exists:
|
|
32
|
+
- If YES: list command files, count them
|
|
33
|
+
- If NO: report "Commands not installed" and suggest `install.sh`
|
|
34
|
+
|
|
35
|
+
Record results for summary.
|
|
36
|
+
|
|
37
|
+
## Step 2: Test Each OSS Tool
|
|
38
|
+
|
|
39
|
+
For each tool, run the appropriate version/detection command. Handle multiple installation methods (PATH, venv, Docker).
|
|
40
|
+
|
|
41
|
+
**Tool checks in order:**
|
|
42
|
+
|
|
43
|
+
### Semgrep
|
|
44
|
+
```bash
|
|
45
|
+
# Try PATH first
|
|
46
|
+
semgrep --version 2>/dev/null
|
|
47
|
+
# Fallback: check venv
|
|
48
|
+
~/.local/share/radar/venvs/semgrep/bin/semgrep --version 2>/dev/null
|
|
49
|
+
```
|
|
50
|
+
- Pass: report version number and location (PATH or venv)
|
|
51
|
+
- Fail: "Semgrep not found. Re-run install.sh or: python3 -m venv ~/.local/share/radar/venvs/semgrep && ~/.local/share/radar/venvs/semgrep/bin/pip install semgrep"
|
|
52
|
+
|
|
53
|
+
### Trivy
|
|
54
|
+
```bash
|
|
55
|
+
trivy --version 2>/dev/null
|
|
56
|
+
```
|
|
57
|
+
- Pass: report version
|
|
58
|
+
- Fail: "Trivy not found. Re-run install.sh or visit https://aquasecurity.github.io/trivy"
|
|
59
|
+
|
|
60
|
+
### SonarQube
|
|
61
|
+
```bash
|
|
62
|
+
# Check 1: Native scanner CLI
|
|
63
|
+
sonar-scanner --version 2>/dev/null
|
|
64
|
+
|
|
65
|
+
# Check 2: Docker scanner image
|
|
66
|
+
docker image inspect sonarsource/sonar-scanner-cli >/dev/null 2>&1
|
|
67
|
+
|
|
68
|
+
# Check 3: Docker server container
|
|
69
|
+
docker ps --filter "ancestor=sonarqube:community" --format "{{.Names}}" 2>/dev/null
|
|
70
|
+
|
|
71
|
+
# Check 4: Localhost server
|
|
72
|
+
curl -s -o /dev/null -w "%{http_code}" http://localhost:9000/api/system/status 2>/dev/null
|
|
73
|
+
```
|
|
74
|
+
- Pass if ANY check succeeds: report which mode detected (native CLI / Docker scanner / Docker server / localhost)
|
|
75
|
+
- Fail: "SonarQube not detected. Options: Docker (docker pull sonarqube:community) or SonarQube Cloud (sonarcloud.io). Re-run install.sh for guided setup."
|
|
76
|
+
|
|
77
|
+
### Gitleaks
|
|
78
|
+
```bash
|
|
79
|
+
gitleaks version 2>/dev/null
|
|
80
|
+
```
|
|
81
|
+
- Pass: report version
|
|
82
|
+
- Fail: "Gitleaks not found. Re-run install.sh or visit https://github.com/gitleaks/gitleaks"
|
|
83
|
+
|
|
84
|
+
### Checkov
|
|
85
|
+
```bash
|
|
86
|
+
# Try PATH first
|
|
87
|
+
checkov --version 2>/dev/null
|
|
88
|
+
# Fallback: check venv
|
|
89
|
+
~/.local/share/radar/venvs/checkov/bin/checkov --version 2>/dev/null
|
|
90
|
+
```
|
|
91
|
+
- Pass: report version and location
|
|
92
|
+
- Fail: "Checkov not found. Re-run install.sh or: python3 -m venv ~/.local/share/radar/venvs/checkov && ~/.local/share/radar/venvs/checkov/bin/pip install checkov"
|
|
93
|
+
|
|
94
|
+
### Syft
|
|
95
|
+
```bash
|
|
96
|
+
syft version 2>/dev/null
|
|
97
|
+
```
|
|
98
|
+
- Pass: report version
|
|
99
|
+
- Fail: "Syft not found. Re-run install.sh or: curl -sSfL https://raw.githubusercontent.com/anchore/syft/main/install.sh | sh -s -- -b ~/.local/bin"
|
|
100
|
+
|
|
101
|
+
### Grype
|
|
102
|
+
```bash
|
|
103
|
+
grype version 2>/dev/null
|
|
104
|
+
```
|
|
105
|
+
- Pass: report version
|
|
106
|
+
- Fail: "Grype not found. Re-run install.sh or: curl -sSfL https://raw.githubusercontent.com/anchore/grype/main/install.sh | sh -s -- -b ~/.local/bin"
|
|
107
|
+
|
|
108
|
+
### Git (built-in)
|
|
109
|
+
```bash
|
|
110
|
+
git --version 2>/dev/null
|
|
111
|
+
```
|
|
112
|
+
- Pass: report version (should always pass)
|
|
113
|
+
- Fail: "Git not found — this is unexpected. Install git for your platform."
|
|
114
|
+
|
|
115
|
+
## Step 3: Check Project State (if applicable)
|
|
116
|
+
|
|
117
|
+
If `.radar/STATE.md` exists in the current directory:
|
|
118
|
+
1. Read STATE.md
|
|
119
|
+
2. Report project status:
|
|
120
|
+
```
|
|
121
|
+
Project: {repo-name}
|
|
122
|
+
Status: {overall status}
|
|
123
|
+
Phase: {current phase}
|
|
124
|
+
```
|
|
125
|
+
3. Note which tools the project's audit is configured to use (if audit has started)
|
|
126
|
+
|
|
127
|
+
If no `.radar/`: skip this section silently.
|
|
128
|
+
|
|
129
|
+
## Step 4: Display Validation Report
|
|
130
|
+
|
|
131
|
+
```
|
|
132
|
+
════════════════════════════════════════
|
|
133
|
+
Radar Validation Report
|
|
134
|
+
════════════════════════════════════════
|
|
135
|
+
|
|
136
|
+
Framework:
|
|
137
|
+
{✓/✗} ~/.claude/radar/ ({N} files)
|
|
138
|
+
{✓/✗} ~/.claude/commands/radar/ ({M} commands)
|
|
139
|
+
|
|
140
|
+
Tools:
|
|
141
|
+
{✓/✗} semgrep {version} {(venv) if applicable}
|
|
142
|
+
{✓/✗} trivy {version}
|
|
143
|
+
{✓/✗} sonarqube {mode: native/docker/localhost}
|
|
144
|
+
{✓/✗} gitleaks {version}
|
|
145
|
+
{✓/✗} checkov {version} {(venv) if applicable}
|
|
146
|
+
{✓/✗} syft {version}
|
|
147
|
+
{✓/✗} grype {version}
|
|
148
|
+
{✓/✗} git {version} (built-in)
|
|
149
|
+
|
|
150
|
+
Result: {pass_count}/{total} tools available
|
|
151
|
+
|
|
152
|
+
{If any failures:}
|
|
153
|
+
────────────────────────────────────────
|
|
154
|
+
Troubleshooting:
|
|
155
|
+
|
|
156
|
+
{tool}: {specific fix instruction}
|
|
157
|
+
{tool}: {specific fix instruction}
|
|
158
|
+
|
|
159
|
+
General: Re-run install.sh to fix most issues.
|
|
160
|
+
────────────────────────────────────────
|
|
161
|
+
|
|
162
|
+
{If .radar/ exists:}
|
|
163
|
+
Project: {repo-name} — {status}
|
|
164
|
+
|
|
165
|
+
════════════════════════════════════════
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
</process>
|
|
169
|
+
|
|
170
|
+
<success_criteria>
|
|
171
|
+
- [ ] Framework installation verified (files + commands)
|
|
172
|
+
- [ ] All 7 OSS tools + git tested with version commands
|
|
173
|
+
- [ ] Venv-installed tools checked at both PATH and venv locations
|
|
174
|
+
- [ ] Docker-based SonarQube detected via image/container/localhost
|
|
175
|
+
- [ ] Clear pass/fail per tool with troubleshooting for failures
|
|
176
|
+
- [ ] Project state shown if .radar/ exists
|
|
177
|
+
</success_criteria>
|