@llipe.com/dev-tasks 0.11.0 → 0.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/developer.md +138 -62
- package/.claude/agents/github-ops.md +48 -4
- package/.claude/agents/housekeeping.md +44 -7
- package/.claude/agents/qa-engineer.md +24 -11
- package/.claude/agents/researcher.md +26 -6
- package/.claude/agents/technical-writer.md +64 -7
- package/.claude/agents/ux-engineer.md +1 -0
- package/.claude/agents/verifier.md +63 -6
- package/.claude/commands/developer.md +2 -266
- package/.claude/commands/infra-engineer.md +92 -0
- package/.claude/commands/planner.md +98 -29
- package/.claude/commands/product-engineer.md +69 -11
- package/.claude/commands/researcher.md +4 -5
- package/.claude/commands/technical-writer.md +1 -1
- package/.claude/hooks/branch-guard.sh +30 -0
- package/.claude/hooks/git-guard.sh +573 -24
- package/.claude/skills/activity-codebase-research/SKILL.md +4 -11
- package/.claude/skills/activity-generate-spec/SKILL.md +34 -10
- package/.claude/skills/activity-grill/SKILL.md +150 -0
- package/.claude/skills/activity-init/SKILL.md +121 -71
- package/.claude/skills/activity-refine/SKILL.md +75 -15
- package/.claude/skills/activity-test-standards/SKILL.md +25 -0
- package/.claude/skills/aws-ops/SKILL.md +155 -0
- package/.claude/skills/deploy-ops/SKILL.md +121 -0
- package/.claude/skills/fly-ops/SKILL.md +138 -0
- package/.claude/skills/git-ops/SKILL.md +27 -7
- package/.claude/skills/implement/SKILL.md +61 -12
- package/.claude/skills/memo-cli-usage/REFERENCE.md +230 -17
- package/.claude/skills/memo-cli-usage/SKILL.md +68 -13
- package/.claude/skills/plan/SKILL.md +43 -1
- package/.claude/skills/supabase-ops/SKILL.md +109 -0
- package/.github/agents/developer.agent.md +103 -38
- package/.github/agents/github-ops.agent.md +46 -4
- package/.github/agents/housekeeping.agent.md +43 -7
- package/.github/agents/infra-engineer.agent.md +139 -0
- package/.github/agents/planner.agent.md +79 -10
- package/.github/agents/product-engineer.agent.md +69 -11
- package/.github/agents/qa-engineer.agent.md +23 -11
- package/.github/agents/researcher.agent.md +25 -6
- package/.github/agents/technical-writer.agent.md +63 -7
- package/.github/agents/verifier.agent.md +61 -5
- package/.github/instructions/implement.instructions.md +61 -12
- package/.github/instructions/plan.instructions.md +43 -1
- package/.github/prompts/infra-engineer.prompt.md +12 -0
- package/.github/prompts/product-engineer-init.prompt.md +5 -6
- package/.github/prompts/researcher.prompt.md +4 -5
- package/.github/prompts/technical-writer.prompt.md +1 -1
- package/.github/skills/activity-codebase-research/SKILL.md +4 -16
- package/.github/skills/activity-generate-spec/SKILL.md +34 -10
- package/.github/skills/activity-grill/SKILL.md +145 -0
- package/.github/skills/activity-init/SKILL.md +120 -70
- package/.github/skills/activity-refine/SKILL.md +75 -15
- package/.github/skills/activity-test-standards/SKILL.md +25 -0
- package/.github/skills/aws-ops/SKILL.md +150 -0
- package/.github/skills/deploy-ops/SKILL.md +116 -0
- package/.github/skills/fly-ops/SKILL.md +133 -0
- package/.github/skills/git-ops/SKILL.md +27 -7
- package/.github/skills/memo-cli-usage/REFERENCE.md +230 -17
- package/.github/skills/memo-cli-usage/SKILL.md +68 -13
- package/.github/skills/supabase-ops/SKILL.md +104 -0
- package/.kiro/agents/developer.md +104 -39
- package/.kiro/agents/github-ops.md +46 -4
- package/.kiro/agents/housekeeping.md +44 -8
- package/.kiro/agents/infra-engineer.md +102 -0
- package/.kiro/agents/planner.md +87 -21
- package/.kiro/agents/product-engineer.md +72 -14
- package/.kiro/agents/qa-engineer.md +24 -12
- package/.kiro/agents/researcher.md +26 -7
- package/.kiro/agents/technical-writer.md +66 -10
- package/.kiro/agents/verifier.md +62 -6
- package/.kiro/hooks/scripts/git-guard.sh +96 -10
- package/.kiro/skills/activity-codebase-research/SKILL.md +4 -11
- package/.kiro/skills/activity-generate-spec/SKILL.md +34 -10
- package/.kiro/skills/activity-grill/SKILL.md +150 -0
- package/.kiro/skills/activity-init/SKILL.md +121 -71
- package/.kiro/skills/activity-refine/SKILL.md +75 -15
- package/.kiro/skills/activity-test-standards/SKILL.md +25 -0
- package/.kiro/skills/aws-ops/SKILL.md +155 -0
- package/.kiro/skills/deploy-ops/SKILL.md +121 -0
- package/.kiro/skills/fly-ops/SKILL.md +138 -0
- package/.kiro/skills/git-ops/SKILL.md +27 -7
- package/.kiro/skills/memo-cli-usage/REFERENCE.md +230 -17
- package/.kiro/skills/memo-cli-usage/SKILL.md +68 -13
- package/.kiro/skills/supabase-ops/SKILL.md +109 -0
- package/.kiro/steering/implement.md +61 -12
- package/.kiro/steering/plan.md +43 -1
- package/AGENTS.md +67 -114
- package/AGENTS.md.template +126 -0
- package/CHANGELOG.md +182 -0
- package/CLAUDE.md +25 -19
- package/CLAUDE.md.template +104 -0
- package/README.md +168 -146
- package/TESTING.md +84 -148
- package/bundle-manifest.json +43 -2
- package/dist/bin/dev-tasks.js +65 -3
- package/dist/bin/dev-tasks.js.map +1 -1
- package/dist/{adapters/cli → bin}/parse-args.d.ts +2 -6
- package/dist/bin/parse-args.d.ts.map +1 -0
- package/dist/{adapters/cli → bin}/parse-args.js +2 -18
- package/dist/bin/parse-args.js.map +1 -0
- package/dist/core/checks/decision-log-format.d.ts +44 -0
- package/dist/core/checks/decision-log-format.d.ts.map +1 -0
- package/dist/core/checks/decision-log-format.js +171 -0
- package/dist/core/checks/decision-log-format.js.map +1 -0
- package/dist/core/checks/docs-structure.d.ts +82 -0
- package/dist/core/checks/docs-structure.d.ts.map +1 -0
- package/dist/core/checks/docs-structure.js +285 -0
- package/dist/core/checks/docs-structure.js.map +1 -0
- package/dist/core/checks/glossary.d.ts +178 -0
- package/dist/core/checks/glossary.d.ts.map +1 -0
- package/dist/core/checks/glossary.js +651 -0
- package/dist/core/checks/glossary.js.map +1 -0
- package/dist/core/checks/index.d.ts +19 -0
- package/dist/core/checks/index.d.ts.map +1 -0
- package/dist/core/checks/index.js +16 -0
- package/dist/core/checks/index.js.map +1 -0
- package/dist/core/checks/run.d.ts +22 -0
- package/dist/core/checks/run.d.ts.map +1 -0
- package/dist/core/checks/run.js +51 -0
- package/dist/core/checks/run.js.map +1 -0
- package/dist/core/distribution/doctor.d.ts +46 -1
- package/dist/core/distribution/doctor.d.ts.map +1 -1
- package/dist/core/distribution/doctor.js +161 -2
- package/dist/core/distribution/doctor.js.map +1 -1
- package/dist/core/distribution/index.d.ts +9 -3
- package/dist/core/distribution/index.d.ts.map +1 -1
- package/dist/core/distribution/index.js +5 -2
- package/dist/core/distribution/index.js.map +1 -1
- package/dist/core/distribution/install-if-absent.d.ts +46 -0
- package/dist/core/distribution/install-if-absent.d.ts.map +1 -0
- package/dist/core/distribution/install-if-absent.js +81 -0
- package/dist/core/distribution/install-if-absent.js.map +1 -0
- package/dist/core/distribution/install.d.ts.map +1 -1
- package/dist/core/distribution/install.js +5 -0
- package/dist/core/distribution/install.js.map +1 -1
- package/dist/core/distribution/migrate-docs.d.ts +64 -0
- package/dist/core/distribution/migrate-docs.d.ts.map +1 -0
- package/dist/core/distribution/migrate-docs.js +139 -0
- package/dist/core/distribution/migrate-docs.js.map +1 -0
- package/dist/core/distribution/profiles.d.ts +49 -0
- package/dist/core/distribution/profiles.d.ts.map +1 -1
- package/dist/core/distribution/profiles.js +45 -0
- package/dist/core/distribution/profiles.js.map +1 -1
- package/dist/core/distribution/update.d.ts +14 -0
- package/dist/core/distribution/update.d.ts.map +1 -1
- package/dist/core/distribution/update.js +77 -3
- package/dist/core/distribution/update.js.map +1 -1
- package/dist/core/distribution/workspace.d.ts +84 -0
- package/dist/core/distribution/workspace.d.ts.map +1 -0
- package/dist/core/distribution/workspace.js +276 -0
- package/dist/core/distribution/workspace.js.map +1 -0
- package/dist/core/exit-codes.d.ts +15 -35
- package/dist/core/exit-codes.d.ts.map +1 -1
- package/dist/core/exit-codes.js +15 -36
- package/dist/core/exit-codes.js.map +1 -1
- package/dist/core/index.d.ts +1 -6
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/index.js +1 -7
- package/dist/core/index.js.map +1 -1
- package/package.json +17 -32
- package/templates/claude/settings.json +48 -0
- package/templates/domain/ubiquitous-language.md +28 -0
- package/templates/infra/environments.yaml +16 -0
- package/templates/infra/redaction-patterns.txt +47 -0
- package/templates/runbooks/README.md +14 -0
- package/templates/runbooks/runbook-template.md +40 -0
- package/templates/scripts/deploy-status.sh +89 -0
- package/templates/scripts/deploy-verify.sh +85 -0
- package/templates/scripts/deploy.sh +284 -0
- package/templates/scripts/release.sh +170 -0
- package/templates/scripts/rollback.sh +109 -0
- package/templates/workflows/deploy-dev.yml +66 -0
- package/templates/workflows/deploy-prod.yml +66 -0
- package/templates/workflows/rollback.yml +77 -0
- package/.claude/skills/activity-contract-validation/SKILL.md +0 -167
- package/.github/skills/activity-contract-validation/SKILL.md +0 -167
- package/.kiro/skills/activity-contract-validation/SKILL.md +0 -167
- package/dist/adapters/cli/catalog-build.d.ts +0 -30
- package/dist/adapters/cli/catalog-build.d.ts.map +0 -1
- package/dist/adapters/cli/catalog-build.js +0 -73
- package/dist/adapters/cli/catalog-build.js.map +0 -1
- package/dist/adapters/cli/catalog-query.d.ts +0 -13
- package/dist/adapters/cli/catalog-query.d.ts.map +0 -1
- package/dist/adapters/cli/catalog-query.js +0 -329
- package/dist/adapters/cli/catalog-query.js.map +0 -1
- package/dist/adapters/cli/catalog-scaffold.d.ts +0 -24
- package/dist/adapters/cli/catalog-scaffold.d.ts.map +0 -1
- package/dist/adapters/cli/catalog-scaffold.js +0 -46
- package/dist/adapters/cli/catalog-scaffold.js.map +0 -1
- package/dist/adapters/cli/catalog-validate.d.ts +0 -35
- package/dist/adapters/cli/catalog-validate.d.ts.map +0 -1
- package/dist/adapters/cli/catalog-validate.js +0 -122
- package/dist/adapters/cli/catalog-validate.js.map +0 -1
- package/dist/adapters/cli/ctx-assemble.d.ts +0 -19
- package/dist/adapters/cli/ctx-assemble.d.ts.map +0 -1
- package/dist/adapters/cli/ctx-assemble.js +0 -293
- package/dist/adapters/cli/ctx-assemble.js.map +0 -1
- package/dist/adapters/cli/ctx-fetch.d.ts +0 -49
- package/dist/adapters/cli/ctx-fetch.d.ts.map +0 -1
- package/dist/adapters/cli/ctx-fetch.js +0 -267
- package/dist/adapters/cli/ctx-fetch.js.map +0 -1
- package/dist/adapters/cli/extract-all.d.ts +0 -31
- package/dist/adapters/cli/extract-all.d.ts.map +0 -1
- package/dist/adapters/cli/extract-all.js +0 -374
- package/dist/adapters/cli/extract-all.js.map +0 -1
- package/dist/adapters/cli/extract-asyncapi.d.ts +0 -26
- package/dist/adapters/cli/extract-asyncapi.d.ts.map +0 -1
- package/dist/adapters/cli/extract-asyncapi.js +0 -142
- package/dist/adapters/cli/extract-asyncapi.js.map +0 -1
- package/dist/adapters/cli/extract-component.d.ts +0 -24
- package/dist/adapters/cli/extract-component.d.ts.map +0 -1
- package/dist/adapters/cli/extract-component.js +0 -198
- package/dist/adapters/cli/extract-component.js.map +0 -1
- package/dist/adapters/cli/extract-detect.d.ts +0 -19
- package/dist/adapters/cli/extract-detect.d.ts.map +0 -1
- package/dist/adapters/cli/extract-detect.js +0 -98
- package/dist/adapters/cli/extract-detect.js.map +0 -1
- package/dist/adapters/cli/extract-openapi.d.ts +0 -29
- package/dist/adapters/cli/extract-openapi.d.ts.map +0 -1
- package/dist/adapters/cli/extract-openapi.js +0 -111
- package/dist/adapters/cli/extract-openapi.js.map +0 -1
- package/dist/adapters/cli/extract-schema.d.ts +0 -15
- package/dist/adapters/cli/extract-schema.d.ts.map +0 -1
- package/dist/adapters/cli/extract-schema.js +0 -39
- package/dist/adapters/cli/extract-schema.js.map +0 -1
- package/dist/adapters/cli/index.d.ts +0 -6
- package/dist/adapters/cli/index.d.ts.map +0 -1
- package/dist/adapters/cli/index.js +0 -5
- package/dist/adapters/cli/index.js.map +0 -1
- package/dist/adapters/cli/init.d.ts +0 -37
- package/dist/adapters/cli/init.d.ts.map +0 -1
- package/dist/adapters/cli/init.js +0 -336
- package/dist/adapters/cli/init.js.map +0 -1
- package/dist/adapters/cli/parse-args.d.ts.map +0 -1
- package/dist/adapters/cli/parse-args.js.map +0 -1
- package/dist/adapters/cli/scope-gate.d.ts +0 -25
- package/dist/adapters/cli/scope-gate.d.ts.map +0 -1
- package/dist/adapters/cli/scope-gate.js +0 -157
- package/dist/adapters/cli/scope-gate.js.map +0 -1
- package/dist/adapters/cli/scope.d.ts +0 -26
- package/dist/adapters/cli/scope.d.ts.map +0 -1
- package/dist/adapters/cli/scope.js +0 -172
- package/dist/adapters/cli/scope.js.map +0 -1
- package/dist/adapters/cli/validate-component.d.ts +0 -24
- package/dist/adapters/cli/validate-component.d.ts.map +0 -1
- package/dist/adapters/cli/validate-component.js +0 -62
- package/dist/adapters/cli/validate-component.js.map +0 -1
- package/dist/adapters/cli/verify-contract-diff.d.ts +0 -21
- package/dist/adapters/cli/verify-contract-diff.d.ts.map +0 -1
- package/dist/adapters/cli/verify-contract-diff.js +0 -69
- package/dist/adapters/cli/verify-contract-diff.js.map +0 -1
- package/dist/adapters/cli/verify-drift.d.ts +0 -24
- package/dist/adapters/cli/verify-drift.d.ts.map +0 -1
- package/dist/adapters/cli/verify-drift.js +0 -103
- package/dist/adapters/cli/verify-drift.js.map +0 -1
- package/dist/adapters/cli/verify-impact.d.ts +0 -23
- package/dist/adapters/cli/verify-impact.d.ts.map +0 -1
- package/dist/adapters/cli/verify-impact.js +0 -119
- package/dist/adapters/cli/verify-impact.js.map +0 -1
- package/dist/adapters/mcp/index.d.ts +0 -5
- package/dist/adapters/mcp/index.d.ts.map +0 -1
- package/dist/adapters/mcp/index.js +0 -2
- package/dist/adapters/mcp/index.js.map +0 -1
- package/dist/bin/dt.d.ts +0 -7
- package/dist/bin/dt.d.ts.map +0 -1
- package/dist/bin/dt.js +0 -647
- package/dist/bin/dt.js.map +0 -1
- package/dist/core/catalog/build.d.ts +0 -143
- package/dist/core/catalog/build.d.ts.map +0 -1
- package/dist/core/catalog/build.js +0 -475
- package/dist/core/catalog/build.js.map +0 -1
- package/dist/core/catalog/checks/index.d.ts +0 -18
- package/dist/core/catalog/checks/index.d.ts.map +0 -1
- package/dist/core/catalog/checks/index.js +0 -18
- package/dist/core/catalog/checks/index.js.map +0 -1
- package/dist/core/catalog/checks/v01-schema.d.ts +0 -17
- package/dist/core/catalog/checks/v01-schema.d.ts.map +0 -1
- package/dist/core/catalog/checks/v01-schema.js +0 -57
- package/dist/core/catalog/checks/v01-schema.js.map +0 -1
- package/dist/core/catalog/checks/v02-v03-identity.d.ts +0 -14
- package/dist/core/catalog/checks/v02-v03-identity.d.ts.map +0 -1
- package/dist/core/catalog/checks/v02-v03-identity.js +0 -60
- package/dist/core/catalog/checks/v02-v03-identity.js.map +0 -1
- package/dist/core/catalog/checks/v04-referential-integrity.d.ts +0 -7
- package/dist/core/catalog/checks/v04-referential-integrity.d.ts.map +0 -1
- package/dist/core/catalog/checks/v04-referential-integrity.js +0 -32
- package/dist/core/catalog/checks/v04-referential-integrity.js.map +0 -1
- package/dist/core/catalog/checks/v05-domain-existence.d.ts +0 -6
- package/dist/core/catalog/checks/v05-domain-existence.d.ts.map +0 -1
- package/dist/core/catalog/checks/v05-domain-existence.js +0 -23
- package/dist/core/catalog/checks/v05-domain-existence.js.map +0 -1
- package/dist/core/catalog/checks/v06-v07-paths.d.ts +0 -29
- package/dist/core/catalog/checks/v06-v07-paths.d.ts.map +0 -1
- package/dist/core/catalog/checks/v06-v07-paths.js +0 -107
- package/dist/core/catalog/checks/v06-v07-paths.js.map +0 -1
- package/dist/core/catalog/checks/v08-v10-contracts.d.ts +0 -13
- package/dist/core/catalog/checks/v08-v10-contracts.d.ts.map +0 -1
- package/dist/core/catalog/checks/v08-v10-contracts.js +0 -70
- package/dist/core/catalog/checks/v08-v10-contracts.js.map +0 -1
- package/dist/core/catalog/checks/v11-manual-fields.d.ts +0 -16
- package/dist/core/catalog/checks/v11-manual-fields.d.ts.map +0 -1
- package/dist/core/catalog/checks/v11-manual-fields.js +0 -60
- package/dist/core/catalog/checks/v11-manual-fields.js.map +0 -1
- package/dist/core/catalog/checks/v12-cycles.d.ts +0 -8
- package/dist/core/catalog/checks/v12-cycles.d.ts.map +0 -1
- package/dist/core/catalog/checks/v12-cycles.js +0 -28
- package/dist/core/catalog/checks/v12-cycles.js.map +0 -1
- package/dist/core/catalog/checks/v13-orphan-contracts.d.ts +0 -7
- package/dist/core/catalog/checks/v13-orphan-contracts.d.ts.map +0 -1
- package/dist/core/catalog/checks/v13-orphan-contracts.js +0 -33
- package/dist/core/catalog/checks/v13-orphan-contracts.js.map +0 -1
- package/dist/core/catalog/checks/v14-v15-lifecycle.d.ts +0 -8
- package/dist/core/catalog/checks/v14-v15-lifecycle.d.ts.map +0 -1
- package/dist/core/catalog/checks/v14-v15-lifecycle.js +0 -42
- package/dist/core/catalog/checks/v14-v15-lifecycle.js.map +0 -1
- package/dist/core/catalog/checks/v16-deprecated-consumers.d.ts +0 -7
- package/dist/core/catalog/checks/v16-deprecated-consumers.d.ts.map +0 -1
- package/dist/core/catalog/checks/v16-deprecated-consumers.js +0 -47
- package/dist/core/catalog/checks/v16-deprecated-consumers.js.map +0 -1
- package/dist/core/catalog/checks/v17-low-confidence.d.ts +0 -7
- package/dist/core/catalog/checks/v17-low-confidence.d.ts.map +0 -1
- package/dist/core/catalog/checks/v17-low-confidence.js +0 -32
- package/dist/core/catalog/checks/v17-low-confidence.js.map +0 -1
- package/dist/core/catalog/checks/v18-low-payload.d.ts +0 -7
- package/dist/core/catalog/checks/v18-low-payload.d.ts.map +0 -1
- package/dist/core/catalog/checks/v18-low-payload.js +0 -33
- package/dist/core/catalog/checks/v18-low-payload.js.map +0 -1
- package/dist/core/catalog/checks/v19-domain-membership.d.ts +0 -8
- package/dist/core/catalog/checks/v19-domain-membership.d.ts.map +0 -1
- package/dist/core/catalog/checks/v19-domain-membership.js +0 -55
- package/dist/core/catalog/checks/v19-domain-membership.js.map +0 -1
- package/dist/core/catalog/coverage.d.ts +0 -39
- package/dist/core/catalog/coverage.d.ts.map +0 -1
- package/dist/core/catalog/coverage.js +0 -62
- package/dist/core/catalog/coverage.js.map +0 -1
- package/dist/core/catalog/graph.d.ts +0 -49
- package/dist/core/catalog/graph.d.ts.map +0 -1
- package/dist/core/catalog/graph.js +0 -114
- package/dist/core/catalog/graph.js.map +0 -1
- package/dist/core/catalog/index-model.d.ts +0 -96
- package/dist/core/catalog/index-model.d.ts.map +0 -1
- package/dist/core/catalog/index-model.js +0 -8
- package/dist/core/catalog/index-model.js.map +0 -1
- package/dist/core/catalog/index.d.ts +0 -5
- package/dist/core/catalog/index.d.ts.map +0 -1
- package/dist/core/catalog/index.js +0 -2
- package/dist/core/catalog/index.js.map +0 -1
- package/dist/core/catalog/queries.d.ts +0 -69
- package/dist/core/catalog/queries.d.ts.map +0 -1
- package/dist/core/catalog/queries.js +0 -165
- package/dist/core/catalog/queries.js.map +0 -1
- package/dist/core/catalog/resolve.d.ts +0 -47
- package/dist/core/catalog/resolve.d.ts.map +0 -1
- package/dist/core/catalog/resolve.js +0 -318
- package/dist/core/catalog/resolve.js.map +0 -1
- package/dist/core/catalog/scaffold.d.ts +0 -31
- package/dist/core/catalog/scaffold.d.ts.map +0 -1
- package/dist/core/catalog/scaffold.js +0 -141
- package/dist/core/catalog/scaffold.js.map +0 -1
- package/dist/core/catalog/validate-component.d.ts +0 -50
- package/dist/core/catalog/validate-component.d.ts.map +0 -1
- package/dist/core/catalog/validate-component.js +0 -105
- package/dist/core/catalog/validate-component.js.map +0 -1
- package/dist/core/catalog/validate.d.ts +0 -71
- package/dist/core/catalog/validate.d.ts.map +0 -1
- package/dist/core/catalog/validate.js +0 -103
- package/dist/core/catalog/validate.js.map +0 -1
- package/dist/core/context/assemble.d.ts +0 -126
- package/dist/core/context/assemble.d.ts.map +0 -1
- package/dist/core/context/assemble.js +0 -197
- package/dist/core/context/assemble.js.map +0 -1
- package/dist/core/context/cache.d.ts +0 -60
- package/dist/core/context/cache.d.ts.map +0 -1
- package/dist/core/context/cache.js +0 -236
- package/dist/core/context/cache.js.map +0 -1
- package/dist/core/context/exit-codes.d.ts +0 -28
- package/dist/core/context/exit-codes.d.ts.map +0 -1
- package/dist/core/context/exit-codes.js +0 -28
- package/dist/core/context/exit-codes.js.map +0 -1
- package/dist/core/context/fetch.d.ts +0 -55
- package/dist/core/context/fetch.d.ts.map +0 -1
- package/dist/core/context/fetch.js +0 -112
- package/dist/core/context/fetch.js.map +0 -1
- package/dist/core/context/index.d.ts +0 -11
- package/dist/core/context/index.d.ts.map +0 -1
- package/dist/core/context/index.js +0 -8
- package/dist/core/context/index.js.map +0 -1
- package/dist/core/context/init.d.ts +0 -179
- package/dist/core/context/init.d.ts.map +0 -1
- package/dist/core/context/init.js +0 -532
- package/dist/core/context/init.js.map +0 -1
- package/dist/core/context/layers/architecture-layer.d.ts +0 -13
- package/dist/core/context/layers/architecture-layer.d.ts.map +0 -1
- package/dist/core/context/layers/architecture-layer.js +0 -24
- package/dist/core/context/layers/architecture-layer.js.map +0 -1
- package/dist/core/context/layers/contracts-layer.d.ts +0 -13
- package/dist/core/context/layers/contracts-layer.d.ts.map +0 -1
- package/dist/core/context/layers/contracts-layer.js +0 -83
- package/dist/core/context/layers/contracts-layer.js.map +0 -1
- package/dist/core/context/layers/conventions-delta-layer.d.ts +0 -13
- package/dist/core/context/layers/conventions-delta-layer.d.ts.map +0 -1
- package/dist/core/context/layers/conventions-delta-layer.js +0 -37
- package/dist/core/context/layers/conventions-delta-layer.js.map +0 -1
- package/dist/core/context/layers/flow-layer.d.ts +0 -14
- package/dist/core/context/layers/flow-layer.d.ts.map +0 -1
- package/dist/core/context/layers/flow-layer.js +0 -61
- package/dist/core/context/layers/flow-layer.js.map +0 -1
- package/dist/core/context/layers/index-layer.d.ts +0 -13
- package/dist/core/context/layers/index-layer.d.ts.map +0 -1
- package/dist/core/context/layers/index-layer.js +0 -77
- package/dist/core/context/layers/index-layer.js.map +0 -1
- package/dist/core/context/layers/primary-layer.d.ts +0 -16
- package/dist/core/context/layers/primary-layer.d.ts.map +0 -1
- package/dist/core/context/layers/primary-layer.js +0 -61
- package/dist/core/context/layers/primary-layer.js.map +0 -1
- package/dist/core/context/layers/secondary-layer.d.ts +0 -19
- package/dist/core/context/layers/secondary-layer.d.ts.map +0 -1
- package/dist/core/context/layers/secondary-layer.js +0 -52
- package/dist/core/context/layers/secondary-layer.js.map +0 -1
- package/dist/core/context/session-lock.d.ts +0 -114
- package/dist/core/context/session-lock.d.ts.map +0 -1
- package/dist/core/context/session-lock.js +0 -90
- package/dist/core/context/session-lock.js.map +0 -1
- package/dist/core/context/tokens.d.ts +0 -35
- package/dist/core/context/tokens.d.ts.map +0 -1
- package/dist/core/context/tokens.js +0 -88
- package/dist/core/context/tokens.js.map +0 -1
- package/dist/core/extract/asyncapi/declared.d.ts +0 -19
- package/dist/core/extract/asyncapi/declared.d.ts.map +0 -1
- package/dist/core/extract/asyncapi/declared.js +0 -168
- package/dist/core/extract/asyncapi/declared.js.map +0 -1
- package/dist/core/extract/asyncapi/index.d.ts +0 -12
- package/dist/core/extract/asyncapi/index.d.ts.map +0 -1
- package/dist/core/extract/asyncapi/index.js +0 -8
- package/dist/core/extract/asyncapi/index.js.map +0 -1
- package/dist/core/extract/asyncapi/payloads.d.ts +0 -20
- package/dist/core/extract/asyncapi/payloads.d.ts.map +0 -1
- package/dist/core/extract/asyncapi/payloads.js +0 -421
- package/dist/core/extract/asyncapi/payloads.js.map +0 -1
- package/dist/core/extract/asyncapi/topics.d.ts +0 -27
- package/dist/core/extract/asyncapi/topics.d.ts.map +0 -1
- package/dist/core/extract/asyncapi/topics.js +0 -368
- package/dist/core/extract/asyncapi/topics.js.map +0 -1
- package/dist/core/extract/asyncapi/types.d.ts +0 -129
- package/dist/core/extract/asyncapi/types.d.ts.map +0 -1
- package/dist/core/extract/asyncapi/types.js +0 -5
- package/dist/core/extract/asyncapi/types.js.map +0 -1
- package/dist/core/extract/asyncapi/validate.d.ts +0 -29
- package/dist/core/extract/asyncapi/validate.d.ts.map +0 -1
- package/dist/core/extract/asyncapi/validate.js +0 -156
- package/dist/core/extract/asyncapi/validate.js.map +0 -1
- package/dist/core/extract/component.d.ts +0 -204
- package/dist/core/extract/component.d.ts.map +0 -1
- package/dist/core/extract/component.js +0 -258
- package/dist/core/extract/component.js.map +0 -1
- package/dist/core/extract/detect.d.ts +0 -35
- package/dist/core/extract/detect.d.ts.map +0 -1
- package/dist/core/extract/detect.js +0 -89
- package/dist/core/extract/detect.js.map +0 -1
- package/dist/core/extract/index.d.ts +0 -12
- package/dist/core/extract/index.d.ts.map +0 -1
- package/dist/core/extract/index.js +0 -6
- package/dist/core/extract/index.js.map +0 -1
- package/dist/core/extract/ladder.d.ts +0 -79
- package/dist/core/extract/ladder.d.ts.map +0 -1
- package/dist/core/extract/ladder.js +0 -70
- package/dist/core/extract/ladder.js.map +0 -1
- package/dist/core/extract/openapi/index.d.ts +0 -43
- package/dist/core/extract/openapi/index.d.ts.map +0 -1
- package/dist/core/extract/openapi/index.js +0 -142
- package/dist/core/extract/openapi/index.js.map +0 -1
- package/dist/core/extract/openapi/route1.d.ts +0 -36
- package/dist/core/extract/openapi/route1.d.ts.map +0 -1
- package/dist/core/extract/openapi/route1.js +0 -333
- package/dist/core/extract/openapi/route1.js.map +0 -1
- package/dist/core/extract/openapi/route2-introspect.d.ts +0 -18
- package/dist/core/extract/openapi/route2-introspect.d.ts.map +0 -1
- package/dist/core/extract/openapi/route2-introspect.js +0 -249
- package/dist/core/extract/openapi/route2-introspect.js.map +0 -1
- package/dist/core/extract/openapi/route2.d.ts +0 -69
- package/dist/core/extract/openapi/route2.d.ts.map +0 -1
- package/dist/core/extract/openapi/route2.js +0 -211
- package/dist/core/extract/openapi/route2.js.map +0 -1
- package/dist/core/extract/openapi/route3.d.ts +0 -26
- package/dist/core/extract/openapi/route3.d.ts.map +0 -1
- package/dist/core/extract/openapi/route3.js +0 -737
- package/dist/core/extract/openapi/route3.js.map +0 -1
- package/dist/core/extract/openapi/types.d.ts +0 -125
- package/dist/core/extract/openapi/types.d.ts.map +0 -1
- package/dist/core/extract/openapi/types.js +0 -5
- package/dist/core/extract/openapi/types.js.map +0 -1
- package/dist/core/extract/openapi/validate.d.ts +0 -29
- package/dist/core/extract/openapi/validate.d.ts.map +0 -1
- package/dist/core/extract/openapi/validate.js +0 -200
- package/dist/core/extract/openapi/validate.js.map +0 -1
- package/dist/core/extract/orm/drizzle.d.ts +0 -20
- package/dist/core/extract/orm/drizzle.d.ts.map +0 -1
- package/dist/core/extract/orm/drizzle.js +0 -283
- package/dist/core/extract/orm/drizzle.js.map +0 -1
- package/dist/core/extract/orm/information-schema.d.ts +0 -26
- package/dist/core/extract/orm/information-schema.d.ts.map +0 -1
- package/dist/core/extract/orm/information-schema.js +0 -142
- package/dist/core/extract/orm/information-schema.js.map +0 -1
- package/dist/core/extract/orm/prisma.d.ts +0 -23
- package/dist/core/extract/orm/prisma.d.ts.map +0 -1
- package/dist/core/extract/orm/prisma.js +0 -234
- package/dist/core/extract/orm/prisma.js.map +0 -1
- package/dist/core/extract/orm/typeorm.d.ts +0 -22
- package/dist/core/extract/orm/typeorm.d.ts.map +0 -1
- package/dist/core/extract/orm/typeorm.js +0 -269
- package/dist/core/extract/orm/typeorm.js.map +0 -1
- package/dist/core/extract/orm/types.d.ts +0 -97
- package/dist/core/extract/orm/types.d.ts.map +0 -1
- package/dist/core/extract/orm/types.js +0 -6
- package/dist/core/extract/orm/types.js.map +0 -1
- package/dist/core/extract/prompt.d.ts +0 -21
- package/dist/core/extract/prompt.d.ts.map +0 -1
- package/dist/core/extract/prompt.js +0 -79
- package/dist/core/extract/prompt.js.map +0 -1
- package/dist/core/extract/provider.d.ts +0 -121
- package/dist/core/extract/provider.d.ts.map +0 -1
- package/dist/core/extract/provider.js +0 -6
- package/dist/core/extract/provider.js.map +0 -1
- package/dist/core/extract/providers/node-ts.d.ts +0 -69
- package/dist/core/extract/providers/node-ts.d.ts.map +0 -1
- package/dist/core/extract/providers/node-ts.js +0 -320
- package/dist/core/extract/providers/node-ts.js.map +0 -1
- package/dist/core/extract/render/schema-md.d.ts +0 -16
- package/dist/core/extract/render/schema-md.d.ts.map +0 -1
- package/dist/core/extract/render/schema-md.js +0 -140
- package/dist/core/extract/render/schema-md.js.map +0 -1
- package/dist/core/extract/report.d.ts +0 -125
- package/dist/core/extract/report.d.ts.map +0 -1
- package/dist/core/extract/report.js +0 -52
- package/dist/core/extract/report.js.map +0 -1
- package/dist/core/extract/schema.d.ts +0 -34
- package/dist/core/extract/schema.d.ts.map +0 -1
- package/dist/core/extract/schema.js +0 -146
- package/dist/core/extract/schema.js.map +0 -1
- package/dist/core/extract/workspaces.d.ts +0 -33
- package/dist/core/extract/workspaces.d.ts.map +0 -1
- package/dist/core/extract/workspaces.js +0 -193
- package/dist/core/extract/workspaces.js.map +0 -1
- package/dist/core/providers/index.d.ts +0 -6
- package/dist/core/providers/index.d.ts.map +0 -1
- package/dist/core/providers/index.js +0 -2
- package/dist/core/providers/index.js.map +0 -1
- package/dist/core/providers/tracker.d.ts +0 -74
- package/dist/core/providers/tracker.d.ts.map +0 -1
- package/dist/core/providers/tracker.js +0 -38
- package/dist/core/providers/tracker.js.map +0 -1
- package/dist/core/scope/calibration.d.ts +0 -25
- package/dist/core/scope/calibration.d.ts.map +0 -1
- package/dist/core/scope/calibration.js +0 -52
- package/dist/core/scope/calibration.js.map +0 -1
- package/dist/core/scope/closure.d.ts +0 -31
- package/dist/core/scope/closure.d.ts.map +0 -1
- package/dist/core/scope/closure.js +0 -68
- package/dist/core/scope/closure.js.map +0 -1
- package/dist/core/scope/gate.d.ts +0 -41
- package/dist/core/scope/gate.d.ts.map +0 -1
- package/dist/core/scope/gate.js +0 -165
- package/dist/core/scope/gate.js.map +0 -1
- package/dist/core/scope/index.d.ts +0 -18
- package/dist/core/scope/index.d.ts.map +0 -1
- package/dist/core/scope/index.js +0 -12
- package/dist/core/scope/index.js.map +0 -1
- package/dist/core/scope/partition.d.ts +0 -36
- package/dist/core/scope/partition.d.ts.map +0 -1
- package/dist/core/scope/partition.js +0 -78
- package/dist/core/scope/partition.js.map +0 -1
- package/dist/core/scope/prompt.d.ts +0 -39
- package/dist/core/scope/prompt.d.ts.map +0 -1
- package/dist/core/scope/prompt.js +0 -123
- package/dist/core/scope/prompt.js.map +0 -1
- package/dist/core/scope/scoping.d.ts +0 -52
- package/dist/core/scope/scoping.d.ts.map +0 -1
- package/dist/core/scope/scoping.js +0 -99
- package/dist/core/scope/scoping.js.map +0 -1
- package/dist/core/scope/types.d.ts +0 -77
- package/dist/core/scope/types.d.ts.map +0 -1
- package/dist/core/scope/types.js +0 -5
- package/dist/core/scope/types.js.map +0 -1
- package/dist/core/scope/validate.d.ts +0 -47
- package/dist/core/scope/validate.d.ts.map +0 -1
- package/dist/core/scope/validate.js +0 -90
- package/dist/core/scope/validate.js.map +0 -1
- package/dist/core/verify/asyncapi-diff.d.ts +0 -34
- package/dist/core/verify/asyncapi-diff.d.ts.map +0 -1
- package/dist/core/verify/asyncapi-diff.js +0 -209
- package/dist/core/verify/asyncapi-diff.js.map +0 -1
- package/dist/core/verify/contract-diff.d.ts +0 -39
- package/dist/core/verify/contract-diff.d.ts.map +0 -1
- package/dist/core/verify/contract-diff.js +0 -63
- package/dist/core/verify/contract-diff.js.map +0 -1
- package/dist/core/verify/drift.d.ts +0 -47
- package/dist/core/verify/drift.d.ts.map +0 -1
- package/dist/core/verify/drift.js +0 -122
- package/dist/core/verify/drift.js.map +0 -1
- package/dist/core/verify/impact.d.ts +0 -22
- package/dist/core/verify/impact.d.ts.map +0 -1
- package/dist/core/verify/impact.js +0 -93
- package/dist/core/verify/impact.js.map +0 -1
- package/dist/core/verify/index.d.ts +0 -10
- package/dist/core/verify/index.d.ts.map +0 -1
- package/dist/core/verify/index.js +0 -9
- package/dist/core/verify/index.js.map +0 -1
- package/dist/core/verify/openapi-diff.d.ts +0 -29
- package/dist/core/verify/openapi-diff.d.ts.map +0 -1
- package/dist/core/verify/openapi-diff.js +0 -291
- package/dist/core/verify/openapi-diff.js.map +0 -1
- package/dist/core/verify/types.d.ts +0 -138
- package/dist/core/verify/types.d.ts.map +0 -1
- package/dist/core/verify/types.js +0 -5
- package/dist/core/verify/types.js.map +0 -1
- package/schemas/component.schema.json +0 -203
- package/schemas/flow.schema.json +0 -75
- package/schemas/scope-output.schema.json +0 -62
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,188 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/).
|
|
7
7
|
|
|
8
|
+
## [0.16.2] - 2026-10-02
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- fix(git-guard): read each command's arguments from its own segment (#257)
|
|
13
|
+
- fix(memo): make memo writes succeed and add docs/roadmap.md (#255)
|
|
14
|
+
|
|
15
|
+
## [Unreleased]
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- feat(roadmap): `docs/roadmap.md` overview of PRD phases and waves, owned by `product-engineer`, updated by `planner` in the consolidated PR, and checked by a `verifier` roadmap-mismatch finding (#254)
|
|
20
|
+
- feat(memo): `product-engineer` writes confirmed grilling decisions to `kb`; `planner` verifies per-story memo fields and writes one run-outcome entry (#253)
|
|
21
|
+
|
|
22
|
+
### Fixed
|
|
23
|
+
|
|
24
|
+
- fix(git-guard): read each command's arguments from its own segment of a chained command, so a feature push followed by `gh pr create --base main` or a commit message mentioning tags no longer blocks, and every push, merge, and tag command in a chain is checked instead of only the last one (#256)
|
|
25
|
+
- fix(memo): name memo banks literally instead of `--bank $MEMO_BANK`, which is empty in a fresh shell and made every write fail; use `--manual` for `technical-writer` `kb` entries without provenance; record every write result in the closeout payload and gate merges on its presence (#253)
|
|
26
|
+
|
|
27
|
+
## [0.16.1] - 2026-09-23
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- fix: infra script contract test wiring and shellcheck warning (#252)
|
|
32
|
+
|
|
33
|
+
## [0.16.0] - 2026-09-23
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
|
|
37
|
+
- feat: ubiquitous language — glossary delivery, structural validation, and vocabulary lifecycle (Phase 3) (#251)
|
|
38
|
+
- feat(memo): adopt memo-cli 1.3.0 banks, recall, and episodic writes (#240)
|
|
39
|
+
- feat: deliver grilling, decision log, and refine/spec/plan integration (Phase 2) (#228)
|
|
40
|
+
|
|
41
|
+
### Fixed
|
|
42
|
+
|
|
43
|
+
- fix: prettier pass
|
|
44
|
+
|
|
45
|
+
### Changed
|
|
46
|
+
|
|
47
|
+
- docs(workstream): Phase 3 specification, stories, and implementation plan (#235)
|
|
48
|
+
- docs(workstream): shared-understanding Phase 2 specification, stories, and implementation plan (#220)
|
|
49
|
+
- chore(workstream): archive completed phase 0, 1, and supporting work artifacts (#212)
|
|
50
|
+
|
|
51
|
+
## [0.15.0] - 2026-09-20
|
|
52
|
+
|
|
53
|
+
### Added
|
|
54
|
+
|
|
55
|
+
- feat: docs foundation and repository shape (Phase 1) (#211)
|
|
56
|
+
|
|
57
|
+
### Changed
|
|
58
|
+
|
|
59
|
+
- chore: pre-release prettier formatting
|
|
60
|
+
|
|
61
|
+
## [0.14.0] - 2026-09-20
|
|
62
|
+
|
|
63
|
+
### Added
|
|
64
|
+
|
|
65
|
+
- feat!: retire the dt binary and multi-repo context layer (Phase 0) (#200)
|
|
66
|
+
|
|
67
|
+
### Fixed
|
|
68
|
+
|
|
69
|
+
- fix(gitignore): stop ignoring /docs behind a rotting allowlist (#209)
|
|
70
|
+
|
|
71
|
+
### Changed
|
|
72
|
+
|
|
73
|
+
- chore: prettier run
|
|
74
|
+
- docs(workstream): Phase 1 specification, stories, and implementation plan (#210)
|
|
75
|
+
- docs: add shared-understanding PRD and simplicity contract (#194)
|
|
76
|
+
|
|
77
|
+
## [Unreleased]
|
|
78
|
+
|
|
79
|
+
### Added
|
|
80
|
+
|
|
81
|
+
- **`dev-tasks migrate docs`** — proposes the foundation-document rename to a consumer repository and applies it under `--force`, backing the originals up first. Report-only by default; exits `14` when a rename is skipped because its target already exists. `--json` on every path. Note the deliberate asymmetry with the bare `dev-tasks migrate`, which applies immediately (`shared-understanding#D-52`).
|
|
82
|
+
- **`dev-tasks doctor`** gains two checks: `foundation-doc-names` (fails when a repository still carries the pre-rename names and names the command that fixes it) and `package-map` (warns, never fails, when `docs/tech.md`'s package map and the workspace disagree).
|
|
83
|
+
- **`docs/runbooks/`** — ten runbooks covering install, branch protection, the foundation-doc migration, npm release, deploy, rollback, hook troubleshooting, local Supabase, simplicity tooling, and the `dt` retirement. `install` scaffolds the directory, its index, and a template into a consumer repository with install-if-absent semantics.
|
|
84
|
+
- **`core/checks/`** with the docs-structure check, chained into `lint`. Fails on a broken docs index, a malformed runbook, or a dangling `related` path; reports a `last_verified` over 90 days without failing.
|
|
85
|
+
- **Repository-shape detection** (`core/distribution/workspace.ts`) — single-package or monorepo from six signals, with the package map recorded in `docs/tech.md`.
|
|
86
|
+
|
|
87
|
+
### Changed
|
|
88
|
+
|
|
89
|
+
- **Foundation documents renamed:** `docs/product-context.md` → `docs/product.md`, `docs/technical-guidelines.md` → `docs/tech.md`. Content is byte-identical. Agents resolve the new name first and fall back to the old one for one release cycle, so a repository installed before the rename keeps working; `dev-tasks update` never renames a consumer-owned file on its own.
|
|
90
|
+
- `INSTALL_IF_ABSENT_FILES` accepts a platform-agnostic entry, so a file belonging to the repository rather than to one platform is delivered once per run.
|
|
91
|
+
- `researcher`, `plan`, `implement`, and `activity-test-standards` are package-aware: findings, tasks, and commit scopes name their package in a monorepo, and reachability is verified per package. Optional — never blank — in a single-package repository.
|
|
92
|
+
- `verifier` reports a runbook-coverage finding when a PR performs a repeatable procedure and leaves no runbook. Advisory; never blocks PR readiness.
|
|
93
|
+
- Documentation ownership is explicit: `technical-writer` owns docs structure and content, `housekeeping` does not, and a docs-structure failure in `validate` routes to `technical-writer`.
|
|
94
|
+
- `activity-init`'s "Mode A — Mono-Repo" renamed to "Mode A — Documented Repository", freeing the term for repository shape (`shared-understanding#D-44`).
|
|
95
|
+
|
|
96
|
+
### Removed
|
|
97
|
+
|
|
98
|
+
- **`dt` binary and the entire multi-repo context layer** (ADR-007). Restore path: tag `v0.13.0`, commit `0a6f35e`.
|
|
99
|
+
- `dt init`
|
|
100
|
+
- `dt extract detect`, `dt extract all`, `dt extract component`, `dt extract openapi`, `dt extract asyncapi`, `dt extract schema`
|
|
101
|
+
- `dt catalog build`, `dt catalog validate`, `dt catalog query`, `dt catalog scaffold`
|
|
102
|
+
- `dt scope`, `dt scope gate`
|
|
103
|
+
- `dt verify contract-diff`, `dt verify impact`, `dt verify drift`
|
|
104
|
+
- `dt ctx fetch`, `dt ctx assemble`
|
|
105
|
+
- `docs/dt-user-manual.md`, `docs/data-model.md`, `docs/artifact-formats.md`, `docs/requirements/prd-multi-repo-context.md`.
|
|
106
|
+
- The `architecture-change` task type and Cross-Repo Partitioning (RF-63) rules from `AGENTS.md` and `AGENTS.md.template`.
|
|
107
|
+
- The `activity-contract-validation` skill (all three platform trees).
|
|
108
|
+
|
|
109
|
+
### Changed
|
|
110
|
+
|
|
111
|
+
- `core/exit-codes.ts` collapsed to a 5-code contract (`Success`, `GeneralError`, `InvalidUsage`, `DependencyError`, `ReconciliationConflict`); all deprecated aliases removed.
|
|
112
|
+
- `bin/parse-args.ts` moved from `adapters/cli/parse-args.ts`; dead flags `metaRepo`, `strategy`, `interactive`, `dbUrl` dropped.
|
|
113
|
+
- ADR-001 and ADR-002 marked Superseded by ADR-007.
|
|
114
|
+
|
|
115
|
+
## [0.13.0] - 2026-09-17
|
|
116
|
+
|
|
117
|
+
### Added
|
|
118
|
+
|
|
119
|
+
- feat(claude): deliver runtime parity and enforcement (v0.13) (#193)
|
|
120
|
+
|
|
121
|
+
### Changed
|
|
122
|
+
|
|
123
|
+
- chore: format
|
|
124
|
+
- Merge pull request #168 from llipe:claude/tasks-implementation-review-txyjhu
|
|
125
|
+
- docs(workstream): add planner merge-path, MCP bypass, and guard-routing fixes
|
|
126
|
+
- docs(workstream): add Claude runtime parity and enforcement task list
|
|
127
|
+
- Merge pull request #167 from llipe:issue/141-pr-teach-team-mvp
|
|
128
|
+
- docs(pr-kt): refine issue #141 as MVP and add compliance test plan
|
|
129
|
+
- Merge pull request #166 from llipe:chore/reconcile-infra-engineer-tasklist
|
|
130
|
+
- docs(infra): reconcile task-list checkboxes with merged v0.12.0 state
|
|
131
|
+
|
|
132
|
+
## [0.12.0] - 2026-09-14
|
|
133
|
+
|
|
134
|
+
### Added
|
|
135
|
+
|
|
136
|
+
- feat(infra): wire housekeeping, planner, product-engineer, and github-ops to infra-engineer (#163)
|
|
137
|
+
- feat(infra): route platform writes from developer and implement to infra-engineer (#163)
|
|
138
|
+
- feat(infra): register deploy-ops + workflow templates and wire planner deploy handoff (#162)
|
|
139
|
+
- feat(infra): register templates/scripts+workflows as managed, workflows consumer-owned (#162)
|
|
140
|
+
- feat(infra): add GitHub Actions deploy/rollback workflow templates (#162)
|
|
141
|
+
- feat(infra): add deploy-ops skill across three trees (#161)
|
|
142
|
+
- feat(infra): add deploy-ops script templates (deploy, verify, rollback, status, release) (#161)
|
|
143
|
+
- feat: enforce consumer-owned directory-prefix protection on update (#159)
|
|
144
|
+
- feat(infra): add git-guard tag rule 4 and exact-semver workflow filters (#160)
|
|
145
|
+
- feat(infra): add redaction pattern set and security-negative test (#158)
|
|
146
|
+
- feat(infra): add supabase-ops skill and supabase log research (#157)
|
|
147
|
+
- feat(infra): add fly-ops skill (#156)
|
|
148
|
+
- feat(infra): add aws-ops skill and infra skill parity test (#155)
|
|
149
|
+
- feat(infra): add agent contract and branch hygiene (#153 #154)
|
|
150
|
+
|
|
151
|
+
### Fixed
|
|
152
|
+
|
|
153
|
+
- fix(testing): align TESTING.md layer-boundary wording with issue-130 taxonomy contract
|
|
154
|
+
- fix(infra): add non-interactive guard to deploy.sh prod to match release.sh (#161)
|
|
155
|
+
- fix(deps): tighten fast-uri override to >=4.1.3 to clear high advisories
|
|
156
|
+
- fix(infra): align parity assertions and branch tables (#153 #154)
|
|
157
|
+
- fix: Update tools for orchestration agent
|
|
158
|
+
|
|
159
|
+
### Changed
|
|
160
|
+
|
|
161
|
+
- chore: md format fix
|
|
162
|
+
- test(fixtures): update catalog index timestamps and generator version
|
|
163
|
+
- Merge pull request #165 from llipe:fix/testing-md-taxonomy-phrasing
|
|
164
|
+
- Merge pull request #164 from llipe:issue/153-branch-convention-hygiene
|
|
165
|
+
- docs(testing): fill in QA testing standard with auto-detected configuration
|
|
166
|
+
- docs(infra): add Infrastructure Change chain and infra-engineer reverse-direction routing (#163)
|
|
167
|
+
- test(infra): add S-010 caller-wiring and reverse-direction parity block (#163)
|
|
168
|
+
- docs(infra): mark S-009 checklist done (9.1-9.6, 9.5b, 9.8); 9.7 manual not-run (#162)
|
|
169
|
+
- style(infra): apply prettier formatting to S-009 test files (#162)
|
|
170
|
+
- test(infra): assert release.sh suggests bump from Conventional Commits (#161)
|
|
171
|
+
- docs: mark S-008 subtasks complete in task plan (#161)
|
|
172
|
+
- style(infra): apply prettier to deploy-ops contract test (#161)
|
|
173
|
+
- test(infra): add ref-rule and dirty-tree edge cases for deploy.sh (#161)
|
|
174
|
+
- test(infra): add deploy-ops script contract test and stub fixtures (#161)
|
|
175
|
+
- docs: register infra-engineer and add ADR-005 (#159)
|
|
176
|
+
- docs: sync S-007 checklist parent state with issue #160 (#160)
|
|
177
|
+
- docs(infra): add tag policy to github-ops, git-ops, and technical-guidelines (#160)
|
|
178
|
+
- docs: mark S-007 code subtasks 7.1-7.3 complete (#160)
|
|
179
|
+
- Merge pull request #152 from llipe/claude/charming-edison-0lvhip
|
|
180
|
+
- docs: correct the claim that quality-gate CI workflows exist
|
|
181
|
+
- docs: add S-010 caller wiring story and Task 10 to infra-engineer plan
|
|
182
|
+
- docs: add infra-engineer spec, user stories, and task list
|
|
183
|
+
- docs: infra-engineer PRD v1.3 with trunk-based environment mapping
|
|
184
|
+
- docs: infra-engineer PRD v1.2 with step-gated execution and pipeline ownership
|
|
185
|
+
- docs: simplify infra-engineer PRD to three phases and one skill each
|
|
186
|
+
- Merge pull request #151 from llipe:issue/143-infra-prd
|
|
187
|
+
- docs: add infra-engineer PRD absorbing #143 #144 #145 #150
|
|
188
|
+
- Update README with installation instructions
|
|
189
|
+
|
|
8
190
|
## [0.11.0] - 2026-08-25
|
|
9
191
|
|
|
10
192
|
### Added
|
package/CLAUDE.md
CHANGED
|
@@ -15,11 +15,12 @@ All work in this repository **MUST**:
|
|
|
15
15
|
- Always create feature branches — never commit directly to the default branch (`main`).
|
|
16
16
|
- Use [Conventional Commits](https://www.conventionalcommits.org/) (`feat`, `fix`, `chore`, `docs`, `refactor`, `test`, `ci`).
|
|
17
17
|
- Open PRs for review — **never self-merge into `main`**. PRs targeting `main` require **user** approval and the **user** merges them. No agent may merge into `main`.
|
|
18
|
-
- Follow testing, linting, and documentation standards from `docs/
|
|
18
|
+
- Follow testing, linting, and documentation standards from `docs/tech.md`.
|
|
19
19
|
- Prefer `pnpm` over `npm` for JavaScript/TypeScript workflows (fallback to `npm` only when `pnpm` is unavailable or explicitly disallowed).
|
|
20
20
|
- Use canonical `package.json` script names for JS/TS projects: `lint`, `lint:fix`, `format`, `format:check`, `typecheck`, `test`, `test:unit`, `test:integration`, `test:e2e`, `audit`, `validate`.
|
|
21
21
|
- Before developer/planner completion, enforce and record quality gates: `test`, `lint`, `format:check`, `typecheck`, `audit`.
|
|
22
22
|
- `qa-engineer` runs at the completion gate, before the `verifier` audit, and records `coverage_gate: PASS | FAIL | SKIPPED(<reason>)`. Skipping requires a non-empty reason; omitting the field is treated as incomplete.
|
|
23
|
+
- `docs/roadmap.md` is the roadmap overview — one row per PRD phase or wave with status (`Not started` / `In progress` / `Done`), issues/PRs, and what is missing. `product-engineer` reads it at session start and owns its rows; `planner` reads it in Phase 0 and updates the rows a run delivers in the consolidated PR; the `verifier` reports a roadmap mismatch with merged work as an advisory finding.
|
|
23
24
|
- `/TESTING.md` is the canonical testing contract — owned by `qa-engineer`, kept current by `developer`, and treated as "no standard established" while unfilled.
|
|
24
25
|
- Reference GitHub Issues in branch names and commits; follow the `github-ops` conventions for all GitHub artifacts (issues, PRs, branches, labels, milestones, comments).
|
|
25
26
|
- Treat `/DESIGN.md` as the source of truth for visual tokens, components, and design guidance; update it whenever UI contracts change.
|
|
@@ -27,6 +28,10 @@ All work in this repository **MUST**:
|
|
|
27
28
|
- Produce English-only output for docs, comments, and generated content.
|
|
28
29
|
- The `verifier` audit (`audit` mode) is a mandatory, non-skippable step triggered automatically by `developer` (per issue, pre-PR-ready) and `planner` (per story and PRD-level rollup). Drift findings are non-blocking to PR/issue completion and route to `product-engineer`'s `activity-drift-reconciliation` skill for write-back into task lists, GitHub issues, or PRD/spec changelogs.
|
|
29
30
|
- **Test-first design is the default:** `product-engineer` recommends `verifier` Design Mode after planning to produce a compliance test plan; `developer` writes tests before implementation code for each behavioral sub-task; `planner` checks for test plans and enforces test-first in developer handoffs.
|
|
31
|
+
- **Foundation documents: resolve the new name, fall back to the old one.** The canonical names are `docs/product.md` and `docs/tech.md`. A repository installed before the rename still carries `docs/product-context.md` and `docs/technical-guidelines.md`, and `dev-tasks update` never renames a consumer-owned file on its own. When **reading** a foundation document, resolve the new name first and fall back to the old one only when the new name is absent; when **writing**, always write the new name, and propose `dev-tasks migrate docs`. This binds every agent and skill that reads these documents, for one release cycle (FR-45). Stating it here rather than repeating it in all 32 prompt files that name these documents is deliberate: this file is always loaded, and 32 copies would drift.
|
|
32
|
+
- **Documentation ownership is explicit.** `technical-writer` owns documentation structure and content — `/docs`, its indexes, and `docs/runbooks/`. `housekeeping` does **not** organize documentation, and a docs-structure failure in `validate` (from `core/checks/docs-structure.ts`) routes to `technical-writer` (FR-51).
|
|
33
|
+
- **A runbook ships in the same PR as the procedure it documents.** Any new or materially changed script under `templates/scripts/`, workflow under `templates/workflows/` or `.github/workflows/`, or `infra-engineer` change kind **MUST** arrive with a runbook in the same draft PR, not a follow-up issue (FR-49a). Updating an existing runbook satisfies this. The `verifier` reports a runbook-coverage finding when it does not; that finding is advisory and never blocks PR readiness.
|
|
34
|
+
- **A blocked guard is a decision, not an obstacle.** When a hook (e.g. `git-guard.sh`) blocks a tool call, the agent **MUST** surface the block verbatim and stop that line of work. It **MUST NOT** attempt an alternative command, tool surface, or sequence that achieves the same effect the block just prevented — that includes retrying the same operation via a different CLI flag, a different tool (e.g. an MCP tool instead of `Bash`, or vice versa), or a workaround that produces the same end state through a different mechanism. A legitimate alternate mechanism used for an unrelated, non-triggering purpose (e.g. the `Read` tool instead of `grep`, or the `Write` tool instead of a shell heredoc) is not a route-around and remains allowed. If blocked, report the block message to the user and ask how to proceed.
|
|
30
35
|
|
|
31
36
|
These mirror the General Agent Guidelines in `AGENTS.md`. The "no merge to `main`" and Conventional Commits rules are additionally enforced deterministically by hooks in `.claude/settings.json`.
|
|
32
37
|
|
|
@@ -36,7 +41,7 @@ GitHub operations run through the **`gh` CLI** (over Bash). The `github-ops` sub
|
|
|
36
41
|
|
|
37
42
|
## memo-cli (Optional)
|
|
38
43
|
|
|
39
|
-
If `memo-cli` is installed and `memo setup validate` passes: `product-engineer` reads context at session start
|
|
44
|
+
If `memo-cli` is installed and `memo setup validate` passes: `product-engineer` reads context at session start and writes each confirmed grilling decision to `kb`; `developer` writes intent/outcome entries per story; `technical-writer` writes one entry per ADR and significant doc change; `planner` verifies per-story memo fields and writes one run-outcome entry. Every memo command names `--bank <id>` literally — never `--bank $MEMO_BANK`, which is empty in a fresh shell and makes memo-cli reject the write. Every write is reported as `written(<id>)`, `failed(<reason>)`, or `skipped(<reason>)`; a failure is never dropped silently. If installed but not configured, ask the user to run `memo setup init` first. If not installed and `memo.config.json` is absent, skip; if `memo.config.json` exists but the binary is missing, warn. See the `memo-cli-usage` skill.
|
|
40
45
|
|
|
41
46
|
---
|
|
42
47
|
|
|
@@ -46,19 +51,20 @@ This toolkit is exposed as **commands** (entry points you invoke with `/`), **su
|
|
|
46
51
|
|
|
47
52
|
### Commands (entry points)
|
|
48
53
|
|
|
49
|
-
| Command | Purpose
|
|
50
|
-
| ------------------- |
|
|
51
|
-
| `/product-engineer` | **Orchestrator (main thread).** Init / Feature / Issue mode: refine → spec → stories → publish → plan. Hands off to `/developer` or `/planner`.
|
|
52
|
-
| `/planner` | **Orchestrator (main thread).** Multi-story execution with dependency ordering, per-story delegation to the `developer` subagent, checkpoint/resume (auto-detected), and one consolidated PR.
|
|
53
|
-
| `/developer` | **Interactive (main thread).** Step-gated implementation of a task list, pausing for approval after each sub-task.
|
|
54
|
-
| `/github-ops` | Audit/standardize GitHub artifacts.
|
|
55
|
-
| `/technical-writer` | Sync `/docs` with the codebase.
|
|
56
|
-
| `/housekeeping` | Fix lint/type/test-wiring issues.
|
|
57
|
-
| `/qa-engineer` | Establish `/TESTING.md`, author missing Layer 1-2 tests, and report `coverage_gate` plus risk-ranked gaps.
|
|
58
|
-
| `/researcher` | Bounded codebase investigation producing a structured research artifact at `/workstream/research-*.md`.
|
|
59
|
-
| `/
|
|
60
|
-
| `/
|
|
61
|
-
| `/verifier-
|
|
54
|
+
| Command | Purpose |
|
|
55
|
+
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
56
|
+
| `/product-engineer` | **Orchestrator (main thread).** Init / Feature / Issue mode: refine → spec → stories → publish → plan. Hands off to `/developer` or `/planner`. |
|
|
57
|
+
| `/planner` | **Orchestrator (main thread).** Multi-story execution with dependency ordering, per-story delegation to the `developer` subagent, checkpoint/resume (auto-detected), and one consolidated PR. |
|
|
58
|
+
| `/developer` | **Interactive (main thread).** Step-gated implementation of a task list, pausing for approval after each sub-task. |
|
|
59
|
+
| `/github-ops` | Audit/standardize GitHub artifacts. |
|
|
60
|
+
| `/technical-writer` | Sync `/docs` with the codebase. Owns docs structure and content, including `docs/runbooks/`. |
|
|
61
|
+
| `/housekeeping` | Fix lint/type/test-wiring issues. Does not organize documentation. |
|
|
62
|
+
| `/qa-engineer` | Establish `/TESTING.md`, author missing Layer 1-2 tests, and report `coverage_gate` plus risk-ranked gaps. |
|
|
63
|
+
| `/researcher` | Bounded codebase investigation producing a structured research artifact at `/workstream/research-*.md`. |
|
|
64
|
+
| `/infra-engineer` | **Interactive (main thread).** Plan and apply infrastructure changes one approved, reversible, recorded step at a time (AWS, fly.io, Supabase, Cloudflare); hands off a draft PR. Never merges. |
|
|
65
|
+
| `/ux-engineer` | PRD/SPEC → React mockups + refinement handoff. |
|
|
66
|
+
| `/verifier-design` | Generate a compliance test plan + traceability matrix from a spec/story (Design Mode). |
|
|
67
|
+
| `/verifier-audit` | Grey-box fidelity audit of delivered work against requirements and PRD/spec intent (Audit Mode). |
|
|
62
68
|
|
|
63
69
|
### Subagents (`.claude/agents/`)
|
|
64
70
|
|
|
@@ -68,12 +74,12 @@ This toolkit is exposed as **commands** (entry points you invoke with `/`), **su
|
|
|
68
74
|
|
|
69
75
|
Claude Code subagents **cannot spawn other subagents** — the hierarchy is flat (main session → workers). dev-tasks is delegation-heavy, so:
|
|
70
76
|
|
|
71
|
-
- **Orchestrators run in the main thread as commands** (`/product-engineer`, `/planner`), not as subagents, so they can delegate to leaf subagents _and_ pause for the required user-approval gates.
|
|
77
|
+
- **Orchestrators run in the main thread as commands** (`/product-engineer`, `/planner`), not as subagents, so they can delegate to leaf subagents _and_ pause for the required user-approval gates. `/infra-engineer` runs in the main thread for the same reason — it pauses for one human approval per infrastructure step.
|
|
72
78
|
- **Step-gated approval requires the main thread.** A subagent runs to completion and only returns a summary; it cannot pause mid-run for a "yes". Use `/developer` (main thread) for interactive step-gated work; the `developer` _subagent_ is for `/planner`'s autonomous per-story delegation, which gates at the **story** boundary, not per sub-task.
|
|
73
79
|
|
|
74
80
|
### Skills (`.claude/skills/`)
|
|
75
81
|
|
|
76
|
-
Activity skills: `activity-init`, `activity-refine`, `activity-codebase-research`, `activity-generate-spec`, `activity-generate-stories`, `activity-publish-github`, `activity-e2e-test-design`, `activity-e2e-test-implementation`, `activity-contract-test-design`, `activity-
|
|
82
|
+
Activity skills: `activity-init`, `activity-refine`, `activity-grill` (one-question-at-a-time, depth-first interview invoked by `activity-refine` and `activity-generate-spec`, to a confirmed shared-understanding exit gate), `activity-codebase-research`, `activity-generate-spec`, `activity-generate-stories`, `activity-publish-github`, `activity-e2e-test-design`, `activity-e2e-test-implementation`, `activity-contract-test-design`, `activity-edge-case-refinement`, `activity-random-test-tactics`, `activity-test-standards`, `activity-test-implementation`, `activity-integration-test-implementation`, `activity-coverage-gap-analysis`, `activity-drift-reconciliation` (routes `verifier` drift findings into task-list/checklist expansion, new issues, or human-confirmed PRD/spec changelog updates — used by `product-engineer`). Process skills: `plan`, `implement` (the single source of truth for task-list execution rules, including the mandatory `verifier` audit gate). Operational: `git-ops`, `aws-ops`, `fly-ops`, `supabase-ops`, `deploy-ops`, `ux-scaffold`, `ux-theme-gen`, `memo-cli-usage`.
|
|
77
83
|
|
|
78
84
|
`plan` and `implement` are scoped instructions on Copilot (`applyTo`) and scoped steering on Kiro (`fileMatchPattern`); as Claude skills they load on demand instead of consuming context on every matching turn.
|
|
79
85
|
|
|
@@ -81,7 +87,7 @@ Activity skills: `activity-init`, `activity-refine`, `activity-codebase-research
|
|
|
81
87
|
|
|
82
88
|
## Domain-Specific Conventions
|
|
83
89
|
|
|
84
|
-
Copilot's `applyTo`-scoped instructions have no direct Claude Code equivalent (there is no glob-scoped auto-load).
|
|
90
|
+
Copilot's `applyTo`-scoped instructions have no direct Claude Code equivalent (there is no glob-scoped auto-load), and there is no automatic Claude delivery mechanism that scaffolds a nested `CLAUDE.md` for the Next.js/React conventions (scoped to `**/*.tsx`) — no code in this repository creates one. Consumers who want those conventions to load only while working inside a React app's subtree **MUST** do it manually: copying the conventions into their app's nested `CLAUDE.md`. When generating UI, follow those conventions (wherever placed) and `/DESIGN.md`.
|
|
85
91
|
|
|
86
92
|
---
|
|
87
93
|
|
|
@@ -89,7 +95,7 @@ Copilot's `applyTo`-scoped instructions have no direct Claude Code equivalent (t
|
|
|
89
95
|
|
|
90
96
|
| Directory | Contents |
|
|
91
97
|
| --------------------- | --------------------------------------------------------------------- |
|
|
92
|
-
| `/docs/` | Foundation docs — product
|
|
98
|
+
| `/docs/` | Foundation docs — product.md, tech.md, ADRs |
|
|
93
99
|
| `/docs/requirements/` | PRDs |
|
|
94
100
|
| `/workstream/` | Active feature work — specs, stories, task lists, planner state files |
|
|
95
101
|
| `.claude/agents/` | Subagent definitions |
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# CLAUDE.md
|
|
2
|
+
|
|
3
|
+
Project memory for Claude Code. This file is always loaded. It defines the cross-cutting rules every agent in this repository **MUST** follow, and points to the dev-tasks workflow (subagents, skills, and commands under `.claude/`).
|
|
4
|
+
|
|
5
|
+
> The canonical project/agent registry lives in `AGENTS.md` and is imported below. `/DESIGN.md` is the canonical UI/design contract.
|
|
6
|
+
|
|
7
|
+
@AGENTS.md
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## General Agent Guidelines (Always Enforced)
|
|
12
|
+
|
|
13
|
+
All work in this repository **MUST**:
|
|
14
|
+
|
|
15
|
+
- Always create feature branches — never commit directly to the default branch (`main`).
|
|
16
|
+
- Use [Conventional Commits](https://www.conventionalcommits.org/) (`feat`, `fix`, `chore`, `docs`, `refactor`, `test`, `ci`).
|
|
17
|
+
- Open PRs for review — **never self-merge into `main`**. PRs targeting `main` require **user** approval and the **user** merges them. No agent may merge into `main`.
|
|
18
|
+
- Follow testing, linting, and documentation standards from `docs/tech.md`.
|
|
19
|
+
- Prefer `pnpm` over `npm` for JavaScript/TypeScript workflows (fallback to `npm` only when `pnpm` is unavailable or explicitly disallowed).
|
|
20
|
+
- Use canonical `package.json` script names for JS/TS projects: `lint`, `lint:fix`, `format`, `format:check`, `typecheck`, `test`, `test:unit`, `test:integration`, `test:e2e`, `audit`, `validate`.
|
|
21
|
+
- Before developer/planner completion, enforce and record quality gates: `test`, `lint`, `format:check`, `typecheck`, `audit`.
|
|
22
|
+
- `qa-engineer` runs at the completion gate, before the `verifier` audit, and records `coverage_gate: PASS | FAIL | SKIPPED(<reason>)`. Skipping requires a non-empty reason; omitting the field is treated as incomplete.
|
|
23
|
+
- `docs/roadmap.md` is the roadmap overview — one row per PRD phase or wave with status (`Not started` / `In progress` / `Done`), issues/PRs, and what is missing. `product-engineer` reads it at session start and owns its rows; `planner` reads it in Phase 0 and updates the rows a run delivers in the consolidated PR; the `verifier` reports a roadmap mismatch with merged work as an advisory finding.
|
|
24
|
+
- `/TESTING.md` is the canonical testing contract — owned by `qa-engineer`, kept current by `developer`, and treated as "no standard established" while unfilled.
|
|
25
|
+
- Reference GitHub Issues in branch names and commits; follow the `github-ops` conventions for all GitHub artifacts (issues, PRs, branches, labels, milestones, comments).
|
|
26
|
+
- Treat `/DESIGN.md` as the source of truth for visual tokens, components, and design guidance; update it whenever UI contracts change.
|
|
27
|
+
- Maintain document changelogs when updating generated artifacts (PRDs, specs, stories, refinements).
|
|
28
|
+
- Produce English-only output for docs, comments, and generated content.
|
|
29
|
+
- The `verifier` audit (`audit` mode) is a mandatory, non-skippable step triggered automatically by `developer` (per issue, pre-PR-ready) and `planner` (per story and PRD-level rollup). Drift findings are non-blocking to PR/issue completion and route to `product-engineer`'s `activity-drift-reconciliation` skill for write-back into task lists, GitHub issues, or PRD/spec changelogs.
|
|
30
|
+
- **Test-first design is the default:** `product-engineer` recommends `verifier` Design Mode after planning to produce a compliance test plan; `developer` writes tests before implementation code for each behavioral sub-task; `planner` checks for test plans and enforces test-first in developer handoffs.
|
|
31
|
+
- **Foundation documents: resolve the new name, fall back to the old one.** The canonical names are `docs/product.md` and `docs/tech.md`. A repository installed before the rename still carries `docs/product-context.md` and `docs/technical-guidelines.md`, and `dev-tasks update` never renames a consumer-owned file on its own. When **reading** a foundation document, resolve the new name first and fall back to the old one only when the new name is absent; when **writing**, always write the new name, and propose `dev-tasks migrate docs`. This binds every agent and skill that reads these documents, for one release cycle (FR-45). Stating it here rather than repeating it in all 32 prompt files that name these documents is deliberate: this file is always loaded, and 32 copies would drift.
|
|
32
|
+
- **Documentation ownership is explicit.** `technical-writer` owns documentation structure and content — `/docs`, its indexes, and `docs/runbooks/`. `housekeeping` does **not** organize documentation, and a docs-structure failure in `validate` (from `core/checks/docs-structure.ts`) routes to `technical-writer` (FR-51).
|
|
33
|
+
- **A runbook ships in the same PR as the procedure it documents.** Any new or materially changed script under `templates/scripts/`, workflow under `templates/workflows/` or `.github/workflows/`, or `infra-engineer` change kind **MUST** arrive with a runbook in the same draft PR, not a follow-up issue (FR-49a). Updating an existing runbook satisfies this. The `verifier` reports a runbook-coverage finding when it does not; that finding is advisory and never blocks PR readiness.
|
|
34
|
+
- **A blocked guard is a decision, not an obstacle.** When a hook (e.g. `git-guard.sh`) blocks a tool call, the agent **MUST** surface the block verbatim and stop that line of work. It **MUST NOT** attempt an alternative command, tool surface, or sequence that achieves the same effect the block just prevented — that includes retrying the same operation via a different CLI flag, a different tool (e.g. an MCP tool instead of `Bash`, or vice versa), or a workaround that produces the same end state through a different mechanism. A legitimate alternate mechanism used for an unrelated, non-triggering purpose (e.g. the `Read` tool instead of `grep`, or the `Write` tool instead of a shell heredoc) is not a route-around and remains allowed. If blocked, report the block message to the user and ask how to proceed.
|
|
35
|
+
|
|
36
|
+
These mirror the General Agent Guidelines in `AGENTS.md`. The "no merge to `main`" and Conventional Commits rules are additionally enforced deterministically by hooks in `.claude/settings.json`.
|
|
37
|
+
|
|
38
|
+
## GitHub Operations
|
|
39
|
+
|
|
40
|
+
GitHub operations run through the **`gh` CLI** (over Bash). The `github-ops` subagent owns all conventions. A GitHub MCP server is optional; if one is configured, agents may use it instead, but no MCP server is required.
|
|
41
|
+
|
|
42
|
+
## memo-cli (Optional)
|
|
43
|
+
|
|
44
|
+
If `memo-cli` is installed and `memo setup validate` passes: `product-engineer` reads context at session start and writes each confirmed grilling decision to `kb`; `developer` writes intent/outcome entries per story; `technical-writer` writes one entry per ADR and significant doc change; `planner` verifies per-story memo fields and writes one run-outcome entry. Every memo command names `--bank <id>` literally — never `--bank $MEMO_BANK`, which is empty in a fresh shell and makes memo-cli reject the write. Every write is reported as `written(<id>)`, `failed(<reason>)`, or `skipped(<reason>)`; a failure is never dropped silently. If installed but not configured, ask the user to run `memo setup init` first. If not installed and `memo.config.json` is absent, skip; if `memo.config.json` exists but the binary is missing, warn. See the `memo-cli-usage` skill.
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## How to Run the Workflow
|
|
49
|
+
|
|
50
|
+
This toolkit is exposed as **commands** (entry points you invoke with `/`), **subagents** (isolated workers Claude delegates to), and **skills** (on-demand procedures, auto-loaded when relevant or invoked by name).
|
|
51
|
+
|
|
52
|
+
### Commands (entry points)
|
|
53
|
+
|
|
54
|
+
| Command | Purpose |
|
|
55
|
+
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
56
|
+
| `/product-engineer` | **Orchestrator (main thread).** Init / Feature / Issue mode: refine → spec → stories → publish → plan. Hands off to `/developer` or `/planner`. |
|
|
57
|
+
| `/planner` | **Orchestrator (main thread).** Multi-story execution with dependency ordering, per-story delegation to the `developer` subagent, checkpoint/resume (auto-detected), and one consolidated PR. |
|
|
58
|
+
| `/developer` | **Interactive (main thread).** Step-gated implementation of a task list, pausing for approval after each sub-task. |
|
|
59
|
+
| `/github-ops` | Audit/standardize GitHub artifacts. |
|
|
60
|
+
| `/technical-writer` | Sync `/docs` with the codebase. Owns docs structure and content, including `docs/runbooks/`. |
|
|
61
|
+
| `/housekeeping` | Fix lint/type/test-wiring issues. Does not organize documentation. |
|
|
62
|
+
| `/qa-engineer` | Establish `/TESTING.md`, author missing Layer 1-2 tests, and report `coverage_gate` plus risk-ranked gaps. |
|
|
63
|
+
| `/researcher` | Bounded codebase investigation producing a structured research artifact at `/workstream/research-*.md`. |
|
|
64
|
+
| `/infra-engineer` | **Interactive (main thread).** Plan and apply infrastructure changes one approved, reversible, recorded step at a time (AWS, fly.io, Supabase, Cloudflare); hands off a draft PR. Never merges. |
|
|
65
|
+
| `/ux-engineer` | PRD/SPEC → React mockups + refinement handoff. |
|
|
66
|
+
| `/verifier-design` | Generate a compliance test plan + traceability matrix from a spec/story (Design Mode). |
|
|
67
|
+
| `/verifier-audit` | Grey-box fidelity audit of delivered work against requirements and PRD/spec intent (Audit Mode). |
|
|
68
|
+
|
|
69
|
+
### Subagents (`.claude/agents/`)
|
|
70
|
+
|
|
71
|
+
`developer`, `github-ops`, `technical-writer`, `housekeeping`, `ux-engineer`, `verifier`, `qa-engineer`, `researcher` — isolated, scoped-tool workers. Claude delegates to these automatically when a task matches their description, and the orchestrator commands (`/planner`, `/product-engineer`) drive them via the Task tool.
|
|
72
|
+
|
|
73
|
+
### Orchestration model (important)
|
|
74
|
+
|
|
75
|
+
Claude Code subagents **cannot spawn other subagents** — the hierarchy is flat (main session → workers). dev-tasks is delegation-heavy, so:
|
|
76
|
+
|
|
77
|
+
- **Orchestrators run in the main thread as commands** (`/product-engineer`, `/planner`), not as subagents, so they can delegate to leaf subagents _and_ pause for the required user-approval gates. `/infra-engineer` runs in the main thread for the same reason — it pauses for one human approval per infrastructure step.
|
|
78
|
+
- **Step-gated approval requires the main thread.** A subagent runs to completion and only returns a summary; it cannot pause mid-run for a "yes". Use `/developer` (main thread) for interactive step-gated work; the `developer` _subagent_ is for `/planner`'s autonomous per-story delegation, which gates at the **story** boundary, not per sub-task.
|
|
79
|
+
|
|
80
|
+
### Skills (`.claude/skills/`)
|
|
81
|
+
|
|
82
|
+
Activity skills: `activity-init`, `activity-refine`, `activity-grill` (one-question-at-a-time, depth-first interview invoked by `activity-refine` and `activity-generate-spec`, to a confirmed shared-understanding exit gate), `activity-codebase-research`, `activity-generate-spec`, `activity-generate-stories`, `activity-publish-github`, `activity-e2e-test-design`, `activity-e2e-test-implementation`, `activity-contract-test-design`, `activity-contract-validation`, `activity-edge-case-refinement`, `activity-random-test-tactics`, `activity-test-standards`, `activity-test-implementation`, `activity-integration-test-implementation`, `activity-coverage-gap-analysis`, `activity-drift-reconciliation` (routes `verifier` drift findings into task-list/checklist expansion, new issues, or human-confirmed PRD/spec changelog updates — used by `product-engineer`). Process skills: `plan`, `implement` (the single source of truth for task-list execution rules, including the mandatory `verifier` audit gate). Operational: `git-ops`, `aws-ops`, `fly-ops`, `supabase-ops`, `deploy-ops`, `ux-scaffold`, `ux-theme-gen`, `memo-cli-usage`.
|
|
83
|
+
|
|
84
|
+
`plan` and `implement` are scoped instructions on Copilot (`applyTo`) and scoped steering on Kiro (`fileMatchPattern`); as Claude skills they load on demand instead of consuming context on every matching turn.
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Domain-Specific Conventions
|
|
89
|
+
|
|
90
|
+
Copilot's `applyTo`-scoped instructions have no direct Claude Code equivalent (there is no glob-scoped auto-load), and there is no automatic Claude delivery mechanism that scaffolds a nested `CLAUDE.md` for the Next.js/React conventions (scoped to `**/*.tsx`) — no code in this repository creates one. Consumers who want those conventions to load only while working inside a React app's subtree **MUST** do it manually: copying the conventions into their app's nested `CLAUDE.md`. When generating UI, follow those conventions (wherever placed) and `/DESIGN.md`.
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## File Organization
|
|
95
|
+
|
|
96
|
+
| Directory | Contents |
|
|
97
|
+
| --------------------- | --------------------------------------------------------------------- |
|
|
98
|
+
| `/docs/` | Foundation docs — product.md, tech.md, ADRs |
|
|
99
|
+
| `/docs/requirements/` | PRDs |
|
|
100
|
+
| `/workstream/` | Active feature work — specs, stories, task lists, planner state files |
|
|
101
|
+
| `.claude/agents/` | Subagent definitions |
|
|
102
|
+
| `.claude/skills/` | On-demand skills |
|
|
103
|
+
| `.claude/commands/` | Command entry points |
|
|
104
|
+
| `/mockups/` | UX mockups |
|