@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,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
agent: 'staged_code_review_agent'
|
|
3
|
+
description: 'Prompt for reviewing currently staged changes before commit. Generates PolicyAudit.md + CodeReview.md in the active feature folder; if remediation is needed, produces remediation inputs and delegates remediation-plan.md creation to atomic_planner.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Staged Code Review Prompt
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Act as a pre-commit staged-change reviewer and policy auditor. Review ONLY what is currently staged (`git diff --staged`) and generate audit-grade documentation suitable for a PR.
|
|
11
|
+
|
|
12
|
+
Do not ask clarifying questions. Make best-effort inferences, document assumptions, and produce the required artifacts.
|
|
13
|
+
|
|
14
|
+
## Output Format
|
|
15
|
+
|
|
16
|
+
Write outputs to the **active feature folder** determined by the agent. If no active feature folder can be inferred, use the agent’s fallback (e.g., `docs/features/active/_staged-review/`).
|
|
17
|
+
|
|
18
|
+
### Required deliverables
|
|
19
|
+
|
|
20
|
+
All filenames must include a timestamp in ISO-8601 format `yyyy-MM-ddTHH-mm` (e.g., `policy-audit.2026-01-08T14-30.md`).
|
|
21
|
+
|
|
22
|
+
1. `policy-audit.<timestamp>.md`
|
|
23
|
+
- A completed Policy Audit document based on the repo's policy-audit template and the policy_audit template guidance.
|
|
24
|
+
- Must include PASS/PARTIAL/FAIL (or equivalent) statuses with evidence (commands run, outputs, file references).
|
|
25
|
+
|
|
26
|
+
2. `code-review.<timestamp>.md`
|
|
27
|
+
- A staged-diff-based review emphasizing strongly typed Python best practices and repo compliance.
|
|
28
|
+
- Must include a clear go/no-go recommendation for committing.
|
|
29
|
+
|
|
30
|
+
### Conditional deliverables (only if remediation is required)
|
|
31
|
+
|
|
32
|
+
3. `remediation-inputs.<timestamp>.md`
|
|
33
|
+
- Concrete, enumerated fix list with acceptance criteria and verification commands.
|
|
34
|
+
|
|
35
|
+
4. An `atomic_planner` prompt (copy/paste-ready) that instructs `atomic_planner` to WRITE:
|
|
36
|
+
- `remediation-plan.<timestamp>.md` in the same active feature folder as the audit documents.
|
|
37
|
+
|
|
38
|
+
## Context Template
|
|
39
|
+
|
|
40
|
+
- **Intent / Change summary (optional):** [One sentence on what this commit is meant to accomplish]
|
|
41
|
+
- **Staged scope note (optional):** [Any known constraints or areas to pay extra attention to]
|
|
42
|
+
- **Verification hints (optional):** [Repo-specific tasks/commands to run if multiple exist]
|
|
43
|
+
- **Risk tolerance (optional):** [e.g., “fail if any PARTIAL”, or “allow PARTIAL with remediation plan”]
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
agent: 'status_updater_agent'
|
|
3
|
+
description: 'Synchronize epic/feature status: check off delivered plan tasks, reconcile docs vs issues, and document acceptance-criteria evidence. Derives all paths from EpicRootFolder using the same epic directory rules as epic review.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Update Status Prompt
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
|
|
10
|
+
Synchronize epic and feature status across:
|
|
11
|
+
- atomic plans (`plan.<timestamp>.md`) where items are unchecked despite delivery
|
|
12
|
+
- documentation (`issue.md`, `spec.md`, `user-story.md`)
|
|
13
|
+
- GitHub Issues (read-only by default; optional mutation via gh CLI)
|
|
14
|
+
|
|
15
|
+
If ALL acceptance criteria in `spec.md` and `user-story.md` are delivered, document evidence inside those files.
|
|
16
|
+
|
|
17
|
+
Do not ask clarifying questions. Make best-effort inferences, record assumptions, and only mark items complete when objective evidence exists.
|
|
18
|
+
|
|
19
|
+
## Inputs (required)
|
|
20
|
+
|
|
21
|
+
- **Epic root folder (required):** `${input:EpicRootFolder}`
|
|
22
|
+
- Example: `docs/features/active/2026-02-02-some-epic-47`
|
|
23
|
+
|
|
24
|
+
## Optional inputs
|
|
25
|
+
|
|
26
|
+
- **Allow GitHub mutations (optional):** `${input:AllowGitHubMutations:true|false}`
|
|
27
|
+
- Default behavior is **false** (no remote changes).
|
|
28
|
+
- If true, the agent may use `gh` CLI to update remote issue state/content only if authenticated and safe.
|
|
29
|
+
|
|
30
|
+
## What must be derived from the epic root
|
|
31
|
+
|
|
32
|
+
From the epic root folder contents:
|
|
33
|
+
- Read `initiative.md`, `issue.md`, `orchestration.md` (if present)
|
|
34
|
+
- Enumerate each feature subfolder
|
|
35
|
+
- For each feature:
|
|
36
|
+
- If version folders exist (`v1`, `v2`, ...), select highest `vN` as current
|
|
37
|
+
- Otherwise treat the feature root as current
|
|
38
|
+
- Select latest `plan.<timestamp>.md` in the current scope (max ISO timestamp `yyyy-MM-ddTHH-mm`)
|
|
39
|
+
- Read `issue.md`, `spec.md`, `user-story.md`, and the selected plan (best-effort)
|
|
40
|
+
|
|
41
|
+
## Outputs
|
|
42
|
+
|
|
43
|
+
Write outputs to the epic root folder `${input:EpicRootFolder}`.
|
|
44
|
+
|
|
45
|
+
All filenames must include a timestamp in ISO-8601 format `yyyy-MM-ddTHH-mm`.
|
|
46
|
+
|
|
47
|
+
### Required deliverable
|
|
48
|
+
|
|
49
|
+
1) `status-sync.<timestamp>.md`
|
|
50
|
+
- Run metadata and summary
|
|
51
|
+
- Plans updated (which files, which tasks checked, evidence notes)
|
|
52
|
+
- Docs updated (issue/spec/user-story changes)
|
|
53
|
+
- Issue/doc synchronization outcomes
|
|
54
|
+
- Remote issue actions (if enabled) OR recommended gh commands
|
|
55
|
+
- Blockers/gaps where evidence was insufficient
|
|
56
|
+
|
|
57
|
+
### In-place updates (evidence-driven)
|
|
58
|
+
|
|
59
|
+
- Update relevant `plan.<timestamp>.md` files:
|
|
60
|
+
- check off `[ ]` -> `[x]` only when evidence supports it
|
|
61
|
+
- add compact evidence notes under checked items
|
|
62
|
+
|
|
63
|
+
- Update `issue.md` files:
|
|
64
|
+
- add/refresh “Sync Summary (as of <timestamp>)” + preserve prior notes
|
|
65
|
+
|
|
66
|
+
- Update `spec.md` and `user-story.md`:
|
|
67
|
+
- if ALL acceptance criteria are evidenced, append “Acceptance Criteria Evidence (as of <timestamp>)”
|
|
68
|
+
- otherwise (optional) append partial evidence + open criteria list without claiming delivery
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Skills Taxonomy
|
|
2
|
+
|
|
3
|
+
## Taxonomy
|
|
4
|
+
|
|
5
|
+
Skills live under `.github/skills/<skill-name>/SKILL.md` and define reusable guidance that can be shared across agents and prompts. Each skill directory contains a single canonical `SKILL.md` file and optional supporting assets (kept minimal).
|
|
6
|
+
|
|
7
|
+
## Frontmatter Requirements
|
|
8
|
+
|
|
9
|
+
Every `SKILL.md` must include YAML frontmatter with:
|
|
10
|
+
- `name`: the canonical skill name (kebab-case recommended).
|
|
11
|
+
- `description`: a concise summary of the skill’s purpose.
|
|
12
|
+
|
|
13
|
+
## Canonical Location
|
|
14
|
+
|
|
15
|
+
Reusable guidance must be authored once in its canonical skill file. Agents and prompts should reference the canonical skill instead of duplicating its content. Canonical references should point to the full path of the skill, for example:
|
|
16
|
+
|
|
17
|
+
- `.github/skills/feature-review-workflow/SKILL.md`
|
|
18
|
+
|
|
19
|
+
## Examples
|
|
20
|
+
|
|
21
|
+
```yaml
|
|
22
|
+
---
|
|
23
|
+
name: feature-review-workflow
|
|
24
|
+
description: Feature-branch review workflow: artifact generation, evidence storage, remediation handoff.
|
|
25
|
+
---
|
|
26
|
+
```
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: acceptance-criteria-tracking
|
|
3
|
+
description: 'Track and check off acceptance criteria in requirement source files (issue.md, spec.md, user-story.md) as they are delivered. Use when executing plans, reviewing features, or validating delivery to keep AC checkboxes current.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Acceptance Criteria Tracking
|
|
7
|
+
|
|
8
|
+
Shared protocol for identifying, tracking, and checking off acceptance criteria (AC) in their source requirement files as work is delivered and verified.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Use this skill when:
|
|
13
|
+
- Executing an atomic plan that delivers work satisfying acceptance criteria.
|
|
14
|
+
- Reviewing a feature branch and verifying acceptance criteria.
|
|
15
|
+
- Validating small-path or large-path delivery against requirement files.
|
|
16
|
+
- Any agent completes work that satisfies one or more acceptance criteria from `issue.md`, `spec.md`, or `user-story.md`.
|
|
17
|
+
|
|
18
|
+
## AC Source Resolution (by Work Mode)
|
|
19
|
+
|
|
20
|
+
Resolve the authoritative acceptance-criteria source file(s) using the work-mode marker from `issue.md`, per the mode rules in `feature-promotion-lifecycle` and `atomic-plan-contract`:
|
|
21
|
+
|
|
22
|
+
| Work Mode | AC Source File(s) |
|
|
23
|
+
|---|---|
|
|
24
|
+
| `minor-audit` | `issue.md` only |
|
|
25
|
+
| `full-feature` | `spec.md` and `user-story.md` |
|
|
26
|
+
| `full-bug` | `spec.md` only |
|
|
27
|
+
| legacy `full` | normalize to `full-feature` for compatibility |
|
|
28
|
+
| missing / malformed | fail closed to `full-feature` (`spec.md` + `user-story.md`) |
|
|
29
|
+
|
|
30
|
+
Deterministic mode rule: use the persisted `- Work Mode: ...` marker from `issue.md` as the single source of truth. `full-feature` always means `spec.md` **and** `user-story.md`; `full-bug` always means `spec.md` **only**; legacy `full` always normalizes to `full-feature`.
|
|
31
|
+
|
|
32
|
+
For `minor-audit`, require an explicit `## Acceptance Criteria` section in `issue.md`. Do not treat other `issue.md` checkbox sections as acceptance criteria for `minor-audit`.
|
|
33
|
+
|
|
34
|
+
When multiple AC source files exist, track checkboxes in **each** applicable file independently.
|
|
35
|
+
|
|
36
|
+
## AC Identification
|
|
37
|
+
|
|
38
|
+
Acceptance criteria are markdown checkbox items within AC source files.
|
|
39
|
+
|
|
40
|
+
Deterministic heading rule:
|
|
41
|
+
- For `minor-audit`, acceptance criteria MUST live under the exact heading `## Acceptance Criteria` in `issue.md`.
|
|
42
|
+
- For other work modes, headings such as `## Acceptance Criteria`, `### Acceptance Criteria`, or `## Done When` may still be used when they are the authoritative AC source file.
|
|
43
|
+
|
|
44
|
+
AC items use the standard markdown checkbox format:
|
|
45
|
+
- `- [ ] <criterion text>` (not yet delivered)
|
|
46
|
+
- `- [x] <criterion text>` (delivered and verified)
|
|
47
|
+
|
|
48
|
+
If the explicit `minor-audit` section is missing, fail closed instead of guessing from other issue sections. If AC items are not in checkbox format (e.g., numbered lists or prose), do NOT reformat them. Instead, note their status in the agent's own tracking artifacts (plan checklist, feature-audit, etc.) and document that the source file uses a non-checkbox format.
|
|
49
|
+
|
|
50
|
+
## Check-Off Protocol
|
|
51
|
+
|
|
52
|
+
### Rules (non-negotiable)
|
|
53
|
+
|
|
54
|
+
1. **Evidence before check-off**: Only mark an AC item `[x]` after the work satisfying it has been **implemented and verified** (e.g., tests pass, toolchain clean, code reviewed).
|
|
55
|
+
2. **One-at-a-time**: Check off each AC item individually as the corresponding work is verified. Do not batch-check items without individual verification.
|
|
56
|
+
3. **Preserve text**: When checking off, change only `- [ ]` to `- [x]`. Do not modify the criterion text.
|
|
57
|
+
4. **Leave unmet items unchecked**: If an AC item cannot be fully delivered or verified, leave it as `- [ ]` and document the gap in the appropriate artifact (plan checklist, remediation inputs, or feature-audit).
|
|
58
|
+
5. **No phantom criteria**: Do not add new AC items to source files. AC items are authored by planning/scoping agents, not by executors or reviewers.
|
|
59
|
+
|
|
60
|
+
### When Executors Check Off AC
|
|
61
|
+
|
|
62
|
+
During plan execution, after completing a task whose work satisfies an acceptance criterion:
|
|
63
|
+
|
|
64
|
+
1. Identify which AC item(s) in the resolved source file(s) are satisfied by the completed task.
|
|
65
|
+
2. Verify the work meets the criterion (task acceptance criteria passed, tests pass, etc.).
|
|
66
|
+
3. Update the AC source file(s): change `- [ ]` to `- [x]` for the satisfied criterion.
|
|
67
|
+
4. Report the check-off in the task's progress output (e.g., "Checked off AC: `<criterion text>` in `issue.md`").
|
|
68
|
+
|
|
69
|
+
Timing: Check off AC items as soon as the corresponding plan task passes verification — do not defer all AC updates to the end of plan execution.
|
|
70
|
+
|
|
71
|
+
### When Reviewers Check Off AC
|
|
72
|
+
|
|
73
|
+
During feature review (feature-audit phase):
|
|
74
|
+
|
|
75
|
+
1. For each AC item evaluated as **PASS** in the feature-audit evaluation table, check it off in the source file(s) if not already checked.
|
|
76
|
+
2. For items evaluated as **PARTIAL**, **FAIL**, or **UNVERIFIED**, leave them unchecked and document the gap.
|
|
77
|
+
3. Report any newly checked-off items in the feature-audit artifact.
|
|
78
|
+
|
|
79
|
+
### When Orchestrators Enforce AC Tracking
|
|
80
|
+
|
|
81
|
+
Orchestrators do not directly check off AC items. Instead:
|
|
82
|
+
|
|
83
|
+
1. Ensure delegated executors and reviewers reference this skill.
|
|
84
|
+
2. After executor or reviewer completion, verify that AC source files reflect delivered work (spot-check; do not re-execute verification).
|
|
85
|
+
3. If AC items remain unchecked after all delegated work completes, flag them in the orchestration summary as outstanding acceptance criteria.
|
|
86
|
+
|
|
87
|
+
## AC Status Summary (Required at Completion)
|
|
88
|
+
|
|
89
|
+
At the end of plan execution or feature review, report an AC summary:
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
### Acceptance Criteria Status
|
|
93
|
+
- Source: <file path(s)>
|
|
94
|
+
- Total AC items: <N>
|
|
95
|
+
- Checked off (delivered): <M>
|
|
96
|
+
- Remaining (unchecked): <N - M>
|
|
97
|
+
- Items remaining: <list of unchecked criterion texts, if any>
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
This summary must appear in:
|
|
101
|
+
- The executor's final completion report (after last plan task).
|
|
102
|
+
- The reviewer's feature-audit artifact (Phase F or equivalent).
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: atomic-plan-contract
|
|
3
|
+
description: 'Atomic plan format and toolchain contract shared by planning and execution agents. Use when generating, validating, or executing atomic plans with Phase 0, baseline capture, and final QA loops.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Atomic Plan Contract
|
|
7
|
+
|
|
8
|
+
Shared rules for atomic plan formatting, Phase 0 requirements, baseline capture, and final QA loops.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Use this skill when:
|
|
13
|
+
- Creating or validating atomic plans.
|
|
14
|
+
- Executing plans with strict format requirements.
|
|
15
|
+
- Enforcing Phase 0 policy reading + baseline capture and final QA loops.
|
|
16
|
+
|
|
17
|
+
## Canonical Plan Format
|
|
18
|
+
|
|
19
|
+
- Phase headings must be: `### Phase N — <Title>`
|
|
20
|
+
- Tasks must start with: `- [ ] [P#-T#]` (or `[x]` for completed)
|
|
21
|
+
- Task IDs must match their phase and be sequential per phase.
|
|
22
|
+
- Plans must pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>` before they can be reported as approved.
|
|
23
|
+
|
|
24
|
+
## Short-Path Minimal Plan Contract
|
|
25
|
+
|
|
26
|
+
When orchestration selects short path, a minimal plan is still mandatory and must include these blocks:
|
|
27
|
+
|
|
28
|
+
1) Baseline capture block
|
|
29
|
+
- policy reads in required order,
|
|
30
|
+
- baseline toolchain/test state capture for each language that has explicit baseline command tasks in the plan.
|
|
31
|
+
- required artifacts:
|
|
32
|
+
- a Phase 0 policy-read evidence artifact in the canonical evidence location defined by `evidence-and-timestamp-conventions`
|
|
33
|
+
- one baseline artifact per baseline command step (no aggregate-only baseline artifact)
|
|
34
|
+
- each baseline step artifact MUST include: `Timestamp:`, `Command:`, `EXIT_CODE:`, `Output Summary:`
|
|
35
|
+
- baseline test-step artifacts for languages with mandatory coverage policy MUST include numeric coverage headline values in `Output Summary:` (baseline percent and, when applicable, targeted module/new-code percent).
|
|
36
|
+
|
|
37
|
+
2) Delegated implementation block
|
|
38
|
+
- explicit handoff task to the small-path implementation engineer,
|
|
39
|
+
- acceptance criteria for implementation completion.
|
|
40
|
+
|
|
41
|
+
3) Final QC block
|
|
42
|
+
- full language-appropriate QA loop (format → lint → type-check when applicable → test),
|
|
43
|
+
- rerun behavior when any step changes files or fails.
|
|
44
|
+
- one final-QC artifact per QC command step (no aggregate-only final-QC artifact)
|
|
45
|
+
- each final-QC step artifact MUST include: `Timestamp:`, `Command:`, `EXIT_CODE:`, `Output Summary:`
|
|
46
|
+
- final-QC test commands for languages with mandatory coverage policy MUST run in coverage mode and record numeric post-change coverage values in `Output Summary:`.
|
|
47
|
+
- final-QC command tasks that are present in the approved plan MUST execute their stated commands; `SKIPPED` is invalid unless the task text itself explicitly authorizes a skip condition.
|
|
48
|
+
|
|
49
|
+
4) Reduced audit block
|
|
50
|
+
- explicit post-implementation small-audit handoff,
|
|
51
|
+
- reduced artifact checks required by short-path policy.
|
|
52
|
+
|
|
53
|
+
## Minimal-Audit Directive Contract (Small Path)
|
|
54
|
+
|
|
55
|
+
For short-path planning handoffs, orchestrators MUST include:
|
|
56
|
+
- `DIRECTIVE: MINIMAL-AUDIT PLAN REQUIRED`
|
|
57
|
+
|
|
58
|
+
Required planner outputs for this directive:
|
|
59
|
+
- plan MUST use `${feature-folder}/issue.md` as sole requirements source,
|
|
60
|
+
- plan MUST require `${feature-folder}/issue.md` to contain an explicit `## Acceptance Criteria` section and MUST treat only that section as the minor-audit AC source,
|
|
61
|
+
- plan MUST NOT require `spec.md`/`user-story.md`/`research.md`,
|
|
62
|
+
- plan MUST include exactly 3 phases:
|
|
63
|
+
- Phase 0 baseline capture,
|
|
64
|
+
- Phase 1 placeholder for constrained small-path implementation,
|
|
65
|
+
- Phase 2 final QC loop,
|
|
66
|
+
- final-QC command tasks in the generated plan MUST be unconditional when present; no IN_SCOPE/OUT_OF_SCOPE branches and no SKIPPED completion path unless the task text explicitly authorizes a skip branch,
|
|
67
|
+
- planner MUST return `plan-path` and final preflight signal.
|
|
68
|
+
|
|
69
|
+
## Phase-0-Only Execution Contract (Small Path)
|
|
70
|
+
|
|
71
|
+
After preflight all-clear on the minimal-audit plan:
|
|
72
|
+
- orchestrator MUST delegate to executor to run Phase 0 only,
|
|
73
|
+
- orchestrator MUST checkpoint Phase 0 evidence before branching.
|
|
74
|
+
|
|
75
|
+
Branching after Phase 0:
|
|
76
|
+
- `manual bootstrap` → save state and stop for manual resume,
|
|
77
|
+
- otherwise continue with constrained small-path development, then executor validation, then reduced audit/remediation loop.
|
|
78
|
+
|
|
79
|
+
## Phase 0 Requirements
|
|
80
|
+
|
|
81
|
+
Phase 0 must include tasks to read policy files in the order defined in `policy-compliance-order`.
|
|
82
|
+
|
|
83
|
+
Phase 0 must also capture baseline toolchain results for the languages touched. Baseline artifact conventions (location + required fields) are defined in `evidence-and-timestamp-conventions`.
|
|
84
|
+
|
|
85
|
+
For short-path/minimal-audit plans, Phase 0 evidence is incomplete unless both artifacts exist:
|
|
86
|
+
- `phase0-instructions-read.md` with at least: `Timestamp:`, `Policy Order:`, and explicit list of files read.
|
|
87
|
+
- baseline command-step artifacts with at least: `Timestamp:`, `Command:`, `EXIT_CODE:`, `Output Summary:` for each baseline check executed.
|
|
88
|
+
- approved-plan checklist state MUST remain unchecked for any Phase 0 task whose artifact is absent or whose artifact fields are incomplete.
|
|
89
|
+
|
|
90
|
+
`Output Summary:` is mandatory for each command-step artifact and must concisely summarize the essential result signal (for example: pass/fail status, key counts, coverage headline, or primary diagnostic).
|
|
91
|
+
|
|
92
|
+
## Coverage Evidence Contract (Mandatory when policy requires coverage)
|
|
93
|
+
|
|
94
|
+
For any language in scope where repository policy requires coverage validation:
|
|
95
|
+
|
|
96
|
+
- The approved plan MUST include explicit baseline and final-QC coverage capture tasks.
|
|
97
|
+
- Baseline and final-QC artifacts MUST record numeric coverage values (not placeholders such as `UNVERIFIED`).
|
|
98
|
+
- Where policy requires no-regression and new-code thresholds, the plan MUST include a delta/threshold verification task that reports:
|
|
99
|
+
- baseline coverage,
|
|
100
|
+
- post-change coverage,
|
|
101
|
+
- new/changed-code coverage.
|
|
102
|
+
- If required coverage values are unavailable, the plan outcome MUST be remediation-required and MUST NOT be reported as PASS.
|
|
103
|
+
|
|
104
|
+
## Final QA Loop (Required for Code/Test Changes)
|
|
105
|
+
|
|
106
|
+
Run the full toolchain loop for each applicable language in order:
|
|
107
|
+
1) Formatting
|
|
108
|
+
2) Linting
|
|
109
|
+
3) Type checking (if applicable)
|
|
110
|
+
4) Testing
|
|
111
|
+
|
|
112
|
+
For languages with mandatory coverage policy, step 4 must use coverage-enabled test commands and persist numeric coverage evidence.
|
|
113
|
+
|
|
114
|
+
If any step fails or changes files, restart the loop from step 1 until a clean pass completes.
|
|
115
|
+
|
|
116
|
+
## No-SKIPPED Rule for Planned Command Tasks
|
|
117
|
+
|
|
118
|
+
For command-bearing tasks in approved plans (especially Phase 2 final-QC tasks):
|
|
119
|
+
- if the task exists in the plan, the command must be executed and recorded,
|
|
120
|
+
- `EXIT_CODE: SKIPPED` MUST NOT be used as a passing outcome,
|
|
121
|
+
- exceptions are allowed only when the task text itself explicitly contains a skip branch and that branch is intentionally approved in requirements.
|
|
122
|
+
|
|
123
|
+
## Expect-Fail Test Tasks
|
|
124
|
+
|
|
125
|
+
Any regression test task expected to fail must be tagged with `[expect-fail]` and include an auditable evidence artifact per `evidence-and-timestamp-conventions`.
|
|
126
|
+
|
|
127
|
+
## Preflight Validation (Planner ↔ Executor)
|
|
128
|
+
|
|
129
|
+
When validating or handing off plans for execution:
|
|
130
|
+
- Use the directive line: `DIRECTIVE: PREFLIGHT VALIDATION ONLY`.
|
|
131
|
+
- Require one of the exact signals:
|
|
132
|
+
- `PREFLIGHT: ALL CLEAR`
|
|
133
|
+
- `PREFLIGHT: REVISIONS REQUIRED`
|
|
134
|
+
- If revisions are required, provide a precise plan delta and repeat validation until all clear.
|
|
135
|
+
- If the required planner ↔ executor handoff cannot be started or completed, stop and report blocked state; do not self-approve the plan.
|
|
136
|
+
|
|
137
|
+
## Validator Gate (Mandatory)
|
|
138
|
+
|
|
139
|
+
Before a plan can be treated as approved:
|
|
140
|
+
|
|
141
|
+
- run the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`,
|
|
142
|
+
- reject the plan if that validator exits non-zero,
|
|
143
|
+
- do not treat human-readable summaries as a substitute for validator success.
|
|
144
|
+
|
|
145
|
+
## Plan-Path Continuity Contract (Mandatory)
|
|
146
|
+
|
|
147
|
+
When a caller provides an explicit target plan file path (for example `${plan-path}` or `${file}`):
|
|
148
|
+
|
|
149
|
+
- Planner MUST update that exact file in place.
|
|
150
|
+
- Planner MUST reuse the same file for all preflight revision iterations.
|
|
151
|
+
- Planner MUST NOT create additional timestamped sibling files (for example `plan.<timestamp>.md`) during the same planning cycle.
|
|
152
|
+
|
|
153
|
+
If the provided path does not exist, it may be created once, then reused for all subsequent revisions in that cycle.
|
|
154
|
+
|
|
155
|
+
## Mode source precedence (Mandatory)
|
|
156
|
+
|
|
157
|
+
When a plan is generated or validated from a feature folder, resolve selected mode in this order:
|
|
158
|
+
|
|
159
|
+
1) Persisted marker in `issue.md` metadata block:
|
|
160
|
+
- `- Work Mode: minor-audit`
|
|
161
|
+
- `- Work Mode: full-feature`
|
|
162
|
+
- `- Work Mode: full-bug`
|
|
163
|
+
2) Legacy compatibility marker `- Work Mode: full` resolves to `full-feature`
|
|
164
|
+
3) Explicit workflow override only when repo policy allows and only when reconciled against `issue.md`
|
|
165
|
+
4) Fail closed to `full-feature` when marker is missing or malformed
|
|
166
|
+
|
|
167
|
+
## Mode-Specific Mandatory Plan Gates
|
|
168
|
+
|
|
169
|
+
- `minor-audit` plans MUST include baseline evidence tasks, targeted verification evidence tasks, and end-state evidence tasks.
|
|
170
|
+
- `minor-audit` plans MUST require `${feature-folder}/issue.md` to contain an explicit `## Acceptance Criteria` section; do not infer acceptance criteria from other `issue.md` sections.
|
|
171
|
+
- `minor-audit` plans MUST NOT treat missing `spec.md` or `user-story.md` as automatic blockers.
|
|
172
|
+
- `minor-audit` execution/validation/audit MUST fail closed when `spec.md` or `user-story.md` exists unexpectedly in the active folder, when the explicit `## Acceptance Criteria` section is missing from `issue.md`, when required Phase 0 artifacts are missing, or when checklist state contradicts evidence on disk.
|
|
173
|
+
- `full-feature` plans MUST enforce full-document expectations (`spec.md` + `user-story.md`) and full QA loop obligations.
|
|
174
|
+
- `full-bug` plans MUST enforce spec-driven expectations (`spec.md` required, `user-story.md` optional/absent by default) and full QA loop obligations.
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: csharp-change-budget-router
|
|
3
|
+
description: Budget-first routing contract for C# work: estimate production-file scope, choose small vs large path, enforce orchestration-first routing for larger changes, and use the VS Code extension command surface for promotion lifecycle steps when available.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# C# Change Budget Router
|
|
7
|
+
|
|
8
|
+
Canonical guidance for deciding whether work should stay on the small path or escalate to the full C# orchestration workflow.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Use this skill when:
|
|
13
|
+
- Intake starts from a natural-language C# request.
|
|
14
|
+
- An agent must decide the execution path before planning or implementation.
|
|
15
|
+
- A direct-mode route must reject over-budget requests and switch to orchestrated flow.
|
|
16
|
+
|
|
17
|
+
## Canonical Routing Rules
|
|
18
|
+
|
|
19
|
+
1) Estimate rough change budget first based on likely **production C# files** touched.
|
|
20
|
+
2) Route:
|
|
21
|
+
- `1-3` production files (+ corresponding tests) → **small path** (`csharp-typed-engineer` direct mode).
|
|
22
|
+
- `>3` production files or `>3` test files → **large path** (orchestration workflow with promotion/research/spec/planning/execution/review).
|
|
23
|
+
|
|
24
|
+
## Orchestrated Small-Path Requirements
|
|
25
|
+
|
|
26
|
+
When routed through `csharp-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 `csharp-typed-engineer` remains implementation-focused and does not replace orchestrator lifecycle steps.
|
|
36
|
+
|
|
37
|
+
## Direct-Mode Rejection Rule
|
|
38
|
+
|
|
39
|
+
If direct implementation is requested but estimated scope is `>3` production files:
|
|
40
|
+
- Stop before implementation.
|
|
41
|
+
- Return explicit routing instruction to invoke `csharp-orchestrator` (or `.github/prompts/orchestrate-csharp-work.prompt.md`).
|
|
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).
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: csharp-orchestration-state-machine
|
|
3
|
+
description: Checkpoint schema and resume protocol for long-running C# orchestration workflows.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# C# Orchestration State Machine
|
|
7
|
+
|
|
8
|
+
Canonical checkpoint and resume behavior for orchestration agents running multi-step C# 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/csharp-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.
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: evidence-and-timestamp-conventions
|
|
3
|
+
description: 'Evidence storage and timestamp naming conventions for audits and remediation. Use when storing baseline/regression/QA evidence or naming audit artifacts with ISO-8601 timestamps.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Evidence and Timestamp Conventions
|
|
7
|
+
|
|
8
|
+
Reusable conventions for evidence storage locations and ISO-8601 timestamped artifacts.
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Use this skill when:
|
|
13
|
+
- You create audit or remediation artifacts that must be timestamped.
|
|
14
|
+
- You store baseline, regression, or QA evidence under canonical folders.
|
|
15
|
+
- Multiple agents need the same naming and evidence-location rules.
|
|
16
|
+
|
|
17
|
+
## ISO-8601 Timestamp Format
|
|
18
|
+
|
|
19
|
+
Use `yyyy-MM-ddTHH-mm` for all audit, remediation, and evidence artifacts.
|
|
20
|
+
Example: `2026-02-06T14-30`.
|
|
21
|
+
|
|
22
|
+
## Canonical Evidence Locations
|
|
23
|
+
|
|
24
|
+
- Baseline evidence: `evidence/baseline/`
|
|
25
|
+
- Regression testing evidence: `evidence/regression-testing/`
|
|
26
|
+
- Other evidence: `evidence/other/`
|
|
27
|
+
- QA gate evidence: `evidence/qa-gates/`
|
|
28
|
+
- Issue update mirrors: `evidence/issue-updates/`
|
|
29
|
+
|
|
30
|
+
Epic rollups may mirror these under the epic root when needed.
|
|
31
|
+
|
|
32
|
+
## Feature Scope (Versioned Features)
|
|
33
|
+
|
|
34
|
+
In this repo, a feature may be single-version (docs at feature root) or multi-version
|
|
35
|
+
(`v1/`, `v2/`, etc.). When a feature is versioned, treat evidence discovery as applying
|
|
36
|
+
to the **selected current version scope**, but also search the feature root canonical
|
|
37
|
+
evidence folders as a fallback.
|
|
38
|
+
|
|
39
|
+
Practical rule:
|
|
40
|
+
- Prefer evidence under `<FEATURE>/<CURRENT_VERSION>/evidence/...` when it exists.
|
|
41
|
+
- Also search `<FEATURE>/evidence/...` before concluding evidence is missing.
|
|
42
|
+
|
|
43
|
+
## Canonical Evidence Discovery Order
|
|
44
|
+
|
|
45
|
+
When locating evidence artifacts for audits or plan reconciliation, use this order:
|
|
46
|
+
|
|
47
|
+
1) `<FEATURE>/evidence/issue-updates/` (issue update mirrors)
|
|
48
|
+
2) `<FEATURE>/evidence/regression-testing/`
|
|
49
|
+
3) `<FEATURE>/evidence/other/`
|
|
50
|
+
4) `<FEATURE>/evidence/qa-gates/`
|
|
51
|
+
5) `<FEATURE>/evidence/baseline/`
|
|
52
|
+
6) `<FEATURE>/evidence/remediation-baseline/`
|
|
53
|
+
7) `<EPIC>/evidence/issue-updates/` (issue update mirrors)
|
|
54
|
+
8) `<EPIC>/evidence/regression-testing/` (optional rollup)
|
|
55
|
+
9) `<EPIC>/evidence/other/`
|
|
56
|
+
10) `<EPIC>/evidence/qa-gates/` (optional rollup)
|
|
57
|
+
11) `<EPIC>/evidence/baseline/` (optional rollup)
|
|
58
|
+
12) `<EPIC>/evidence/remediation-baseline/` (optional rollup)
|
|
59
|
+
|
|
60
|
+
Rule:
|
|
61
|
+
- Use the list order by default for audit fidelity.
|
|
62
|
+
- If the task is explicitly remediation reconciliation, you may prefer `remediation-baseline` over `baseline`, but still record the original baseline as the authoritative audit reference.
|
|
63
|
+
|
|
64
|
+
If evidence or issue-update mirrors are found elsewhere, record it as non-canonical and include a remediation step to move/copy it into the first applicable canonical location.
|
|
65
|
+
|
|
66
|
+
### Fail-before Requirements (Deterministic Check)
|
|
67
|
+
|
|
68
|
+
When an acceptance criterion (AC) or plan item requires **fail-before / pass-after** evidence:
|
|
69
|
+
|
|
70
|
+
- First, search for a failing run artifact in `<FEATURE>/evidence/regression-testing/`.
|
|
71
|
+
- If no failing run exists (or it is structurally impossible), search for a **fail-before exception dossier**.
|
|
72
|
+
|
|
73
|
+
Minimum required search pattern:
|
|
74
|
+
- `fail-before-exception.*.md` (preferred name prefix)
|
|
75
|
+
|
|
76
|
+
Only after checking both (failing run OR exception dossier) may you write a negative claim like
|
|
77
|
+
"no fail-before evidence exists".
|
|
78
|
+
|
|
79
|
+
## Evidence Artifact Schema (Machine-Checkable)
|
|
80
|
+
|
|
81
|
+
When evidence artifacts are used for automated checking or plan reconciliation, include:
|
|
82
|
+
- `Timestamp: <ISO-8601>`
|
|
83
|
+
- `Command: <exact command>`
|
|
84
|
+
- `EXIT_CODE: <int>`
|
|
85
|
+
|
|
86
|
+
### Baseline Evidence Output Summary (Required)
|
|
87
|
+
|
|
88
|
+
For baseline evidence artifacts stored under `evidence/baseline/`, include an output summary in addition to the schema fields above:
|
|
89
|
+
- `Output Summary: <1–20 lines capturing the essential outcome>`
|
|
90
|
+
|
|
91
|
+
The summary should be concise, human-readable, and include the most important result signal (e.g., “All checks passed”, “767 passed”, coverage total, or a brief error description).
|
|
92
|
+
|
|
93
|
+
If a fail-before run is required but impossible, include a short exception dossier with:
|
|
94
|
+
- `WhyFailingRunImpossible: <1–3 sentences>`
|
|
95
|
+
- An alternative proof section (e.g., absence-of-test proof)
|
|
96
|
+
|
|
97
|
+
Fail-before exception dossiers should be stored under `evidence/regression-testing/`.
|
|
98
|
+
|
|
99
|
+
Preferred filename for fail-before exception dossiers:
|
|
100
|
+
- `fail-before-exception.<timestamp>.md`
|
|
101
|
+
|
|
102
|
+
If an exception dossier is present and schema-valid, it counts as satisfying the
|
|
103
|
+
"fail-before" requirement for audit/plan reconciliation purposes.
|
|
104
|
+
|
|
105
|
+
## Negative Evidence Claims (Absence Must Be Auditable)
|
|
106
|
+
|
|
107
|
+
If you claim evidence is missing (e.g., "no exception dossier recorded"), you MUST also record:
|
|
108
|
+
|
|
109
|
+
- `SearchScope:` the exact folder(s) searched (include both current-version scope and feature root when applicable)
|
|
110
|
+
- `SearchPatterns:` the filename patterns used (e.g., `fail-before-exception.*.md`)
|
|
111
|
+
- `SearchResult:` what was found (paths) or `none`
|
|
112
|
+
|
|
113
|
+
This prevents false negatives caused by searching the wrong scope or using incomplete patterns.
|
|
114
|
+
|
|
115
|
+
## Evidence-First Audit Writing
|
|
116
|
+
|
|
117
|
+
When marking FAIL or PARTIAL in audit artifacts, include:
|
|
118
|
+
- Concrete file + location (line/hunk/section when possible)
|
|
119
|
+
- The violated rule or expected behavior
|
|
120
|
+
- The verification command and its output (or why it could not be run)
|
|
121
|
+
|
|
122
|
+
## Issue Update Mirroring (Canonical Location)
|
|
123
|
+
|
|
124
|
+
When work involves updating a GitHub issue, create a local mirror artifact at:
|
|
125
|
+
- `<FEATURE>/evidence/issue-updates/issue-<N>.<timestamp>.md`
|
|
126
|
+
|
|
127
|
+
Required contents:
|
|
128
|
+
- `Timestamp: <ISO-8601>`
|
|
129
|
+
- The exact text intended/posted
|
|
130
|
+
- `PostedAs: body` or `PostedAs: comment` (preferred), or `PostedAs: unknown`
|
|
131
|
+
- If posted as a comment: the GitHub URL to the comment
|
|
132
|
+
- If posted as an issue body update: the GitHub URL to the issue and `IssueUpdatedAt: <ISO-8601>`
|
|
133
|
+
- If not posted: a `POSTING BLOCKED` header and the reason
|
|
134
|
+
|
|
135
|
+
If `PostedAs: body`, mirror the same update into the local feature `issue.md` (current version folder if present; otherwise feature root).
|