@danmoisan/drm-copilot-mcp 0.0.1
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 +21 -0
- package/README.md +50 -0
- package/out/mcp-server.js +17323 -0
- package/package.json +36 -0
- package/resources/claude-customizations/.claude/agent-memory/orchestrator/MEMORY.md +3 -0
- package/resources/claude-customizations/.claude/agent-memory/orchestrator/feedback_repo_root_is_source_of_truth.md +11 -0
- package/resources/claude-customizations/.claude/agent-memory/orchestrator/feedback_vsce_verify_package_location.md +19 -0
- package/resources/claude-customizations/.claude/agent-memory/orchestrator/project_extension_location.md +11 -0
- package/resources/claude-customizations/.claude/agent-memory/prd-feature/MEMORY.md +1 -0
- package/resources/claude-customizations/.claude/agent-memory/prd-feature/project_push_down_pattern.md +13 -0
- package/resources/claude-customizations/.claude/agent-memory/task-researcher/MEMORY.md +3 -0
- package/resources/claude-customizations/.claude/agent-memory/task-researcher/project_push_down_claude_dir.md +11 -0
- package/resources/claude-customizations/.claude/agents/atomic-executor.md +135 -0
- package/resources/claude-customizations/.claude/agents/atomic-planner.md +71 -0
- package/resources/claude-customizations/.claude/agents/csharp-typed-engineer.md +69 -0
- package/resources/claude-customizations/.claude/agents/epic-review.md +40 -0
- package/resources/claude-customizations/.claude/agents/feature-review.md +136 -0
- package/resources/claude-customizations/.claude/agents/orchestrator.md +83 -0
- package/resources/claude-customizations/.claude/agents/powershell-typed-engineer.md +80 -0
- package/resources/claude-customizations/.claude/agents/prd-feature.md +42 -0
- package/resources/claude-customizations/.claude/agents/python-typed-engineer.md +72 -0
- package/resources/claude-customizations/.claude/agents/staged-review.md +41 -0
- package/resources/claude-customizations/.claude/agents/status-updater.md +41 -0
- package/resources/claude-customizations/.claude/agents/task-researcher.md +81 -0
- package/resources/claude-customizations/.claude/agents/typescript-engineer.md +24 -0
- package/resources/claude-customizations/.claude/hooks/check-powershell-test-purity.ps1 +111 -0
- package/resources/claude-customizations/.claude/hooks/check-python-test-purity.ps1 +146 -0
- package/resources/claude-customizations/.claude/hooks/enforce-evidence-locations.ps1 +150 -0
- package/resources/claude-customizations/.claude/hooks/enforce-powershell-batch-budget.ps1 +238 -0
- package/resources/claude-customizations/.claude/hooks/enforce-promotion-mcp-only.ps1 +147 -0
- package/resources/claude-customizations/.claude/hooks/enforce-python-batch-budget.ps1 +235 -0
- package/resources/claude-customizations/.claude/hooks/validate-bash.ps1 +69 -0
- package/resources/claude-customizations/.claude/hooks/validate-executor-output.ps1 +296 -0
- package/resources/claude-customizations/.claude/hooks/validate-feature-review-coverage.ps1 +389 -0
- package/resources/claude-customizations/.claude/hooks/validate-orchestrator-output.ps1 +141 -0
- package/resources/claude-customizations/.claude/hooks/validate-planner-output.ps1 +288 -0
- package/resources/claude-customizations/.claude/hooks/validate-required-artifact-output.ps1 +171 -0
- package/resources/claude-customizations/.claude/hooks/validate-task-researcher-output.ps1 +142 -0
- package/resources/claude-customizations/.claude/rules/csharp.md +62 -0
- package/resources/claude-customizations/.claude/rules/general-code-change.md +71 -0
- package/resources/claude-customizations/.claude/rules/general-unit-test.md +60 -0
- package/resources/claude-customizations/.claude/rules/powershell.md +97 -0
- package/resources/claude-customizations/.claude/rules/python-suppressions.md +143 -0
- package/resources/claude-customizations/.claude/rules/python.md +99 -0
- package/resources/claude-customizations/.claude/rules/self-explanatory-code-commenting.md +97 -0
- package/resources/claude-customizations/.claude/rules/tonality.md +80 -0
- package/resources/claude-customizations/.claude/rules/typescript-suppressions.md +66 -0
- package/resources/claude-customizations/.claude/rules/typescript.md +45 -0
- package/resources/claude-customizations/.claude/settings.json +144 -0
- package/resources/claude-customizations/.claude/skills/acceptance-criteria-tracking/SKILL.md +102 -0
- package/resources/claude-customizations/.claude/skills/atomic-plan-contract/SKILL.md +189 -0
- package/resources/claude-customizations/.claude/skills/commit-message/SKILL.md +65 -0
- package/resources/claude-customizations/.claude/skills/csharp-change-budget-router/SKILL.md +90 -0
- package/resources/claude-customizations/.claude/skills/csharp-orchestration-state-machine/SKILL.md +58 -0
- package/resources/claude-customizations/.claude/skills/csharp-qa-gate/SKILL.md +77 -0
- package/resources/claude-customizations/.claude/skills/evidence-and-timestamp-conventions/SKILL.md +164 -0
- package/resources/claude-customizations/.claude/skills/execute-hard-lock/SKILL.md +82 -0
- package/resources/claude-customizations/.claude/skills/feature-promotion-lifecycle/SKILL.md +115 -0
- package/resources/claude-customizations/.claude/skills/feature-review-workflow/SKILL.md +167 -0
- package/resources/claude-customizations/.claude/skills/fill-feature-docs/SKILL.md +22 -0
- package/resources/claude-customizations/.claude/skills/invoke-csharp-engineer/SKILL.md +64 -0
- package/resources/claude-customizations/.claude/skills/invoke-powershell-engineer/SKILL.md +65 -0
- package/resources/claude-customizations/.claude/skills/invoke-python-engineer/SKILL.md +64 -0
- package/resources/claude-customizations/.claude/skills/make-skill-template/SKILL.md +147 -0
- package/resources/claude-customizations/.claude/skills/orchestrate/SKILL.md +132 -0
- package/resources/claude-customizations/.claude/skills/policy-audit-template-usage/SKILL.md +49 -0
- package/resources/claude-customizations/.claude/skills/policy-compliance-order/SKILL.md +40 -0
- package/resources/claude-customizations/.claude/skills/powershell-change-budget-router/SKILL.md +49 -0
- package/resources/claude-customizations/.claude/skills/powershell-orchestration-state-machine/SKILL.md +58 -0
- package/resources/claude-customizations/.claude/skills/powershell-qa-gate/SKILL.md +77 -0
- package/resources/claude-customizations/.claude/skills/pr-author/SKILL.md +50 -0
- package/resources/claude-customizations/.claude/skills/pr-base-branch-merge-base/SKILL.md +56 -0
- package/resources/claude-customizations/.claude/skills/pr-context-artifacts/SKILL.md +30 -0
- package/resources/claude-customizations/.claude/skills/python-change-budget-router/SKILL.md +79 -0
- package/resources/claude-customizations/.claude/skills/python-qa-gate/SKILL.md +77 -0
- package/resources/claude-customizations/.claude/skills/remediation-handoff-atomic-planner/SKILL.md +40 -0
- package/resources/claude-customizations/.claude/skills/research-issue/SKILL.md +67 -0
- package/resources/claude-customizations/.claude/skills/review-epic/SKILL.md +21 -0
- package/resources/claude-customizations/.claude/skills/review-feature/SKILL.md +25 -0
- package/resources/claude-customizations/.claude/skills/review-staged/SKILL.md +21 -0
- package/resources/claude-customizations/.claude/skills/skill-canonical-location-audit/SKILL.md +49 -0
- package/resources/claude-customizations/.claude/skills/translate-copilot-to-claude/SKILL.md +295 -0
- package/resources/claude-customizations/.claude/skills/update-status/SKILL.md +21 -0
- package/resources/claude-dir-customizations/.mcp.json +8 -0
- package/resources/codex-and-agents-customizations/.agents/README.md +86 -0
- package/resources/codex-and-agents-customizations/.agents/skills/README.md +49 -0
- package/resources/codex-and-agents-customizations/.agents/skills/acceptance-criteria-tracking/SKILL.md +107 -0
- package/resources/codex-and-agents-customizations/.agents/skills/atomic-executor/SKILL.md +73 -0
- package/resources/codex-and-agents-customizations/.agents/skills/atomic-plan-contract/SKILL.md +194 -0
- package/resources/codex-and-agents-customizations/.agents/skills/atomic-planner/SKILL.md +87 -0
- package/resources/codex-and-agents-customizations/.agents/skills/commit-message/SKILL.md +70 -0
- package/resources/codex-and-agents-customizations/.agents/skills/commit-message-conventions/SKILL.md +95 -0
- package/resources/codex-and-agents-customizations/.agents/skills/csharp/SKILL.md +67 -0
- package/resources/codex-and-agents-customizations/.agents/skills/csharp-change-budget-router/SKILL.md +94 -0
- package/resources/codex-and-agents-customizations/.agents/skills/csharp-orchestration-state-machine/SKILL.md +64 -0
- package/resources/codex-and-agents-customizations/.agents/skills/csharp-qa-gate/SKILL.md +82 -0
- package/resources/codex-and-agents-customizations/.agents/skills/evidence-and-timestamp-conventions/SKILL.md +168 -0
- package/resources/codex-and-agents-customizations/.agents/skills/execute-hard-lock/SKILL.md +88 -0
- package/resources/codex-and-agents-customizations/.agents/skills/feature-promotion-lifecycle/SKILL.md +129 -0
- package/resources/codex-and-agents-customizations/.agents/skills/feature-review/SKILL.md +106 -0
- package/resources/codex-and-agents-customizations/.agents/skills/feature-review-workflow/SKILL.md +181 -0
- package/resources/codex-and-agents-customizations/.agents/skills/fill-feature-docs/SKILL.md +27 -0
- package/resources/codex-and-agents-customizations/.agents/skills/invoke-csharp-engineer/SKILL.md +73 -0
- package/resources/codex-and-agents-customizations/.agents/skills/invoke-powershell-engineer/SKILL.md +74 -0
- package/resources/codex-and-agents-customizations/.agents/skills/invoke-python-engineer/SKILL.md +73 -0
- package/resources/codex-and-agents-customizations/.agents/skills/make-skill-template/SKILL.md +152 -0
- package/resources/codex-and-agents-customizations/.agents/skills/orchestrate/SKILL.md +143 -0
- package/resources/codex-and-agents-customizations/.agents/skills/orchestrator-workflow/SKILL.md +317 -0
- package/resources/codex-and-agents-customizations/.agents/skills/policy-audit-template-usage/SKILL.md +53 -0
- package/resources/codex-and-agents-customizations/.agents/skills/policy-compliance-order/SKILL.md +49 -0
- package/resources/codex-and-agents-customizations/.agents/skills/powershell/SKILL.md +102 -0
- package/resources/codex-and-agents-customizations/.agents/skills/powershell-change-budget-router/SKILL.md +53 -0
- package/resources/codex-and-agents-customizations/.agents/skills/powershell-orchestration-state-machine/SKILL.md +64 -0
- package/resources/codex-and-agents-customizations/.agents/skills/powershell-qa-gate/SKILL.md +83 -0
- package/resources/codex-and-agents-customizations/.agents/skills/pr-author/SKILL.md +55 -0
- package/resources/codex-and-agents-customizations/.agents/skills/pr-authoring/SKILL.md +124 -0
- package/resources/codex-and-agents-customizations/.agents/skills/pr-base-branch-merge-base/SKILL.md +60 -0
- package/resources/codex-and-agents-customizations/.agents/skills/pr-context-artifacts/SKILL.md +34 -0
- package/resources/codex-and-agents-customizations/.agents/skills/python/SKILL.md +104 -0
- package/resources/codex-and-agents-customizations/.agents/skills/python-change-budget-router/SKILL.md +84 -0
- package/resources/codex-and-agents-customizations/.agents/skills/python-qa-gate/SKILL.md +82 -0
- package/resources/codex-and-agents-customizations/.agents/skills/python-suppressions/SKILL.md +148 -0
- package/resources/codex-and-agents-customizations/.agents/skills/remediation-handoff-atomic-planner/SKILL.md +49 -0
- package/resources/codex-and-agents-customizations/.agents/skills/repo-automation-adapter/SKILL.md +142 -0
- package/resources/codex-and-agents-customizations/.agents/skills/repo-automation-adapter/agents/openai.yaml +5 -0
- package/resources/codex-and-agents-customizations/.agents/skills/research-issue/SKILL.md +72 -0
- package/resources/codex-and-agents-customizations/.agents/skills/review-epic/SKILL.md +26 -0
- package/resources/codex-and-agents-customizations/.agents/skills/review-feature/SKILL.md +30 -0
- package/resources/codex-and-agents-customizations/.agents/skills/review-staged/SKILL.md +26 -0
- package/resources/codex-and-agents-customizations/.agents/skills/self-explanatory-code-commenting/SKILL.md +102 -0
- package/resources/codex-and-agents-customizations/.agents/skills/skill-canonical-location-audit/SKILL.md +52 -0
- package/resources/codex-and-agents-customizations/.agents/skills/translate-copilot-to-claude/SKILL.md +317 -0
- package/resources/codex-and-agents-customizations/.agents/skills/typescript/SKILL.md +50 -0
- package/resources/codex-and-agents-customizations/.agents/skills/typescript-suppressions/SKILL.md +71 -0
- package/resources/codex-and-agents-customizations/.agents/skills/update-status/SKILL.md +26 -0
- package/resources/codex-and-agents-customizations/.codex/agents/5.1-beast-adjusted.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/5.1-thinking-beast-mode-adjusted.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/api-architect.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor.toml +151 -0
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner.toml +93 -0
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-planning.toml +24 -0
- package/resources/codex-and-agents-customizations/.codex/agents/commentary-remediation.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/commit-steward.toml +20 -0
- package/resources/codex-and-agents-customizations/.codex/agents/csharp-atomic-executor.toml +24 -0
- package/resources/codex-and-agents-customizations/.codex/agents/csharp-atomic-planning.toml +25 -0
- package/resources/codex-and-agents-customizations/.codex/agents/csharp-orchestrator.toml +56 -0
- package/resources/codex-and-agents-customizations/.codex/agents/csharp-typed-engineer.toml +97 -0
- package/resources/codex-and-agents-customizations/.codex/agents/epic-review.toml +52 -0
- package/resources/codex-and-agents-customizations/.codex/agents/expert-nextjs-developer.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/expert-react-frontend-engineer.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/feature-review.toml +149 -0
- package/resources/codex-and-agents-customizations/.codex/agents/feature-reviewer.toml +60 -0
- package/resources/codex-and-agents-customizations/.codex/agents/gpt-5-beast-mode.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/hlbpa.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/mentor.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/orchestrator.toml +121 -0
- package/resources/codex-and-agents-customizations/.codex/agents/powershell-atomic-executor.toml +24 -0
- package/resources/codex-and-agents-customizations/.codex/agents/powershell-atomic-planning.toml +25 -0
- package/resources/codex-and-agents-customizations/.codex/agents/powershell-di-unit-test-engineer.toml +24 -0
- package/resources/codex-and-agents-customizations/.codex/agents/powershell-orchestrator.toml +56 -0
- package/resources/codex-and-agents-customizations/.codex/agents/powershell-typed-engineer.toml +108 -0
- package/resources/codex-and-agents-customizations/.codex/agents/pr-author.toml +26 -0
- package/resources/codex-and-agents-customizations/.codex/agents/prd-feature.toml +53 -0
- package/resources/codex-and-agents-customizations/.codex/agents/prd.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/pytest-unit-test-coding.toml +24 -0
- package/resources/codex-and-agents-customizations/.codex/agents/python-atomic-executor.toml +24 -0
- package/resources/codex-and-agents-customizations/.codex/agents/python-atomic-planning.toml +25 -0
- package/resources/codex-and-agents-customizations/.codex/agents/python-execution-only-typed.toml +24 -0
- package/resources/codex-and-agents-customizations/.codex/agents/python-orchestrator.toml +54 -0
- package/resources/codex-and-agents-customizations/.codex/agents/python-typed-engineer.toml +100 -0
- package/resources/codex-and-agents-customizations/.codex/agents/staged-review.toml +53 -0
- package/resources/codex-and-agents-customizations/.codex/agents/status-updater.toml +53 -0
- package/resources/codex-and-agents-customizations/.codex/agents/task-researcher.toml +103 -0
- package/resources/codex-and-agents-customizations/.codex/agents/tdd-green.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/tdd-red.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/tdd-refactor.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/agents/typescript-engineer.toml +48 -0
- package/resources/codex-and-agents-customizations/.codex/agents/voidbeast-gpt41enhanced.toml +23 -0
- package/resources/codex-and-agents-customizations/.codex/codex-web-setup.plan.md +26 -0
- package/resources/codex-and-agents-customizations/.codex/codex-web-setup.sh +384 -0
- package/resources/codex-and-agents-customizations/.codex/config.toml +137 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/check-powershell-test-purity.ps1 +113 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/check-python-test-purity.ps1 +149 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-evidence-locations.ps1 +153 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-powershell-batch-budget.ps1 +241 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-promotion-mcp-only.ps1 +150 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-python-batch-budget.ps1 +238 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/validate-bash.ps1 +72 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/validate-feature-review-coverage.ps1 +265 -0
- package/resources/codex-and-agents-customizations/.codex/prompts/feature-review-remediate.md +10 -0
- package/resources/codex-and-agents-customizations/.codex/prompts/generate-commit-message-repo.md +11 -0
- package/resources/codex-and-agents-customizations/.codex/prompts/generate-pr.md +15 -0
- package/resources/codex-and-agents-customizations/.codex/prompts/orchestrate-work.md +22 -0
- package/resources/codex-and-agents-customizations/AGENTS.md +317 -0
- package/resources/customizations/.github/agents/5.1-Beast-adjusted.agent.md +181 -0
- package/resources/customizations/.github/agents/5.1-Thinking-Beast-Mode-adjusted.agent.md +361 -0
- package/resources/customizations/.github/agents/Powershell DI Unit Test Engineer.agent.md +192 -0
- package/resources/customizations/.github/agents/api-architect.agent.md +40 -0
- package/resources/customizations/.github/agents/atomic_executor.agent.md +251 -0
- package/resources/customizations/.github/agents/atomic_planning.agent.md +658 -0
- package/resources/customizations/.github/agents/commentary-remediation.agent.md +35 -0
- package/resources/customizations/.github/agents/commit-steward.agent.md +200 -0
- package/resources/customizations/.github/agents/csharp-atomic-executor.agent.md +288 -0
- package/resources/customizations/.github/agents/csharp-atomic-planning.agent.md +354 -0
- package/resources/customizations/.github/agents/csharp-orchestrator.agent.md +375 -0
- package/resources/customizations/.github/agents/csharp-typed-engineer.agent.md +285 -0
- package/resources/customizations/.github/agents/epic-review.agent.md +374 -0
- package/resources/customizations/.github/agents/expert-nextjs-developer.agent.md +477 -0
- package/resources/customizations/.github/agents/expert-react-frontend-engineer.agent.md +739 -0
- package/resources/customizations/.github/agents/feature-review.agent.md +49 -0
- package/resources/customizations/.github/agents/gpt-5-beast-mode.agent.md +116 -0
- package/resources/customizations/.github/agents/hlbpa.agent.md +219 -0
- package/resources/customizations/.github/agents/mentor.agent.md +32 -0
- package/resources/customizations/.github/agents/orchestrator.agent.md +449 -0
- package/resources/customizations/.github/agents/powershell-atomic-executor.agent.md +287 -0
- package/resources/customizations/.github/agents/powershell-atomic-planning.agent.md +647 -0
- package/resources/customizations/.github/agents/powershell-orchestrator.agent.md +382 -0
- package/resources/customizations/.github/agents/powershell-typed-engineer.agent.md +293 -0
- package/resources/customizations/.github/agents/pr-author.agent.md +138 -0
- package/resources/customizations/.github/agents/prd-feature.agent.md +52 -0
- package/resources/customizations/.github/agents/prd.agent.md +202 -0
- package/resources/customizations/.github/agents/pytest-unit-test-coding.agent.md +202 -0
- package/resources/customizations/.github/agents/python-atomic-executor.agent.md +289 -0
- package/resources/customizations/.github/agents/python-atomic-planning.agent.md +429 -0
- package/resources/customizations/.github/agents/python-execution-only-typed.agent.md +217 -0
- package/resources/customizations/.github/agents/python-orchestrator.agent.md +380 -0
- package/resources/customizations/.github/agents/python-typed-engineer.agent.md +271 -0
- package/resources/customizations/.github/agents/staged-review.agent.md +246 -0
- package/resources/customizations/.github/agents/status_updater.agent.md +279 -0
- package/resources/customizations/.github/agents/task-researcher.agent.md +298 -0
- package/resources/customizations/.github/agents/tdd-green.agent.md +60 -0
- package/resources/customizations/.github/agents/tdd-red.agent.md +66 -0
- package/resources/customizations/.github/agents/tdd-refactor.agent.md +94 -0
- package/resources/customizations/.github/agents/typescript-engineer.agent.md +167 -0
- package/resources/customizations/.github/agents/voidbeast-gpt41enhanced.agent.md +230 -0
- package/resources/customizations/.github/codex/execute-hard-lock.prompt.md +105 -0
- package/resources/customizations/.github/codex/resume-hard-lock.prompt.md +92 -0
- package/resources/customizations/.github/copilot-instructions.md +7 -0
- package/resources/customizations/.github/instructions/csharp-code-change.instructions.md +184 -0
- package/resources/customizations/.github/instructions/csharp-unit-test.instructions.md +52 -0
- package/resources/customizations/.github/instructions/general-code-change.instructions.md +290 -0
- package/resources/customizations/.github/instructions/general-unit-test.instructions.md +106 -0
- package/resources/customizations/.github/instructions/github-actions-ci-cd-best-practices.instructions.md +607 -0
- package/resources/customizations/.github/instructions/github-actions.instructions.md +23 -0
- package/resources/customizations/.github/instructions/powershell-code-change.instructions.md +81 -0
- package/resources/customizations/.github/instructions/powershell-unit-test.instructions.md +69 -0
- package/resources/customizations/.github/instructions/python-code-change.instructions.md +232 -0
- package/resources/customizations/.github/instructions/python-suppressions.instructions.md +609 -0
- package/resources/customizations/.github/instructions/python-unit-test.instructions.md +71 -0
- package/resources/customizations/.github/instructions/self-explanatory-code-commenting.instructions.md +238 -0
- package/resources/customizations/.github/instructions/tonality.instructions.md +133 -0
- package/resources/customizations/.github/instructions/typescript-code-change.instructions.md +203 -0
- package/resources/customizations/.github/instructions/typescript-suppressions.instructions.md +157 -0
- package/resources/customizations/.github/instructions/typescript-unit-test.instructions.md +112 -0
- package/resources/customizations/.github/prompts/add-educational-comments.prompt.md +129 -0
- package/resources/customizations/.github/prompts/breakdown-bug-prd.prompt.md +29 -0
- package/resources/customizations/.github/prompts/breakdown-epic-arch.prompt.md +66 -0
- package/resources/customizations/.github/prompts/breakdown-epic-pm.prompt.md +58 -0
- package/resources/customizations/.github/prompts/breakdown-feature-implementation.prompt.md +128 -0
- package/resources/customizations/.github/prompts/breakdown-feature-prd.prompt.md +61 -0
- package/resources/customizations/.github/prompts/code-exemplars-blueprint-generator.prompt.md +126 -0
- package/resources/customizations/.github/prompts/drafts/create-github-issues-feature-from-implementation-plan.prompt.md +28 -0
- package/resources/customizations/.github/prompts/drafts/create-implementation-plan.prompt.md +158 -0
- package/resources/customizations/.github/prompts/drafts/create-technical-spike.prompt.md +231 -0
- package/resources/customizations/.github/prompts/drafts/potential-feature-prd.prompt.md +19 -0
- package/resources/customizations/.github/prompts/drafts/update-implementation-plan.prompt.md +158 -0
- package/resources/customizations/.github/prompts/execute-plan-template.md +21 -0
- package/resources/customizations/.github/prompts/export-chat.prompt.md +7 -0
- package/resources/customizations/.github/prompts/fillout-prd-feature.prompt.md +46 -0
- package/resources/customizations/.github/prompts/generate-atomic-plan.prompt.md +96 -0
- package/resources/customizations/.github/prompts/generate-commit-message-repo.prompt.md +108 -0
- package/resources/customizations/.github/prompts/generate-pr.prompt.md +151 -0
- package/resources/customizations/.github/prompts/javascript-typescript-jest.prompt.md +44 -0
- package/resources/customizations/.github/prompts/orchestrate-csharp-work.prompt.md +66 -0
- package/resources/customizations/.github/prompts/orchestrate-powershell-work.prompt.md +50 -0
- package/resources/customizations/.github/prompts/orchestrate-python-work.prompt.md +50 -0
- package/resources/customizations/.github/prompts/orchestrate-work.prompt.md +66 -0
- package/resources/customizations/.github/prompts/remediate-comments.prompt.md +53 -0
- package/resources/customizations/.github/prompts/research-issue.prompt.md +125 -0
- package/resources/customizations/.github/prompts/review-epic.prompt.md +94 -0
- package/resources/customizations/.github/prompts/review-feature.prompt.md +130 -0
- package/resources/customizations/.github/prompts/review-staged.prompt.md +43 -0
- package/resources/customizations/.github/prompts/update_status.prompt.md +68 -0
- package/resources/customizations/.github/skills/README.md +26 -0
- package/resources/customizations/.github/skills/acceptance-criteria-tracking/SKILL.md +102 -0
- package/resources/customizations/.github/skills/atomic-plan-contract/SKILL.md +174 -0
- package/resources/customizations/.github/skills/csharp-change-budget-router/SKILL.md +48 -0
- package/resources/customizations/.github/skills/csharp-orchestration-state-machine/SKILL.md +57 -0
- package/resources/customizations/.github/skills/evidence-and-timestamp-conventions/SKILL.md +135 -0
- package/resources/customizations/.github/skills/feature-promotion-lifecycle/SKILL.md +121 -0
- package/resources/customizations/.github/skills/feature-review-workflow/SKILL.md +153 -0
- package/resources/customizations/.github/skills/make-skill-template/SKILL.md +147 -0
- package/resources/customizations/.github/skills/policy-audit-template-usage/SKILL.md +48 -0
- package/resources/customizations/.github/skills/policy-compliance-order/SKILL.md +37 -0
- package/resources/customizations/.github/skills/powershell-change-budget-router/SKILL.md +48 -0
- package/resources/customizations/.github/skills/powershell-orchestration-state-machine/SKILL.md +57 -0
- package/resources/customizations/.github/skills/pr-base-branch-merge-base/SKILL.md +55 -0
- package/resources/customizations/.github/skills/pr-context-artifacts/SKILL.md +29 -0
- package/resources/customizations/.github/skills/remediation-handoff-atomic-planner/SKILL.md +39 -0
- package/resources/customizations/.github/skills/skill-canonical-location-audit/SKILL.md +48 -0
- package/resources/feature-templates/bug/plan.yyyy-MM-ddTHH-mm.md +44 -0
- package/resources/feature-templates/bug/potential_bug.md +59 -0
- package/resources/feature-templates/bug/spec.md +99 -0
- package/resources/feature-templates/epic/initiative.md +43 -0
- package/resources/feature-templates/feature/plan.yyyy-MM-ddTHH-mm.md +53 -0
- package/resources/feature-templates/feature/spec.md +66 -0
- package/resources/feature-templates/feature/user-story.md +42 -0
- package/resources/feature-templates/potential/template.md +33 -0
- package/resources/feature-templates/refactor/plan.yyyy-MM-ddTHH-mm.md +52 -0
- package/resources/feature-templates/refactor/spec.md +69 -0
- package/resources/powershell/PoshQC/PoshQC.Analyzer.psm1 +254 -0
- package/resources/powershell/PoshQC/PoshQC.FileDiscovery.psm1 +138 -0
- package/resources/powershell/PoshQC/PoshQC.Testing.psm1 +409 -0
- package/resources/powershell/PoshQC/PoshQC.psd1 +31 -0
- package/resources/powershell/PoshQC/PoshQC.psm1 +101 -0
- package/resources/powershell/PoshQC/README.md +80 -0
- package/resources/powershell/PoshQC/settings/pester.runsettings.psd1 +59 -0
- package/resources/powershell/PoshQC/settings/pssa.settings.psd1 +55 -0
- package/resources/scripts/dev_tools/__init__.py +0 -0
- package/resources/scripts/dev_tools/agentic_sync.py +819 -0
- package/resources/scripts/dev_tools/codex_native_converter/__init__.py +11 -0
- package/resources/scripts/dev_tools/codex_native_converter/__main__.py +6 -0
- package/resources/scripts/dev_tools/codex_native_converter/cli.py +11 -0
- package/resources/scripts/dev_tools/new_active_feature_folder.py +79 -0
- package/resources/scripts/dev_tools/new_active_feature_folder_docs.py +268 -0
- package/resources/scripts/dev_tools/new_active_feature_folder_flow.py +366 -0
- package/resources/scripts/dev_tools/new_active_feature_folder_io.py +306 -0
- package/resources/scripts/dev_tools/new_active_feature_folder_markdown.py +252 -0
- package/resources/scripts/dev_tools/new_active_feature_folder_models.py +136 -0
- package/resources/scripts/dev_tools/new_potential_bug_entry.py +465 -0
- package/resources/scripts/dev_tools/potential_to_issue.py +421 -0
- package/resources/scripts/dev_tools/potential_to_issue_content.py +212 -0
- package/resources/scripts/dev_tools/pr_context/__init__.py +0 -0
- package/resources/scripts/dev_tools/pr_context/collector.py +619 -0
- package/resources/scripts/dev_tools/pr_context/feature_docs.py +349 -0
- package/resources/scripts/dev_tools/pr_context/git.py +153 -0
- package/resources/scripts/dev_tools/pr_context/github.py +549 -0
- package/resources/scripts/dev_tools/pr_context/models.py +198 -0
- package/resources/scripts/dev_tools/pr_context/render.py +342 -0
- package/resources/scripts/dev_tools/pr_context/render_feature_excerpts.py +256 -0
- package/resources/scripts/dev_tools/pr_context/render_pr_helpers.py +291 -0
- package/resources/scripts/dev_tools/pr_context/summary_helpers.py +386 -0
- package/resources/scripts/dev_tools/pr_context/verification_evidence.py +171 -0
- package/resources/scripts/dev_tools/prompt_mode_contract.py +152 -0
- package/resources/scripts/dev_tools/push_down_claude_customizations.py +188 -0
- package/resources/scripts/dev_tools/push_down_codex_and_agents_customizations.py +139 -0
- package/resources/scripts/dev_tools/push_down_copilot_customizations.py +504 -0
- package/resources/scripts/dev_tools/push_down_copilot_customizations_filesystem.py +217 -0
- package/resources/scripts/dev_tools/push_down_copilot_customizations_rewrites.py +293 -0
- package/resources/scripts/dev_tools/resolve_file_prompt.py +457 -0
- package/resources/scripts/dev_tools/resolve_hard_lock_prompt.py +444 -0
- package/resources/scripts/dev_tools/validate_orchestration_artifacts.py +554 -0
- package/resources/templates/codex_native_converter.py +35 -0
- package/resources/templates/collect_commit_context.py +212 -0
- package/resources/templates/collect_pr_context.py +74 -0
- package/resources/templates/hello_pwsh.ps1 +3 -0
- package/resources/templates/hello_python.py +11 -0
- package/resources/templates/link-parent-child.ps1 +480 -0
- package/resources/templates/new-claude-worktree-session.ps1 +232 -0
- package/resources/templates/new-potential-entry.ps1 +187 -0
- package/resources/templates/new_active_feature_folder.py +67 -0
- package/resources/templates/new_potential_bug_entry.py +54 -0
- package/resources/templates/policy_audit/AGENTS.md +117 -0
- package/resources/templates/policy_audit/code-review.yyyy-MM-ddTHH-mm.md +165 -0
- package/resources/templates/policy_audit/feature-audit.yyyy-MM-ddTHH-mm.md +124 -0
- package/resources/templates/policy_audit/policy-audit.yyyy-MM-ddTHH-mm.md +649 -0
- package/resources/templates/potential_to_issue.py +55 -0
- package/resources/templates/push_down_claude_customizations.py +188 -0
- package/resources/templates/push_down_codex_and_agents_customizations.py +95 -0
- package/resources/templates/push_down_copilot_customizations.py +124 -0
- package/resources/templates/resolve_atomic_plan_prompt.py +75 -0
- package/resources/templates/resolve_hard_lock_prompt.py +65 -0
- package/resources/templates/run-poshqc-analyze-autofix.ps1 +16 -0
- package/resources/templates/run-poshqc-analyze.ps1 +26 -0
- package/resources/templates/run-poshqc-format.ps1 +26 -0
- package/resources/templates/run-poshqc-suite.ps1 +24 -0
- package/resources/templates/run-poshqc-test.ps1 +32 -0
- package/resources/templates/sync-agents-from-instructions.ps1 +400 -0
- package/resources/templates/validate_orchestration_artifacts.py +55 -0
- package/resources/templates/vscode-cli.helpers.ps1 +63 -0
|
@@ -0,0 +1,374 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: epic_review_agent
|
|
3
|
+
description: Review an epic documentation root folder (initiative + orchestration + constituent features) with a delivery-first audit for a single-developer, multi-feature initiative. Derive feature folders and latest versions/plans from the epic root input, validate acceptance criteria against current code, reconcile plan checklists, and produce EpicAudit + FeatureDeliveryInventory + PolicyAudit (plus pre-execution OrchestrationReview when applicable). If remediation is needed, generate remediation inputs and automatically hand off plan creation to atomic_planner to write remediation-plan.<timestamp>.md in the epic root. No user questions.
|
|
4
|
+
argument-hint: "Provide EpicRootFolder (absolute or workspace-relative path, e.g., docs/features/active/2026-02-02-some-epic-47). Run this agent to: (1) read initiative.md, issue.md, orchestration.md; (2) enumerate all feature subfolders; (3) select the current version per feature (highest vN if present, otherwise root); (4) select latest plan.<timestamp>.md per feature (max ISO timestamp); (5) validate acceptance criteria in spec.md/user-story.md against current code/tests; (6) reconcile plan checklists (auto-check delivered items); then produce: docs/features/active/<epic>/epic-audit.<timestamp>.md, feature-delivery-inventory.<timestamp>.md, policy-audit.<timestamp>.md, and if needed remediation-inputs.<timestamp>.md plus remediation-plan.<timestamp>.md (via atomic_planner). If pre-execution, also produce orchestration-review.<timestamp>.md. Timestamps use ISO-8601 format yyyy-MM-ddTHH-mm."
|
|
5
|
+
tools:
|
|
6
|
+
['vscode/getProjectSetupInfo', 'vscode/runCommand', 'vscode/vscodeAPI', 'execute/testFailure', 'execute/getTerminalOutput', 'execute/runTask', 'execute/createAndRunTask', 'execute/runInTerminal', 'execute/runTests', 'read/problems', 'read/readFile', 'read/terminalSelection', 'read/terminalLastCommand', 'read/getTaskOutput', 'edit/createDirectory', 'edit/createFile', 'edit/editFiles', 'search', 'web', 'drmcopilotextension/*', 'agent', 'todo']
|
|
7
|
+
handoffs:
|
|
8
|
+
- label: Create remediation plan (atomic_planner)
|
|
9
|
+
agent: atomic_planner
|
|
10
|
+
prompt: "You are atomic_planner. Create an atomic remediation plan ONLY (no implementation) to address the findings in `remediation-inputs.<timestamp>.md`, and WRITE the plan to the explicit file path provided in the prompt as `<EPIC_FOLDER>/remediation-plan.<timestamp>.md`.\n\nRequirements:\n- Preserve atomic planner conventions (phases, [P#-T#] task IDs, checkboxes, verifiable acceptance criteria).\n- Separate discovery/research from implementation tasks.\n- Include Phase 0 tasks for: reading applicable repo policies, confirming epic scope/docs, and defining success criteria.\n- If baseline capture is required, store artifacts in the canonical baseline location defined in `evidence-and-timestamp-conventions`.\n- Include a final QA phase: doc structure checks -> lint (if available) -> link checks (if available).\n- Use ONLY the explicit output path supplied (no path confirmation questions)."
|
|
11
|
+
send: true
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
# Role and objective
|
|
15
|
+
|
|
16
|
+
You are an **epic reviewer** specializing in:
|
|
17
|
+
- **Single-developer work planning** (scope boundaries, resource lockup clarity, sequencing)
|
|
18
|
+
- **Delivery verification** (acceptance criteria + evidence in code/tests)
|
|
19
|
+
- **Cross-feature coherence** (dependencies, shared assumptions, consistent definitions)
|
|
20
|
+
- **Audit-quality documentation** (PASS/PARTIAL/FAIL with evidence)
|
|
21
|
+
- **Resilient, autonomous operation** (no questions; best-effort assumptions; finish the artifacts)
|
|
22
|
+
|
|
23
|
+
An epic is defined here as:
|
|
24
|
+
> “A multi-feature initiative with interdependencies, used to organize scope and delivery for a single developer (or small team), without requiring formal program increments or business-case artifacts.”
|
|
25
|
+
|
|
26
|
+
Your output is audit artifacts plus minimal checklist reconciliation in plan files. Your output is:
|
|
27
|
+
1) **epic-audit.<timestamp>.md** — Epic-level audit against single-developer work-planning clarity + scope/sequence expectations
|
|
28
|
+
2) **feature-delivery-inventory.<timestamp>.md** — Combined inventory + per-feature acceptance criteria delivery status with evidence and requirement counts
|
|
29
|
+
3) **policy-audit.<timestamp>.md** — Repo-wide policy audit using `docs/features/templates/policy_audit/policy-audit.yyyy-MM-ddTHH-mm.md`
|
|
30
|
+
4) **orchestration-review.<timestamp>.md** — Pre-execution dependency/sequence/integration review of orchestration.md (only when applicable)
|
|
31
|
+
5) If needed: **remediation-inputs.<timestamp>.md** + **remediation-plan.<timestamp>.md** created via **automatic atomic_planner handoff**
|
|
32
|
+
|
|
33
|
+
All `<timestamp>` values MUST use `yyyy-MM-ddTHH-mm` (example: `2026-02-02T15-30`).
|
|
34
|
+
|
|
35
|
+
# Shared skills (apply before proceeding)
|
|
36
|
+
|
|
37
|
+
Use these reusable skills to avoid duplicating shared operations:
|
|
38
|
+
- `policy-compliance-order`
|
|
39
|
+
- `evidence-and-timestamp-conventions`
|
|
40
|
+
- `policy-audit-template-usage`
|
|
41
|
+
- `remediation-handoff-atomic-planner`
|
|
42
|
+
|
|
43
|
+
# Epic-specific policy extensions
|
|
44
|
+
|
|
45
|
+
In addition to the shared policy order, read:
|
|
46
|
+
- Epic/initiative templates under `docs/features/templates/epic/**` (if present)
|
|
47
|
+
- Any relevant `docs/**/README.md` and `docs/**/templates/**` files
|
|
48
|
+
|
|
49
|
+
Constraints:
|
|
50
|
+
- Do NOT modify policy documents.
|
|
51
|
+
- Do NOT rewrite epic/feature docs as part of review.
|
|
52
|
+
- Exception: you MAY update a feature’s `issue.md` only when mirroring a GitHub issue **body** update (see “Issue update mirroring”). This is a strict synchronization step, not a doc rewrite.
|
|
53
|
+
- You MAY update plan checklists **only** to check off items that are clearly delivered, and must record those changes in the feature delivery audit.
|
|
54
|
+
- Do NOT ask the user questions. If information is missing, proceed with best-effort assumptions and clearly document them.
|
|
55
|
+
- Your default posture is “never give up”: continue until all required review artifacts exist, even if some sections must be marked UNVERIFIED with a concrete reason.
|
|
56
|
+
|
|
57
|
+
# Operating rules (non-negotiable)
|
|
58
|
+
|
|
59
|
+
## 0) Deterministic evidence + reconciliation rules (hard gates)
|
|
60
|
+
|
|
61
|
+
### Canonical evidence discovery order (must be explicit)
|
|
62
|
+
|
|
63
|
+
Use the canonical evidence discovery order defined in `evidence-and-timestamp-conventions`.
|
|
64
|
+
|
|
65
|
+
### Evidence artifact schema (strict; auto-check gate)
|
|
66
|
+
|
|
67
|
+
Only treat an artifact as eligible evidence for **auto-checking** a plan item if it contains **all** of the following machine-checkable fields:
|
|
68
|
+
|
|
69
|
+
- `Timestamp: <ISO-8601>`
|
|
70
|
+
- `Command: <exact command>`
|
|
71
|
+
- `EXIT_CODE: <int>`
|
|
72
|
+
|
|
73
|
+
Additionally, if the evidence is intended to satisfy **fail-before** expectations, it must be stored in the canonical regression-testing location defined in `evidence-and-timestamp-conventions` and include either:
|
|
74
|
+
|
|
75
|
+
Additionally, if the evidence is intended to satisfy **fail-before** expectations, it must be stored in the canonical regression-testing location defined in `evidence-and-timestamp-conventions` and include either:
|
|
76
|
+
|
|
77
|
+
- `EXIT_CODE != 0` (from a recorded command), OR
|
|
78
|
+
- an explicit **Fail-before Exception Dossier** section (see below).
|
|
79
|
+
|
|
80
|
+
This gate exists to avoid “placeholder text satisfies grep” false positives.
|
|
81
|
+
|
|
82
|
+
### Auto-check scope rule (feature plans/spec DoD are authoritative)
|
|
83
|
+
|
|
84
|
+
When remediation delivers a gap:
|
|
85
|
+
|
|
86
|
+
- Update the checkbox(es) in the corresponding feature’s latest `plan.*.md`.
|
|
87
|
+
- Also reconcile the relevant `spec.md` “Definition of Done” / DoD checklist items.
|
|
88
|
+
|
|
89
|
+
Epic-level `remediation-plan.*.md` checkmarks are **not sufficient** on their own.
|
|
90
|
+
|
|
91
|
+
### Remediation plan carry-forward rule (plan-of-record)
|
|
92
|
+
|
|
93
|
+
If `<EPIC_FOLDER>/remediation-plan.*.md` exists:
|
|
94
|
+
|
|
95
|
+
- Treat the **latest** file (max ISO timestamp) as the **plan-of-record**.
|
|
96
|
+
- Update it **in-place** (e.g., auto-check delivered items that meet the evidence gate).
|
|
97
|
+
- Do **not** generate a fresh unchecked plan unless explicitly starting over.
|
|
98
|
+
|
|
99
|
+
If a new remediation plan is generated anyway:
|
|
100
|
+
|
|
101
|
+
- Copy completion state forward by matching stable task IDs (`[P#-T#]`).
|
|
102
|
+
- Document the carry-forward mapping in the remediation inputs and in the epic audit.
|
|
103
|
+
|
|
104
|
+
### Issue update mirroring (bidirectional discipline)
|
|
105
|
+
|
|
106
|
+
Follow the issue update mirroring requirements and canonical locations in `evidence-and-timestamp-conventions`.
|
|
107
|
+
|
|
108
|
+
## 1) Epic-root truth (single input drives everything)
|
|
109
|
+
- The review is driven by `${input:EpicRootFolder}` (“<EPIC_FOLDER>”).
|
|
110
|
+
- You MUST derive all other paths by scanning `<EPIC_FOLDER>`.
|
|
111
|
+
|
|
112
|
+
## 2) Folder structure assumptions (derive; don’t require)
|
|
113
|
+
Given an epic root like:
|
|
114
|
+
`docs/features/active/<daystamp>-<epic name>-<issue number>/`
|
|
115
|
+
|
|
116
|
+
Expect:
|
|
117
|
+
- `initiative.md`
|
|
118
|
+
- `issue.md`
|
|
119
|
+
- `orchestration.md`
|
|
120
|
+
- One subfolder per feature:
|
|
121
|
+
- `<daystampX>-<feature name X>-<issue number X>/`
|
|
122
|
+
- Feature may be single-version (docs in feature root) OR multi-version:
|
|
123
|
+
- `v1/`, `v2/`, ... each containing `issue.md`, `spec.md`, `user-story.md`, `plan.<timestamp>.md`
|
|
124
|
+
- Optional `README.md` in the feature root summarizing versions
|
|
125
|
+
|
|
126
|
+
If the epic deviates from this shape, continue anyway and document deviations.
|
|
127
|
+
|
|
128
|
+
## 2.5) Work-mode marker contract and doc completeness
|
|
129
|
+
- Read work mode from `issue.md` using the persisted marker line:
|
|
130
|
+
- `- Work Mode: minor-audit`
|
|
131
|
+
- `- Work Mode: full-feature`
|
|
132
|
+
- `- Work Mode: full-bug`
|
|
133
|
+
- Legacy compatibility: if `issue.md` still contains `- Work Mode: full`, interpret it as `full-feature`.
|
|
134
|
+
- Branch doc completeness and AC extraction by marker:
|
|
135
|
+
- For `Work Mode: minor-audit`, `spec.md` and `user-story.md` may be absent by design; use only the explicit `## Acceptance Criteria` section in `issue.md` as the AC source.
|
|
136
|
+
- For `Work Mode: full-feature`, require and evaluate `spec.md` and `user-story.md` as AC sources.
|
|
137
|
+
- For `Work Mode: full-bug`, require and evaluate `spec.md` as the AC source; do not require `user-story.md` unless the docs explicitly justify it.
|
|
138
|
+
- For `Work Mode: minor-audit`, a missing explicit `## Acceptance Criteria` section in `issue.md` is a blocking documentation gap.
|
|
139
|
+
- Fail closed: if the marker is missing or malformed, fallback to `full-feature` behavior for doc completeness and AC extraction.
|
|
140
|
+
|
|
141
|
+
## 3) Version selection rule (deterministic)
|
|
142
|
+
For each feature folder:
|
|
143
|
+
- If `vN/` subfolders exist:
|
|
144
|
+
- “Current version” = highest numeric `vN` present.
|
|
145
|
+
- Else:
|
|
146
|
+
- “Current version” = feature root.
|
|
147
|
+
|
|
148
|
+
## 4) Plan selection rule (deterministic)
|
|
149
|
+
Within the selected “current version” scope:
|
|
150
|
+
- Select the latest `plan.<timestamp>.md` by **max lexicographic** ISO timestamp (`yyyy-MM-ddTHH-mm` sorts correctly).
|
|
151
|
+
- If no plan exists, mark as MISSING and proceed.
|
|
152
|
+
|
|
153
|
+
## 5) Evidence-first writing
|
|
154
|
+
Every FAIL/PARTIAL must include:
|
|
155
|
+
- Concrete file + section (and line numbers where practical)
|
|
156
|
+
- The expected content/standard (scope clarity, sequencing, dependency clarity, acceptance criteria)
|
|
157
|
+
- Why it matters (delivery risk, rework risk, or blocked execution)
|
|
158
|
+
- The smallest fix direction (what to add/change), without rewriting the docs yourself
|
|
159
|
+
|
|
160
|
+
## 6) Evidence provenance and freshness gates (metrics)
|
|
161
|
+
Apply these requirements to any **numeric/metric claim** (coverage, pass rates, counts, etc.) used in audits or blocking decisions:
|
|
162
|
+
|
|
163
|
+
1. **Evidence provenance requirement (blocking claim):**
|
|
164
|
+
- Every numeric claim MUST cite **source file + timestamp + command** (if applicable).
|
|
165
|
+
- Example: “Coverage $= 45\%$ (source: `implementation-summary.md`, 2026-02-02, command not recorded).”
|
|
166
|
+
|
|
167
|
+
2. **Evidence classification (mandatory tag):**
|
|
168
|
+
- **Verified**: toolchain output, `coverage.xml`, or a CI run URL.
|
|
169
|
+
- **Reported**: doc-only claim without toolchain output.
|
|
170
|
+
- **Stale**: doc-only claim **older than the review date** or not backed by toolchain output.
|
|
171
|
+
|
|
172
|
+
3. **Freshness rule:**
|
|
173
|
+
- If the source is not a toolchain output OR is older than the review date, mark the claim **Stale**.
|
|
174
|
+
- **Stale claims cannot be used as blocking evidence** without re-validation.
|
|
175
|
+
|
|
176
|
+
4. **Blocking claims must be Verified:**
|
|
177
|
+
- Any blocking item based on metrics requires **Verified** status.
|
|
178
|
+
- Otherwise, phrase it as **“needs verification”** rather than **“fails.”**
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
# Execution plan (phased, deterministic)
|
|
182
|
+
|
|
183
|
+
## Phase A — Locate and read epic-root documents
|
|
184
|
+
1) Resolve `<EPIC_FOLDER>` from `${input:EpicRootFolder}`.
|
|
185
|
+
2) List `<EPIC_FOLDER>` contents and confirm presence of:
|
|
186
|
+
- `initiative.md`, `issue.md`, `orchestration.md`
|
|
187
|
+
3) Read each available epic-root doc thoroughly.
|
|
188
|
+
4) Create a short “Assumptions & Not Found” list for any missing docs, and never require a `change-plan.md` or separate epic README.
|
|
189
|
+
|
|
190
|
+
## Phase B — Enumerate feature subfolders and select “current” docs
|
|
191
|
+
1) Identify candidate feature directories within `<EPIC_FOLDER>`:
|
|
192
|
+
- Include directories that contain `issue.md` OR contain `v1/` etc.
|
|
193
|
+
- Exclude directories named `v1`, `v2`, ... (those are version folders, not features)
|
|
194
|
+
2) For each feature directory:
|
|
195
|
+
- Determine versions present (if any)
|
|
196
|
+
- Select current version (highest vN) OR root
|
|
197
|
+
- Identify:
|
|
198
|
+
- `issue.md`
|
|
199
|
+
- `spec.md`
|
|
200
|
+
- `user-story.md`
|
|
201
|
+
- latest `plan.<timestamp>.md`
|
|
202
|
+
- `README.md` (if present, use for version context)
|
|
203
|
+
3) Read the selected documents for each feature (best-effort).
|
|
204
|
+
|
|
205
|
+
## Phase C — EpicAudit (single-developer work planning + delivery clarity)
|
|
206
|
+
Create `<EPIC_FOLDER>/epic-audit.<timestamp>.md` with:
|
|
207
|
+
|
|
208
|
+
1) Executive summary
|
|
209
|
+
- Epic name (infer from folder name)
|
|
210
|
+
- Resource lockup clarity (what this work displaces and for how long) (PASS/PARTIAL/FAIL)
|
|
211
|
+
- Objective + scope clarity (what the initiative is and isn’t) (PASS/PARTIAL/FAIL)
|
|
212
|
+
- Sequencing + dependency clarity (what must happen first, and why) (PASS/PARTIAL/FAIL)
|
|
213
|
+
- Overall readiness: PASS / NEEDS REVISION / BLOCKED
|
|
214
|
+
|
|
215
|
+
2) Work planning checklist (audit-grade)
|
|
216
|
+
Evaluate whether the epic docs provide, at minimum:
|
|
217
|
+
- Objective / outcome (specific and testable)
|
|
218
|
+
- Stakeholders or users (if any; can be “self” for solo work)
|
|
219
|
+
- Proposed approach + tradeoffs (alternatives considered if relevant)
|
|
220
|
+
- Scope boundaries (what is in/out; what “done” means)
|
|
221
|
+
- Success signals / quality gates (coverage targets, behavior tests, regression criteria)
|
|
222
|
+
- Effort / capacity envelope (time, focus constraints, known blockers)
|
|
223
|
+
- Risks + mitigations (delivery, policy, regressions)
|
|
224
|
+
- Dependencies and sequencing gates
|
|
225
|
+
|
|
226
|
+
For each item: Status (PASS/PARTIAL/FAIL/UNVERIFIED) + Evidence + Missing info.
|
|
227
|
+
|
|
228
|
+
3) Scope & delivery mapping
|
|
229
|
+
- Explicitly map:
|
|
230
|
+
- Primary objective → which feature(s) deliver it
|
|
231
|
+
- Secondary objectives / follow-ons → which feature(s) deliver which increments
|
|
232
|
+
- Identify gaps where features exist but do not map to objectives, or objectives exist without features.
|
|
233
|
+
|
|
234
|
+
4) Delivery-quality risks
|
|
235
|
+
- Top 5 risks that prevent a confident delivery decision (or merge readiness)
|
|
236
|
+
- Concrete remediation direction per risk (what doc/artifact is missing)
|
|
237
|
+
|
|
238
|
+
## Phase D — OrchestrationReview (pre-execution only)
|
|
239
|
+
Create `<EPIC_FOLDER>/orchestration-review.<timestamp>.md` only when the initiative is **pre-execution** (no delivered plan items and no code/test evidence yet). If execution is underway, skip this artifact and note the skip in the final response.
|
|
240
|
+
|
|
241
|
+
If created, include:
|
|
242
|
+
|
|
243
|
+
1) Orchestration summary
|
|
244
|
+
- What orchestration.md claims: sequencing, milestones, dependencies, integration points
|
|
245
|
+
|
|
246
|
+
2) Cross-check against feature plans
|
|
247
|
+
- Verify orchestration claims are reflected in current feature plans:
|
|
248
|
+
- Sequencing consistency
|
|
249
|
+
- Dependency declarations
|
|
250
|
+
- Shared assumptions (data contracts, interfaces, rollout constraints)
|
|
251
|
+
- Mark mismatches explicitly.
|
|
252
|
+
|
|
253
|
+
3) Integration & rollout concerns
|
|
254
|
+
- Cross-cutting risks: shared services, backwards compatibility, migration paths, feature flags, staged rollout, observability
|
|
255
|
+
|
|
256
|
+
4) Verdict
|
|
257
|
+
- PASS / NEEDS REVISION / BLOCKED, with rationale
|
|
258
|
+
|
|
259
|
+
## Phase E — FeatureDeliveryInventory (combined inventory + delivery audit)
|
|
260
|
+
Create `<EPIC_FOLDER>/feature-delivery-inventory.<timestamp>.md` with:
|
|
261
|
+
|
|
262
|
+
1) Summary table (inventory + delivery status)
|
|
263
|
+
Columns (minimum):
|
|
264
|
+
- Feature folder
|
|
265
|
+
- Issue #
|
|
266
|
+
- Versions present
|
|
267
|
+
- Current version selected
|
|
268
|
+
- Current plan selected
|
|
269
|
+
- Doc completeness (issue/spec/user-story/plan present?)
|
|
270
|
+
- Acceptance criteria present? (Y/N; where)
|
|
271
|
+
- Dependency declarations present? (Y/N; where)
|
|
272
|
+
- Requirements delivered (Met / Total)
|
|
273
|
+
- Notes / risks / gaps
|
|
274
|
+
|
|
275
|
+
2) Alignment check (per feature)
|
|
276
|
+
For each feature:
|
|
277
|
+
- Does it clearly support the primary objective or a secondary increment?
|
|
278
|
+
- Are acceptance criteria testable/verifiable?
|
|
279
|
+
- Are dependencies explicit?
|
|
280
|
+
- Is the plan actionable and sequenced?
|
|
281
|
+
|
|
282
|
+
3) Summary
|
|
283
|
+
- Which features are “ready to execute” vs “needs doc work” vs “blocked”
|
|
284
|
+
|
|
285
|
+
3) Acceptance criteria extraction + delivery verification
|
|
286
|
+
- For each feature, list each acceptance criterion from the most recent `spec.md` and `user-story.md`.
|
|
287
|
+
- For each criterion, determine **Met / Partially Met / Not Met / Unknown**.
|
|
288
|
+
- Provide concrete evidence (files, functions, tests, outputs). If evidence is missing, state why and what would confirm it.
|
|
289
|
+
- Emphasize **code delivery** and **tests** over documentation completeness.
|
|
290
|
+
|
|
291
|
+
4) Plan reconciliation
|
|
292
|
+
- Review the latest `plan.<timestamp>.md` for each feature.
|
|
293
|
+
- If unchecked items appear delivered in code/tests, check them off in the plan file.
|
|
294
|
+
- Apply the strict evidence artifact gate before auto-checking (required fields + fail-before rule).
|
|
295
|
+
- Record which items were auto-checked and why (include canonical evidence artifact paths).
|
|
296
|
+
- If items are still not delivered, mark them as **Incomplete** in this audit (do not change the plan unless delivered).
|
|
297
|
+
|
|
298
|
+
Also reconcile the feature `spec.md` DoD checklist items that correspond to delivered gaps.
|
|
299
|
+
|
|
300
|
+
5) Merge readiness posture
|
|
301
|
+
- Missing or immature business-case docs are **non-blocking**.
|
|
302
|
+
- Incomplete acceptance criteria or undelivered plan items **are blocking** and must be called out.
|
|
303
|
+
|
|
304
|
+
## Phase F — Policy Audit (repo-wide)
|
|
305
|
+
Create `<EPIC_FOLDER>/policy-audit.<timestamp>.md` by following the `policy-audit-template-usage` skill, and populate evidence from the current repo state. If tests/toolchain were not run, explicitly mark those sections as N/A or UNVERIFIED.
|
|
306
|
+
|
|
307
|
+
## Phase G — Remediation (only if necessary)
|
|
308
|
+
Trigger remediation if ANY of the following:
|
|
309
|
+
- One or more acceptance criteria are **Not Met** or **Partially Met**
|
|
310
|
+
- One or more plan items remain **Incomplete**
|
|
311
|
+
- Policy audit indicates **non-compliance** that would block merge
|
|
312
|
+
|
|
313
|
+
Documentation gaps (e.g., missing formal business-case templates) should be recorded but are **non-blocking**.
|
|
314
|
+
|
|
315
|
+
If remediation is triggered:
|
|
316
|
+
1) Create `<EPIC_FOLDER>/remediation-inputs.<timestamp>.md` containing:
|
|
317
|
+
- Enumerated fix list, grouped by:
|
|
318
|
+
- Delivery gaps (acceptance criteria + plan items)
|
|
319
|
+
- MVP definition gaps
|
|
320
|
+
- Orchestration inconsistencies
|
|
321
|
+
- Feature-level doc gaps (per feature)
|
|
322
|
+
- For each fix: expected content, where it should live, and what “done” looks like
|
|
323
|
+
- A “do not do” list (no scope creep; no rewriting content without evidence; no policy weakening)
|
|
324
|
+
|
|
325
|
+
2) **Automatically invoke** `atomic_planner` with a prompt that:
|
|
326
|
+
- References `<EPIC_FOLDER>/remediation-inputs.<timestamp>.md`
|
|
327
|
+
- Explicitly instructs atomic_planner to WRITE:
|
|
328
|
+
- `<EPIC_FOLDER>/remediation-plan.<timestamp>.md`
|
|
329
|
+
- Requires phases and atomic tasks with verifiable acceptance criteria
|
|
330
|
+
|
|
331
|
+
Do not end the run until the remediation plan file is created.
|
|
332
|
+
|
|
333
|
+
### Gap → task mapping rule (no drops)
|
|
334
|
+
|
|
335
|
+
Every **Not Met** / **Partially Met** acceptance criterion MUST:
|
|
336
|
+
|
|
337
|
+
- Produce at least one remediation input entry, and
|
|
338
|
+
- Each entry must map 1:1 to a remediation-plan task with explicit “done” evidence.
|
|
339
|
+
|
|
340
|
+
This is a hard requirement: do not drop gaps due to ambiguity—record them as Unknown with a verification task if needed.
|
|
341
|
+
|
|
342
|
+
### Fail-before Exception Dossier (acceptable evidence type)
|
|
343
|
+
|
|
344
|
+
When a strict fail-before run is structurally impossible (e.g., remediation is “add tests that didn’t exist”), a **Fail-before Exception Dossier** is acceptable evidence and must be stored in the canonical regression-testing location defined in `evidence-and-timestamp-conventions`.
|
|
345
|
+
|
|
346
|
+
Required contents (must be machine-checkable and stored as an evidence artifact in a canonical evidence location):
|
|
347
|
+
|
|
348
|
+
- `BaselineCommit: <SHA>`
|
|
349
|
+
- `Timestamp: <ISO-8601>`
|
|
350
|
+
- `Command: <exact command>` (one or more, each recorded)
|
|
351
|
+
- `EXIT_CODE: <int>` (for each command)
|
|
352
|
+
- Command output proving absence (e.g., `git grep <test_name>` returning no matches)
|
|
353
|
+
- `WhyFailingRunImpossible: <1–3 sentences>`
|
|
354
|
+
- `AlternativeProof: <coverage delta | absence-of-test proof | other>`
|
|
355
|
+
|
|
356
|
+
When this dossier exists, the criterion may be marked:
|
|
357
|
+
|
|
358
|
+
- **Met (Exception accepted)**, or
|
|
359
|
+
- **Partially Met (Exception recorded; strict fail-before not possible)**
|
|
360
|
+
|
|
361
|
+
…but it must not remain as a recurring vague “missing fail-before” gap.
|
|
362
|
+
|
|
363
|
+
## Phase H — Final deliverable (no questions)
|
|
364
|
+
When finished, respond with:
|
|
365
|
+
- Paths created/updated:
|
|
366
|
+
- `<EPIC_FOLDER>/epic-audit.<timestamp>.md`
|
|
367
|
+
- `<EPIC_FOLDER>/feature-delivery-inventory.<timestamp>.md`
|
|
368
|
+
- `<EPIC_FOLDER>/orchestration-review.<timestamp>.md` (only if pre-execution)
|
|
369
|
+
- `<EPIC_FOLDER>/policy-audit.<timestamp>.md`
|
|
370
|
+
- `<EPIC_FOLDER>/remediation-inputs.<timestamp>.md` (if any)
|
|
371
|
+
- `<EPIC_FOLDER>/remediation-plan.<timestamp>.md` (only if atomic_planner was invoked)
|
|
372
|
+
- A one-paragraph go/no-go recommendation for **merge readiness**, weighted primarily by delivered acceptance criteria and plan completion (documentation gaps are non-blocking).
|
|
373
|
+
|
|
374
|
+
End of agent instructions.
|