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,748 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: 4_gofer_tasks
|
|
3
|
+
description: "Break down the implementation plan into dependency-ordered, parallelisable tasks."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Workspace Preflight
|
|
7
|
+
|
|
8
|
+
Before doing stage/helper work:
|
|
9
|
+
|
|
10
|
+
1. Resolve the repository root.
|
|
11
|
+
2. Check the core Gofer sentinels:
|
|
12
|
+
- `.specify/.gofer-version`
|
|
13
|
+
- `.specify/commands/0_gofer_start.md`
|
|
14
|
+
- `.specify/templates/spec-template.md`
|
|
15
|
+
- `.specify/templates/loop-contract-template.json`
|
|
16
|
+
- `.specify/templates/working-backwards-prfaq-template.md`
|
|
17
|
+
- `.specify/templates/business-owner-summary-template.md`
|
|
18
|
+
- `.specify/templates/cto-architecture-summary-template.md`
|
|
19
|
+
- `.specify/templates/ciso-security-summary-template.md`
|
|
20
|
+
- `.specify/templates/stakeholder-review-index-template.md`
|
|
21
|
+
- `.specify/scripts/bash/create-new-feature.sh`
|
|
22
|
+
- `.specify/scripts/node/parse-stage-command.mjs`
|
|
23
|
+
- `.specify/scripts/node/gofer-loop-audit.mjs`
|
|
24
|
+
- `.specify/scripts/hooks/post-tool-use.mjs`
|
|
25
|
+
- `.specify/scripts/powershell/install-optional-tools.ps1`
|
|
26
|
+
- `.specify/templates/gofer-model-policy.yaml`
|
|
27
|
+
- `.specify/memory/gofer-model-policy.yaml`
|
|
28
|
+
- `.specify/specs/`
|
|
29
|
+
- `.specify/memory/`
|
|
30
|
+
3. Check host-specific repo-owned files when relevant:
|
|
31
|
+
- Claude: `AGENTS.md`, `CLAUDE.md`, `.claude/settings.json`
|
|
32
|
+
- Codex: `AGENTS.md`
|
|
33
|
+
- Copilot: `.github/copilot-instructions.md`
|
|
34
|
+
- VS Code extension mirrors Claude/Copilot/Gemini resources itself and should still keep the core scaffold healthy
|
|
35
|
+
4. If the repo already has the workspace checker script, prefer running:
|
|
36
|
+
- `node .specify/scripts/node/gofer-workspace-check.mjs --host codex --json`
|
|
37
|
+
5. If the workspace is missing or stale, ask exactly:
|
|
38
|
+
- **"This repo is missing or stale for Gofer. Initialize/update it now?"**
|
|
39
|
+
6. If the user says yes, run the Gofer workspace bootstrap helper and then resume this command from the top.
|
|
40
|
+
7. If the user says no, stop and explain that Gofer stage/helper work depends on the repo-owned scaffold.
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
description: Generate actionable task breakdown from implementation plan
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
# Gofer Tasks
|
|
47
|
+
|
|
48
|
+
## EAI Platform Session Preflight
|
|
49
|
+
|
|
50
|
+
Before any Gofer stage/helper command does pipeline work:
|
|
51
|
+
|
|
52
|
+
1. Treat durable delivery as EAI Platform delivery by default, with Azure second
|
|
53
|
+
and every other stack only by explicit exception.
|
|
54
|
+
2. Run `eai whoami` and confirm the EAI CLI is installed, the user is logged in,
|
|
55
|
+
and an active tenant is visible.
|
|
56
|
+
3. If `eai` is missing, `eai whoami` fails, the token is expired, or no active
|
|
57
|
+
tenant is available, stop and run `/gofer:eai-first-run` or ask the user to
|
|
58
|
+
approve login/setup before continuing.
|
|
59
|
+
4. For EAI app delivery, do not continue into research, specification, planning,
|
|
60
|
+
tasks, implementation, or validation until
|
|
61
|
+
`.specify/specs/{feature}/eai-preflight.md` records login, tenant, template,
|
|
62
|
+
app-readiness, and next-action evidence.
|
|
63
|
+
5. Do not write tokens, secrets, private tenant IDs, or local `.env` values into
|
|
64
|
+
Gofer artifacts; record only product-safe readiness status and evidence.
|
|
65
|
+
|
|
66
|
+
## Token And Cost Policy
|
|
67
|
+
<!-- gofer:token-cost-policy:start -->
|
|
68
|
+
|
|
69
|
+
Before spawning agents, calling tools, or loading large files:
|
|
70
|
+
|
|
71
|
+
1. Treat `.specify/memory/gofer-model-policy.yaml` as the repo-owned source of truth for simple, medium, hard, and arbiter model routing. If it is missing, run `/gofer:bootstrap-workspace` before continuing.
|
|
72
|
+
2. Use the cheapest capable model first.
|
|
73
|
+
- Claude: Haiku for scouting/extraction; Sonnet for normal implementation, synthesis, validation, and security; Opus for high-risk arbitration or release-critical failures.
|
|
74
|
+
- Codex/OpenAI: GPT mini for simple coding; GPT nano only for locate/classify/summarize/mechanical work; GPT-5.3-Codex or flagship GPT for tool-heavy coding, architecture, and release-critical validation.
|
|
75
|
+
- Gemini: Flash-Lite for cheap large-context scan/summarize; Flash for default research synthesis; Pro for large-context architecture or high-risk arbitration.
|
|
76
|
+
- Copilot: prefer Auto for simple and default work; ask the user before choosing a paid/high-tier picker model for hard security, architecture, or release gates.
|
|
77
|
+
3. Keep raw tool output out of the main conversation context. Save stable findings to `.specify/specs/{feature}/context-bundle.md`, then work from summaries.
|
|
78
|
+
4. Use provider prompt/context caching only for stable, non-secret prefixes: Gofer scaffold, AGENTS/CLAUDE/Copilot instructions, constitution, repo map, stage contracts, and validation rubric.
|
|
79
|
+
5. Before continuing after large research, planning, implementation, or validation bursts, checkpoint the durable artifacts and compact/clear/resume context when the host supports it.
|
|
80
|
+
6. Escalate model tier only when a cheaper pass is low-confidence, contradictory, security-sensitive, or blocking release quality.
|
|
81
|
+
<!-- gofer:token-cost-policy:end -->
|
|
82
|
+
|
|
83
|
+
## User Input
|
|
84
|
+
|
|
85
|
+
```text
|
|
86
|
+
$ARGUMENTS
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
You **MUST** consider the user input before proceeding (if not empty).
|
|
90
|
+
|
|
91
|
+
## Execution Profile And Task Sizing
|
|
92
|
+
|
|
93
|
+
Preserve the selected depth from earlier stages:
|
|
94
|
+
|
|
95
|
+
- **fast**: for `docs-only` or very small low-risk changes, generate a short
|
|
96
|
+
task list with only the work needed to deliver the change and its
|
|
97
|
+
verification.
|
|
98
|
+
- **standard**: generate normal dependency-ordered tasks with tests and
|
|
99
|
+
traceability.
|
|
100
|
+
- **full**: add tasks for contract compatibility, security review, migration or
|
|
101
|
+
config safety, rollout/rollback, and blast-radius verification.
|
|
102
|
+
- **dynamic**: require `workflow-dag.md`, then generate shard-aligned tasks,
|
|
103
|
+
reducer tasks, verifier/refuter tasks, budget/stop-condition checks, and a
|
|
104
|
+
resumable progress ledger before implementation starts.
|
|
105
|
+
|
|
106
|
+
Every task should name a real file or directory when known. If ownership or
|
|
107
|
+
files are unknown, mark that as `unknown` and add a discovery task instead of
|
|
108
|
+
fabricating a path. Keep optional artifacts out of the plan unless they support
|
|
109
|
+
the selected risk label. Do not convert dynamic shard tasks into implementation
|
|
110
|
+
work until the DAG confirmation gate is resolved.
|
|
111
|
+
|
|
112
|
+
## Prerequisites
|
|
113
|
+
|
|
114
|
+
This command expects in `.specify/specs/{feature}/`:
|
|
115
|
+
|
|
116
|
+
- `research.md` - Codebase analysis (from /1_gofer_research)
|
|
117
|
+
- `spec.md` - Feature specification (from /2_gofer_specify)
|
|
118
|
+
- `plan.md` - Implementation plan (from /3_gofer_plan)
|
|
119
|
+
- `goal-ledger.json` - Goal and re-loop contract (from /1 and /2)
|
|
120
|
+
- `loop-contract.json` - Bounded evaluation and stop-condition contract (from /1 and /3)
|
|
121
|
+
|
|
122
|
+
If missing, prompt user to run the prerequisite stage.
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## Spec Artifact Guard
|
|
127
|
+
|
|
128
|
+
Before task generation, `.specify/scripts/bash/check-prerequisites.sh --json`
|
|
129
|
+
must confirm that `{FEATURE_DIR}/spec.md` exists, is non-empty, and is not the
|
|
130
|
+
unfilled spec template. If the helper reports `spec.md` as missing, empty, or
|
|
131
|
+
`template`, stop and run `/2_gofer_specify` before generating tasks. Do not
|
|
132
|
+
infer tasks from `plan.md` alone because acceptance criteria and protected
|
|
133
|
+
boundaries live in the spec.
|
|
134
|
+
|
|
135
|
+
## Outline
|
|
136
|
+
|
|
137
|
+
1. Context health check
|
|
138
|
+
2. Load context (lightweight)
|
|
139
|
+
3. Dispatch task generation agents (sub-agents handle heavy generation)
|
|
140
|
+
4. Review agent outputs
|
|
141
|
+
5. Engineer review gate
|
|
142
|
+
6. Optional multi-perspective review
|
|
143
|
+
7. Approval gate
|
|
144
|
+
8. Output: `tasks.md`, `traceability.md`, `issues.md`,
|
|
145
|
+
`working-backwards-prfaq.md`, `prfaq-history/04-tasks.md`, and
|
|
146
|
+
`stakeholder-review-index.md`
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
## Step 0: Context Health Check
|
|
151
|
+
|
|
152
|
+
Before generating tasks, assess context window health:
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
.specify/scripts/bash/check-context-health.sh
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
- If **< 50%**: Proceed normally
|
|
159
|
+
- If **50-70%**: Consider `/compact` before loading all artifacts
|
|
160
|
+
- If **> 70%**: Start new session with handoff summary
|
|
161
|
+
|
|
162
|
+
Task generation dispatches agents — keep main context lightweight.
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
## Step 1: Load Context (Lightweight)
|
|
167
|
+
|
|
168
|
+
1. **Run setup script**:
|
|
169
|
+
|
|
170
|
+
```bash
|
|
171
|
+
.specify/scripts/bash/check-prerequisites.sh --json
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Parse JSON for FEATURE_DIR, AVAILABLE_DOCS
|
|
175
|
+
|
|
176
|
+
2. **Scan available documents** (do NOT load full content — agents read
|
|
177
|
+
directly):
|
|
178
|
+
- Note feature name from FEATURE_DIR
|
|
179
|
+
- Note which optional docs exist: data-model.md, contracts/, quickstart.md
|
|
180
|
+
- Note whether `loop-contract.json` exists. If missing, initialize it with
|
|
181
|
+
`node .specify/scripts/node/gofer-loop-audit.mjs --feature-dir {FEATURE_DIR} --stage 4_tasks --init --json`
|
|
182
|
+
- Note the tasks template path: `.specify/templates/tasks-template.md`
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## Step 2: Dispatch Task Generation Agents
|
|
187
|
+
|
|
188
|
+
**CRITICAL**: You **MUST** launch these agents using the Task tool. Do NOT
|
|
189
|
+
perform this work inline in the main context. The main context should only
|
|
190
|
+
orchestrate and review agent outputs.
|
|
191
|
+
|
|
192
|
+
### Agent 1: Task Breakdown Generator
|
|
193
|
+
|
|
194
|
+
```
|
|
195
|
+
Task: subagent_type="general-purpose", model="sonnet"
|
|
196
|
+
Prompt: "Generate a complete, dependency-ordered task breakdown for [FEATURE_NAME].
|
|
197
|
+
|
|
198
|
+
Feature directory: {FEATURE_DIR}
|
|
199
|
+
|
|
200
|
+
Read these files for full context:
|
|
201
|
+
- {FEATURE_DIR}/plan.md — Implementation phases, architecture, file structure
|
|
202
|
+
- {FEATURE_DIR}/spec.md — User stories with priorities and acceptance criteria
|
|
203
|
+
- {FEATURE_DIR}/data-model.md — Entity definitions (read if exists)
|
|
204
|
+
- {FEATURE_DIR}/contracts/ — API contracts (read all .md files if exists)
|
|
205
|
+
- {FEATURE_DIR}/research.md — Technology decisions (read if exists)
|
|
206
|
+
- {FEATURE_DIR}/loop-contract.json — eval commands, max iterations, stop conditions, and human escalation rules
|
|
207
|
+
- .specify/templates/tasks-template.md — Task template structure
|
|
208
|
+
|
|
209
|
+
Generate tasks.md organized by user story to enable independent implementation:
|
|
210
|
+
|
|
211
|
+
Task Organization (REQUIRED structure):
|
|
212
|
+
1. Phase 1: Setup — Project initialization, shared infrastructure
|
|
213
|
+
2. Phase 2: Foundational — Blocking prerequisites for all user stories
|
|
214
|
+
3. Phase 3+: User Stories — One phase per story in priority order (P1 first)
|
|
215
|
+
4. Final Phase: Polish — Cross-cutting concerns, documentation
|
|
216
|
+
|
|
217
|
+
Task Format (REQUIRED for every task):
|
|
218
|
+
- [ ] [TaskID] [P?] [Story?] Description with exact file path
|
|
219
|
+
Where:
|
|
220
|
+
- TaskID: Sequential (T001, T002...)
|
|
221
|
+
- [P]: Only if parallelizable with other tasks in same phase
|
|
222
|
+
- [Story]: [US1], [US2] etc. for user story phases only
|
|
223
|
+
- Description: Clear action with the exact file path to create/modify
|
|
224
|
+
|
|
225
|
+
Each phase MUST include:
|
|
226
|
+
- Goal statement
|
|
227
|
+
- Independent Test Criteria (for user story phases)
|
|
228
|
+
- Verification checklist at the end
|
|
229
|
+
|
|
230
|
+
Include these sections:
|
|
231
|
+
1. YAML frontmatter: feature, spec, plan, status: ready, created (ISO date)
|
|
232
|
+
2. Overview: Total tasks, parallel opportunities, user story count
|
|
233
|
+
3. Dependencies: Mermaid graph showing phase dependencies
|
|
234
|
+
4. All phases with tasks
|
|
235
|
+
5. Parallel Execution Guide: Which [P] tasks can run concurrently
|
|
236
|
+
6. Implementation Strategy: MVP first, incremental delivery, polish last
|
|
237
|
+
7. Loop Evidence Tasks:
|
|
238
|
+
- Task(s) to run each loop-contract eval command at the right phase boundary
|
|
239
|
+
- Task(s) to append `loop-ledger.jsonl` records after each check-repair cycle
|
|
240
|
+
- Task(s) to stop and escalate if maxIterations or stop conditions trigger
|
|
241
|
+
|
|
242
|
+
Validation checks before writing:
|
|
243
|
+
- Every plan phase has at least one task (GAP-02)
|
|
244
|
+
- Every plan task item has a corresponding task
|
|
245
|
+
- Every acceptance criterion maps to at least one task (GAP-03)
|
|
246
|
+
- Every data model entity has implementing tasks
|
|
247
|
+
- Every API contract endpoint has implementing tasks
|
|
248
|
+
- Every loop-contract eval command maps to at least one task or verification
|
|
249
|
+
checklist item
|
|
250
|
+
- Every implementation phase explains what ledger evidence will be recorded
|
|
251
|
+
- Task file paths match plan.md File Structure section
|
|
252
|
+
- For CLI-driven platform mutations, task order must reflect authoritative
|
|
253
|
+
store setup before orchestrator writes, orchestrator writes before CLI
|
|
254
|
+
consumption, and platform persistence before local mirror patching.
|
|
255
|
+
|
|
256
|
+
Write the complete task breakdown to {FEATURE_DIR}/tasks.md.
|
|
257
|
+
|
|
258
|
+
Return a structured summary:
|
|
259
|
+
- Total task count
|
|
260
|
+
- Tasks per phase
|
|
261
|
+
- Parallel opportunity count
|
|
262
|
+
- Plan phase coverage: N/N phases covered
|
|
263
|
+
- Acceptance criteria coverage: N/N criteria covered
|
|
264
|
+
- Any coverage gaps found"
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
### Agent 2: Traceability Analyzer
|
|
268
|
+
|
|
269
|
+
```
|
|
270
|
+
Task: subagent_type="general-purpose", model="haiku"
|
|
271
|
+
Prompt: "Generate a requirement traceability artifact for [FEATURE_NAME].
|
|
272
|
+
|
|
273
|
+
Feature directory: {FEATURE_DIR}
|
|
274
|
+
|
|
275
|
+
Read these files:
|
|
276
|
+
- {FEATURE_DIR}/spec.md — User stories, acceptance criteria, functional requirements
|
|
277
|
+
- {FEATURE_DIR}/plan.md — Implementation phases, components
|
|
278
|
+
- {FEATURE_DIR}/goal-ledger.json — goals, metrics, delivery states, re-loop triggers
|
|
279
|
+
- {FEATURE_DIR}/loop-contract.json — loop eval commands, max iterations, stop conditions, and escalation rules
|
|
280
|
+
- {FEATURE_DIR}/tasks.md — Task breakdown (read after Agent 1 writes it)
|
|
281
|
+
- {FEATURE_DIR}/data-model.md — Entity definitions (read if exists)
|
|
282
|
+
- {FEATURE_DIR}/contracts/ — API contracts (read if exists)
|
|
283
|
+
|
|
284
|
+
Generate {FEATURE_DIR}/traceability.md with:
|
|
285
|
+
|
|
286
|
+
1. Goal → Story → Requirement Mapping:
|
|
287
|
+
| Goal ID | Metric / Target | User Story | Requirement IDs | Task IDs |
|
|
288
|
+
|
|
289
|
+
2. Requirement Trace Matrix:
|
|
290
|
+
| Requirement ID | Goal ID | Plan Phase | Task IDs | Planned Code | Planned Tests | Status |
|
|
291
|
+
|
|
292
|
+
3. Acceptance Criteria Detail:
|
|
293
|
+
| ID | Criterion | Task(s) | Planned Code | Planned Tests | Phase |
|
|
294
|
+
|
|
295
|
+
4. Plan Phase Coverage:
|
|
296
|
+
| Phase | Task Count | Coverage % |
|
|
297
|
+
|
|
298
|
+
5. Data Entity Coverage (if data-model.md exists):
|
|
299
|
+
| Entity | Implementing Task(s) | Fields Covered? |
|
|
300
|
+
|
|
301
|
+
6. API Contract Coverage (if contracts/ exists):
|
|
302
|
+
| Endpoint | Contract File | Implementing Task(s) |
|
|
303
|
+
|
|
304
|
+
7. Loop Evidence Coverage:
|
|
305
|
+
| Eval Command | Phase Boundary | Task IDs | Ledger Evidence | Stop/Escalation Rule |
|
|
306
|
+
|
|
307
|
+
8. Coverage Summary:
|
|
308
|
+
- Plan Phases: N/N covered
|
|
309
|
+
- User Stories: N/N covered
|
|
310
|
+
- Acceptance Criteria: N/N covered
|
|
311
|
+
- Requirements with code targets: N/N covered
|
|
312
|
+
- Requirements with test targets: N/N covered
|
|
313
|
+
- Loop eval commands: N/N covered
|
|
314
|
+
- Data Entities: N/N covered
|
|
315
|
+
- API Endpoints: N/N covered
|
|
316
|
+
- Status: VALIDATION PASSED or VALIDATION FAILED
|
|
317
|
+
|
|
318
|
+
Return: overall coverage percentages and any MISSING items"
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
**Run Agent 1 first**, then Agent 2 after tasks.md is written.
|
|
322
|
+
|
|
323
|
+
---
|
|
324
|
+
|
|
325
|
+
## Step 3: Review Agent Outputs
|
|
326
|
+
|
|
327
|
+
After both agents complete:
|
|
328
|
+
|
|
329
|
+
1. **Review tasks.md** — Verify from Agent 1:
|
|
330
|
+
- Tasks are specific enough for LLM execution
|
|
331
|
+
- File paths reference real locations in the codebase
|
|
332
|
+
- Phase dependencies make sense
|
|
333
|
+
- Every user story phase is independently testable
|
|
334
|
+
- Parallel markers [P] are correct (no dependency conflicts)
|
|
335
|
+
|
|
336
|
+
2. **Review traceability.md** — Check from Agent 2:
|
|
337
|
+
- If VALIDATION FAILED: identify which coverage gaps exist
|
|
338
|
+
- Add missing tasks for uncovered acceptance criteria
|
|
339
|
+
- Add missing tasks for uncovered plan phases
|
|
340
|
+
- Add missing planned code/test targets for uncovered requirements
|
|
341
|
+
- Re-run Agent 2 if tasks.md was modified
|
|
342
|
+
|
|
343
|
+
3. **Fix coverage gaps** — Max 3 correction iterations
|
|
344
|
+
|
|
345
|
+
---
|
|
346
|
+
|
|
347
|
+
## Step 4: Engineering Review Gate (Up to 5 cycles)
|
|
348
|
+
|
|
349
|
+
Before proceeding to the approval gate, run an iterative engineering review to
|
|
350
|
+
catch misalignment early.
|
|
351
|
+
|
|
352
|
+
### Review Cycle (repeat up to 5 times)
|
|
353
|
+
|
|
354
|
+
**You MUST dispatch 3 review agents in parallel** using the Task tool:
|
|
355
|
+
|
|
356
|
+
**Agent 1**: engineer-review (sonnet) — cross-check spec↔plan↔tasks alignment
|
|
357
|
+
|
|
358
|
+
```
|
|
359
|
+
Task: subagent_type="engineer-review", model="sonnet"
|
|
360
|
+
Prompt: "Review alignment between spec.md, plan.md, and tasks.md in {FEATURE_DIR}.
|
|
361
|
+
Find every gap, inconsistency, and misalignment. Report Red/Yellow/Gray findings."
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
**Agent 2**: codebase-analyzer (sonnet) — verify file paths and code patterns
|
|
365
|
+
|
|
366
|
+
```
|
|
367
|
+
Task: subagent_type="codebase-analyzer", model="sonnet"
|
|
368
|
+
Prompt: "Verify that the tasks at {FEATURE_DIR}/tasks.md reference correct
|
|
369
|
+
file paths and follow existing codebase patterns from {FEATURE_DIR}/research.md.
|
|
370
|
+
Report Red/Yellow/Gray findings."
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
**Agent 3**: validation-correctness (sonnet) — verify acceptance criteria
|
|
374
|
+
coverage
|
|
375
|
+
|
|
376
|
+
```
|
|
377
|
+
Task: subagent_type="validation-correctness", model="sonnet"
|
|
378
|
+
Prompt: "Verify that every acceptance criterion in {FEATURE_DIR}/spec.md
|
|
379
|
+
is covered by at least one task in {FEATURE_DIR}/tasks.md.
|
|
380
|
+
Report Red/Yellow/Gray findings with coverage gaps."
|
|
381
|
+
```
|
|
382
|
+
|
|
383
|
+
**After agents return:**
|
|
384
|
+
|
|
385
|
+
1. Classify findings: Red (blocking) / Yellow (should fix) / Gray
|
|
386
|
+
(informational)
|
|
387
|
+
2. If NO Red or Yellow findings → PASS → proceed to approval gate
|
|
388
|
+
3. If Red or Yellow findings exist: a. Fix findings directly in tasks.md (Red
|
|
389
|
+
first, then Yellow) b. Increment cycle counter c. If cycle <= 5 → re-run
|
|
390
|
+
review agents d. If cycle > 5 → log remaining findings, proceed with warnings
|
|
391
|
+
|
|
392
|
+
---
|
|
393
|
+
|
|
394
|
+
## Step 5: Multi-Perspective Task Review (Optional)
|
|
395
|
+
|
|
396
|
+
After task validation, optionally run multi-perspective strategies. **Skip if
|
|
397
|
+
time-constrained.**
|
|
398
|
+
|
|
399
|
+
### Strategy #14: Cross-Cutting Concern Scanner
|
|
400
|
+
|
|
401
|
+
Spawn 5 agents scanning for missing cross-cutting concerns:
|
|
402
|
+
|
|
403
|
+
```
|
|
404
|
+
Task: subagent_type="tasks-cross-cutting-scanner", model="haiku"
|
|
405
|
+
Prompt: "Scan tasks.md at [FEATURE_DIR]/tasks.md for missing cross-cutting concerns.
|
|
406
|
+
Dimension [1-5]:
|
|
407
|
+
1: Logging/observability 2: Accessibility 3: Internationalization
|
|
408
|
+
4: Backward compatibility 5: Documentation
|
|
409
|
+
Spec: [FEATURE_DIR]/spec.md"
|
|
410
|
+
```
|
|
411
|
+
|
|
412
|
+
Run all 5 in parallel, then synthesize with judge:
|
|
413
|
+
|
|
414
|
+
```
|
|
415
|
+
Task: subagent_type="multi-perspective-judge", model="opus"
|
|
416
|
+
Prompt: "Judge verdict type: cross-cutting concern gap analysis.
|
|
417
|
+
Identify which missing concerns should be added as tasks before implementation.
|
|
418
|
+
[paste all 5 agent outputs]"
|
|
419
|
+
```
|
|
420
|
+
|
|
421
|
+
Add HIGH priority missing tasks to tasks.md if the judge recommends them.
|
|
422
|
+
|
|
423
|
+
### Strategy #18: Rollback Strategy Planner
|
|
424
|
+
|
|
425
|
+
Plan rollback for each implementation phase:
|
|
426
|
+
|
|
427
|
+
```
|
|
428
|
+
Task: subagent_type="tasks-rollback-planner", model="haiku"
|
|
429
|
+
Prompt: "Analyze tasks.md at [FEATURE_DIR]/tasks.md.
|
|
430
|
+
For each phase, design a rollback plan. Identify irreversible steps that need checkpoints."
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
Include rollback notes in the task document's "Implementation Strategy" section.
|
|
434
|
+
|
|
435
|
+
---
|
|
436
|
+
|
|
437
|
+
## Step 6: Generate GitHub Issues
|
|
438
|
+
|
|
439
|
+
Run the issues generator:
|
|
440
|
+
|
|
441
|
+
```bash
|
|
442
|
+
node .specify/scripts/node/generate-issues.js "$FEATURE_DIR"
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
This creates `{FEATURE_DIR}/issues.md` with GitHub-ready issue definitions.
|
|
446
|
+
|
|
447
|
+
### 6.5 Update Working Backwards PR/FAQ Delivery Plan
|
|
448
|
+
|
|
449
|
+
Before the approval gate:
|
|
450
|
+
|
|
451
|
+
1. Update `{FEATURE_DIR}/working-backwards-prfaq.md`.
|
|
452
|
+
- Add Delivery / Operations FAQ content from `tasks.md`,
|
|
453
|
+
`traceability.md`, `issues.md`, dependencies, phase ordering, launch
|
|
454
|
+
gates, rollback/support notes, and loop eval tasks.
|
|
455
|
+
- Update Evidence Links for `tasks.md`, `traceability.md`,
|
|
456
|
+
`loop-contract.json`, and `issues.md`.
|
|
457
|
+
2. Write `{FEATURE_DIR}/prfaq-history/04-tasks.md` as an immutable snapshot.
|
|
458
|
+
3. Update `{FEATURE_DIR}/stakeholder-review-index.md`.
|
|
459
|
+
- Mark Business Owner and CTO decisions that changed because of task
|
|
460
|
+
sequencing or scope boundaries.
|
|
461
|
+
- Add Delivery review ask for dependencies, protected files, MVP scope,
|
|
462
|
+
parallel work, release gates, and rollback/support plan.
|
|
463
|
+
4. Do not remove or weaken the task approval gate. The PR/FAQ and review index
|
|
464
|
+
summarize what is ready; `tasks.md` remains the implementation authority.
|
|
465
|
+
|
|
466
|
+
---
|
|
467
|
+
|
|
468
|
+
## Step 7: Approval Gate
|
|
469
|
+
|
|
470
|
+
**IMPORTANT**: Tasks MUST be reviewed and approved before implementation begins.
|
|
471
|
+
|
|
472
|
+
### 7.1 Update Task Status
|
|
473
|
+
|
|
474
|
+
Set the frontmatter status to `review`:
|
|
475
|
+
|
|
476
|
+
```yaml
|
|
477
|
+
---
|
|
478
|
+
feature: [Feature Name]
|
|
479
|
+
spec: spec.md
|
|
480
|
+
plan: plan.md
|
|
481
|
+
status: review # Changed from 'draft' to 'review'
|
|
482
|
+
created: [ISO date]
|
|
483
|
+
---
|
|
484
|
+
```
|
|
485
|
+
|
|
486
|
+
### 7.2 Present for Approval
|
|
487
|
+
|
|
488
|
+
Display the task summary and request explicit approval:
|
|
489
|
+
|
|
490
|
+
```
|
|
491
|
+
════════════════════════════════════════════════════════════════
|
|
492
|
+
TASKS READY FOR REVIEW: [Feature Name]
|
|
493
|
+
════════════════════════════════════════════════════════════════
|
|
494
|
+
|
|
495
|
+
Task Summary:
|
|
496
|
+
- Total tasks: [N]
|
|
497
|
+
- Tasks by story:
|
|
498
|
+
- US1 (P1): [N] tasks
|
|
499
|
+
- US2 (P2): [N] tasks
|
|
500
|
+
- ...
|
|
501
|
+
- Parallel opportunities: [N] tasks
|
|
502
|
+
- MVP scope: Phase 1-3 (Setup + Foundation + US1)
|
|
503
|
+
|
|
504
|
+
Files created:
|
|
505
|
+
- {FEATURE_DIR}/tasks.md
|
|
506
|
+
- {FEATURE_DIR}/traceability.md
|
|
507
|
+
- {FEATURE_DIR}/loop-contract.json (updated if evaluation commands changed)
|
|
508
|
+
- {FEATURE_DIR}/issues.md ([N] GitHub issues)
|
|
509
|
+
- {FEATURE_DIR}/working-backwards-prfaq.md
|
|
510
|
+
- {FEATURE_DIR}/prfaq-history/04-tasks.md
|
|
511
|
+
- {FEATURE_DIR}/stakeholder-review-index.md
|
|
512
|
+
|
|
513
|
+
════════════════════════════════════════════════════════════════
|
|
514
|
+
APPROVAL REQUIRED BEFORE IMPLEMENTATION
|
|
515
|
+
════════════════════════════════════════════════════════════════
|
|
516
|
+
|
|
517
|
+
Please review tasks.md and confirm:
|
|
518
|
+
1. Task breakdown is complete and accurate
|
|
519
|
+
2. Protected files list is correct
|
|
520
|
+
3. Phase dependencies make sense
|
|
521
|
+
4. Scope boundaries are appropriate
|
|
522
|
+
|
|
523
|
+
Reply with:
|
|
524
|
+
- "approved" or "lgtm" to proceed to implementation
|
|
525
|
+
- "modify [feedback]" to request changes
|
|
526
|
+
- "stop" to halt the pipeline
|
|
527
|
+
|
|
528
|
+
════════════════════════════════════════════════════════════════
|
|
529
|
+
```
|
|
530
|
+
|
|
531
|
+
### 7.3 Handle Approval Response
|
|
532
|
+
|
|
533
|
+
| Response | Action |
|
|
534
|
+
| --------------------------- | ------------------------------------------------------------ |
|
|
535
|
+
| `approved` / `lgtm` / `yes` | Update status to `approved`, proceed to `/5_gofer_implement` |
|
|
536
|
+
| `modify [feedback]` | Update tasks based on feedback, re-present for approval |
|
|
537
|
+
| `stop` | Halt pipeline, document reason in tasks.md |
|
|
538
|
+
|
|
539
|
+
### 7.4 Record Approval
|
|
540
|
+
|
|
541
|
+
When approved, update frontmatter:
|
|
542
|
+
|
|
543
|
+
```yaml
|
|
544
|
+
---
|
|
545
|
+
feature: [Feature Name]
|
|
546
|
+
spec: spec.md
|
|
547
|
+
plan: plan.md
|
|
548
|
+
status: approved
|
|
549
|
+
approvedBy: '[user]'
|
|
550
|
+
approvedAt: '[ISO timestamp]'
|
|
551
|
+
created: [ISO date]
|
|
552
|
+
---
|
|
553
|
+
```
|
|
554
|
+
|
|
555
|
+
---
|
|
556
|
+
|
|
557
|
+
## Step 8: Continue to Implementation
|
|
558
|
+
|
|
559
|
+
After approval received:
|
|
560
|
+
|
|
561
|
+
```
|
|
562
|
+
✓ Tasks APPROVED: {FEATURE_DIR}/tasks.md
|
|
563
|
+
|
|
564
|
+
Engineering Review: PASSED (cycle [N] of 5)
|
|
565
|
+
```
|
|
566
|
+
|
|
567
|
+
**AUTO-CHAIN (MANDATORY)**: You MUST immediately invoke the next pipeline stage
|
|
568
|
+
by calling the Skill tool with skill="/5_gofer_implement". Do NOT ask the user
|
|
569
|
+
for confirmation. Do NOT output "Ready for next stage". Just invoke the skill
|
|
570
|
+
NOW.
|
|
571
|
+
|
|
572
|
+
---
|
|
573
|
+
|
|
574
|
+
## Ordered Runnable Task-Generation Guidance
|
|
575
|
+
|
|
576
|
+
The standard Gofer workflow is the public default. EnterpriseAI task generation
|
|
577
|
+
is migration-only and used only when `workflowProfile` is explicitly
|
|
578
|
+
`enterpriseai`.
|
|
579
|
+
|
|
580
|
+
When the workflow profile is explicitly `enterpriseai`,
|
|
581
|
+
`tasks.md` MUST emit deployment
|
|
582
|
+
tasks in the following ordered chain. Each task is independently runnable and
|
|
583
|
+
the ordering enforces scaffold before deployment so that runtime contract and
|
|
584
|
+
deploy-doctor evidence exist before any deploy command runs.
|
|
585
|
+
|
|
586
|
+
0. **EAI readiness unblock -> `eai-preflight.md`**
|
|
587
|
+
- If `{FEATURE_DIR}/eai-preflight.md` is missing, stale, or blocked, emit
|
|
588
|
+
only the smallest runnable unblock tasks before normal build tasks:
|
|
589
|
+
install/update `eai`, run `eai login`, run `eai tenant select`, confirm a
|
|
590
|
+
tenant-admin membership with `eai tenant list --format json`, initialize
|
|
591
|
+
the EAI app template with `eai init <app-name> --skip-prompts
|
|
592
|
+
--company-tenant <tenant-id>` when confirmed, and confirm app enrollment
|
|
593
|
+
with `eai app list/create/select`.
|
|
594
|
+
- Do not emit object-type, UI, implementation, deployment, or service-fit
|
|
595
|
+
tasks until EAI readiness is `ready` or explicitly deferred by the user.
|
|
596
|
+
- Never invent tenant IDs, app keys, app URLs, or platform capabilities.
|
|
597
|
+
Use `eai --describe`, public EAI docs, and the user's confirmed tenant/app
|
|
598
|
+
selection as evidence.
|
|
599
|
+
- Do not emit tasks that establish a non-EAI primary runtime, database,
|
|
600
|
+
hosting platform, or app framework. Non-EAI technologies can appear only as
|
|
601
|
+
approved integration/migration/exception tasks after the EAI Platform/Azure
|
|
602
|
+
fit is recorded.
|
|
603
|
+
1. **EAI App Template scaffolding -> `eai init`**
|
|
604
|
+
- Command: `eai init <app-name> --skip-prompts --company-tenant <tenant-id>`
|
|
605
|
+
- Produces the working directory and provider-neutral `eai.runtime.json`
|
|
606
|
+
expected by subsequent runtime and deployment tasks.
|
|
607
|
+
2. **Local validation -> `eai runtime validate` and `eai verify`**
|
|
608
|
+
- Commands: `eai runtime validate` and `eai verify`
|
|
609
|
+
- Confirms the runtime contract, tenant/workflow configuration, and platform
|
|
610
|
+
readiness before any deploy attempt.
|
|
611
|
+
3. **Pinned `eai major.minor` deployment tasks -> `eai deploy`**
|
|
612
|
+
- Command: `eai deploy trigger --repo <org/repo>`
|
|
613
|
+
- Inherits the `major.minor` pin recorded in `plan.md`.
|
|
614
|
+
4. **Post-deploy smoke gate -> `eai deploy doctor`**
|
|
615
|
+
- Command: `mkdir -p .eai && eai deploy doctor --url <deployed-url> --format json > .eai/deploy-doctor.json`
|
|
616
|
+
- Captures black-box runtime smoke evidence for `/health`, Auth.js,
|
|
617
|
+
PublicAPI/BFF reachability, tenant/workflow config, and declared smoke
|
|
618
|
+
tests.
|
|
619
|
+
|
|
620
|
+
<!-- prettier-ignore -->
|
|
621
|
+
The ordering above is non-negotiable: tasks.md MUST instruct the pipeline to scaffold before deployment, validate before deploy, invoke pinned `eai major.minor` deployment tasks, and then capture deploy-doctor evidence. Breaking the order causes deployment preflight gating in `/5_gofer_implement` to fail.
|
|
622
|
+
|
|
623
|
+
### App-Delivery Preconditions Inside Shared Stages
|
|
624
|
+
|
|
625
|
+
For **application delivery**, task generation MUST treat the UI-first gate as a
|
|
626
|
+
precondition to downstream implementation tasks:
|
|
627
|
+
|
|
628
|
+
- If `{FEATURE_DIR}/ui-approval.md` does not exist or is not approved, emit
|
|
629
|
+
only the blocking preview/approval tasks needed to reach approval; do **not**
|
|
630
|
+
emit downstream implementation tasks as if the UI were already settled.
|
|
631
|
+
- If `{FEATURE_DIR}/service-fit-matrix.md` is missing or does not distinguish
|
|
632
|
+
accessible now vs purchasable vs unavailable platform capabilities, emit a
|
|
633
|
+
blocking service-fit task group before normal build tasks.
|
|
634
|
+
- The first normal build tasks must use the EAI app template, EAI CLI, EAI
|
|
635
|
+
platform services, and Azure-compatible deployment/supporting services before
|
|
636
|
+
any custom or third-party implementation task.
|
|
637
|
+
- Use the EAI App Template already scaffolded by `eai` as the default UI
|
|
638
|
+
lego-block source. Any create-new UI concept must appear as an explicit
|
|
639
|
+
exception task with rationale.
|
|
640
|
+
- Add a block-catalog task before any UI implementation task. It MUST run
|
|
641
|
+
`eai --describe`, `eai blocks list`, `eai blocks describe <id>` for selected
|
|
642
|
+
blocks, and `eai resources schema --format json`; task notes must cite block
|
|
643
|
+
IDs, resource fields, data/action bindings, package lane, coupling status,
|
|
644
|
+
Storybook story IDs, theme override points, and approved custom-block
|
|
645
|
+
exceptions.
|
|
646
|
+
- Add package-profile tasks that lock the external/internal/hybrid profile
|
|
647
|
+
choice and the package lane before any public, shared, or app-local block
|
|
648
|
+
implementation begins.
|
|
649
|
+
- Add block-porting tasks for every selected EAI App Template block that must
|
|
650
|
+
move into a reusable package lane, including Storybook story ID coverage,
|
|
651
|
+
theme override points, exports, and compatibility checks.
|
|
652
|
+
- Add source-platform decoupling tasks whenever a block or package lane is not
|
|
653
|
+
restricted-source and still depends on source-platform internals; the task must define the
|
|
654
|
+
resource-schema or adapter boundary and the regression proof that source-platform coupling is no
|
|
655
|
+
longer required by the public surface.
|
|
656
|
+
- Add public-readiness tasks for external and hybrid profiles covering public
|
|
657
|
+
exports, docs/examples where already part of the package surface,
|
|
658
|
+
accessibility/theming contracts, consumer smoke tests, and unsupported
|
|
659
|
+
custom-block exceptions.
|
|
660
|
+
- For **non-app work**, keep the shared numbered stages but skip these
|
|
661
|
+
preview/approval/service-fit prerequisites.
|
|
662
|
+
|
|
663
|
+
### EnterpriseAI Contract, Reuse, and Red/Green Tasks
|
|
664
|
+
|
|
665
|
+
`tasks.md` MUST also include:
|
|
666
|
+
|
|
667
|
+
- EAI readiness unblock -> `eai-preflight.md` before any remote platform task.
|
|
668
|
+
- App resource provisioning -> `eai app provision` before any claim of
|
|
669
|
+
object-type seeding or preview readiness.
|
|
670
|
+
- Object-type publish -> `eai types seed` only after provisioning and
|
|
671
|
+
validation are complete.
|
|
672
|
+
- Schema and storage health -> `eai resources schema` / storage diagnostics / `eai verify`
|
|
673
|
+
before preview/runtime signoff.
|
|
674
|
+
- Pinned `eai major.minor` deployment tasks whenever deployment, rollout, or
|
|
675
|
+
environment coordination depends on a specific EAI CLI generation.
|
|
676
|
+
- Contract-pack coverage tasks for actors, object types, workflows/journeys,
|
|
677
|
+
permissions/tenant boundaries, APIs/events, deployment assumptions, and
|
|
678
|
+
acceptance tests.
|
|
679
|
+
- AI-augmented journey tasks for app delivery: one task group for each of the
|
|
680
|
+
four-or-fewer journey steps covering user experience, chatbot/voice/
|
|
681
|
+
accessibility/translation support, contextual prefill, completion validation,
|
|
682
|
+
human review, audit trail, and fallback/escalation.
|
|
683
|
+
- App-delivery preview/approval tasks that:
|
|
684
|
+
- build the first MVP from EAI App Template blocks
|
|
685
|
+
- select only known `eai blocks` IDs unless a custom-block exception exists
|
|
686
|
+
- preserve package lane, external/internal/hybrid profile choice, coupling
|
|
687
|
+
status, Storybook story IDs, and theme override points from the approved
|
|
688
|
+
preview brief
|
|
689
|
+
- apply approved branding/logo work when in scope
|
|
690
|
+
- collect screenshot or Playwright-style self-review evidence
|
|
691
|
+
- update `ui-review-log.md`
|
|
692
|
+
- block downstream work until `ui-approval.md` is approved
|
|
693
|
+
- App-delivery service-fit tasks that update `service-fit-matrix.md` using
|
|
694
|
+
tenant-aware evidence from `eai --describe`, `eai whoami`, `eai tenant
|
|
695
|
+
select`, `eai resources schema --format json`, `eai workflow readiness
|
|
696
|
+
--format json`, `eai verify calls --format json`, or equivalent approved
|
|
697
|
+
platform evidence.
|
|
698
|
+
- A scope-control task that checks whether any user-facing app process exceeds
|
|
699
|
+
four steps and either combines/automates extra steps or records the approved
|
|
700
|
+
exception and rationale.
|
|
701
|
+
- Reuse-before-create tasks before any new EnterpriseAI object type, API/event,
|
|
702
|
+
workflow, module, or spec concept is created.
|
|
703
|
+
- Test-first red/green tasks: generate spec-derived tests, verify they fail
|
|
704
|
+
against missing or incomplete implementation, implement in a separate task,
|
|
705
|
+
then re-run validation.
|
|
706
|
+
- Audit-history tasks that preserve stable finding IDs, recurring findings,
|
|
707
|
+
accepted exceptions, owner, expiry, and review cadence.
|
|
708
|
+
|
|
709
|
+
### CLI-Driven Platform State Ordering
|
|
710
|
+
|
|
711
|
+
When a command-line workflow is expected to update platform state, `tasks.md`
|
|
712
|
+
MUST order work like this unless the plan proves a different authoritative
|
|
713
|
+
dependency:
|
|
714
|
+
|
|
715
|
+
0. Respect the real EAI app gates before any claim of seeding, schema
|
|
716
|
+
readiness, or preview readiness.
|
|
717
|
+
1. Define or extend the authoritative storage model.
|
|
718
|
+
2. Implement platform-side orchestrator writes into those stores.
|
|
719
|
+
3. Implement secret/config persistence if secrets or environment state are part
|
|
720
|
+
of the success contract.
|
|
721
|
+
4. Implement CLI or UX consumption of the new platform response.
|
|
722
|
+
5. Add regression tests for create, repair, recovery, and failure gates.
|
|
723
|
+
|
|
724
|
+
The CLI must not be treated as the source of truth when the plan says the
|
|
725
|
+
platform owns persistence.
|
|
726
|
+
|
|
727
|
+
---
|
|
728
|
+
|
|
729
|
+
## Observability Logging
|
|
730
|
+
|
|
731
|
+
At stage completion, log metrics:
|
|
732
|
+
|
|
733
|
+
```bash
|
|
734
|
+
.specify/scripts/bash/log-stage.sh 4_tasks --complete --tokens [N] --compactions [N]
|
|
735
|
+
```
|
|
736
|
+
|
|
737
|
+
Logs to: `.specify/logs/pipeline.jsonl`
|
|
738
|
+
|
|
739
|
+
---
|
|
740
|
+
|
|
741
|
+
## Key Rules
|
|
742
|
+
|
|
743
|
+
- Use absolute paths for all file references
|
|
744
|
+
- Every task must have a file path
|
|
745
|
+
- Tasks must be specific enough for LLM execution
|
|
746
|
+
- Each user story phase must be independently testable
|
|
747
|
+
- Tests are OPTIONAL - only include if specified in requirements
|
|
748
|
+
- Log stage completion for observability tracking
|