@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,185 @@
|
|
|
1
|
+
# Vector Installation Guide
|
|
2
|
+
|
|
3
|
+
## Quick Install (Recommended)
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npx vector-core
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
The installer will:
|
|
10
|
+
1. Prompt for install location (global or local)
|
|
11
|
+
2. Copy the v2 hook and wire it into settings.json
|
|
12
|
+
3. Create `.vector/vector.json` with starter domains
|
|
13
|
+
4. Install the MCP server to `.vector/vector-mcp/`
|
|
14
|
+
5. Wire the MCP server into settings.json
|
|
15
|
+
6. Optionally add the Vector integration block to CLAUDE.md
|
|
16
|
+
|
|
17
|
+
### Non-interactive Install
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npx vector-core --global # Install to ~/.claude and ~/.accel/vector
|
|
21
|
+
npx vector-core --local # Install to ./.claude and ./.vector
|
|
22
|
+
npx vector-core --skip-claude-md # Don't modify CLAUDE.md
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
### Staying Updated
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
npx vector-core@latest
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## Prerequisites
|
|
34
|
+
|
|
35
|
+
- Claude Code CLI installed
|
|
36
|
+
- Python 3.9+ (for the hook script — stdlib only, no pip deps)
|
|
37
|
+
- Node.js 16.7+ (for npx and MCP server)
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## Manual Installation
|
|
42
|
+
|
|
43
|
+
If you prefer manual setup or npx isn't available:
|
|
44
|
+
|
|
45
|
+
### Step 1: Clone the Repository
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
git clone https://github.com/accelerationguy/accelerate.git
|
|
49
|
+
cd accelerate/modules/vector
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Step 2: Copy Hook Script
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
mkdir -p ~/.claude/hooks
|
|
56
|
+
cp hooks/vector-hook.py ~/.claude/hooks/vector-hook.py
|
|
57
|
+
chmod +x ~/.claude/hooks/vector-hook.py
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Step 3: Create Vector Config
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
mkdir -p ~/.accel
|
|
64
|
+
cp -r .vector-template ~/.accel/vector
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
This creates `~/.accel/vector/vector.json` with starter GLOBAL and DEVELOPMENT domains.
|
|
68
|
+
|
|
69
|
+
### Step 4: Install MCP Server
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
cp -r mcp ~/.accel/vector/vector-mcp
|
|
73
|
+
cd ~/.accel/vector/vector-mcp && npm install
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Step 5: Configure Hook in settings.json
|
|
77
|
+
|
|
78
|
+
Edit `~/.claude/settings.json` (create if it doesn't exist):
|
|
79
|
+
|
|
80
|
+
```json
|
|
81
|
+
{
|
|
82
|
+
"hooks": {
|
|
83
|
+
"UserPromptSubmit": [
|
|
84
|
+
{
|
|
85
|
+
"hooks": [
|
|
86
|
+
{
|
|
87
|
+
"type": "command",
|
|
88
|
+
"command": "python3 /home/YOUR_USERNAME/.claude/hooks/vector-hook.py"
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### Step 6: Configure MCP in .mcp.json
|
|
98
|
+
|
|
99
|
+
Create `~/.mcp.json` (or `.mcp.json` in your project root for local):
|
|
100
|
+
|
|
101
|
+
```json
|
|
102
|
+
{
|
|
103
|
+
"mcpServers": {
|
|
104
|
+
"vector-mcp": {
|
|
105
|
+
"command": "node",
|
|
106
|
+
"args": ["/home/YOUR_USERNAME/.accel/vector/vector-mcp/index.js"],
|
|
107
|
+
"type": "stdio"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
**Replace `/home/YOUR_USERNAME` with your actual home directory path.**
|
|
114
|
+
|
|
115
|
+
### Step 6: Add Vector Block to CLAUDE.md (Optional)
|
|
116
|
+
|
|
117
|
+
Add this near the top of your CLAUDE.md:
|
|
118
|
+
|
|
119
|
+
```markdown
|
|
120
|
+
<!-- Vector-MANAGED: Do not remove this section -->
|
|
121
|
+
## Vector Integration
|
|
122
|
+
|
|
123
|
+
Follow all rules in <vector-rules> blocks from system-reminders.
|
|
124
|
+
These are dynamically injected based on context and MUST be obeyed.
|
|
125
|
+
<!-- END Vector-MANAGED -->
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## Upgrading from v1
|
|
131
|
+
|
|
132
|
+
If you have an existing v1 setup (flat files: manifest, domain files, context, commands):
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
# Preview what will be migrated
|
|
136
|
+
npx vector-core # Install v2 first
|
|
137
|
+
bash node_modules/vector-core/bin/migrate-v1-to-v2.sh --dry-run ~/.accel/vector
|
|
138
|
+
|
|
139
|
+
# Run migration (archives old files, generates vector.json)
|
|
140
|
+
bash node_modules/vector-core/bin/migrate-v1-to-v2.sh ~/.accel/vector
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
The migration tool is non-destructive — old files are archived to `.vector/_v1-archive/`.
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## Verify Installation
|
|
148
|
+
|
|
149
|
+
All of these should exist:
|
|
150
|
+
|
|
151
|
+
```
|
|
152
|
+
~/.claude/hooks/vector-hook.py # v2 hook
|
|
153
|
+
~/.claude/settings.json # Hook configured
|
|
154
|
+
~/.mcp.json # MCP configured
|
|
155
|
+
~/.accel/vector/vector.json # Domain rules and config
|
|
156
|
+
~/.accel/vector/vector-mcp/index.js # MCP server
|
|
157
|
+
~/.accel/vector/vector-mcp/node_modules/ # MCP dependencies
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
## Usage
|
|
163
|
+
|
|
164
|
+
**Restart Claude Code** after installation.
|
|
165
|
+
|
|
166
|
+
Vector activates automatically. Your rules inject based on prompt keywords. Use MCP tools (`vector_v2_*`) to manage domains and rules at runtime.
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
## Troubleshooting
|
|
171
|
+
|
|
172
|
+
**Rules not appearing?**
|
|
173
|
+
- Check domain has `"state": "active"` in `vector.json`
|
|
174
|
+
- Verify recall keywords match your prompt
|
|
175
|
+
- Ensure hook path in settings.json is absolute
|
|
176
|
+
- Set `"devmode": true` in vector.json config for debug output
|
|
177
|
+
|
|
178
|
+
**Hook errors?**
|
|
179
|
+
- Ensure Python 3.9+ is installed and in PATH
|
|
180
|
+
- Check file permissions: `chmod +x ~/.claude/hooks/vector-hook.py`
|
|
181
|
+
|
|
182
|
+
**MCP not connecting?**
|
|
183
|
+
- Verify `~/.accel/vector/vector-mcp/node_modules/` exists (run `npm install` if not)
|
|
184
|
+
- Check MCP entry in settings.json points to correct absolute path
|
|
185
|
+
- Restart Claude Code after configuration changes
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Yogi Gnanavel
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
|
|
3
|
+
# Vector
|
|
4
|
+
|
|
5
|
+
**Context Augmentation & Reinforcement Layer** — Dynamic rules for Claude Code.
|
|
6
|
+
|
|
7
|
+
[](https://www.npmjs.com/package/vector-core)
|
|
8
|
+
[](LICENSE)
|
|
9
|
+
[](https://github.com/accelerationguy/vector)
|
|
10
|
+
|
|
11
|
+
<br>
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npx vector-core
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
**Works on Mac, Windows, and Linux.**
|
|
18
|
+
|
|
19
|
+
<br>
|
|
20
|
+
|
|
21
|
+

|
|
22
|
+
|
|
23
|
+
<br>
|
|
24
|
+
|
|
25
|
+
*"Rules that load when relevant, disappear when not."*
|
|
26
|
+
|
|
27
|
+
<br>
|
|
28
|
+
|
|
29
|
+
[Why Vector](#why-vector) · [Getting Started](#getting-started) · [How It Works](#how-it-works) · [Core Concepts](#core-concepts) · [MCP Tools](#mcp-tools) · [Migration](#upgrading-from-v1)
|
|
30
|
+
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## Why Vector
|
|
36
|
+
|
|
37
|
+
Every Claude Code session starts fresh. Your preferences, workflows, and hard-won lessons? Gone. You end up repeating the same instructions:
|
|
38
|
+
|
|
39
|
+
> "Use TypeScript strict mode."
|
|
40
|
+
> "Don't over-engineer."
|
|
41
|
+
> "Run tests after changes."
|
|
42
|
+
|
|
43
|
+
Static prompts in CLAUDE.md work, but they bloat every session — even when irrelevant. Writing code? You don't need your content creation rules. Debugging? You don't need your planning workflow.
|
|
44
|
+
|
|
45
|
+
Vector fixes this with **just-in-time rule injection**:
|
|
46
|
+
|
|
47
|
+
1. **Rules load when relevant** — Mention "fix bug" and your development preferences appear
|
|
48
|
+
2. **Rules disappear when not** — Your context stays lean
|
|
49
|
+
3. **Explicit triggers available** — Star-commands (`*commandname`) for on-demand modes
|
|
50
|
+
|
|
51
|
+
The result: Claude remembers how you work without wasting context on rules you don't need right now.
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## Who This Is For
|
|
56
|
+
|
|
57
|
+
**Claude Code users** who want persistent preferences without bloated prompts.
|
|
58
|
+
|
|
59
|
+
You've figured out what works for you — coding style, response format, workflow patterns. Vector makes those preferences stick:
|
|
60
|
+
|
|
61
|
+
- Define rules once, use them forever
|
|
62
|
+
- Rules activate automatically based on context
|
|
63
|
+
- Override or extend per-project as needed
|
|
64
|
+
- No manual prompt engineering each session
|
|
65
|
+
|
|
66
|
+
If you find yourself repeating instructions to Claude, Vector is for you.
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## Getting Started
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
npx vector-core
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
The installer prompts you to choose:
|
|
77
|
+
1. **Global** (recommended) — Rules apply to all Claude Code projects (`~/.claude` + `~/.accel/vector`)
|
|
78
|
+
2. **Local** — Rules apply to current project only (`./.claude` + `./.vector`)
|
|
79
|
+
|
|
80
|
+
**Restart Claude Code after installation.**
|
|
81
|
+
|
|
82
|
+
### What Gets Installed
|
|
83
|
+
|
|
84
|
+
```
|
|
85
|
+
~/.accel/vector/
|
|
86
|
+
├── vector.json # All domains, rules, decisions, config
|
|
87
|
+
├── sessions/ # Session state (auto-managed)
|
|
88
|
+
└── vector-mcp/ # MCP server for runtime management
|
|
89
|
+
├── index.js
|
|
90
|
+
├── package.json
|
|
91
|
+
└── tools/
|
|
92
|
+
├── vector-json.js # Domain/rule/decision/config CRUD
|
|
93
|
+
├── decisions.js # Decision logging (v1 compat)
|
|
94
|
+
├── domains.js # Domain management (v1 compat)
|
|
95
|
+
└── staging.js # Rule proposal pipeline
|
|
96
|
+
|
|
97
|
+
~/.claude/
|
|
98
|
+
├── hooks/vector-hook.py # The injection engine
|
|
99
|
+
└── settings.json # Hook registration
|
|
100
|
+
|
|
101
|
+
~/.mcp.json # MCP server registration
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
### Staying Updated
|
|
105
|
+
|
|
106
|
+
```bash
|
|
107
|
+
npx vector-core@latest
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## How It Works
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
You type: "help me fix this bug"
|
|
116
|
+
│
|
|
117
|
+
▼
|
|
118
|
+
┌───────────────────────┐
|
|
119
|
+
│ Vector Hook Scans │
|
|
120
|
+
│ Your Prompt │
|
|
121
|
+
└───────────────────────┘
|
|
122
|
+
│
|
|
123
|
+
▼
|
|
124
|
+
┌───────────────────────┐
|
|
125
|
+
│ Matches "fix bug" │
|
|
126
|
+
│ → DEVELOPMENT domain │
|
|
127
|
+
└───────────────────────┘
|
|
128
|
+
│
|
|
129
|
+
▼
|
|
130
|
+
┌───────────────────────┐
|
|
131
|
+
│ Injects Your Rules │
|
|
132
|
+
│ Into Context │
|
|
133
|
+
└───────────────────────┘
|
|
134
|
+
│
|
|
135
|
+
▼
|
|
136
|
+
Claude responds with your
|
|
137
|
+
coding preferences baked in
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
The hook runs on every interaction, reads your `.vector/vector.json`, and injects only the rules that match your current task.
|
|
141
|
+
|
|
142
|
+
### Architecture (v2)
|
|
143
|
+
|
|
144
|
+
Everything lives in a single `vector.json` file:
|
|
145
|
+
|
|
146
|
+
```json
|
|
147
|
+
{
|
|
148
|
+
"version": 1,
|
|
149
|
+
"config": {
|
|
150
|
+
"devmode": false,
|
|
151
|
+
"context_brackets": { "FRESH": {...}, "MODERATE": {...}, "DEPLETED": {...} },
|
|
152
|
+
"commands": { "BRIEF": [...], "DISCUSS": [...] }
|
|
153
|
+
},
|
|
154
|
+
"domains": {
|
|
155
|
+
"GLOBAL": { "state": "active", "always_on": true, "rules": [...], "decisions": [...] },
|
|
156
|
+
"DEVELOPMENT": { "state": "active", "recall": ["fix bug", "write code"], "rules": [...] }
|
|
157
|
+
},
|
|
158
|
+
"staging": []
|
|
159
|
+
}
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
**Key design decisions:**
|
|
163
|
+
- **Single source of truth** — No scattered files. One JSON file holds everything.
|
|
164
|
+
- **MCP for runtime management** — Add rules, log decisions, toggle domains without editing files.
|
|
165
|
+
- **Scope merging** — Project `.vector/` extends global `~/.accel/vector/`. More-specific overrides less-specific.
|
|
166
|
+
- **Context dedup** — Repeated prompts don't re-inject identical rules, saving tokens.
|
|
167
|
+
- **Session management** — Per-session overrides without modifying permanent config.
|
|
168
|
+
|
|
169
|
+
---
|
|
170
|
+
|
|
171
|
+
## Core Concepts
|
|
172
|
+
|
|
173
|
+
### Domains
|
|
174
|
+
|
|
175
|
+
A domain is a collection of related rules. Create domains for different contexts:
|
|
176
|
+
|
|
177
|
+
| Example Domain | Trigger Keywords | What It Does |
|
|
178
|
+
|----------------|------------------|--------------|
|
|
179
|
+
| GLOBAL | (always loaded) | Universal preferences |
|
|
180
|
+
| DEVELOPMENT | "fix bug", "write code" | Your coding preferences |
|
|
181
|
+
| CONTENT | "write script", "youtube" | Your content creation style |
|
|
182
|
+
| CLIENTS | "client project", "deliverable" | Project-specific rules |
|
|
183
|
+
|
|
184
|
+
When your prompt matches a domain's recall keywords, its rules load automatically.
|
|
185
|
+
|
|
186
|
+
### Star-Commands
|
|
187
|
+
|
|
188
|
+
Explicit triggers using `*commandname` syntax:
|
|
189
|
+
|
|
190
|
+
```
|
|
191
|
+
*brief explain recursion
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
Unlike domains (automatic), star-commands are intentional. Define them in `vector.json` under `config.commands`:
|
|
195
|
+
|
|
196
|
+
```json
|
|
197
|
+
"commands": {
|
|
198
|
+
"BRIEF": [
|
|
199
|
+
"Create a concise session report",
|
|
200
|
+
"Include: goals, work completed, decisions, next steps"
|
|
201
|
+
]
|
|
202
|
+
}
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### Context Brackets
|
|
206
|
+
|
|
207
|
+
Rules that adapt based on remaining context window:
|
|
208
|
+
|
|
209
|
+
| Bracket | Remaining | Behavior |
|
|
210
|
+
|---------|-----------|----------|
|
|
211
|
+
| FRESH | 70%+ | Lean injection, trust recent context |
|
|
212
|
+
| MODERATE | 40-70% | Reinforce key context |
|
|
213
|
+
| DEPLETED | 15-40% | Heavy reinforcement, checkpoint progress |
|
|
214
|
+
| CRITICAL | <15% | Suggest compaction |
|
|
215
|
+
|
|
216
|
+
Configured in `vector.json` under `config.context_brackets`.
|
|
217
|
+
|
|
218
|
+
### Decisions
|
|
219
|
+
|
|
220
|
+
Log important decisions alongside rules. Decisions are per-domain and injected with relevant rules:
|
|
221
|
+
|
|
222
|
+
```json
|
|
223
|
+
{
|
|
224
|
+
"id": "dev-001",
|
|
225
|
+
"decision": "Use PostgreSQL over SQLite for all new projects",
|
|
226
|
+
"rationale": "Need concurrent writes and JSON support",
|
|
227
|
+
"date": "2026-03-15",
|
|
228
|
+
"recall": ["database", "postgres", "sqlite"]
|
|
229
|
+
}
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
---
|
|
233
|
+
|
|
234
|
+
## MCP Tools
|
|
235
|
+
|
|
236
|
+
Vector includes an MCP server with tools for runtime management. These are available in Claude Code once installed:
|
|
237
|
+
|
|
238
|
+
### v2 Tools (vector.json)
|
|
239
|
+
|
|
240
|
+
| Tool | Description |
|
|
241
|
+
|------|-------------|
|
|
242
|
+
| `vector_v2_list_domains` | List all domains with rule/decision counts |
|
|
243
|
+
| `vector_v2_get_domain` | Get full domain config and rules |
|
|
244
|
+
| `vector_v2_create_domain` | Create a new domain with recall keywords |
|
|
245
|
+
| `vector_v2_toggle_domain` | Enable/disable a domain |
|
|
246
|
+
| `vector_v2_add_rule` | Add a rule to a domain |
|
|
247
|
+
| `vector_v2_remove_rule` | Remove a rule by ID |
|
|
248
|
+
| `vector_v2_replace_rules` | Bulk-replace all rules in a domain |
|
|
249
|
+
| `vector_v2_log_decision` | Log a decision to a domain |
|
|
250
|
+
| `vector_v2_search_decisions` | Search decisions by keyword |
|
|
251
|
+
| `vector_v2_archive_decision` | Archive a decision |
|
|
252
|
+
| `vector_v2_stage_proposal` | Stage a rule proposal for review |
|
|
253
|
+
| `vector_v2_get_staged` | List pending proposals |
|
|
254
|
+
| `vector_v2_approve_proposal` | Approve a proposal into a domain |
|
|
255
|
+
| `vector_v2_get_config` | Get Vector config |
|
|
256
|
+
| `vector_v2_update_config` | Update config fields |
|
|
257
|
+
|
|
258
|
+
---
|
|
259
|
+
|
|
260
|
+
## Configuration
|
|
261
|
+
|
|
262
|
+
### Global vs Local
|
|
263
|
+
|
|
264
|
+
| Location | Scope | Use Case |
|
|
265
|
+
|----------|-------|----------|
|
|
266
|
+
| `~/.accel/vector/` | All projects | Universal preferences |
|
|
267
|
+
| `./.vector/` | Current project | Project-specific rules |
|
|
268
|
+
|
|
269
|
+
When both exist, project-level domains override global ones. The hook walks up the directory tree, merging scopes from global to local.
|
|
270
|
+
|
|
271
|
+
### Creating a Domain
|
|
272
|
+
|
|
273
|
+
Use the MCP tools (Claude will call these for you):
|
|
274
|
+
|
|
275
|
+
```
|
|
276
|
+
"Create a TESTING domain with recall keywords: run tests, test coverage, write tests"
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
Or edit `vector.json` directly:
|
|
280
|
+
|
|
281
|
+
```json
|
|
282
|
+
"TESTING": {
|
|
283
|
+
"state": "active",
|
|
284
|
+
"always_on": false,
|
|
285
|
+
"recall": ["run tests", "test coverage", "write tests"],
|
|
286
|
+
"exclude": [],
|
|
287
|
+
"rules": [
|
|
288
|
+
{ "id": 0, "text": "Always run the full test suite after changes", "added": "2026-03-23" }
|
|
289
|
+
],
|
|
290
|
+
"decisions": []
|
|
291
|
+
}
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
---
|
|
295
|
+
|
|
296
|
+
## Upgrading from v1
|
|
297
|
+
|
|
298
|
+
If you have an existing v1 setup (flat files: `manifest`, domain files, `context`, `commands`):
|
|
299
|
+
|
|
300
|
+
```bash
|
|
301
|
+
# If installed via npm:
|
|
302
|
+
bash node_modules/vector-core/bin/migrate-v1-to-v2.sh --dry-run ~/.accel/vector
|
|
303
|
+
bash node_modules/vector-core/bin/migrate-v1-to-v2.sh ~/.accel/vector
|
|
304
|
+
|
|
305
|
+
# If cloned from GitHub:
|
|
306
|
+
bash bin/migrate-v1-to-v2.sh --dry-run ~/.accel/vector
|
|
307
|
+
bash bin/migrate-v1-to-v2.sh ~/.accel/vector
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
The migration tool:
|
|
311
|
+
- Parses all v1 files (manifest, domains, context brackets, star commands, decisions)
|
|
312
|
+
- Generates a complete `vector.json`
|
|
313
|
+
- Archives old files to `.vector/_v1-archive/` (non-destructive)
|
|
314
|
+
- Preserves all rules, decisions, and configuration
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
## Vector + Drive
|
|
319
|
+
|
|
320
|
+
Vector has a companion: **[Drive](https://github.com/accelerationguy/drive)** (Plan-Apply-Unify Loop).
|
|
321
|
+
|
|
322
|
+
| Tool | Purpose |
|
|
323
|
+
|------|---------|
|
|
324
|
+
| **Vector** | Dynamic rule injection — how Claude behaves |
|
|
325
|
+
| **Drive** | Structured development workflow — how work flows |
|
|
326
|
+
|
|
327
|
+
They complement each other:
|
|
328
|
+
|
|
329
|
+
- Vector loads Drive rules when you're in a `.drive/` project
|
|
330
|
+
- Drive enforces loop integrity (plan, apply, unify)
|
|
331
|
+
- Vector keeps Drive rules out of context when not needed
|
|
332
|
+
|
|
333
|
+
**Without Vector:** Drive rules would bloat every session.
|
|
334
|
+
**Without Drive:** Complex projects lack structure.
|
|
335
|
+
|
|
336
|
+
Together: lean context + reliable workflow.
|
|
337
|
+
|
|
338
|
+
---
|
|
339
|
+
|
|
340
|
+
## Troubleshooting
|
|
341
|
+
|
|
342
|
+
**Rules not loading?**
|
|
343
|
+
1. Check domain has `"state": "active"` in vector.json
|
|
344
|
+
2. Verify recall keywords match your prompt
|
|
345
|
+
3. Ensure hook is configured in `~/.claude/settings.json`
|
|
346
|
+
|
|
347
|
+
**Too many rules loading?**
|
|
348
|
+
1. Make recall keywords more specific
|
|
349
|
+
2. Use exclude to block unwanted matches
|
|
350
|
+
3. Split broad domains into focused ones
|
|
351
|
+
|
|
352
|
+
**Context dedup active?**
|
|
353
|
+
- Vector skips re-injecting rules when the signature hasn't changed
|
|
354
|
+
- Forces a full re-inject every 5 prompts
|
|
355
|
+
- Override with session config if needed
|
|
356
|
+
|
|
357
|
+
---
|
|
358
|
+
|
|
359
|
+
## Ecosystem
|
|
360
|
+
|
|
361
|
+
Vector is part of a broader Claude Code extension ecosystem:
|
|
362
|
+
|
|
363
|
+
| System | What It Does | Link |
|
|
364
|
+
|--------|-------------|------|
|
|
365
|
+
| **Radar** | Multi-agent codebase auditing — diagnosis + controlled evolution | [GitHub](https://github.com/accelerationguy/accelerate/tree/main/modules/radar) |
|
|
366
|
+
| **Momentum** | Builder's Automated State Engine — workspace lifecycle, health tracking, drift prevention | [GitHub](https://github.com/accelerationguy/accelerate/tree/main/modules/momentum) |
|
|
367
|
+
| **Vector** | Context Augmentation & Reinforcement Layer — dynamic rules loaded JIT by intent | You are here |
|
|
368
|
+
| **Drive** | Project orchestration — Plan, Apply, Unify Loop | [GitHub](https://github.com/accelerationguy/accelerate/tree/main/modules/drive) |
|
|
369
|
+
| **Ignition** | Typed project incubator — guided ideation through graduation into buildable projects | [GitHub](https://github.com/accelerationguy/accelerate/tree/main/modules/ignition) |
|
|
370
|
+
| **Forge** | Skill builder — standardized syntax specs + guided workflows for Claude Code skills | [GitHub](https://github.com/accelerationguy/accelerate/tree/main/modules/forge) |
|
|
371
|
+
| **Accelerate** | Unified monorepo for all modules | [GitHub](https://github.com/accelerationguy/accelerate) |
|
|
372
|
+
|
|
373
|
+
---
|
|
374
|
+
|
|
375
|
+
## Philosophy
|
|
376
|
+
|
|
377
|
+
### Lean Context
|
|
378
|
+
|
|
379
|
+
Static prompts waste tokens on irrelevant rules. Vector loads only what's needed. More room for actual work.
|
|
380
|
+
|
|
381
|
+
### Explicit Over Magic
|
|
382
|
+
|
|
383
|
+
Vector is transparent. See exactly which domains loaded, know why rules activated. No hidden behavior.
|
|
384
|
+
|
|
385
|
+
### Your Rules, Your Way
|
|
386
|
+
|
|
387
|
+
Vector provides structure, not opinions. The default domains are examples — customize or replace them entirely.
|
|
388
|
+
|
|
389
|
+
---
|
|
390
|
+
|
|
391
|
+
## License
|
|
392
|
+
|
|
393
|
+
MIT License. See [LICENSE](LICENSE) for details.
|
|
394
|
+
|
|
395
|
+
---
|
|
396
|
+
|
|
397
|
+
## Author
|
|
398
|
+
|
|
399
|
+
**Yogi Gnanavel** — [Acceleration Guy](https://github.com/accelerationguy)
|
|
400
|
+
|
|
401
|
+
Building tools for AI-assisted development.
|
|
402
|
+
|
|
403
|
+
---
|
|
404
|
+
|
|
405
|
+
<div align="center">
|
|
406
|
+
|
|
407
|
+
**Claude Code is powerful. Vector makes it personal.**
|
|
408
|
+
|
|
409
|
+
</div>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Vector Block for CLAUDE.md
|
|
2
|
+
|
|
3
|
+
This block must be added to your `CLAUDE.md` (or `~/.claude/CLAUDE.md` for global) for Claude to recognize and follow Vector-injected rules.
|
|
4
|
+
|
|
5
|
+
## The Block
|
|
6
|
+
|
|
7
|
+
Add this near the **top** of your CLAUDE.md:
|
|
8
|
+
|
|
9
|
+
```markdown
|
|
10
|
+
<!-- Vector-MANAGED: Do not remove this section -->
|
|
11
|
+
## Vector Integration
|
|
12
|
+
|
|
13
|
+
Follow all rules in <vector-rules> blocks from system-reminders.
|
|
14
|
+
These are dynamically injected based on context and MUST be obeyed.
|
|
15
|
+
<!-- END Vector-MANAGED -->
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
## Why This Is Needed
|
|
19
|
+
|
|
20
|
+
Claude Code reads CLAUDE.md at session start to understand project context. The Vector block tells Claude:
|
|
21
|
+
|
|
22
|
+
1. **Look for `<vector-rules>` blocks** — These appear in system-reminders via the hook
|
|
23
|
+
2. **Treat them as instructions** — Rules inside are behavioral directives, not suggestions
|
|
24
|
+
3. **They're dynamic** — Different rules load based on what you're doing
|
|
25
|
+
|
|
26
|
+
Without this block, Claude may see the injected rules but not understand they're mandatory instructions.
|
|
27
|
+
|
|
28
|
+
## Placement
|
|
29
|
+
|
|
30
|
+
Place the block near the top of your CLAUDE.md, after any critical project identity but before detailed instructions. Example structure:
|
|
31
|
+
|
|
32
|
+
```markdown
|
|
33
|
+
# Project Name
|
|
34
|
+
|
|
35
|
+
Brief description of the project.
|
|
36
|
+
|
|
37
|
+
<!-- Vector-MANAGED: Do not remove this section -->
|
|
38
|
+
## Vector Integration
|
|
39
|
+
|
|
40
|
+
Follow all rules in <vector-rules> blocks from system-reminders.
|
|
41
|
+
These are dynamically injected based on context and MUST be obeyed.
|
|
42
|
+
<!-- END Vector-MANAGED -->
|
|
43
|
+
|
|
44
|
+
## Other Sections
|
|
45
|
+
...
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
## Automatic Installation
|
|
49
|
+
|
|
50
|
+
The `npx vector-core` installer can add this block automatically when you choose that option.
|
|
51
|
+
|
|
52
|
+
## Manual Verification
|
|
53
|
+
|
|
54
|
+
To verify Vector is working:
|
|
55
|
+
1. Start a new Claude Code session
|
|
56
|
+
2. Type a message that should trigger a domain (e.g., mention "fix bug" for DEVELOPMENT)
|
|
57
|
+
3. Look for `<vector-rules>` in the response context or enable devmode in manifest
|