eai-cli 0.0.0-bootstrap.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/LICENSE +183 -0
- package/NOTICE +4 -0
- package/README.md +14 -0
- package/dist/commands/agent.d.ts +3 -0
- package/dist/commands/agent.d.ts.map +1 -0
- package/dist/commands/agent.js +69 -0
- package/dist/commands/agent.js.map +1 -0
- package/dist/commands/blocks.d.ts +3 -0
- package/dist/commands/blocks.d.ts.map +1 -0
- package/dist/commands/blocks.js +249 -0
- package/dist/commands/blocks.js.map +1 -0
- package/dist/commands/chat.d.ts +6 -0
- package/dist/commands/chat.d.ts.map +1 -0
- package/dist/commands/chat.js +105 -0
- package/dist/commands/chat.js.map +1 -0
- package/dist/commands/deploy.d.ts +36 -0
- package/dist/commands/deploy.d.ts.map +1 -0
- package/dist/commands/deploy.js +712 -0
- package/dist/commands/deploy.js.map +1 -0
- package/dist/commands/dev.d.ts +15 -0
- package/dist/commands/dev.d.ts.map +1 -0
- package/dist/commands/dev.js +133 -0
- package/dist/commands/dev.js.map +1 -0
- package/dist/commands/docs.d.ts +6 -0
- package/dist/commands/docs.d.ts.map +1 -0
- package/dist/commands/docs.js +118 -0
- package/dist/commands/docs.js.map +1 -0
- package/dist/commands/env.d.ts +10 -0
- package/dist/commands/env.d.ts.map +1 -0
- package/dist/commands/env.js +200 -0
- package/dist/commands/env.js.map +1 -0
- package/dist/commands/errors.d.ts +3 -0
- package/dist/commands/errors.d.ts.map +1 -0
- package/dist/commands/errors.js +72 -0
- package/dist/commands/errors.js.map +1 -0
- package/dist/commands/gofer.d.ts +3 -0
- package/dist/commands/gofer.d.ts.map +1 -0
- package/dist/commands/gofer.js +134 -0
- package/dist/commands/gofer.js.map +1 -0
- package/dist/commands/init.d.ts +14 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +1437 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/login.d.ts +7 -0
- package/dist/commands/login.d.ts.map +1 -0
- package/dist/commands/login.js +117 -0
- package/dist/commands/login.js.map +1 -0
- package/dist/commands/provision.d.ts +6 -0
- package/dist/commands/provision.d.ts.map +1 -0
- package/dist/commands/provision.js +855 -0
- package/dist/commands/provision.js.map +1 -0
- package/dist/commands/publicapi.d.ts +6 -0
- package/dist/commands/publicapi.d.ts.map +1 -0
- package/dist/commands/publicapi.js +184 -0
- package/dist/commands/publicapi.js.map +1 -0
- package/dist/commands/resources.d.ts +38 -0
- package/dist/commands/resources.d.ts.map +1 -0
- package/dist/commands/resources.js +1010 -0
- package/dist/commands/resources.js.map +1 -0
- package/dist/commands/runtime.d.ts +3 -0
- package/dist/commands/runtime.d.ts.map +1 -0
- package/dist/commands/runtime.js +78 -0
- package/dist/commands/runtime.js.map +1 -0
- package/dist/commands/template.d.ts +3 -0
- package/dist/commands/template.d.ts.map +1 -0
- package/dist/commands/template.js +365 -0
- package/dist/commands/template.js.map +1 -0
- package/dist/commands/tenant.d.ts +45 -0
- package/dist/commands/tenant.d.ts.map +1 -0
- package/dist/commands/tenant.js +1036 -0
- package/dist/commands/tenant.js.map +1 -0
- package/dist/commands/types.d.ts +130 -0
- package/dist/commands/types.d.ts.map +1 -0
- package/dist/commands/types.js +1636 -0
- package/dist/commands/types.js.map +1 -0
- package/dist/commands/update.d.ts +13 -0
- package/dist/commands/update.d.ts.map +1 -0
- package/dist/commands/update.js +163 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/commands/user.d.ts +6 -0
- package/dist/commands/user.d.ts.map +1 -0
- package/dist/commands/user.js +359 -0
- package/dist/commands/user.js.map +1 -0
- package/dist/commands/verify.d.ts +40 -0
- package/dist/commands/verify.d.ts.map +1 -0
- package/dist/commands/verify.js +1442 -0
- package/dist/commands/verify.js.map +1 -0
- package/dist/commands/vertical.d.ts +24 -0
- package/dist/commands/vertical.d.ts.map +1 -0
- package/dist/commands/vertical.js +301 -0
- package/dist/commands/vertical.js.map +1 -0
- package/dist/commands/whoami.d.ts +6 -0
- package/dist/commands/whoami.d.ts.map +1 -0
- package/dist/commands/whoami.js +73 -0
- package/dist/commands/whoami.js.map +1 -0
- package/dist/commands/workflow.d.ts +6 -0
- package/dist/commands/workflow.d.ts.map +1 -0
- package/dist/commands/workflow.js +400 -0
- package/dist/commands/workflow.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +272 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/agent-guide.d.ts +24 -0
- package/dist/lib/agent-guide.d.ts.map +1 -0
- package/dist/lib/agent-guide.js +155 -0
- package/dist/lib/agent-guide.js.map +1 -0
- package/dist/lib/api.d.ts +338 -0
- package/dist/lib/api.d.ts.map +1 -0
- package/dist/lib/api.js +991 -0
- package/dist/lib/api.js.map +1 -0
- package/dist/lib/auth.d.ts +65 -0
- package/dist/lib/auth.d.ts.map +1 -0
- package/dist/lib/auth.js +592 -0
- package/dist/lib/auth.js.map +1 -0
- package/dist/lib/azure-cli.d.ts +6 -0
- package/dist/lib/azure-cli.d.ts.map +1 -0
- package/dist/lib/azure-cli.js +13 -0
- package/dist/lib/azure-cli.js.map +1 -0
- package/dist/lib/block-catalog-normalize.d.ts +47 -0
- package/dist/lib/block-catalog-normalize.d.ts.map +1 -0
- package/dist/lib/block-catalog-normalize.js +355 -0
- package/dist/lib/block-catalog-normalize.js.map +1 -0
- package/dist/lib/block-catalog-types.d.ts +111 -0
- package/dist/lib/block-catalog-types.d.ts.map +1 -0
- package/dist/lib/block-catalog-types.js +41 -0
- package/dist/lib/block-catalog-types.js.map +1 -0
- package/dist/lib/block-catalog-utils.d.ts +7 -0
- package/dist/lib/block-catalog-utils.d.ts.map +1 -0
- package/dist/lib/block-catalog-utils.js +47 -0
- package/dist/lib/block-catalog-utils.js.map +1 -0
- package/dist/lib/block-catalog-validation.d.ts +5 -0
- package/dist/lib/block-catalog-validation.d.ts.map +1 -0
- package/dist/lib/block-catalog-validation.js +112 -0
- package/dist/lib/block-catalog-validation.js.map +1 -0
- package/dist/lib/block-catalog.d.ts +3 -0
- package/dist/lib/block-catalog.d.ts.map +1 -0
- package/dist/lib/block-catalog.js +284 -0
- package/dist/lib/block-catalog.js.map +1 -0
- package/dist/lib/cloud-env.d.ts +25 -0
- package/dist/lib/cloud-env.d.ts.map +1 -0
- package/dist/lib/cloud-env.js +79 -0
- package/dist/lib/cloud-env.js.map +1 -0
- package/dist/lib/config.d.ts +116 -0
- package/dist/lib/config.d.ts.map +1 -0
- package/dist/lib/config.js +195 -0
- package/dist/lib/config.js.map +1 -0
- package/dist/lib/context.d.ts +43 -0
- package/dist/lib/context.d.ts.map +1 -0
- package/dist/lib/context.js +68 -0
- package/dist/lib/context.js.map +1 -0
- package/dist/lib/error-codes.d.ts +56 -0
- package/dist/lib/error-codes.d.ts.map +1 -0
- package/dist/lib/error-codes.js +211 -0
- package/dist/lib/error-codes.js.map +1 -0
- package/dist/lib/error-guidance/catalog.d.ts +648 -0
- package/dist/lib/error-guidance/catalog.d.ts.map +1 -0
- package/dist/lib/error-guidance/catalog.js +940 -0
- package/dist/lib/error-guidance/catalog.js.map +1 -0
- package/dist/lib/error-guidance/match.d.ts +3 -0
- package/dist/lib/error-guidance/match.d.ts.map +1 -0
- package/dist/lib/error-guidance/match.js +46 -0
- package/dist/lib/error-guidance/match.js.map +1 -0
- package/dist/lib/error-guidance/render.d.ts +5 -0
- package/dist/lib/error-guidance/render.d.ts.map +1 -0
- package/dist/lib/error-guidance/render.js +92 -0
- package/dist/lib/error-guidance/render.js.map +1 -0
- package/dist/lib/error-guidance/types.d.ts +76 -0
- package/dist/lib/error-guidance/types.d.ts.map +1 -0
- package/dist/lib/error-guidance/types.js +2 -0
- package/dist/lib/error-guidance/types.js.map +1 -0
- package/dist/lib/error-guidance/validate.d.ts +3 -0
- package/dist/lib/error-guidance/validate.d.ts.map +1 -0
- package/dist/lib/error-guidance/validate.js +59 -0
- package/dist/lib/error-guidance/validate.js.map +1 -0
- package/dist/lib/gofer-installer.d.ts +32 -0
- package/dist/lib/gofer-installer.d.ts.map +1 -0
- package/dist/lib/gofer-installer.js +589 -0
- package/dist/lib/gofer-installer.js.map +1 -0
- package/dist/lib/gofer-refresh.d.ts +46 -0
- package/dist/lib/gofer-refresh.d.ts.map +1 -0
- package/dist/lib/gofer-refresh.js +536 -0
- package/dist/lib/gofer-refresh.js.map +1 -0
- package/dist/lib/next-route-exports.d.ts +6 -0
- package/dist/lib/next-route-exports.d.ts.map +1 -0
- package/dist/lib/next-route-exports.js +127 -0
- package/dist/lib/next-route-exports.js.map +1 -0
- package/dist/lib/npm.d.ts +2 -0
- package/dist/lib/npm.d.ts.map +1 -0
- package/dist/lib/npm.js +4 -0
- package/dist/lib/npm.js.map +1 -0
- package/dist/lib/object-type-defaults.d.ts +4 -0
- package/dist/lib/object-type-defaults.d.ts.map +1 -0
- package/dist/lib/object-type-defaults.js +72 -0
- package/dist/lib/object-type-defaults.js.map +1 -0
- package/dist/lib/output.d.ts +35 -0
- package/dist/lib/output.d.ts.map +1 -0
- package/dist/lib/output.js +166 -0
- package/dist/lib/output.js.map +1 -0
- package/dist/lib/profile.d.ts +52 -0
- package/dist/lib/profile.d.ts.map +1 -0
- package/dist/lib/profile.js +116 -0
- package/dist/lib/profile.js.map +1 -0
- package/dist/lib/project-manifest.d.ts +42 -0
- package/dist/lib/project-manifest.d.ts.map +1 -0
- package/dist/lib/project-manifest.js +191 -0
- package/dist/lib/project-manifest.js.map +1 -0
- package/dist/lib/resourceapi-bundle.d.ts +33 -0
- package/dist/lib/resourceapi-bundle.d.ts.map +1 -0
- package/dist/lib/resourceapi-bundle.js +79 -0
- package/dist/lib/resourceapi-bundle.js.map +1 -0
- package/dist/lib/runtime-contract.d.ts +84 -0
- package/dist/lib/runtime-contract.d.ts.map +1 -0
- package/dist/lib/runtime-contract.js +318 -0
- package/dist/lib/runtime-contract.js.map +1 -0
- package/dist/lib/schema-builder.d.ts +28 -0
- package/dist/lib/schema-builder.d.ts.map +1 -0
- package/dist/lib/schema-builder.js +69 -0
- package/dist/lib/schema-builder.js.map +1 -0
- package/dist/lib/tenant-context.d.ts +127 -0
- package/dist/lib/tenant-context.d.ts.map +1 -0
- package/dist/lib/tenant-context.js +573 -0
- package/dist/lib/tenant-context.js.map +1 -0
- package/dist/lib/update-check.d.ts +52 -0
- package/dist/lib/update-check.d.ts.map +1 -0
- package/dist/lib/update-check.js +271 -0
- package/dist/lib/update-check.js.map +1 -0
- package/dist/lib/update-maintenance.d.ts +15 -0
- package/dist/lib/update-maintenance.d.ts.map +1 -0
- package/dist/lib/update-maintenance.js +187 -0
- package/dist/lib/update-maintenance.js.map +1 -0
- package/dist/lib/utils.d.ts +23 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +48 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/lib/workflow-provisioning.d.ts +54 -0
- package/dist/lib/workflow-provisioning.d.ts.map +1 -0
- package/dist/lib/workflow-provisioning.js +281 -0
- package/dist/lib/workflow-provisioning.js.map +1 -0
- package/package.json +51 -0
- package/resources/gofer/.gofer-version +7 -0
- package/resources/gofer/agents-skills/0_gofer_start/SKILL.md +1287 -0
- package/resources/gofer/agents-skills/0a_problem_validation/SKILL.md +429 -0
- package/resources/gofer/agents-skills/10_gofer_cloud/SKILL.md +635 -0
- package/resources/gofer/agents-skills/1_gofer_research/SKILL.md +1159 -0
- package/resources/gofer/agents-skills/2_gofer_specify/SKILL.md +860 -0
- package/resources/gofer/agents-skills/3_gofer_plan/SKILL.md +886 -0
- package/resources/gofer/agents-skills/4_gofer_tasks/SKILL.md +748 -0
- package/resources/gofer/agents-skills/5_gofer_implement/SKILL.md +924 -0
- package/resources/gofer/agents-skills/6_gofer_validate/SKILL.md +2269 -0
- package/resources/gofer/agents-skills/7_gofer_save/SKILL.md +423 -0
- package/resources/gofer/agents-skills/7a_stakeholder_comms/SKILL.md +508 -0
- package/resources/gofer/agents-skills/8_gofer_branding/SKILL.md +315 -0
- package/resources/gofer/agents-skills/9_gofer_tests/SKILL.md +558 -0
- package/resources/gofer/agents-skills/gofer_bootstrap_workspace/SKILL.md +148 -0
- package/resources/gofer/agents-skills/gofer_check_workspace/SKILL.md +119 -0
- package/resources/gofer/agents-skills/gofer_constitution/SKILL.md +612 -0
- package/resources/gofer/agents-skills/gofer_diagnose/SKILL.md +114 -0
- package/resources/gofer/agents-skills/gofer_eai_first_run/SKILL.md +397 -0
- package/resources/gofer/agents-skills/gofer_hydrate/SKILL.md +561 -0
- package/resources/gofer/agents-skills/gofer_personality/SKILL.md +44 -0
- package/resources/gofer/agents-skills/gofer_plan/SKILL.md +40 -0
- package/resources/gofer/agents-skills/gofer_side/SKILL.md +45 -0
- package/resources/gofer/agents-skills/gofer_spec_summary/SKILL.md +112 -0
- package/resources/gofer/agents-skills/gofer_tdd/SKILL.md +112 -0
- package/resources/gofer/agents-skills/gofer_vocabulary/SKILL.md +112 -0
- package/resources/gofer/agents-skills/gofer_zoom_out/SKILL.md +112 -0
- package/resources/gofer/bash-scripts/check-context-health.sh +365 -0
- package/resources/gofer/bash-scripts/check-persona-pack.sh +81 -0
- package/resources/gofer/bash-scripts/check-prerequisites.sh +168 -0
- package/resources/gofer/bash-scripts/common.sh +192 -0
- package/resources/gofer/bash-scripts/create-new-feature.sh +260 -0
- package/resources/gofer/bash-scripts/install-optional-tools.sh +270 -0
- package/resources/gofer/bash-scripts/log-stage.sh +224 -0
- package/resources/gofer/bash-scripts/mark-task-complete.sh +74 -0
- package/resources/gofer/bash-scripts/pipeline-state.sh +306 -0
- package/resources/gofer/bash-scripts/read-failed-approaches.sh +114 -0
- package/resources/gofer/bash-scripts/read-session-memories.sh +96 -0
- package/resources/gofer/bash-scripts/save-checkpoint.sh +407 -0
- package/resources/gofer/bash-scripts/setup-plan.sh +62 -0
- package/resources/gofer/bash-scripts/sync-implementation-status.sh +47 -0
- package/resources/gofer/bash-scripts/update-agent-context.sh +772 -0
- package/resources/gofer/bash-scripts/validate-artifact.sh +335 -0
- package/resources/gofer/bash-scripts/verify-task.sh +384 -0
- package/resources/gofer/bash-scripts/write-failed-approach.sh +110 -0
- package/resources/gofer/bash-scripts/write-periodic-checkpoint.sh +128 -0
- package/resources/gofer/bash-scripts/write-session-memory.sh +118 -0
- package/resources/gofer/claude-agents/assumption-tracker.md +168 -0
- package/resources/gofer/claude-agents/business-metrics-analyzer.md +169 -0
- package/resources/gofer/claude-agents/business-problem-validator.md +168 -0
- package/resources/gofer/claude-agents/codebase-analyzer.md +124 -0
- package/resources/gofer/claude-agents/codebase-locator.md +95 -0
- package/resources/gofer/claude-agents/codebase-pattern-finder.md +180 -0
- package/resources/gofer/claude-agents/comms-writer.md +158 -0
- package/resources/gofer/claude-agents/engineer-review.md +169 -0
- package/resources/gofer/claude-agents/implement-bug-triangulator.md +94 -0
- package/resources/gofer/claude-agents/implement-code-review-council.md +89 -0
- package/resources/gofer/claude-agents/implement-doc-writer.md +89 -0
- package/resources/gofer/claude-agents/implement-error-hardener.md +84 -0
- package/resources/gofer/claude-agents/implement-performance-explorer.md +95 -0
- package/resources/gofer/claude-agents/implement-test-diversifier.md +82 -0
- package/resources/gofer/claude-agents/implement-variant-generator.md +80 -0
- package/resources/gofer/claude-agents/multi-perspective-judge.md +114 -0
- package/resources/gofer/claude-agents/plan-api-comparator.md +90 -0
- package/resources/gofer/claude-agents/plan-architecture-diverger.md +100 -0
- package/resources/gofer/claude-agents/plan-data-model-stress-tester.md +95 -0
- package/resources/gofer/claude-agents/plan-migration-path-finder.md +95 -0
- package/resources/gofer/claude-agents/plan-refactor-rewrite-advisor.md +97 -0
- package/resources/gofer/claude-agents/research-dependency-evaluator.md +106 -0
- package/resources/gofer/claude-agents/research-horizon-scanner.md +100 -0
- package/resources/gofer/claude-agents/research-market-scanner.md +137 -0
- package/resources/gofer/claude-agents/research-perspective-multiplier.md +102 -0
- package/resources/gofer/claude-agents/scope-creep-detector.md +152 -0
- package/resources/gofer/claude-agents/specify-ambiguity-detector.md +95 -0
- package/resources/gofer/claude-agents/specify-journey-stress-tester.md +92 -0
- package/resources/gofer/claude-agents/tasks-cross-cutting-scanner.md +91 -0
- package/resources/gofer/claude-agents/tasks-rollback-planner.md +89 -0
- package/resources/gofer/claude-agents/validate-security-red-team.md +102 -0
- package/resources/gofer/claude-agents/validation-correctness.md +103 -0
- package/resources/gofer/claude-agents/validation-integration.md +129 -0
- package/resources/gofer/claude-agents/validation-performance.md +120 -0
- package/resources/gofer/claude-agents/validation-security.md +115 -0
- package/resources/gofer/claude-agents/validation-standards.md +151 -0
- package/resources/gofer/claude-agents/validation-test-quality.md +146 -0
- package/resources/gofer/claude-agents/visual-bounded-context-writer.md +40 -0
- package/resources/gofer/claude-agents/visual-c4-writer.md +45 -0
- package/resources/gofer/claude-agents/visual-erd-writer.md +34 -0
- package/resources/gofer/claude-agents/visual-heatmap-writer.md +63 -0
- package/resources/gofer/claude-agents/visual-risk-writer.md +64 -0
- package/resources/gofer/claude-commands/0_gofer_start.md +1282 -0
- package/resources/gofer/claude-commands/0a_problem_validation.md +424 -0
- package/resources/gofer/claude-commands/10_gofer_cloud.md +630 -0
- package/resources/gofer/claude-commands/1_gofer_research.md +1154 -0
- package/resources/gofer/claude-commands/2_gofer_specify.md +855 -0
- package/resources/gofer/claude-commands/3_gofer_plan.md +881 -0
- package/resources/gofer/claude-commands/4_gofer_tasks.md +743 -0
- package/resources/gofer/claude-commands/5_gofer_implement.md +919 -0
- package/resources/gofer/claude-commands/6_gofer_validate.md +2264 -0
- package/resources/gofer/claude-commands/7_gofer_save.md +418 -0
- package/resources/gofer/claude-commands/7a_stakeholder_comms.md +503 -0
- package/resources/gofer/claude-commands/8_gofer_branding.md +310 -0
- package/resources/gofer/claude-commands/9_gofer_tests.md +553 -0
- package/resources/gofer/claude-commands/gofer_bootstrap_workspace.md +143 -0
- package/resources/gofer/claude-commands/gofer_check_workspace.md +114 -0
- package/resources/gofer/claude-commands/gofer_constitution.md +607 -0
- package/resources/gofer/claude-commands/gofer_diagnose.md +109 -0
- package/resources/gofer/claude-commands/gofer_eai_first_run.md +392 -0
- package/resources/gofer/claude-commands/gofer_hydrate.md +556 -0
- package/resources/gofer/claude-commands/gofer_personality.md +39 -0
- package/resources/gofer/claude-commands/gofer_plan.md +35 -0
- package/resources/gofer/claude-commands/gofer_side.md +40 -0
- package/resources/gofer/claude-commands/gofer_spec_summary.md +107 -0
- package/resources/gofer/claude-commands/gofer_tdd.md +107 -0
- package/resources/gofer/claude-commands/gofer_vocabulary.md +107 -0
- package/resources/gofer/claude-commands/gofer_zoom_out.md +107 -0
- package/resources/gofer/claude-skills/eai-gofer/SKILL.md +56 -0
- package/resources/gofer/commands/.gitkeep +0 -0
- package/resources/gofer/commands/0_gofer_start.md +1299 -0
- package/resources/gofer/commands/0a_problem_validation.md +405 -0
- package/resources/gofer/commands/10_gofer_cloud.md +611 -0
- package/resources/gofer/commands/1_gofer_research.md +1135 -0
- package/resources/gofer/commands/2_gofer_specify.md +836 -0
- package/resources/gofer/commands/3_gofer_plan.md +862 -0
- package/resources/gofer/commands/4_gofer_tasks.md +724 -0
- package/resources/gofer/commands/5_gofer_implement.md +900 -0
- package/resources/gofer/commands/6_gofer_validate.md +2245 -0
- package/resources/gofer/commands/7_gofer_save.md +399 -0
- package/resources/gofer/commands/7a_stakeholder_comms.md +484 -0
- package/resources/gofer/commands/8_gofer_branding.md +291 -0
- package/resources/gofer/commands/9_gofer_tests.md +534 -0
- package/resources/gofer/commands/gofer_bootstrap_workspace.md +159 -0
- package/resources/gofer/commands/gofer_check_workspace.md +130 -0
- package/resources/gofer/commands/gofer_constitution.md +588 -0
- package/resources/gofer/commands/gofer_diagnose.md +89 -0
- package/resources/gofer/commands/gofer_eai_first_run.md +392 -0
- package/resources/gofer/commands/gofer_hydrate.md +537 -0
- package/resources/gofer/commands/gofer_personality.md +61 -0
- package/resources/gofer/commands/gofer_plan.md +51 -0
- package/resources/gofer/commands/gofer_side.md +56 -0
- package/resources/gofer/commands/gofer_spec_summary.md +87 -0
- package/resources/gofer/commands/gofer_tdd.md +87 -0
- package/resources/gofer/commands/gofer_vocabulary.md +87 -0
- package/resources/gofer/commands/gofer_zoom_out.md +87 -0
- package/resources/gofer/copilot-instructions/gofer-cost.instructions.md +13 -0
- package/resources/gofer/copilot-instructions/language-server.instructions.md +49 -0
- package/resources/gofer/copilot-instructions/typescript.instructions.md +47 -0
- package/resources/gofer/copilot-instructions/vscode-extension.instructions.md +46 -0
- package/resources/gofer/copilot-prompts/0_gofer_start.prompt.md +1308 -0
- package/resources/gofer/copilot-prompts/0a_problem_validation.prompt.md +429 -0
- package/resources/gofer/copilot-prompts/10_gofer_cloud.prompt.md +644 -0
- package/resources/gofer/copilot-prompts/1_gofer_research.prompt.md +1177 -0
- package/resources/gofer/copilot-prompts/2_gofer_specify.prompt.md +878 -0
- package/resources/gofer/copilot-prompts/3_gofer_plan.prompt.md +904 -0
- package/resources/gofer/copilot-prompts/4_gofer_tasks.prompt.md +766 -0
- package/resources/gofer/copilot-prompts/5_gofer_implement.prompt.md +942 -0
- package/resources/gofer/copilot-prompts/6_gofer_validate.prompt.md +2277 -0
- package/resources/gofer/copilot-prompts/7_gofer_save.prompt.md +433 -0
- package/resources/gofer/copilot-prompts/7a_stakeholder_comms.prompt.md +516 -0
- package/resources/gofer/copilot-prompts/8_gofer_branding.prompt.md +323 -0
- package/resources/gofer/copilot-prompts/9_gofer_tests.prompt.md +566 -0
- package/resources/gofer/copilot-prompts/gofer_bootstrap_workspace.prompt.md +161 -0
- package/resources/gofer/copilot-prompts/gofer_check_workspace.prompt.md +132 -0
- package/resources/gofer/copilot-prompts/gofer_constitution.prompt.md +621 -0
- package/resources/gofer/copilot-prompts/gofer_diagnose.prompt.md +127 -0
- package/resources/gofer/copilot-prompts/gofer_eai_first_run.prompt.md +410 -0
- package/resources/gofer/copilot-prompts/gofer_hydrate.prompt.md +571 -0
- package/resources/gofer/copilot-prompts/gofer_personality.prompt.md +57 -0
- package/resources/gofer/copilot-prompts/gofer_plan.prompt.md +53 -0
- package/resources/gofer/copilot-prompts/gofer_side.prompt.md +58 -0
- package/resources/gofer/copilot-prompts/gofer_spec_summary.prompt.md +125 -0
- package/resources/gofer/copilot-prompts/gofer_tdd.prompt.md +125 -0
- package/resources/gofer/copilot-prompts/gofer_vocabulary.prompt.md +125 -0
- package/resources/gofer/copilot-prompts/gofer_zoom_out.prompt.md +125 -0
- package/resources/gofer/gemini/agents/assumption-tracker.md +171 -0
- package/resources/gofer/gemini/agents/business-metrics-analyzer.md +172 -0
- package/resources/gofer/gemini/agents/business-problem-validator.md +171 -0
- package/resources/gofer/gemini/agents/codebase-analyzer.md +127 -0
- package/resources/gofer/gemini/agents/codebase-locator.md +98 -0
- package/resources/gofer/gemini/agents/codebase-pattern-finder.md +183 -0
- package/resources/gofer/gemini/agents/comms-writer.md +161 -0
- package/resources/gofer/gemini/agents/engineer-review.md +172 -0
- package/resources/gofer/gemini/agents/implement-bug-triangulator.md +97 -0
- package/resources/gofer/gemini/agents/implement-code-review-council.md +92 -0
- package/resources/gofer/gemini/agents/implement-doc-writer.md +92 -0
- package/resources/gofer/gemini/agents/implement-error-hardener.md +87 -0
- package/resources/gofer/gemini/agents/implement-performance-explorer.md +98 -0
- package/resources/gofer/gemini/agents/implement-test-diversifier.md +85 -0
- package/resources/gofer/gemini/agents/implement-variant-generator.md +83 -0
- package/resources/gofer/gemini/agents/multi-perspective-judge.md +117 -0
- package/resources/gofer/gemini/agents/plan-api-comparator.md +93 -0
- package/resources/gofer/gemini/agents/plan-architecture-diverger.md +103 -0
- package/resources/gofer/gemini/agents/plan-data-model-stress-tester.md +98 -0
- package/resources/gofer/gemini/agents/plan-migration-path-finder.md +98 -0
- package/resources/gofer/gemini/agents/plan-refactor-rewrite-advisor.md +100 -0
- package/resources/gofer/gemini/agents/research-dependency-evaluator.md +109 -0
- package/resources/gofer/gemini/agents/research-horizon-scanner.md +103 -0
- package/resources/gofer/gemini/agents/research-market-scanner.md +140 -0
- package/resources/gofer/gemini/agents/research-perspective-multiplier.md +105 -0
- package/resources/gofer/gemini/agents/scope-creep-detector.md +155 -0
- package/resources/gofer/gemini/agents/specify-ambiguity-detector.md +98 -0
- package/resources/gofer/gemini/agents/specify-journey-stress-tester.md +95 -0
- package/resources/gofer/gemini/agents/tasks-cross-cutting-scanner.md +94 -0
- package/resources/gofer/gemini/agents/tasks-rollback-planner.md +92 -0
- package/resources/gofer/gemini/agents/validate-security-red-team.md +105 -0
- package/resources/gofer/gemini/agents/validation-correctness.md +106 -0
- package/resources/gofer/gemini/agents/validation-integration.md +132 -0
- package/resources/gofer/gemini/agents/validation-performance.md +123 -0
- package/resources/gofer/gemini/agents/validation-security.md +118 -0
- package/resources/gofer/gemini/agents/validation-standards.md +154 -0
- package/resources/gofer/gemini/agents/validation-test-quality.md +149 -0
- package/resources/gofer/gemini/agents/visual-bounded-context-writer.md +40 -0
- package/resources/gofer/gemini/agents/visual-c4-writer.md +44 -0
- package/resources/gofer/gemini/agents/visual-erd-writer.md +36 -0
- package/resources/gofer/gemini/agents/visual-heatmap-writer.md +63 -0
- package/resources/gofer/gemini/agents/visual-risk-writer.md +64 -0
- package/resources/gofer/gemini/commands/gofer/.gitkeep +0 -0
- package/resources/gofer/gemini/commands/gofer/0_gofer_start.md +1282 -0
- package/resources/gofer/gemini/commands/gofer/0_gofer_start.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/0a_problem_validation.md +424 -0
- package/resources/gofer/gemini/commands/gofer/0a_problem_validation.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/10_gofer_cloud.md +630 -0
- package/resources/gofer/gemini/commands/gofer/10_gofer_cloud.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/1_gofer_research.md +1154 -0
- package/resources/gofer/gemini/commands/gofer/1_gofer_research.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/2_gofer_specify.md +855 -0
- package/resources/gofer/gemini/commands/gofer/2_gofer_specify.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/3_gofer_plan.md +881 -0
- package/resources/gofer/gemini/commands/gofer/3_gofer_plan.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/4_gofer_tasks.md +743 -0
- package/resources/gofer/gemini/commands/gofer/4_gofer_tasks.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/5_gofer_implement.md +919 -0
- package/resources/gofer/gemini/commands/gofer/5_gofer_implement.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/6_gofer_validate.md +2264 -0
- package/resources/gofer/gemini/commands/gofer/6_gofer_validate.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/7_gofer_save.md +418 -0
- package/resources/gofer/gemini/commands/gofer/7_gofer_save.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/7a_stakeholder_comms.md +503 -0
- package/resources/gofer/gemini/commands/gofer/7a_stakeholder_comms.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/8_gofer_branding.md +310 -0
- package/resources/gofer/gemini/commands/gofer/8_gofer_branding.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/9_gofer_tests.md +553 -0
- package/resources/gofer/gemini/commands/gofer/9_gofer_tests.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_bootstrap_workspace.md +143 -0
- package/resources/gofer/gemini/commands/gofer/gofer_bootstrap_workspace.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_check_workspace.md +114 -0
- package/resources/gofer/gemini/commands/gofer/gofer_check_workspace.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_constitution.md +607 -0
- package/resources/gofer/gemini/commands/gofer/gofer_constitution.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_diagnose.md +109 -0
- package/resources/gofer/gemini/commands/gofer/gofer_diagnose.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_eai_first_run.md +392 -0
- package/resources/gofer/gemini/commands/gofer/gofer_eai_first_run.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_hydrate.md +556 -0
- package/resources/gofer/gemini/commands/gofer/gofer_hydrate.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_personality.md +39 -0
- package/resources/gofer/gemini/commands/gofer/gofer_personality.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_plan.md +35 -0
- package/resources/gofer/gemini/commands/gofer/gofer_plan.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_side.md +40 -0
- package/resources/gofer/gemini/commands/gofer/gofer_side.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_spec_summary.md +107 -0
- package/resources/gofer/gemini/commands/gofer/gofer_spec_summary.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_tdd.md +107 -0
- package/resources/gofer/gemini/commands/gofer/gofer_tdd.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_vocabulary.md +107 -0
- package/resources/gofer/gemini/commands/gofer/gofer_vocabulary.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/gofer_zoom_out.md +107 -0
- package/resources/gofer/gemini/commands/gofer/gofer_zoom_out.toml +2 -0
- package/resources/gofer/gemini/commands/gofer/manifest.json +32 -0
- package/resources/gofer/gemini/extension.json +16 -0
- package/resources/gofer/github-agents/gofer-business.agent.md +20 -0
- package/resources/gofer/github-agents/gofer-implement.agent.md +15 -0
- package/resources/gofer/github-agents/gofer-plan.agent.md +15 -0
- package/resources/gofer/github-agents/gofer-research.agent.md +15 -0
- package/resources/gofer/github-agents/gofer-validate.agent.md +10 -0
- package/resources/gofer/github-skills/eai-gofer/SKILL.md +56 -0
- package/resources/gofer/hook-scripts/agent-stop.mjs +655 -0
- package/resources/gofer/hook-scripts/log-stage-launch-time.mjs +77 -0
- package/resources/gofer/hook-scripts/post-tool-use.mjs +333 -0
- package/resources/gofer/hook-scripts/queued-input.mjs +188 -0
- package/resources/gofer/hook-scripts/session-lifecycle.mjs +93 -0
- package/resources/gofer/hook-scripts/user-prompt-submit.mjs +228 -0
- package/resources/gofer/instruction-templates/base/agents-base.md +37 -0
- package/resources/gofer/instruction-templates/base/claude-base.md +7 -0
- package/resources/gofer/instruction-templates/base/copilot-base.md +26 -0
- package/resources/gofer/instruction-templates/gofer/gofer-claude.md +5 -0
- package/resources/gofer/instruction-templates/gofer/gofer-copilot.md +9 -0
- package/resources/gofer/instruction-templates/languages/generic.md +7 -0
- package/resources/gofer/instruction-templates/languages/go.md +8 -0
- package/resources/gofer/instruction-templates/languages/java.md +8 -0
- package/resources/gofer/instruction-templates/languages/python.md +9 -0
- package/resources/gofer/instruction-templates/languages/rust.md +9 -0
- package/resources/gofer/instruction-templates/languages/typescript.md +19 -0
- package/resources/gofer/instruction-templates/workflow/principles.md +52 -0
- package/resources/gofer/memory/constitution.md +391 -0
- package/resources/gofer/memory/context-profiles.yaml +74 -0
- package/resources/gofer/memory/decisions/000-use-adr-for-decisions.md +67 -0
- package/resources/gofer/memory/decisions/001-di-framework.md +190 -0
- package/resources/gofer/memory/decisions/002-module-extraction.md +305 -0
- package/resources/gofer/memory/decisions/003-error-handling.md +368 -0
- package/resources/gofer/memory/decisions/004-cache-eviction.md +436 -0
- package/resources/gofer/memory/decisions/005-constants-management.md +520 -0
- package/resources/gofer/memory/decisions/README.md +129 -0
- package/resources/gofer/memory/diagrams/di-container.mmd +321 -0
- package/resources/gofer/memory/diagrams/extension-activation.mmd +184 -0
- package/resources/gofer/memory/diagrams/module-dependencies.mmd +264 -0
- package/resources/gofer/memory/gofer-model-policy.yaml +97 -0
- package/resources/gofer/memory/lessons.md +46 -0
- package/resources/gofer/node-scripts/canonical-descriptions.mjs +86 -0
- package/resources/gofer/node-scripts/check-version-alignment.mjs +131 -0
- package/resources/gofer/node-scripts/codex-doctor.mjs +425 -0
- package/resources/gofer/node-scripts/generate-commands.mjs +1366 -0
- package/resources/gofer/node-scripts/generate-issues.js +563 -0
- package/resources/gofer/node-scripts/gofer-closed-loop-audit.mjs +893 -0
- package/resources/gofer/node-scripts/gofer-loop-audit.mjs +541 -0
- package/resources/gofer/node-scripts/gofer-performance-report.mjs +306 -0
- package/resources/gofer/node-scripts/gofer-workspace-bootstrap.mjs +56 -0
- package/resources/gofer/node-scripts/gofer-workspace-check.mjs +56 -0
- package/resources/gofer/node-scripts/lib/ai-leverage-tagger.mjs +103 -0
- package/resources/gofer/node-scripts/lib/assemble-stakeholder-pack.mjs +114 -0
- package/resources/gofer/node-scripts/lib/marp-deck.mjs +87 -0
- package/resources/gofer/node-scripts/lib/mermaid-tabular-fallback.mjs +264 -0
- package/resources/gofer/node-scripts/lib/render-visual.mjs +54 -0
- package/resources/gofer/node-scripts/lib/validate-aliases.mjs +85 -0
- package/resources/gofer/node-scripts/lib/visual-counts.mjs +44 -0
- package/resources/gofer/node-scripts/lib/visual-pass-pipeline.mjs +134 -0
- package/resources/gofer/node-scripts/mermaid-export.mjs +72 -0
- package/resources/gofer/node-scripts/package-agent-plugin.mjs +940 -0
- package/resources/gofer/node-scripts/parse-stage-command.mjs +211 -0
- package/resources/gofer/node-scripts/schemas/.gitkeep +0 -0
- package/resources/gofer/node-scripts/schemas/stage-command.schema.json +72 -0
- package/resources/gofer/node-scripts/sync-extension-resources.mjs +110 -0
- package/resources/gofer/node-scripts/workspace-bootstrap-lib.mjs +1166 -0
- package/resources/gofer/powershell-scripts/install-optional-tools.ps1 +214 -0
- package/resources/gofer/references/platform/README.md +17 -0
- package/resources/gofer/references/platform/deployment-repo.md +9 -0
- package/resources/gofer/references/platform/eai-app-template.md +45 -0
- package/resources/gofer/references/platform/eai-config-driven-ui.md +156 -0
- package/resources/gofer/references/platform/eai-error-catalog.yaml +197 -0
- package/resources/gofer/references/platform/eai-repo-contract.md +134 -0
- package/resources/gofer/references/platform/eai-service-patterns.md +56 -0
- package/resources/gofer/references/platform/eai.md +85 -0
- package/resources/gofer/references/platform/vertical-template.md +49 -0
- package/resources/gofer/specify-commands/.gitkeep +0 -0
- package/resources/gofer/specify-commands/0_gofer_start.md +1299 -0
- package/resources/gofer/specify-commands/0a_problem_validation.md +405 -0
- package/resources/gofer/specify-commands/10_gofer_cloud.md +611 -0
- package/resources/gofer/specify-commands/1_gofer_research.md +1135 -0
- package/resources/gofer/specify-commands/2_gofer_specify.md +836 -0
- package/resources/gofer/specify-commands/3_gofer_plan.md +862 -0
- package/resources/gofer/specify-commands/4_gofer_tasks.md +724 -0
- package/resources/gofer/specify-commands/5_gofer_implement.md +900 -0
- package/resources/gofer/specify-commands/6_gofer_validate.md +2245 -0
- package/resources/gofer/specify-commands/7_gofer_save.md +399 -0
- package/resources/gofer/specify-commands/7a_stakeholder_comms.md +484 -0
- package/resources/gofer/specify-commands/8_gofer_branding.md +291 -0
- package/resources/gofer/specify-commands/9_gofer_tests.md +534 -0
- package/resources/gofer/specify-commands/gofer_bootstrap_workspace.md +159 -0
- package/resources/gofer/specify-commands/gofer_check_workspace.md +130 -0
- package/resources/gofer/specify-commands/gofer_constitution.md +588 -0
- package/resources/gofer/specify-commands/gofer_diagnose.md +89 -0
- package/resources/gofer/specify-commands/gofer_eai_first_run.md +392 -0
- package/resources/gofer/specify-commands/gofer_hydrate.md +537 -0
- package/resources/gofer/specify-commands/gofer_personality.md +61 -0
- package/resources/gofer/specify-commands/gofer_plan.md +51 -0
- package/resources/gofer/specify-commands/gofer_side.md +56 -0
- package/resources/gofer/specify-commands/gofer_spec_summary.md +87 -0
- package/resources/gofer/specify-commands/gofer_tdd.md +87 -0
- package/resources/gofer/specify-commands/gofer_vocabulary.md +87 -0
- package/resources/gofer/specify-commands/gofer_zoom_out.md +87 -0
- package/resources/gofer/system-skills/0_gofer_start/SKILL.md +1287 -0
- package/resources/gofer/system-skills/0a_problem_validation/SKILL.md +429 -0
- package/resources/gofer/system-skills/10_gofer_cloud/SKILL.md +635 -0
- package/resources/gofer/system-skills/1_gofer_research/SKILL.md +1159 -0
- package/resources/gofer/system-skills/2_gofer_specify/SKILL.md +860 -0
- package/resources/gofer/system-skills/3_gofer_plan/SKILL.md +886 -0
- package/resources/gofer/system-skills/4_gofer_tasks/SKILL.md +748 -0
- package/resources/gofer/system-skills/5_gofer_implement/SKILL.md +924 -0
- package/resources/gofer/system-skills/6_gofer_validate/SKILL.md +2269 -0
- package/resources/gofer/system-skills/7_gofer_save/SKILL.md +423 -0
- package/resources/gofer/system-skills/7a_stakeholder_comms/SKILL.md +508 -0
- package/resources/gofer/system-skills/8_gofer_branding/SKILL.md +315 -0
- package/resources/gofer/system-skills/9_gofer_tests/SKILL.md +558 -0
- package/resources/gofer/system-skills/gofer_bootstrap_workspace/SKILL.md +148 -0
- package/resources/gofer/system-skills/gofer_check_workspace/SKILL.md +119 -0
- package/resources/gofer/system-skills/gofer_constitution/SKILL.md +612 -0
- package/resources/gofer/system-skills/gofer_diagnose/SKILL.md +114 -0
- package/resources/gofer/system-skills/gofer_eai_first_run/SKILL.md +397 -0
- package/resources/gofer/system-skills/gofer_hydrate/SKILL.md +561 -0
- package/resources/gofer/system-skills/gofer_personality/SKILL.md +44 -0
- package/resources/gofer/system-skills/gofer_plan/SKILL.md +40 -0
- package/resources/gofer/system-skills/gofer_side/SKILL.md +45 -0
- package/resources/gofer/system-skills/gofer_spec_summary/SKILL.md +112 -0
- package/resources/gofer/system-skills/gofer_tdd/SKILL.md +112 -0
- package/resources/gofer/system-skills/gofer_vocabulary/SKILL.md +112 -0
- package/resources/gofer/system-skills/gofer_zoom_out/SKILL.md +112 -0
- package/resources/gofer/templates/agent-file-template.md +28 -0
- package/resources/gofer/templates/assumptions-template.md +94 -0
- package/resources/gofer/templates/audit-history-template.md +35 -0
- package/resources/gofer/templates/brand/brand-profile-template.json +45 -0
- package/resources/gofer/templates/brand/document-style-template.md +50 -0
- package/resources/gofer/templates/brand/marp-theme-template.css +58 -0
- package/resources/gofer/templates/brownfield-analysis.md +44 -0
- package/resources/gofer/templates/business-metrics-template.md +120 -0
- package/resources/gofer/templates/business-owner-summary-template.md +83 -0
- package/resources/gofer/templates/checklist-template.md +40 -0
- package/resources/gofer/templates/ciso-security-summary-template.md +70 -0
- package/resources/gofer/templates/context-bundle-template.md +76 -0
- package/resources/gofer/templates/contract-pack-template.md +109 -0
- package/resources/gofer/templates/cto-architecture-summary-template.md +83 -0
- package/resources/gofer/templates/discovery-template.md +92 -0
- package/resources/gofer/templates/eai-preflight-template.md +144 -0
- package/resources/gofer/templates/goal-ledger-template.json +69 -0
- package/resources/gofer/templates/gofer-model-policy.yaml +97 -0
- package/resources/gofer/templates/issues-template.md +106 -0
- package/resources/gofer/templates/journey/base-journey.md +95 -0
- package/resources/gofer/templates/journey/industry-variants.yaml +277 -0
- package/resources/gofer/templates/loop-contract-template.json +68 -0
- package/resources/gofer/templates/plan-template.md +215 -0
- package/resources/gofer/templates/problem-brief-template.md +85 -0
- package/resources/gofer/templates/proposal-review-template.md +79 -0
- package/resources/gofer/templates/research-template.md +222 -0
- package/resources/gofer/templates/reuse-scan-template.md +43 -0
- package/resources/gofer/templates/sequence-diagrams/option-spectrum.yaml +178 -0
- package/resources/gofer/templates/service-fit-matrix-template.md +29 -0
- package/resources/gofer/templates/session-handoff-template.md +172 -0
- package/resources/gofer/templates/spec-summary-template.md +118 -0
- package/resources/gofer/templates/spec-template.md +196 -0
- package/resources/gofer/templates/stakeholder-comms-template.md +330 -0
- package/resources/gofer/templates/stakeholder-review-index-template.md +54 -0
- package/resources/gofer/templates/tasks-template.md +323 -0
- package/resources/gofer/templates/ui-approval-template.md +32 -0
- package/resources/gofer/templates/ui-preview-brief-template.md +65 -0
- package/resources/gofer/templates/ui-review-log-template.md +11 -0
- package/resources/gofer/templates/visuals/.gitkeep +0 -0
- package/resources/gofer/templates/visuals/bounded-context-map.md +19 -0
- package/resources/gofer/templates/visuals/bounded-context-template.md +47 -0
- package/resources/gofer/templates/visuals/c4-container-template.md +38 -0
- package/resources/gofer/templates/visuals/c4-container.md +20 -0
- package/resources/gofer/templates/visuals/c4-context-template.md +46 -0
- package/resources/gofer/templates/visuals/capability-heatmap-template.md +54 -0
- package/resources/gofer/templates/visuals/data-model-erd-template.md +41 -0
- package/resources/gofer/templates/visuals/erd.md +19 -0
- package/resources/gofer/templates/visuals/impact-canvas.md +40 -0
- package/resources/gofer/templates/visuals/risk-heatmap-template.md +51 -0
- package/resources/gofer/templates/visuals/roi-projection.md +17 -0
- package/resources/gofer/templates/visuals/value-stream-asis.md +16 -0
- package/resources/gofer/templates/visuals/value-stream-tobe.md +18 -0
- package/resources/gofer/templates/working-backwards-prfaq-template.md +165 -0
- package/resources/linked-sources.json +25 -0
|
@@ -0,0 +1,391 @@
|
|
|
1
|
+
# Gofer Constitution
|
|
2
|
+
|
|
3
|
+
## Core Principles
|
|
4
|
+
|
|
5
|
+
### I. Test-Driven Development (NON-NEGOTIABLE)
|
|
6
|
+
|
|
7
|
+
Tests MUST be written before implementation in all cases:
|
|
8
|
+
|
|
9
|
+
- Write acceptance tests first based on spec requirements
|
|
10
|
+
- Ensure tests FAIL before implementation begins
|
|
11
|
+
- Implement minimum code to make tests pass (Red-Green-Refactor)
|
|
12
|
+
- Integration tests required for all MCP tools, LSP methods, and agent
|
|
13
|
+
coordination
|
|
14
|
+
- Contract tests mandatory for VSCode extension API, Language Server Protocol,
|
|
15
|
+
and Model Context Protocol boundaries
|
|
16
|
+
|
|
17
|
+
**Rationale**: TDD ensures correctness, prevents regressions, and validates that
|
|
18
|
+
specifications are implementable. The autonomous agent system depends on
|
|
19
|
+
reliable tests to validate its own work.
|
|
20
|
+
|
|
21
|
+
### II. MCP-First Architecture
|
|
22
|
+
|
|
23
|
+
All AI assistant integration MUST use Model Context Protocol (MCP):
|
|
24
|
+
|
|
25
|
+
- Expose functionality through well-defined MCP tools (naming: `gofer_<action>`)
|
|
26
|
+
- Tools must be stateless, idempotent where possible, and return structured
|
|
27
|
+
results
|
|
28
|
+
- File-based integration (`.claude-input.txt`/`.claude-output.txt`) is legacy
|
|
29
|
+
only
|
|
30
|
+
- Tools respond in <100ms for sync operations, <1s for async operations
|
|
31
|
+
- Each tool must validate inputs against schema before execution
|
|
32
|
+
|
|
33
|
+
**Rationale**: MCP provides a standardized, maintainable interface for AI
|
|
34
|
+
assistants. Native VSCode MCP support eliminates custom integration code.
|
|
35
|
+
|
|
36
|
+
### III. Spec Kit Format Compliance
|
|
37
|
+
|
|
38
|
+
All specifications MUST follow GitHub Spec Kit format:
|
|
39
|
+
|
|
40
|
+
- YAML frontmatter with id, title, status, dates
|
|
41
|
+
- Markdown body with structured sections (User Scenarios, Requirements,
|
|
42
|
+
Entities)
|
|
43
|
+
- Task lists with dependency tracking:
|
|
44
|
+
`- [ ] #T001 Description (deps: T002, T003)`
|
|
45
|
+
- Constitution validation before implementation
|
|
46
|
+
- Migration tools provided for legacy JSON format
|
|
47
|
+
|
|
48
|
+
**Rationale**: Standardized format enables automated parsing, validation, and
|
|
49
|
+
coordination across multiple AI coding agents.
|
|
50
|
+
|
|
51
|
+
### IV. Strict TypeScript & Code Quality
|
|
52
|
+
|
|
53
|
+
All code must meet quality standards without exception:
|
|
54
|
+
|
|
55
|
+
- TypeScript strict mode enabled (`noImplicitAny: true`,
|
|
56
|
+
`strictNullChecks: true`)
|
|
57
|
+
- No `any` types - use proper types or `unknown` with type guards
|
|
58
|
+
- Functions ≤300 lines, files ≤500 lines - decompose if exceeded
|
|
59
|
+
- Cyclomatic complexity ≤10 per function
|
|
60
|
+
- ES modules with `.js` extensions in imports (Node.js ESM compatibility)
|
|
61
|
+
|
|
62
|
+
**Rationale**: Strict typing catches errors at compile time. Size limits enforce
|
|
63
|
+
Single Responsibility Principle. Quality gates prevent technical debt.
|
|
64
|
+
|
|
65
|
+
### V. Security by Default
|
|
66
|
+
|
|
67
|
+
Security principles are non-negotiable at every layer:
|
|
68
|
+
|
|
69
|
+
- **Authentication**: bcrypt/argon2 for passwords, JWT expiry <1 hour with
|
|
70
|
+
refresh rotation
|
|
71
|
+
- **Input Validation**: Validate and sanitize all user input, path traversal
|
|
72
|
+
prevention
|
|
73
|
+
- **Secrets**: Environment variables only, never committed to Git
|
|
74
|
+
- **HTTPS**: All production traffic encrypted, HSTS enabled
|
|
75
|
+
- **API Security**: Rate limiting (100 req/min), CSRF tokens on mutations
|
|
76
|
+
|
|
77
|
+
**Rationale**: Autonomous systems must be secure by design. Security
|
|
78
|
+
vulnerabilities in orchestration could enable arbitrary code execution.
|
|
79
|
+
|
|
80
|
+
### VI. Performance Requirements
|
|
81
|
+
|
|
82
|
+
All components must meet performance benchmarks:
|
|
83
|
+
|
|
84
|
+
- **Extension**: Activation <500ms, tree view render <100ms
|
|
85
|
+
- **Language Server**: Start <1s, spec loading <500ms for 100+ specs
|
|
86
|
+
- **MCP Tools**: Response <100ms for queries, <1s for operations
|
|
87
|
+
- **API**: Backend p95 <500ms, p99 <1000ms
|
|
88
|
+
- **UI**: First Contentful Paint <1.5s, Time to Interactive <3.5s
|
|
89
|
+
|
|
90
|
+
**Rationale**: Slow tools disrupt developer flow. Performance is a feature,
|
|
91
|
+
especially for autonomous agents making rapid tool calls.
|
|
92
|
+
|
|
93
|
+
### VII. 80% Test Coverage Minimum
|
|
94
|
+
|
|
95
|
+
All new code must achieve 80% coverage across all metrics:
|
|
96
|
+
|
|
97
|
+
- Line coverage ≥80%
|
|
98
|
+
- Branch coverage ≥80%
|
|
99
|
+
- Function coverage ≥80%
|
|
100
|
+
- Critical paths (auth, orchestration, task execution) require 100% coverage
|
|
101
|
+
- Coverage gates enforced in CI/CD pipeline
|
|
102
|
+
|
|
103
|
+
**Rationale**: High coverage provides confidence in autonomous operation.
|
|
104
|
+
Test-driven development naturally achieves these thresholds.
|
|
105
|
+
|
|
106
|
+
### VIII. Minimal Necessary Changes
|
|
107
|
+
|
|
108
|
+
All code modifications MUST be limited to what is directly required by the
|
|
109
|
+
current task:
|
|
110
|
+
|
|
111
|
+
- Only modify files listed in the task scope
|
|
112
|
+
- Only make changes directly required by the task specification
|
|
113
|
+
- Do not refactor surrounding code that is not part of the task
|
|
114
|
+
- Do not add features, documentation, or tests beyond what is specified
|
|
115
|
+
- Do not add error handling for scenarios that cannot occur in the current
|
|
116
|
+
context
|
|
117
|
+
- Do not create abstractions for one-time operations
|
|
118
|
+
- Three similar lines of code is better than a premature abstraction
|
|
119
|
+
|
|
120
|
+
**Rationale**: Minimal changes reduce review burden, prevent regressions in
|
|
121
|
+
unrelated code, and keep diffs focused. AI agents are especially prone to
|
|
122
|
+
over-engineering and gold-plating — this principle provides an explicit check
|
|
123
|
+
against scope creep.
|
|
124
|
+
|
|
125
|
+
## Architecture Standards
|
|
126
|
+
|
|
127
|
+
### Multi-Layered System
|
|
128
|
+
|
|
129
|
+
Gofer consists of three coordinated components:
|
|
130
|
+
|
|
131
|
+
**VSCode Extension** (`/extension/`):
|
|
132
|
+
|
|
133
|
+
- Entry point: `extension/src/extension.ts` (auto-activates on `.specify/`
|
|
134
|
+
detection)
|
|
135
|
+
- Manages UI (tree views, commands, progress panels)
|
|
136
|
+
- Launches Language Server as child process
|
|
137
|
+
- Auto-creates provider-neutral `.vscode/mcp.json` for VS Code/Copilot, Claude
|
|
138
|
+
Code, Codex, Gemini, and compatible agent apps
|
|
139
|
+
|
|
140
|
+
**Language Server** (`/language-server/`):
|
|
141
|
+
|
|
142
|
+
- Dual protocol: LSP (extension ↔ server) + MCP (agent app ↔ repo tools)
|
|
143
|
+
- Exposes the current Gofer MCP tool set for specs, tasks, context health,
|
|
144
|
+
workspace check/bootstrap, pipeline state, validation, EAI error explanation,
|
|
145
|
+
and artifact reads
|
|
146
|
+
- Loads specs from `.specify/specs/` using GitHub Spec Kit parser
|
|
147
|
+
- Stateless design, all state in filesystem
|
|
148
|
+
|
|
149
|
+
**Repo-Owned Pipeline Scripts** (`/.specify/scripts/`):
|
|
150
|
+
|
|
151
|
+
- Remain the executable source of truth for Gofer stages, workspace checks,
|
|
152
|
+
bootstrap, hooks, context management, validation helpers, and release checks
|
|
153
|
+
- Are called or explained by app plugins, skills, agents, and MCP tools instead
|
|
154
|
+
of duplicating workflow logic per host
|
|
155
|
+
|
|
156
|
+
### Dependency Management
|
|
157
|
+
|
|
158
|
+
- Three separate `package.json` files (root, extension, language-server)
|
|
159
|
+
- Extension bundles Language Server via Webpack
|
|
160
|
+
- Anthropic SDK for direct Claude API access
|
|
161
|
+
- Playwright for autonomous testing
|
|
162
|
+
|
|
163
|
+
### File Structure Conventions
|
|
164
|
+
|
|
165
|
+
```text
|
|
166
|
+
.specify/
|
|
167
|
+
├── specs/
|
|
168
|
+
│ └── ###-feature-name/
|
|
169
|
+
│ ├── spec.md # GitHub Spec Kit format
|
|
170
|
+
│ ├── plan.md # Technical implementation plan
|
|
171
|
+
│ ├── tasks.md # Task breakdown with dependencies
|
|
172
|
+
│ └── contracts/ # API/interface definitions
|
|
173
|
+
├── memory/
|
|
174
|
+
│ └── constitution.md # This file - project principles
|
|
175
|
+
└── templates/
|
|
176
|
+
├── spec-template.md
|
|
177
|
+
├── plan-template.md
|
|
178
|
+
└── tasks-template.md
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
## Development Workflow
|
|
182
|
+
|
|
183
|
+
### Task Execution Flow
|
|
184
|
+
|
|
185
|
+
1. AI reads specs via `gofer_get_specs` MCP tool
|
|
186
|
+
2. Gets next available task via `gofer_get_next_task` (checks dependencies)
|
|
187
|
+
3. Marks task in-progress via `gofer_execute_task`
|
|
188
|
+
4. Implements code following TDD (tests first, then implementation)
|
|
189
|
+
5. Validates against constitution via `gofer_validate_code`
|
|
190
|
+
6. Runs tests via `gofer_run_tests` (Playwright + unit tests)
|
|
191
|
+
7. Updates status via `gofer_update_task_status` (completed/failed)
|
|
192
|
+
8. Repeats - autonomous agents implement entire specs
|
|
193
|
+
|
|
194
|
+
### Status Progression
|
|
195
|
+
|
|
196
|
+
```text
|
|
197
|
+
pending → in_progress → testing → completed
|
|
198
|
+
↓
|
|
199
|
+
failed (max 3 attempts before human escalation)
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### Quality Gates
|
|
203
|
+
|
|
204
|
+
Before merging any code:
|
|
205
|
+
|
|
206
|
+
- ✅ All tests pass (Vitest + Playwright)
|
|
207
|
+
- ✅ 80%+ coverage threshold met
|
|
208
|
+
- ✅ ESLint passes with zero warnings
|
|
209
|
+
- ✅ TypeScript compiles with strict mode
|
|
210
|
+
- ✅ Constitution validation passes
|
|
211
|
+
- ✅ Spec acceptance criteria met
|
|
212
|
+
|
|
213
|
+
## Governance
|
|
214
|
+
|
|
215
|
+
### Amendment Process
|
|
216
|
+
|
|
217
|
+
Constitution changes require:
|
|
218
|
+
|
|
219
|
+
1. **Proposal**: Document change rationale in GitHub issue
|
|
220
|
+
2. **Impact Analysis**: Identify affected templates, tests, and documentation
|
|
221
|
+
3. **Version Bump**: MAJOR (breaking), MINOR (additive), PATCH (clarification)
|
|
222
|
+
4. **Update Propagation**: Update templates, code validators, and test patterns
|
|
223
|
+
5. **Migration Guide**: Provide upgrade path for existing specs
|
|
224
|
+
6. **Approval**: Merge only after CI passes and review complete
|
|
225
|
+
|
|
226
|
+
### Compliance Enforcement
|
|
227
|
+
|
|
228
|
+
- EngineerAgent validates all code against these principles before completion
|
|
229
|
+
- MCP tool `gofer_validate_code` programmatically checks compliance
|
|
230
|
+
- CI/CD pipeline enforces coverage thresholds and linting rules
|
|
231
|
+
- Extension warnings appear when specs don't follow GitHub Spec Kit format
|
|
232
|
+
|
|
233
|
+
### Constitution Supersedes All
|
|
234
|
+
|
|
235
|
+
In conflicts between this document and other practices:
|
|
236
|
+
|
|
237
|
+
- Constitution wins - always
|
|
238
|
+
- If constitution blocks legitimate work, amend the constitution first
|
|
239
|
+
- Complexity violations require architectural approval with documented
|
|
240
|
+
justification
|
|
241
|
+
|
|
242
|
+
### Guidance Documents
|
|
243
|
+
|
|
244
|
+
- **Runtime Development**: See `.github/copilot-instructions.md` for AI
|
|
245
|
+
assistant patterns
|
|
246
|
+
- **Testing**: See `docs/TESTING_GUIDE.md` for E2E and integration test setup
|
|
247
|
+
- **Spec Kit**: See `.specify/templates/` for specification and task templates
|
|
248
|
+
|
|
249
|
+
**Version**: 2.0.0 | **Ratified**: 2025-10-22 | **Last Amended**: 2025-10-22
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
253
|
+
## gofer:// URI Conventions (Feature 029 - Memory System v2)
|
|
254
|
+
|
|
255
|
+
**Version Added**: 2.1.0 | **Feature**: 029-memory-system-v2
|
|
256
|
+
|
|
257
|
+
The `gofer://` URI scheme provides uniform resource access across memory, specs,
|
|
258
|
+
agents, and sessions without coupling code to filesystem paths.
|
|
259
|
+
|
|
260
|
+
### URI Format
|
|
261
|
+
|
|
262
|
+
```
|
|
263
|
+
gofer://{scope}/{path}[#{fragment}]
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
### Scopes
|
|
267
|
+
|
|
268
|
+
| Scope | Filesystem Mapping | Example |
|
|
269
|
+
| --------- | ---------------------------------------- | ----------------------------------------------- |
|
|
270
|
+
| `specs` | `.specify/specs/{path}` | `gofer://specs/029-memory-system-v2/spec.md` |
|
|
271
|
+
| `memory` | `.specify/memory/{path}` | `gofer://memory/core/task-context.md` |
|
|
272
|
+
| `agent` | `.claude/agents/{path}` | `gofer://agent/validation-security.md` |
|
|
273
|
+
| `session` | `.specify/specs/{path}` (feature-scoped) | `gofer://session/029-memory-system-v2/tasks.md` |
|
|
274
|
+
| `user` | `~/.claude/projects/memory/{path}` | `gofer://user/global-patterns.md` |
|
|
275
|
+
|
|
276
|
+
### Security Requirements
|
|
277
|
+
|
|
278
|
+
- **Path traversal MUST be blocked**: `../` sequences and URL-encoded variants
|
|
279
|
+
(`%2e%2e`) are rejected
|
|
280
|
+
- **Absolute paths MUST be rejected**: double-slash URIs creating `/path` are
|
|
281
|
+
blocked
|
|
282
|
+
- **Scope MUST be validated**: only the 5 defined scopes are accepted
|
|
283
|
+
- Implementation: `GoferURIResolver.resolve()` in
|
|
284
|
+
`extension/src/autonomous/memory/GoferURI.ts`
|
|
285
|
+
|
|
286
|
+
### Usage by Sub-Agents
|
|
287
|
+
|
|
288
|
+
Sub-agents reference resources via gofer:// URIs to enable location-independent
|
|
289
|
+
access. When an agent receives `gofer://memory/core/task-context.md`, the
|
|
290
|
+
extension resolves it to the current workspace path.
|
|
291
|
+
|
|
292
|
+
**Example in agent prompt**:
|
|
293
|
+
|
|
294
|
+
```
|
|
295
|
+
Load the following contexts before starting:
|
|
296
|
+
- Past patterns: gofer://memory/patterns/auth.md
|
|
297
|
+
- Spec: gofer://specs/029-memory-system-v2/spec.md#requirements
|
|
298
|
+
- Constitution: gofer://memory/constitution.md
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
### Glob Pattern Support
|
|
302
|
+
|
|
303
|
+
Use `*` for single-level matching:
|
|
304
|
+
|
|
305
|
+
```
|
|
306
|
+
gofer://specs/029-*/research.md # All 029 research docs
|
|
307
|
+
gofer://agent/validation-*.md # All validation agents
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
### Implementation
|
|
311
|
+
|
|
312
|
+
- **Parser**: `parseGoferURI()` in `GoferURI.ts`
|
|
313
|
+
- **Resolver**: `GoferURIResolver.resolve()` and `resolveGlob()`
|
|
314
|
+
- **Integration**: `MemoryManager.loadByURI()` for memory scope
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
## Codex Skill Distribution (Hard Invariant 2)
|
|
319
|
+
|
|
320
|
+
**Version Added**: 2.2.0 | **Feature**: 001-cli-innovations-visuals
|
|
321
|
+
|
|
322
|
+
Gofer's Codex skill bundles emit to `.agents/skills/gofer/<stage>/SKILL.md`
|
|
323
|
+
(flat, non-tenanted layout). This is the official Codex discovery path;
|
|
324
|
+
`.claude/skills/` is NOT a Codex target. The two distribution paths are distinct
|
|
325
|
+
and MUST NOT be conflated.
|
|
326
|
+
|
|
327
|
+
### Constraints
|
|
328
|
+
|
|
329
|
+
- **Per-skill description limit**: Each `SKILL.md` description MUST be ≤140
|
|
330
|
+
characters (UTF-8 bytes). The source-of-truth generator rejects emit when any
|
|
331
|
+
description exceeds this limit (FR-006).
|
|
332
|
+
- **Cumulative description budget**: Cumulative description bytes across the 16
|
|
333
|
+
canonical Gofer stages MUST be ≤2048 bytes (≤2KB). Codex preloads ~2% of
|
|
334
|
+
context for skill name+description text; over-budget triggers a global drop of
|
|
335
|
+
ALL skill descriptions, not per-bundle eviction (NFR-004, SC-006).
|
|
336
|
+
- **Per-CLI parity**: Numbered stages, utilities, and helper commands are
|
|
337
|
+
emitted to Claude, Codex, Gemini, Copilot, VS Code, GitHub prompts, agent
|
|
338
|
+
skills, and system skills unless their frontmatter explicitly says otherwise
|
|
339
|
+
(FR-007, SC-012).
|
|
340
|
+
- **Flat tree**: Codex skill files emit at depth ≤2 from `.agents/skills/`; no
|
|
341
|
+
`<tenant>/<stage>/` nesting (FR-008).
|
|
342
|
+
- **No fictional config keys**: The official Codex disable knob is per-skill
|
|
343
|
+
`[[skills.config]] enabled = false` in `~/.codex/config.toml`. There is NO
|
|
344
|
+
`skills_context_budget_percent` config key — do NOT invent one (FR-011,
|
|
345
|
+
SC-011).
|
|
346
|
+
|
|
347
|
+
### Diagnostic — `gofer codex doctor`
|
|
348
|
+
|
|
349
|
+
`gofer codex doctor` is a **read-only** diagnostic that scans `~/.codex/skills`,
|
|
350
|
+
lists duplicate Gofer bundles, prints which paths exceed the 2% budget, and
|
|
351
|
+
emits a paste-ready `[[skills.config]] enabled = false` block. It MUST NOT
|
|
352
|
+
modify any file on disk (FR-009).
|
|
353
|
+
|
|
354
|
+
---
|
|
355
|
+
|
|
356
|
+
## Source-of-Truth (FR-001)
|
|
357
|
+
|
|
358
|
+
**Version Added**: 2.2.0 | **Feature**: 001-cli-innovations-visuals
|
|
359
|
+
|
|
360
|
+
All stage commands and control commands derive from canonical files at
|
|
361
|
+
`.specify/commands/<stage>.md`. Each file has YAML frontmatter (name,
|
|
362
|
+
description, surfaces, category, aliases, args) followed by a Markdown body.
|
|
363
|
+
|
|
364
|
+
### Generator
|
|
365
|
+
|
|
366
|
+
The generator at `.specify/scripts/node/generate-commands.mjs` emits to all
|
|
367
|
+
configured CLI surfaces:
|
|
368
|
+
|
|
369
|
+
- `.claude/commands/` (Claude Code)
|
|
370
|
+
- `extension/resources/claude-prompts/` (Claude-mirror, VSCode)
|
|
371
|
+
- `extension/resources/copilot-prompts/` (Copilot)
|
|
372
|
+
- `.github/prompts/` (GitHub Prompts)
|
|
373
|
+
- `.agents/skills/gofer/` (Codex)
|
|
374
|
+
- `.gemini/commands/gofer/` (Gemini)
|
|
375
|
+
- `.system/skills/` (system)
|
|
376
|
+
|
|
377
|
+
### Anti-drift Guard
|
|
378
|
+
|
|
379
|
+
Hand-edits to emitted files (`.claude/commands/`, `.github/prompts/`,
|
|
380
|
+
`extension/resources/copilot-prompts/`, `.agents/skills/`, etc.) are detected by
|
|
381
|
+
the generator and rejected without `--force-emit`. Always port the change back
|
|
382
|
+
into the canonical `.specify/commands/<stage>.md` and re-run
|
|
383
|
+
`npm run gofer:generate`.
|
|
384
|
+
|
|
385
|
+
### Operator Commands
|
|
386
|
+
|
|
387
|
+
| Command | Purpose |
|
|
388
|
+
| ------------------------------ | --------------------------------------------------------------- |
|
|
389
|
+
| `npm run gofer:generate` | Regenerate all CLI surfaces from `.specify/commands/<stage>.md` |
|
|
390
|
+
| `npm run gofer:codex-doctor` | Read-only Codex skill-budget diagnostic |
|
|
391
|
+
| `npm run gofer:mermaid-export` | Optional visual export via `mmdc` (NEVER uses `--no-sandbox`) |
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# Context Profiles Configuration
|
|
2
|
+
#
|
|
3
|
+
# Defines context budget allocation for each Gofer pipeline stage.
|
|
4
|
+
# Each stage has different priorities for research, memories, and code.
|
|
5
|
+
#
|
|
6
|
+
# Budget fractions must sum to <= 1.0 (remaining is for conversation)
|
|
7
|
+
# observationWindow: number of turns to keep tool outputs before masking
|
|
8
|
+
#
|
|
9
|
+
# @see .specify/specs/011-context-health-recursive-memory/data-model.md
|
|
10
|
+
|
|
11
|
+
version: '1.0'
|
|
12
|
+
|
|
13
|
+
# Default profile used when stage is not specified
|
|
14
|
+
default: implement
|
|
15
|
+
|
|
16
|
+
profiles:
|
|
17
|
+
# /1_gofer_research - Deep codebase exploration
|
|
18
|
+
research:
|
|
19
|
+
stage: research
|
|
20
|
+
description: 'Research phase prioritizes broad codebase exploration'
|
|
21
|
+
researchBudget: 0.15 # Lower - we're generating research, not consuming it
|
|
22
|
+
memoryBudget: 0.20 # Medium - leverage prior knowledge
|
|
23
|
+
codeBudget: 0.40 # High - need to read lots of code
|
|
24
|
+
observationWindow: 15 # Keep more observations for exploration
|
|
25
|
+
|
|
26
|
+
# /2_gofer_specify - Feature specification creation
|
|
27
|
+
specify:
|
|
28
|
+
stage: specify
|
|
29
|
+
description: 'Specification phase balances research and requirements'
|
|
30
|
+
researchBudget: 0.30 # High - reference research.md
|
|
31
|
+
memoryBudget: 0.20 # Medium - prior decisions matter
|
|
32
|
+
codeBudget: 0.20 # Lower - focused on spec writing
|
|
33
|
+
observationWindow: 12
|
|
34
|
+
|
|
35
|
+
# /3_gofer_plan - Technical architecture design
|
|
36
|
+
plan:
|
|
37
|
+
stage: plan
|
|
38
|
+
description: 'Planning phase emphasizes architecture and contracts'
|
|
39
|
+
researchBudget: 0.25 # Medium-high - reference research
|
|
40
|
+
memoryBudget: 0.25 # High - architectural decisions
|
|
41
|
+
codeBudget: 0.25 # Medium - reference existing patterns
|
|
42
|
+
observationWindow: 10
|
|
43
|
+
|
|
44
|
+
# /4_gofer_tasks - Task breakdown generation
|
|
45
|
+
tasks:
|
|
46
|
+
stage: tasks
|
|
47
|
+
description: 'Task generation needs plan and spec context'
|
|
48
|
+
researchBudget: 0.20 # Medium - reference research
|
|
49
|
+
memoryBudget: 0.15 # Lower - focused on plan decomposition
|
|
50
|
+
codeBudget: 0.30 # High - understand implementation scope
|
|
51
|
+
observationWindow: 8
|
|
52
|
+
|
|
53
|
+
# /5_gofer_implement - Code implementation
|
|
54
|
+
implement:
|
|
55
|
+
stage: implement
|
|
56
|
+
description: 'Implementation maximizes code context for accuracy'
|
|
57
|
+
researchBudget: 0.10 # Lower - less exploration needed
|
|
58
|
+
memoryBudget: 0.15 # Medium - coding conventions
|
|
59
|
+
codeBudget: 0.45 # Maximum - active coding needs code context
|
|
60
|
+
observationWindow: 10 # Balance between context and recency
|
|
61
|
+
|
|
62
|
+
# /6_gofer_validate - Implementation verification
|
|
63
|
+
validate:
|
|
64
|
+
stage: validate
|
|
65
|
+
description: 'Validation compares implementation against spec'
|
|
66
|
+
researchBudget: 0.20 # Medium - reference requirements
|
|
67
|
+
memoryBudget: 0.15 # Lower - focused on verification
|
|
68
|
+
codeBudget: 0.35 # High - verify actual implementation
|
|
69
|
+
observationWindow: 12 # Keep test outputs longer
|
|
70
|
+
|
|
71
|
+
# Budget allocation notes:
|
|
72
|
+
# - Conversation takes remaining budget (1.0 - sum of budgets)
|
|
73
|
+
# - Typical conversation allocation: 0.20-0.35 depending on stage
|
|
74
|
+
# - Budgets can be adjusted per project in local config
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
id: '000'
|
|
3
|
+
title: Use Architectural Decision Records for Design Decisions
|
|
4
|
+
status: accepted
|
|
5
|
+
date: '2025-01-11'
|
|
6
|
+
feature: project-wide
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Use Architectural Decision Records for Design Decisions
|
|
10
|
+
|
|
11
|
+
## Context
|
|
12
|
+
|
|
13
|
+
As Gofer evolves, design decisions are made during feature implementation.
|
|
14
|
+
Without a systematic way to record these decisions:
|
|
15
|
+
|
|
16
|
+
- Future contributors don't understand why things are built a certain way
|
|
17
|
+
- The same debates are repeated across features
|
|
18
|
+
- Inconsistent approaches emerge in different parts of the codebase
|
|
19
|
+
- Knowledge is lost when context windows are cleared or sessions end
|
|
20
|
+
|
|
21
|
+
## Decision
|
|
22
|
+
|
|
23
|
+
We will use Architectural Decision Records (ADRs) stored in
|
|
24
|
+
`.specify/memory/decisions/` to document significant design decisions.
|
|
25
|
+
|
|
26
|
+
Each ADR follows a standard template with:
|
|
27
|
+
|
|
28
|
+
- Frontmatter metadata (id, title, status, date, feature)
|
|
29
|
+
- Context explaining the problem
|
|
30
|
+
- Decision describing the solution
|
|
31
|
+
- Consequences listing positive and negative outcomes
|
|
32
|
+
- Alternatives considered with reasons for rejection
|
|
33
|
+
|
|
34
|
+
## Consequences
|
|
35
|
+
|
|
36
|
+
### Positive
|
|
37
|
+
|
|
38
|
+
- Decisions are discoverable and searchable
|
|
39
|
+
- New contributors can understand historical context
|
|
40
|
+
- Consistent approach across all features
|
|
41
|
+
- Enables learning from past decisions
|
|
42
|
+
- Integrates with Gofer pipeline validation step
|
|
43
|
+
|
|
44
|
+
### Negative
|
|
45
|
+
|
|
46
|
+
- Adds overhead to document decisions
|
|
47
|
+
- May create too many records if threshold is too low
|
|
48
|
+
- Requires maintenance as decisions become outdated
|
|
49
|
+
|
|
50
|
+
## Alternatives Considered
|
|
51
|
+
|
|
52
|
+
1. **Inline code comments**
|
|
53
|
+
- Description: Document decisions in the code itself
|
|
54
|
+
- Rejected because: Hard to discover, doesn't capture alternatives considered
|
|
55
|
+
|
|
56
|
+
2. **Feature-specific research.md only**
|
|
57
|
+
- Description: Keep all decisions in feature research files
|
|
58
|
+
- Rejected because: Project-wide decisions need a central location
|
|
59
|
+
|
|
60
|
+
3. **CLAUDE.md only**
|
|
61
|
+
- Description: Put all decisions in CLAUDE.md
|
|
62
|
+
- Rejected because: Would make CLAUDE.md too large and unfocused
|
|
63
|
+
|
|
64
|
+
## References
|
|
65
|
+
|
|
66
|
+
- [ADR GitHub organization](https://adr.github.io/)
|
|
67
|
+
- Gofer pipeline validation step (6_gofer_validate.md)
|