@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,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: policy-audit-template-usage
|
|
3
|
+
description: 'Policy audit template usage and output requirements. Use when creating policy-audit.<timestamp>.md artifacts from the repo templates.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Policy Audit Template Usage
|
|
7
|
+
|
|
8
|
+
Shared rules for creating policy audit artifacts from the MCP-exposed bundled template assets.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Use this skill when:
|
|
13
|
+
- An agent must create a `policy-audit.<timestamp>.md` file.
|
|
14
|
+
- The MCP-exposed policy-audit template asset is required.
|
|
15
|
+
|
|
16
|
+
## Template Source
|
|
17
|
+
|
|
18
|
+
- Required template source: the MCP server tool `mcp__drmCopilotExtension__resolve_policy_audit_template_asset` with asset selector `template`.
|
|
19
|
+
- The resolved MCP asset is authoritative even when a matching repo file also exists.
|
|
20
|
+
- If MCP asset resolution fails, create a minimal policy audit artifact marked BLOCKED and document the missing template resolution.
|
|
21
|
+
|
|
22
|
+
## Required Steps
|
|
23
|
+
|
|
24
|
+
1) Resolve the policy-audit template through the MCP server tool `mcp__drmCopilotExtension__resolve_policy_audit_template_asset` with asset `template`, then copy the resolved asset to the target location using an ISO-8601 timestamp.
|
|
25
|
+
2) Replace placeholders with actual values (component, date, files under test, commits).
|
|
26
|
+
3) Remove any template usage instructions per template guidance.
|
|
27
|
+
4) Mark each section PASS/FAIL/N/A using the template’s expected conventions.
|
|
28
|
+
5) Preserve the canonical major sections from the template:
|
|
29
|
+
- `## Executive Summary`
|
|
30
|
+
- `## 1. General Unit Test Policy Compliance`
|
|
31
|
+
- `## 2. General Code Change Policy Compliance`
|
|
32
|
+
- `## 3. Language-Specific Code Change Policy Compliance`
|
|
33
|
+
- `## 4. Language-Specific Unit Test Policy Compliance`
|
|
34
|
+
- `## 5. Test Coverage Detail`
|
|
35
|
+
- `## 6. Test Execution Metrics`
|
|
36
|
+
- `## 7. Code Quality Checks`
|
|
37
|
+
- `## 8. Gaps and Exceptions`
|
|
38
|
+
- `## 9. Summary of Changes`
|
|
39
|
+
- `## 10. Compliance Verdict`
|
|
40
|
+
- `## Appendix A: Test Inventory`
|
|
41
|
+
- `## Appendix B: Toolchain Commands Reference`
|
|
42
|
+
6) Run the `mcp__drmCopilotExtension__validate_orchestration_artifacts` MCP tool with `artifact_type: "policy-audit"` and `artifact_path: <path>` and fail closed on any non-zero result.
|
|
43
|
+
|
|
44
|
+
## Invalid Outputs
|
|
45
|
+
|
|
46
|
+
- A freeform summary note is invalid.
|
|
47
|
+
- A policy audit that retains the template instruction block is invalid.
|
|
48
|
+
- A policy audit that omits the canonical major headings is invalid.
|
|
49
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: policy-compliance-order
|
|
3
|
+
description: 'Repository policy compliance order and hard constraints. Use when an agent must read mandatory policy files, apply repo-wide constraints, or restate policy precedence without duplicating blocks across agents.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Policy Compliance Order
|
|
7
|
+
|
|
8
|
+
Shared policy-compliance instructions to avoid duplicating the same policy order across multiple agents.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Use this skill when:
|
|
13
|
+
- An agent must declare the repository’s mandatory policy reading order.
|
|
14
|
+
- You need to reiterate non-negotiable constraints (e.g., no policy edits, no secrets, no silent skips).
|
|
15
|
+
- Multiple agents share the same compliance preamble.
|
|
16
|
+
|
|
17
|
+
## Required Policy Reading Order (Baseline)
|
|
18
|
+
|
|
19
|
+
Claude Code auto-loads rules via path-scoped frontmatter in `.claude/rules/`. This ordering documents precedence when policies conflict:
|
|
20
|
+
|
|
21
|
+
1) `CLAUDE.md` (standing instructions, always loaded)
|
|
22
|
+
2) `.claude/rules/general-code-change.md` (cross-language code change policy)
|
|
23
|
+
3) `.claude/rules/general-unit-test.md` (cross-language unit test policy)
|
|
24
|
+
4) Language- or domain-specific rules based on files in scope:
|
|
25
|
+
- Python: `.claude/rules/python.md`, `.claude/rules/python-suppressions.md`
|
|
26
|
+
- PowerShell: `.claude/rules/powershell.md`
|
|
27
|
+
- TypeScript: `.claude/rules/typescript.md`, `.claude/rules/typescript-suppressions.md`
|
|
28
|
+
- C#: `.claude/rules/csharp.md`
|
|
29
|
+
|
|
30
|
+
## Hard Constraints (Baseline)
|
|
31
|
+
|
|
32
|
+
- Do NOT modify policy documents under `.claude/rules/` or `.github/instructions/`.
|
|
33
|
+
- Do NOT create secrets or `.env` files unless explicitly requested.
|
|
34
|
+
- Prefer repo-defined tasks/commands when running checks.
|
|
35
|
+
- If information is missing, proceed with best-effort assumptions and document them.
|
|
36
|
+
|
|
37
|
+
## Extensions (Agent-Specific)
|
|
38
|
+
|
|
39
|
+
Agents may append additional requirements that are unique to their role (e.g., policy audit templates or epic docs), but should not duplicate the baseline order above.
|
|
40
|
+
|
package/resources/claude-customizations/.claude/skills/powershell-change-budget-router/SKILL.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: powershell-change-budget-router
|
|
3
|
+
description: Budget-first routing contract for PowerShell work: estimate production-file scope, choose small vs large path, enforce direct-mode escalation to orchestrator, and use the VS Code extension command surface for promotion lifecycle steps when available.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# PowerShell Change Budget Router
|
|
7
|
+
|
|
8
|
+
Canonical guidance for deciding whether work should execute directly in `powershell-typed-engineer` or be escalated to `powershell-orchestrator`.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Use this skill when:
|
|
13
|
+
- Intake starts from a natural-language PowerShell request.
|
|
14
|
+
- An agent must decide execution path before planning or implementation.
|
|
15
|
+
- A direct implementation agent must reject over-budget requests and route to orchestrator.
|
|
16
|
+
|
|
17
|
+
## Canonical Routing Rules
|
|
18
|
+
|
|
19
|
+
1) Estimate rough change budget first based on likely **production PowerShell files** touched.
|
|
20
|
+
2) Route:
|
|
21
|
+
- `1-2` production files (+ corresponding tests) → **small path** (`powershell-typed-engineer` direct mode).
|
|
22
|
+
- `>2` production files → **large path** (`powershell-orchestrator`).
|
|
23
|
+
|
|
24
|
+
## Orchestrated Small-Path Requirements
|
|
25
|
+
|
|
26
|
+
When routed through `powershell-orchestrator`, small path still requires lifecycle scaffolding before implementation:
|
|
27
|
+
- invoke promotion/folder lifecycle steps through `vscode/runCommand` + extension access per `feature-promotion-lifecycle` when available; use script/CLI fallback only when direct extension command execution is unavailable,
|
|
28
|
+
- promote potential item to GitHub issue with `--work-mode minor-audit`,
|
|
29
|
+
- create active feature folder with `--work-mode minor-audit`,
|
|
30
|
+
- delegate minimal-audit plan creation to `atomic_planner` with `DIRECTIVE: MINIMAL-AUDIT PLAN REQUIRED`,
|
|
31
|
+
- require `atomic_executor` preflight until `PREFLIGHT: ALL CLEAR`,
|
|
32
|
+
- execute Phase 0 only via `atomic_executor` before branching,
|
|
33
|
+
- run reduced small-audit after implementation and QC.
|
|
34
|
+
|
|
35
|
+
Direct invocation of `powershell-typed-engineer` remains implementation-focused and does not replace orchestrator lifecycle steps.
|
|
36
|
+
|
|
37
|
+
## Direct-Mode Rejection Rule
|
|
38
|
+
|
|
39
|
+
If `powershell-typed-engineer` is invoked directly and estimated scope is `>2` production files:
|
|
40
|
+
- Stop before implementation.
|
|
41
|
+
- Return explicit routing instruction to invoke `powershell-orchestrator`.
|
|
42
|
+
|
|
43
|
+
## Documentation Expectations
|
|
44
|
+
|
|
45
|
+
Record in response/logs:
|
|
46
|
+
- estimated production file count,
|
|
47
|
+
- chosen path (`small`/`large`),
|
|
48
|
+
- rationale summary (1-3 bullets).
|
|
49
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: powershell-orchestration-state-machine
|
|
3
|
+
description: Checkpoint schema and resume protocol for long-running PowerShell orchestration workflows.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# PowerShell Orchestration State Machine
|
|
7
|
+
|
|
8
|
+
Canonical checkpoint and resume behavior for orchestration agents running multi-step PowerShell delivery flows.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Use this skill when:
|
|
13
|
+
- A workflow spans multiple delegations and commands.
|
|
14
|
+
- Execution may be interrupted and must resume deterministically.
|
|
15
|
+
- An orchestrator must avoid repeating completed steps.
|
|
16
|
+
|
|
17
|
+
## Canonical Checkpoint Location
|
|
18
|
+
|
|
19
|
+
- `artifacts/orchestration/powershell-orchestrator-state.json`
|
|
20
|
+
|
|
21
|
+
## Required Checkpoint Fields
|
|
22
|
+
|
|
23
|
+
- `objective`
|
|
24
|
+
- `change_budget_estimate`
|
|
25
|
+
- `path_selected` (`small` or `large`)
|
|
26
|
+
- `promotion-type`
|
|
27
|
+
- `short-name`
|
|
28
|
+
- `relativeFile`
|
|
29
|
+
- `long-name`
|
|
30
|
+
- `issue-num`
|
|
31
|
+
- `feature-folder`
|
|
32
|
+
- `work-mode` (`minor-audit`, `full-feature`, or `full-bug`; normalize legacy `full` to `full-feature` before persistence)
|
|
33
|
+
- `plan-path` (minimal or full plan path)
|
|
34
|
+
- `completed_steps`
|
|
35
|
+
- `next_step`
|
|
36
|
+
- `last_updated`
|
|
37
|
+
|
|
38
|
+
For short-path runs, also persist:
|
|
39
|
+
- `small_path_qc_summary`
|
|
40
|
+
- `small_path_audit_artifacts`
|
|
41
|
+
- `bootstrap_mode` (`manual-bootstrap` or `auto-small-dev`)
|
|
42
|
+
- `phase0_execution_summary`
|
|
43
|
+
- `resume_after_manual_bootstrap` (next step token)
|
|
44
|
+
|
|
45
|
+
## Update Protocol
|
|
46
|
+
|
|
47
|
+
- Write checkpoint after every completed orchestration sub-step.
|
|
48
|
+
- Treat checkpoint as source-of-truth for progress state.
|
|
49
|
+
- Never claim mission completion until checkpoint marks final state.
|
|
50
|
+
|
|
51
|
+
## Resume Protocol
|
|
52
|
+
|
|
53
|
+
On invocation:
|
|
54
|
+
1) Read checkpoint if it exists.
|
|
55
|
+
2) If incomplete, resume from `next_step` without re-running `completed_steps`.
|
|
56
|
+
3) If missing or completed, start at phase-0 intake.
|
|
57
|
+
4) If user explicitly requests restart, reset checkpoint and start phase-0.
|
|
58
|
+
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: powershell-qa-gate
|
|
3
|
+
description: Final QA gate for PowerShell changes. Executes the full PoshQC format -> analyze -> test toolchain (with coverage where enforced), compares against a captured baseline, enforces zero-regression deltas, and produces the required reporting block before the agent declares the change complete.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# PowerShell QA Gate
|
|
7
|
+
|
|
8
|
+
Canonical procedure for the Phase D final quality gate that every PowerShell change must pass before completion is reported.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Use this skill when:
|
|
13
|
+
|
|
14
|
+
- `powershell-typed-engineer` is about to declare a change complete.
|
|
15
|
+
- An executor has finished applying a planned batch and must verify zero regressions against the baseline captured in Phase A.
|
|
16
|
+
- A reviewer needs to confirm the toolchain was actually run and produced a clean pass.
|
|
17
|
+
|
|
18
|
+
## Required Inputs
|
|
19
|
+
|
|
20
|
+
Before invoking this gate, the agent must have:
|
|
21
|
+
|
|
22
|
+
- a baseline record produced in Phase A, containing PSScriptAnalyzer findings, Pester pass/fail status, and per-file coverage status for the in-scope files,
|
|
23
|
+
- the exact list of touched production and test files,
|
|
24
|
+
- a clean working tree (all planned edits committed to the working copy).
|
|
25
|
+
|
|
26
|
+
## Toolchain Execution Sequence
|
|
27
|
+
|
|
28
|
+
Run the full toolchain in this exact order. If any step fails or modifies files, fix the issue and restart from step 1. Do not stop the loop until all steps complete without errors in a single pass.
|
|
29
|
+
|
|
30
|
+
1. `mcp__drmCopilotExtension__run_poshqc_format`
|
|
31
|
+
2. `mcp__drmCopilotExtension__run_poshqc_analyze`
|
|
32
|
+
3. `mcp__drmCopilotExtension__run_poshqc_test`
|
|
33
|
+
4. Coverage check (when enforced by task/repo flow) — use the Pester coverage output from step 3 or the repo coverage task.
|
|
34
|
+
|
|
35
|
+
If the environment prevents running any tool, stop and report the change as **unverified**. Do not declare completion.
|
|
36
|
+
|
|
37
|
+
## Delta Requirements (Zero-Regression Hard Gate)
|
|
38
|
+
|
|
39
|
+
Compare the final results to the Phase A baseline. All of the following must hold:
|
|
40
|
+
|
|
41
|
+
- **PSScriptAnalyzer delta**: 0 new findings across the repository.
|
|
42
|
+
- **Pester delta**: 0 new failing tests.
|
|
43
|
+
- **Per-file coverage delta**: coverage for every touched file is greater than or equal to the baseline for that file.
|
|
44
|
+
- **Overall coverage delta** (when the repo enforces it): overall coverage is greater than or equal to the baseline.
|
|
45
|
+
- **New modules, classes, or methods**: coverage >= 90% for each new unit introduced in the batch.
|
|
46
|
+
|
|
47
|
+
If any delta check fails, the agent must revert or fix immediately and rerun the full toolchain. Do not proceed to reporting until all deltas are clean.
|
|
48
|
+
|
|
49
|
+
## Required Reporting Block
|
|
50
|
+
|
|
51
|
+
Every completion response must include the following sections:
|
|
52
|
+
|
|
53
|
+
1. **Scope** — exact file list touched in this change.
|
|
54
|
+
2. **Baseline** — PSScriptAnalyzer, Pester, and coverage status recorded in Phase A.
|
|
55
|
+
3. **Plan** — design and test-strategy summary, referencing the approved plan, including proposed script/module structure, minimal DI seams, Pester scenario-level test strategy, and external executable wrapper mock strategy.
|
|
56
|
+
4. **Diffs** — patch-style or full-file replacements for scoped files only.
|
|
57
|
+
5. **QA Gate Results** — PSScriptAnalyzer delta, failing-tests delta, per-file coverage delta, and overall coverage delta when applicable. If any step could not be run, mark the corresponding line **unverified** and state why.
|
|
58
|
+
|
|
59
|
+
## Evidence Storage
|
|
60
|
+
|
|
61
|
+
Persist toolchain output according to `evidence-and-timestamp-conventions`:
|
|
62
|
+
|
|
63
|
+
- store baseline outputs under `<FEATURE>/evidence/baseline/<timestamp>/`,
|
|
64
|
+
- store post-change outputs under `<FEATURE>/evidence/qa-gates/<timestamp>/`,
|
|
65
|
+
- use ISO-8601 UTC timestamps in folder names.
|
|
66
|
+
|
|
67
|
+
This location is canonical per evidence-and-timestamp-conventions and is not overridable.
|
|
68
|
+
See `.claude/skills/evidence-and-timestamp-conventions/SKILL.md` for the canonical evidence path authority.
|
|
69
|
+
|
|
70
|
+
The evidence paths must be referenced in the agent's completion message to satisfy the `SubagentStop` completion-artifact gate.
|
|
71
|
+
|
|
72
|
+
## Prohibited Shortcuts
|
|
73
|
+
|
|
74
|
+
- Do not disable, skip, or narrow any step of the toolchain to reach a clean result.
|
|
75
|
+
- Do not add PSScriptAnalyzer rule suppressions (`[Diagnostics.CodeAnalysis.SuppressMessageAttribute]` or `PSScriptAnalyzer` suppression comments) or Pester `-Skip` / `-Pending` to mask new findings introduced by the change.
|
|
76
|
+
- Do not report success based on partial or targeted runs alone. Targeted runs are allowed mid-batch, but the final gate requires a full-repo pass.
|
|
77
|
+
- Do not mock `git`, `gh`, `actionlint`, or other executables directly; mock the wrapper function (for example `Invoke-GitExe`) per `.claude/rules/powershell.md`.
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pr-author
|
|
3
|
+
description: Write a GitHub-ready pull request body from the canonical PR-context bundle with strict verification and auto-close rules.
|
|
4
|
+
allowed-tools:
|
|
5
|
+
- Read
|
|
6
|
+
- "Bash(git log *)"
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# PR Author Skill
|
|
10
|
+
|
|
11
|
+
Produce a GitHub-ready Pull Request description from the standard PR context files. The pull request must be in a copy / paste block so that it can be copied easily to the PR extension.
|
|
12
|
+
|
|
13
|
+
## Inputs
|
|
14
|
+
|
|
15
|
+
- `artifacts/pr_context.summary.txt` — PR context summary (primary)
|
|
16
|
+
- `artifacts/pr_context.appendix.txt` — PR context appendix (full baseline diff, commits, changed files)
|
|
17
|
+
- Optional user directives
|
|
18
|
+
|
|
19
|
+
Only reference files that are listed under "Additional context files" in the context bundle. Do not cite or summarize files outside that enumeration.
|
|
20
|
+
|
|
21
|
+
## Output Requirements
|
|
22
|
+
|
|
23
|
+
1. Output only the PR text body in GitHub-flavored Markdown.
|
|
24
|
+
2. Use clear headings, consistent structure, and concise bullets.
|
|
25
|
+
3. Do not invent tests or results; if not in context, state "Not verified in this PR."
|
|
26
|
+
4. If scope is large, include a Review Guide with suggested review order.
|
|
27
|
+
5. The output is a PR body artifact or PR-ready body text only.
|
|
28
|
+
|
|
29
|
+
## PR Body Structure
|
|
30
|
+
|
|
31
|
+
Use these sections in this order:
|
|
32
|
+
|
|
33
|
+
1. **Suggested title** — crisp, prioritizing the primary outcome
|
|
34
|
+
2. **Summary** — 3–7 bullets, most important first; lead with the primary product/feature/architecture change
|
|
35
|
+
3. **Why** — motivation, constraints, root cause; rely on embedded feature-doc excerpts and PR Intent fields only
|
|
36
|
+
4. **What Changed** — grouped by theme (core feature, tooling/CI, tests, docs/templates)
|
|
37
|
+
5. **Architecture / How It Fits Together** — short wiring description with components, entry points, control flow
|
|
38
|
+
6. **Verification** — "Completed" (from context) and "Recommended" (commands to run)
|
|
39
|
+
7. **Backward Compatibility / Migration Notes** — breaking changes, removals, renamed paths
|
|
40
|
+
8. **Risks and Mitigations** — realistic risks with mitigations and rollback notes
|
|
41
|
+
9. **Review Guide** — suggested order, noisy mechanical moves, large diffs
|
|
42
|
+
10. **Follow-ups** — known TODOs, deferred cleanup, next PRs
|
|
43
|
+
11. **GitHub Auto-close** — `- Closes #NNN` only from verified autoclose lists; do not invent issue numbers
|
|
44
|
+
|
|
45
|
+
## Issue/PR Reference Rules
|
|
46
|
+
|
|
47
|
+
- Only mention an issue/PR number if it appears verbatim in the provided context.
|
|
48
|
+
- Do not treat PR numbers as issues.
|
|
49
|
+
- Auto-close bullets must use exactly `- Closes #NNN` format, sourced only from "Issues to autoclose" or "Author-asserted autoclose issues."
|
|
50
|
+
- If GitHub validation is unavailable/unverified, do not emit `Closes`; use the fallback `None` bullet.
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pr-base-branch-merge-base
|
|
3
|
+
description: 'Resolve PRBaseBranch for mcp__drmCopilotExtension__collect_pr_context using merge-base ancestry. Use when orchestrators or review workflows need the correct comparison base branch and must select the branch with the most recent common ancestor commit with HEAD.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# PR Base Branch (Merge-Base)
|
|
7
|
+
|
|
8
|
+
Deterministic branch-selection rules for PR context collection.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Use this skill when:
|
|
13
|
+
- running `mcp__drmCopilotExtension__collect_pr_context`,
|
|
14
|
+
- delegating post-implementation review that depends on `PRBaseBranch`,
|
|
15
|
+
- constructing PR context artifacts where the base must not be hard-coded.
|
|
16
|
+
|
|
17
|
+
## Selection Contract
|
|
18
|
+
|
|
19
|
+
`PRBaseBranch` MUST be resolved from git ancestry, not guessed.
|
|
20
|
+
|
|
21
|
+
Definition of correct base:
|
|
22
|
+
- choose the candidate branch whose merge-base with `HEAD` has the most recent commit timestamp,
|
|
23
|
+
- this implements “find the branch with the most recent commit in common.”
|
|
24
|
+
|
|
25
|
+
## Deterministic Procedure
|
|
26
|
+
|
|
27
|
+
1. Enumerate candidate branches from local and remotes, excluding `HEAD` and detached refs.
|
|
28
|
+
2. For each candidate `B`, compute merge-base commit `M = git merge-base HEAD B`.
|
|
29
|
+
3. Compute `merge_base_epoch(B)` from `git show -s --format=%ct M`.
|
|
30
|
+
4. Select branch with maximum `merge_base_epoch(B)`.
|
|
31
|
+
5. Tie-breakers (in order):
|
|
32
|
+
- `development`
|
|
33
|
+
- `main`
|
|
34
|
+
- `master`
|
|
35
|
+
- lexical ascending branch name
|
|
36
|
+
|
|
37
|
+
## Guardrails
|
|
38
|
+
|
|
39
|
+
- Do not default to `main` unless merge-base resolution fails for all candidates.
|
|
40
|
+
- If all candidates fail, surface explicit error context and use repository default branch only as last-resort fallback.
|
|
41
|
+
- Persist chosen `PRBaseBranch` in orchestration state and reuse it within the same run.
|
|
42
|
+
|
|
43
|
+
## Collector Invocation Rule
|
|
44
|
+
|
|
45
|
+
When invoking PR context collection, pass the resolved base explicitly:
|
|
46
|
+
|
|
47
|
+
- `mcp__drmCopilotExtension__collect_pr_context` with `base=<resolved-PRBaseBranch>`
|
|
48
|
+
|
|
49
|
+
## Evidence Recommendation
|
|
50
|
+
|
|
51
|
+
For auditability, include in logs/checkpoint:
|
|
52
|
+
- selected branch name,
|
|
53
|
+
- selected merge-base SHA,
|
|
54
|
+
- selected merge-base timestamp,
|
|
55
|
+
- top competing candidates with timestamps when available.
|
|
56
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pr-context-artifacts
|
|
3
|
+
description: 'PR context artifact locations and refresh rules. Use when generating, reading, or inlining pr_context summary/appendix artifacts.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# PR Context Artifacts
|
|
7
|
+
|
|
8
|
+
Canonical locations and usage rules for PR context artifacts.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Use this skill when:
|
|
13
|
+
- You generate or refresh PR context artifacts.
|
|
14
|
+
- You reference PR context summary/appendix as evidence.
|
|
15
|
+
- You inline PR context artifacts into remediation handoffs.
|
|
16
|
+
|
|
17
|
+
## Canonical Artifact Locations
|
|
18
|
+
|
|
19
|
+
- Summary: `artifacts/pr_context.summary.txt`
|
|
20
|
+
- Appendix: `artifacts/pr_context.appendix.txt`
|
|
21
|
+
|
|
22
|
+
## Refresh Rule
|
|
23
|
+
|
|
24
|
+
If the artifacts are missing or stale relative to the current branch state, re-generate them using the repo’s PR context collector.
|
|
25
|
+
|
|
26
|
+
- When `PRBaseBranch` is supplied explicitly, use that exact branch for refresh.
|
|
27
|
+
- When `PRBaseBranch` is missing or ambiguous, resolve it first with `pr-base-branch-merge-base` before running the collector.
|
|
28
|
+
- Do not infer the refresh base from the repository default branch unless merge-base resolution fails for all candidates.
|
|
29
|
+
- Treat an already-fresh artifact pair as authoritative; do not refresh solely because no explicit `PRBaseBranch` input was provided.
|
|
30
|
+
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: python-change-budget-router
|
|
3
|
+
description: Budget-first routing and batch-scope contract for Python work. Estimate production-file scope, choose small vs large path, enforce the 3 production + 3 test per-batch cap, and halt the agent for scope expansion approval when the estimate exceeds the budget.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Python Change Budget Router
|
|
7
|
+
|
|
8
|
+
Canonical guidance for deciding whether Python work stays on the small path (`python-typed-engineer` direct mode) or escalates to the full orchestration workflow, and for enforcing per-batch change budgets during execution.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Use this skill when:
|
|
13
|
+
|
|
14
|
+
- Intake starts from a natural-language Python request.
|
|
15
|
+
- An agent must decide the execution path before planning or implementation.
|
|
16
|
+
- A direct-mode route must reject over-budget requests and switch to orchestrated flow.
|
|
17
|
+
- An executor must confirm a batch fits within the 3 production + 3 test file cap before editing.
|
|
18
|
+
|
|
19
|
+
## Canonical Routing Rules
|
|
20
|
+
|
|
21
|
+
1. Estimate rough change budget first based on likely **production Python files** touched.
|
|
22
|
+
2. Route:
|
|
23
|
+
- `1-3` production files (plus corresponding tests) → **small path** (`python-typed-engineer` direct mode).
|
|
24
|
+
- `>3` production files → **large path** (orchestration workflow with promotion, research, spec, planning, execution, and review).
|
|
25
|
+
|
|
26
|
+
## Per-Batch Change Budget (Hard Gate)
|
|
27
|
+
|
|
28
|
+
During Phase C execution:
|
|
29
|
+
|
|
30
|
+
- A single batch may change at most **3 production files** and **3 test files**.
|
|
31
|
+
- The default cap applies unless the user supplies an override of the form `budget: prod=<N>, test=<M>` in the initiating prompt.
|
|
32
|
+
- A user override may be honored only if it complies with repo policy and approved scope. If the requested scope exceeds 3 production files overall, stop before execution and seek explicit approval.
|
|
33
|
+
- If an override is requested, confirm compliance with repo policy before entering Phase C.
|
|
34
|
+
|
|
35
|
+
## Scope Expansion Protocol
|
|
36
|
+
|
|
37
|
+
When in-scope work is required beyond 3 production files, stop and return:
|
|
38
|
+
|
|
39
|
+
- a one-paragraph justification for the additional files,
|
|
40
|
+
- the exact additional file paths,
|
|
41
|
+
- the smallest alternative that avoids expanding scope,
|
|
42
|
+
|
|
43
|
+
and wait for explicit user approval before proceeding.
|
|
44
|
+
|
|
45
|
+
Allowed minimal-seam exceptions (still within the 3-file cap) are:
|
|
46
|
+
|
|
47
|
+
- introducing a minimal seam for testability (I/O boundary isolation, dependency injection),
|
|
48
|
+
- typing changes required for Pyright cleanliness in the slice,
|
|
49
|
+
- updating the smallest set of call sites needed to preserve a stable public API.
|
|
50
|
+
|
|
51
|
+
## Direct-Mode Rejection Rule
|
|
52
|
+
|
|
53
|
+
If `python-typed-engineer` is invoked directly and estimated scope is `>3` production files:
|
|
54
|
+
|
|
55
|
+
- Stop before implementation.
|
|
56
|
+
- Return an explicit routing instruction to invoke the orchestrated workflow.
|
|
57
|
+
|
|
58
|
+
## Orchestrated Small-Path Requirements
|
|
59
|
+
|
|
60
|
+
When routed through the orchestrator, the small path still requires lifecycle scaffolding before implementation:
|
|
61
|
+
|
|
62
|
+
- invoke promotion and folder lifecycle steps through `vscode/runCommand` and extension access per `feature-promotion-lifecycle` when available. Use script or CLI fallback only when direct extension command execution is unavailable.
|
|
63
|
+
- promote the potential item to a GitHub issue with `--work-mode minor-audit`,
|
|
64
|
+
- create the active feature folder with `--work-mode minor-audit`,
|
|
65
|
+
- delegate minimal-audit plan creation to `atomic_planner` with `DIRECTIVE: MINIMAL-AUDIT PLAN REQUIRED`,
|
|
66
|
+
- require `atomic_executor` preflight until `PREFLIGHT: ALL CLEAR`,
|
|
67
|
+
- execute Phase 0 only via `atomic_executor` before branching,
|
|
68
|
+
- run the reduced small-audit after implementation and QC.
|
|
69
|
+
|
|
70
|
+
Direct invocation of `python-typed-engineer` remains implementation-focused and does not replace orchestrator lifecycle steps.
|
|
71
|
+
|
|
72
|
+
## Documentation Expectations
|
|
73
|
+
|
|
74
|
+
Record in the agent response or logs:
|
|
75
|
+
|
|
76
|
+
- estimated production file count,
|
|
77
|
+
- chosen path (`small` or `large`),
|
|
78
|
+
- rationale summary (1-3 bullets),
|
|
79
|
+
- any requested budget override and its approval state.
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: python-qa-gate
|
|
3
|
+
description: Final QA gate for Python changes. Executes the full Black -> Ruff -> Pyright -> Pytest toolchain, compares against a captured baseline, enforces zero-regression deltas, and produces the required reporting block before the agent declares the change complete.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Python QA Gate
|
|
7
|
+
|
|
8
|
+
Canonical procedure for the Phase D final quality gate that every Python change must pass before completion is reported.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Use this skill when:
|
|
13
|
+
|
|
14
|
+
- `python-typed-engineer` is about to declare a change complete.
|
|
15
|
+
- An executor has finished applying a planned batch and must verify zero regressions against the baseline captured in Phase A.
|
|
16
|
+
- A reviewer needs to confirm the toolchain was actually run and produced a clean pass.
|
|
17
|
+
|
|
18
|
+
## Required Inputs
|
|
19
|
+
|
|
20
|
+
Before invoking this gate, the agent must have:
|
|
21
|
+
|
|
22
|
+
- a baseline record produced in Phase A, containing Ruff, Pyright, Pytest, and per-file coverage status for the in-scope files,
|
|
23
|
+
- the exact list of touched production and test files,
|
|
24
|
+
- a clean working tree (all planned edits committed to the working copy).
|
|
25
|
+
|
|
26
|
+
## Toolchain Execution Sequence
|
|
27
|
+
|
|
28
|
+
Run the full toolchain in this exact order. If any step fails or modifies files, fix the issue and restart from step 1. Do not stop the loop until all four steps complete without errors in a single pass.
|
|
29
|
+
|
|
30
|
+
1. `poetry run black .`
|
|
31
|
+
2. `poetry run ruff check .`
|
|
32
|
+
3. `poetry run pyright`
|
|
33
|
+
4. `poetry run pytest --cov --cov-report=term-missing`
|
|
34
|
+
|
|
35
|
+
If the environment prevents running any tool, stop and report the change as **unverified**. Do not declare completion.
|
|
36
|
+
|
|
37
|
+
## Delta Requirements (Zero-Regression Hard Gate)
|
|
38
|
+
|
|
39
|
+
Compare the final results to the Phase A baseline. All of the following must hold:
|
|
40
|
+
|
|
41
|
+
- **Ruff delta**: 0 new findings across the repository.
|
|
42
|
+
- **Pyright delta**: 0 new diagnostics across the repository.
|
|
43
|
+
- **Pytest delta**: 0 new failing tests.
|
|
44
|
+
- **Per-file coverage delta**: coverage for every touched file is greater than or equal to the baseline for that file.
|
|
45
|
+
- **Overall coverage delta** (when the repo enforces it): overall coverage is greater than or equal to the baseline.
|
|
46
|
+
- **New modules, classes, or methods**: coverage >= 90% for each new unit introduced in the batch.
|
|
47
|
+
|
|
48
|
+
If any delta check fails, the agent must revert or fix immediately and rerun the full toolchain. Do not proceed to reporting until all deltas are clean.
|
|
49
|
+
|
|
50
|
+
## Required Reporting Block
|
|
51
|
+
|
|
52
|
+
Every completion response must include the following sections:
|
|
53
|
+
|
|
54
|
+
1. **Scope** — exact file list touched in this change.
|
|
55
|
+
2. **Baseline** — Ruff, Pyright, Pytest, and coverage status recorded in Phase A.
|
|
56
|
+
3. **Plan** — design and test-strategy summary, referencing the approved plan.
|
|
57
|
+
4. **Diffs** — patch-style or full-file replacements for scoped files only.
|
|
58
|
+
5. **QA Gate Results** — Ruff, Pyright, Pytest, and coverage deltas. If any step could not be run, mark the corresponding line **unverified** and state why.
|
|
59
|
+
|
|
60
|
+
## Evidence Storage
|
|
61
|
+
|
|
62
|
+
Persist toolchain output according to `evidence-and-timestamp-conventions`:
|
|
63
|
+
|
|
64
|
+
- store baseline outputs under `<FEATURE>/evidence/baseline/<timestamp>/`,
|
|
65
|
+
- store post-change outputs under `<FEATURE>/evidence/qa-gates/<timestamp>/`,
|
|
66
|
+
- use ISO-8601 UTC timestamps in folder names.
|
|
67
|
+
|
|
68
|
+
This location is canonical per evidence-and-timestamp-conventions and is not overridable.
|
|
69
|
+
See `.claude/skills/evidence-and-timestamp-conventions/SKILL.md` for the canonical evidence path authority.
|
|
70
|
+
|
|
71
|
+
The evidence paths must be referenced in the agent's completion message to satisfy the `SubagentStop` completion-artifact gate.
|
|
72
|
+
|
|
73
|
+
## Prohibited Shortcuts
|
|
74
|
+
|
|
75
|
+
- Do not disable, skip, or narrow any step of the toolchain to reach a clean result.
|
|
76
|
+
- Do not add Ruff `noqa`, Pyright `# type: ignore`, or test skips to suppress new findings introduced by the change.
|
|
77
|
+
- Do not report success based on partial or targeted runs alone. Targeted runs are allowed mid-batch, but the final gate requires a full-repo pass.
|
package/resources/claude-customizations/.claude/skills/remediation-handoff-atomic-planner/SKILL.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: remediation-handoff-atomic-planner
|
|
3
|
+
description: 'Reusable remediation trigger and atomic_planner handoff steps. Use when audits require remediation inputs and a delegated remediation plan.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Remediation Handoff to atomic_planner
|
|
7
|
+
|
|
8
|
+
Shared remediation workflow and handoff expectations for agents that delegate to `atomic_planner`.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Use this skill when:
|
|
13
|
+
- Audit findings require remediation.
|
|
14
|
+
- You must create remediation inputs and delegate plan creation to `atomic_planner`.
|
|
15
|
+
|
|
16
|
+
## Trigger Conditions (Generic)
|
|
17
|
+
|
|
18
|
+
Trigger remediation when any of these are true:
|
|
19
|
+
- Audit artifacts contain FAIL or meaningful PARTIAL findings.
|
|
20
|
+
- Toolchain checks fail.
|
|
21
|
+
- Acceptance criteria are not met.
|
|
22
|
+
|
|
23
|
+
## Required Remediation Inputs
|
|
24
|
+
|
|
25
|
+
Create `remediation-inputs.<timestamp>.md` with:
|
|
26
|
+
- Enumerated fix list with file paths, expected behavior, and verification commands.
|
|
27
|
+
- A “do not do” list (no scope creep, no policy weakening, no silent skips).
|
|
28
|
+
|
|
29
|
+
## Plan Creation and Handoff
|
|
30
|
+
|
|
31
|
+
1) Create a remediation plan target file using the repo’s plan template.
|
|
32
|
+
2) Delegate to `atomic_planner` with:
|
|
33
|
+
- `${spec}` pointing to remediation inputs (authoritative)
|
|
34
|
+
- `${file}` pointing to the remediation plan target file
|
|
35
|
+
3) Require `atomic_planner` to output a deterministic, atomic plan with phases and `[P#-T#]` IDs.
|
|
36
|
+
|
|
37
|
+
## Context Package (When Required)
|
|
38
|
+
|
|
39
|
+
If the calling agent requires a context package, inline the specified audit artifacts, PR context artifacts, and any relevant plan files in the delegated prompt.
|
|
40
|
+
|