@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.
Files changed (380) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +50 -0
  3. package/out/mcp-server.js +17323 -0
  4. package/package.json +36 -0
  5. package/resources/claude-customizations/.claude/agent-memory/orchestrator/MEMORY.md +3 -0
  6. package/resources/claude-customizations/.claude/agent-memory/orchestrator/feedback_repo_root_is_source_of_truth.md +11 -0
  7. package/resources/claude-customizations/.claude/agent-memory/orchestrator/feedback_vsce_verify_package_location.md +19 -0
  8. package/resources/claude-customizations/.claude/agent-memory/orchestrator/project_extension_location.md +11 -0
  9. package/resources/claude-customizations/.claude/agent-memory/prd-feature/MEMORY.md +1 -0
  10. package/resources/claude-customizations/.claude/agent-memory/prd-feature/project_push_down_pattern.md +13 -0
  11. package/resources/claude-customizations/.claude/agent-memory/task-researcher/MEMORY.md +3 -0
  12. package/resources/claude-customizations/.claude/agent-memory/task-researcher/project_push_down_claude_dir.md +11 -0
  13. package/resources/claude-customizations/.claude/agents/atomic-executor.md +135 -0
  14. package/resources/claude-customizations/.claude/agents/atomic-planner.md +71 -0
  15. package/resources/claude-customizations/.claude/agents/csharp-typed-engineer.md +69 -0
  16. package/resources/claude-customizations/.claude/agents/epic-review.md +40 -0
  17. package/resources/claude-customizations/.claude/agents/feature-review.md +136 -0
  18. package/resources/claude-customizations/.claude/agents/orchestrator.md +83 -0
  19. package/resources/claude-customizations/.claude/agents/powershell-typed-engineer.md +80 -0
  20. package/resources/claude-customizations/.claude/agents/prd-feature.md +42 -0
  21. package/resources/claude-customizations/.claude/agents/python-typed-engineer.md +72 -0
  22. package/resources/claude-customizations/.claude/agents/staged-review.md +41 -0
  23. package/resources/claude-customizations/.claude/agents/status-updater.md +41 -0
  24. package/resources/claude-customizations/.claude/agents/task-researcher.md +81 -0
  25. package/resources/claude-customizations/.claude/agents/typescript-engineer.md +24 -0
  26. package/resources/claude-customizations/.claude/hooks/check-powershell-test-purity.ps1 +111 -0
  27. package/resources/claude-customizations/.claude/hooks/check-python-test-purity.ps1 +146 -0
  28. package/resources/claude-customizations/.claude/hooks/enforce-evidence-locations.ps1 +150 -0
  29. package/resources/claude-customizations/.claude/hooks/enforce-powershell-batch-budget.ps1 +238 -0
  30. package/resources/claude-customizations/.claude/hooks/enforce-promotion-mcp-only.ps1 +147 -0
  31. package/resources/claude-customizations/.claude/hooks/enforce-python-batch-budget.ps1 +235 -0
  32. package/resources/claude-customizations/.claude/hooks/validate-bash.ps1 +69 -0
  33. package/resources/claude-customizations/.claude/hooks/validate-executor-output.ps1 +296 -0
  34. package/resources/claude-customizations/.claude/hooks/validate-feature-review-coverage.ps1 +389 -0
  35. package/resources/claude-customizations/.claude/hooks/validate-orchestrator-output.ps1 +141 -0
  36. package/resources/claude-customizations/.claude/hooks/validate-planner-output.ps1 +288 -0
  37. package/resources/claude-customizations/.claude/hooks/validate-required-artifact-output.ps1 +171 -0
  38. package/resources/claude-customizations/.claude/hooks/validate-task-researcher-output.ps1 +142 -0
  39. package/resources/claude-customizations/.claude/rules/csharp.md +62 -0
  40. package/resources/claude-customizations/.claude/rules/general-code-change.md +71 -0
  41. package/resources/claude-customizations/.claude/rules/general-unit-test.md +60 -0
  42. package/resources/claude-customizations/.claude/rules/powershell.md +97 -0
  43. package/resources/claude-customizations/.claude/rules/python-suppressions.md +143 -0
  44. package/resources/claude-customizations/.claude/rules/python.md +99 -0
  45. package/resources/claude-customizations/.claude/rules/self-explanatory-code-commenting.md +97 -0
  46. package/resources/claude-customizations/.claude/rules/tonality.md +80 -0
  47. package/resources/claude-customizations/.claude/rules/typescript-suppressions.md +66 -0
  48. package/resources/claude-customizations/.claude/rules/typescript.md +45 -0
  49. package/resources/claude-customizations/.claude/settings.json +144 -0
  50. package/resources/claude-customizations/.claude/skills/acceptance-criteria-tracking/SKILL.md +102 -0
  51. package/resources/claude-customizations/.claude/skills/atomic-plan-contract/SKILL.md +189 -0
  52. package/resources/claude-customizations/.claude/skills/commit-message/SKILL.md +65 -0
  53. package/resources/claude-customizations/.claude/skills/csharp-change-budget-router/SKILL.md +90 -0
  54. package/resources/claude-customizations/.claude/skills/csharp-orchestration-state-machine/SKILL.md +58 -0
  55. package/resources/claude-customizations/.claude/skills/csharp-qa-gate/SKILL.md +77 -0
  56. package/resources/claude-customizations/.claude/skills/evidence-and-timestamp-conventions/SKILL.md +164 -0
  57. package/resources/claude-customizations/.claude/skills/execute-hard-lock/SKILL.md +82 -0
  58. package/resources/claude-customizations/.claude/skills/feature-promotion-lifecycle/SKILL.md +115 -0
  59. package/resources/claude-customizations/.claude/skills/feature-review-workflow/SKILL.md +167 -0
  60. package/resources/claude-customizations/.claude/skills/fill-feature-docs/SKILL.md +22 -0
  61. package/resources/claude-customizations/.claude/skills/invoke-csharp-engineer/SKILL.md +64 -0
  62. package/resources/claude-customizations/.claude/skills/invoke-powershell-engineer/SKILL.md +65 -0
  63. package/resources/claude-customizations/.claude/skills/invoke-python-engineer/SKILL.md +64 -0
  64. package/resources/claude-customizations/.claude/skills/make-skill-template/SKILL.md +147 -0
  65. package/resources/claude-customizations/.claude/skills/orchestrate/SKILL.md +132 -0
  66. package/resources/claude-customizations/.claude/skills/policy-audit-template-usage/SKILL.md +49 -0
  67. package/resources/claude-customizations/.claude/skills/policy-compliance-order/SKILL.md +40 -0
  68. package/resources/claude-customizations/.claude/skills/powershell-change-budget-router/SKILL.md +49 -0
  69. package/resources/claude-customizations/.claude/skills/powershell-orchestration-state-machine/SKILL.md +58 -0
  70. package/resources/claude-customizations/.claude/skills/powershell-qa-gate/SKILL.md +77 -0
  71. package/resources/claude-customizations/.claude/skills/pr-author/SKILL.md +50 -0
  72. package/resources/claude-customizations/.claude/skills/pr-base-branch-merge-base/SKILL.md +56 -0
  73. package/resources/claude-customizations/.claude/skills/pr-context-artifacts/SKILL.md +30 -0
  74. package/resources/claude-customizations/.claude/skills/python-change-budget-router/SKILL.md +79 -0
  75. package/resources/claude-customizations/.claude/skills/python-qa-gate/SKILL.md +77 -0
  76. package/resources/claude-customizations/.claude/skills/remediation-handoff-atomic-planner/SKILL.md +40 -0
  77. package/resources/claude-customizations/.claude/skills/research-issue/SKILL.md +67 -0
  78. package/resources/claude-customizations/.claude/skills/review-epic/SKILL.md +21 -0
  79. package/resources/claude-customizations/.claude/skills/review-feature/SKILL.md +25 -0
  80. package/resources/claude-customizations/.claude/skills/review-staged/SKILL.md +21 -0
  81. package/resources/claude-customizations/.claude/skills/skill-canonical-location-audit/SKILL.md +49 -0
  82. package/resources/claude-customizations/.claude/skills/translate-copilot-to-claude/SKILL.md +295 -0
  83. package/resources/claude-customizations/.claude/skills/update-status/SKILL.md +21 -0
  84. package/resources/claude-dir-customizations/.mcp.json +8 -0
  85. package/resources/codex-and-agents-customizations/.agents/README.md +86 -0
  86. package/resources/codex-and-agents-customizations/.agents/skills/README.md +49 -0
  87. package/resources/codex-and-agents-customizations/.agents/skills/acceptance-criteria-tracking/SKILL.md +107 -0
  88. package/resources/codex-and-agents-customizations/.agents/skills/atomic-executor/SKILL.md +73 -0
  89. package/resources/codex-and-agents-customizations/.agents/skills/atomic-plan-contract/SKILL.md +194 -0
  90. package/resources/codex-and-agents-customizations/.agents/skills/atomic-planner/SKILL.md +87 -0
  91. package/resources/codex-and-agents-customizations/.agents/skills/commit-message/SKILL.md +70 -0
  92. package/resources/codex-and-agents-customizations/.agents/skills/commit-message-conventions/SKILL.md +95 -0
  93. package/resources/codex-and-agents-customizations/.agents/skills/csharp/SKILL.md +67 -0
  94. package/resources/codex-and-agents-customizations/.agents/skills/csharp-change-budget-router/SKILL.md +94 -0
  95. package/resources/codex-and-agents-customizations/.agents/skills/csharp-orchestration-state-machine/SKILL.md +64 -0
  96. package/resources/codex-and-agents-customizations/.agents/skills/csharp-qa-gate/SKILL.md +82 -0
  97. package/resources/codex-and-agents-customizations/.agents/skills/evidence-and-timestamp-conventions/SKILL.md +168 -0
  98. package/resources/codex-and-agents-customizations/.agents/skills/execute-hard-lock/SKILL.md +88 -0
  99. package/resources/codex-and-agents-customizations/.agents/skills/feature-promotion-lifecycle/SKILL.md +129 -0
  100. package/resources/codex-and-agents-customizations/.agents/skills/feature-review/SKILL.md +106 -0
  101. package/resources/codex-and-agents-customizations/.agents/skills/feature-review-workflow/SKILL.md +181 -0
  102. package/resources/codex-and-agents-customizations/.agents/skills/fill-feature-docs/SKILL.md +27 -0
  103. package/resources/codex-and-agents-customizations/.agents/skills/invoke-csharp-engineer/SKILL.md +73 -0
  104. package/resources/codex-and-agents-customizations/.agents/skills/invoke-powershell-engineer/SKILL.md +74 -0
  105. package/resources/codex-and-agents-customizations/.agents/skills/invoke-python-engineer/SKILL.md +73 -0
  106. package/resources/codex-and-agents-customizations/.agents/skills/make-skill-template/SKILL.md +152 -0
  107. package/resources/codex-and-agents-customizations/.agents/skills/orchestrate/SKILL.md +143 -0
  108. package/resources/codex-and-agents-customizations/.agents/skills/orchestrator-workflow/SKILL.md +317 -0
  109. package/resources/codex-and-agents-customizations/.agents/skills/policy-audit-template-usage/SKILL.md +53 -0
  110. package/resources/codex-and-agents-customizations/.agents/skills/policy-compliance-order/SKILL.md +49 -0
  111. package/resources/codex-and-agents-customizations/.agents/skills/powershell/SKILL.md +102 -0
  112. package/resources/codex-and-agents-customizations/.agents/skills/powershell-change-budget-router/SKILL.md +53 -0
  113. package/resources/codex-and-agents-customizations/.agents/skills/powershell-orchestration-state-machine/SKILL.md +64 -0
  114. package/resources/codex-and-agents-customizations/.agents/skills/powershell-qa-gate/SKILL.md +83 -0
  115. package/resources/codex-and-agents-customizations/.agents/skills/pr-author/SKILL.md +55 -0
  116. package/resources/codex-and-agents-customizations/.agents/skills/pr-authoring/SKILL.md +124 -0
  117. package/resources/codex-and-agents-customizations/.agents/skills/pr-base-branch-merge-base/SKILL.md +60 -0
  118. package/resources/codex-and-agents-customizations/.agents/skills/pr-context-artifacts/SKILL.md +34 -0
  119. package/resources/codex-and-agents-customizations/.agents/skills/python/SKILL.md +104 -0
  120. package/resources/codex-and-agents-customizations/.agents/skills/python-change-budget-router/SKILL.md +84 -0
  121. package/resources/codex-and-agents-customizations/.agents/skills/python-qa-gate/SKILL.md +82 -0
  122. package/resources/codex-and-agents-customizations/.agents/skills/python-suppressions/SKILL.md +148 -0
  123. package/resources/codex-and-agents-customizations/.agents/skills/remediation-handoff-atomic-planner/SKILL.md +49 -0
  124. package/resources/codex-and-agents-customizations/.agents/skills/repo-automation-adapter/SKILL.md +142 -0
  125. package/resources/codex-and-agents-customizations/.agents/skills/repo-automation-adapter/agents/openai.yaml +5 -0
  126. package/resources/codex-and-agents-customizations/.agents/skills/research-issue/SKILL.md +72 -0
  127. package/resources/codex-and-agents-customizations/.agents/skills/review-epic/SKILL.md +26 -0
  128. package/resources/codex-and-agents-customizations/.agents/skills/review-feature/SKILL.md +30 -0
  129. package/resources/codex-and-agents-customizations/.agents/skills/review-staged/SKILL.md +26 -0
  130. package/resources/codex-and-agents-customizations/.agents/skills/self-explanatory-code-commenting/SKILL.md +102 -0
  131. package/resources/codex-and-agents-customizations/.agents/skills/skill-canonical-location-audit/SKILL.md +52 -0
  132. package/resources/codex-and-agents-customizations/.agents/skills/translate-copilot-to-claude/SKILL.md +317 -0
  133. package/resources/codex-and-agents-customizations/.agents/skills/typescript/SKILL.md +50 -0
  134. package/resources/codex-and-agents-customizations/.agents/skills/typescript-suppressions/SKILL.md +71 -0
  135. package/resources/codex-and-agents-customizations/.agents/skills/update-status/SKILL.md +26 -0
  136. package/resources/codex-and-agents-customizations/.codex/agents/5.1-beast-adjusted.toml +23 -0
  137. package/resources/codex-and-agents-customizations/.codex/agents/5.1-thinking-beast-mode-adjusted.toml +23 -0
  138. package/resources/codex-and-agents-customizations/.codex/agents/api-architect.toml +23 -0
  139. package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor.toml +151 -0
  140. package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner.toml +93 -0
  141. package/resources/codex-and-agents-customizations/.codex/agents/atomic-planning.toml +24 -0
  142. package/resources/codex-and-agents-customizations/.codex/agents/commentary-remediation.toml +23 -0
  143. package/resources/codex-and-agents-customizations/.codex/agents/commit-steward.toml +20 -0
  144. package/resources/codex-and-agents-customizations/.codex/agents/csharp-atomic-executor.toml +24 -0
  145. package/resources/codex-and-agents-customizations/.codex/agents/csharp-atomic-planning.toml +25 -0
  146. package/resources/codex-and-agents-customizations/.codex/agents/csharp-orchestrator.toml +56 -0
  147. package/resources/codex-and-agents-customizations/.codex/agents/csharp-typed-engineer.toml +97 -0
  148. package/resources/codex-and-agents-customizations/.codex/agents/epic-review.toml +52 -0
  149. package/resources/codex-and-agents-customizations/.codex/agents/expert-nextjs-developer.toml +23 -0
  150. package/resources/codex-and-agents-customizations/.codex/agents/expert-react-frontend-engineer.toml +23 -0
  151. package/resources/codex-and-agents-customizations/.codex/agents/feature-review.toml +149 -0
  152. package/resources/codex-and-agents-customizations/.codex/agents/feature-reviewer.toml +60 -0
  153. package/resources/codex-and-agents-customizations/.codex/agents/gpt-5-beast-mode.toml +23 -0
  154. package/resources/codex-and-agents-customizations/.codex/agents/hlbpa.toml +23 -0
  155. package/resources/codex-and-agents-customizations/.codex/agents/mentor.toml +23 -0
  156. package/resources/codex-and-agents-customizations/.codex/agents/orchestrator.toml +121 -0
  157. package/resources/codex-and-agents-customizations/.codex/agents/powershell-atomic-executor.toml +24 -0
  158. package/resources/codex-and-agents-customizations/.codex/agents/powershell-atomic-planning.toml +25 -0
  159. package/resources/codex-and-agents-customizations/.codex/agents/powershell-di-unit-test-engineer.toml +24 -0
  160. package/resources/codex-and-agents-customizations/.codex/agents/powershell-orchestrator.toml +56 -0
  161. package/resources/codex-and-agents-customizations/.codex/agents/powershell-typed-engineer.toml +108 -0
  162. package/resources/codex-and-agents-customizations/.codex/agents/pr-author.toml +26 -0
  163. package/resources/codex-and-agents-customizations/.codex/agents/prd-feature.toml +53 -0
  164. package/resources/codex-and-agents-customizations/.codex/agents/prd.toml +23 -0
  165. package/resources/codex-and-agents-customizations/.codex/agents/pytest-unit-test-coding.toml +24 -0
  166. package/resources/codex-and-agents-customizations/.codex/agents/python-atomic-executor.toml +24 -0
  167. package/resources/codex-and-agents-customizations/.codex/agents/python-atomic-planning.toml +25 -0
  168. package/resources/codex-and-agents-customizations/.codex/agents/python-execution-only-typed.toml +24 -0
  169. package/resources/codex-and-agents-customizations/.codex/agents/python-orchestrator.toml +54 -0
  170. package/resources/codex-and-agents-customizations/.codex/agents/python-typed-engineer.toml +100 -0
  171. package/resources/codex-and-agents-customizations/.codex/agents/staged-review.toml +53 -0
  172. package/resources/codex-and-agents-customizations/.codex/agents/status-updater.toml +53 -0
  173. package/resources/codex-and-agents-customizations/.codex/agents/task-researcher.toml +103 -0
  174. package/resources/codex-and-agents-customizations/.codex/agents/tdd-green.toml +23 -0
  175. package/resources/codex-and-agents-customizations/.codex/agents/tdd-red.toml +23 -0
  176. package/resources/codex-and-agents-customizations/.codex/agents/tdd-refactor.toml +23 -0
  177. package/resources/codex-and-agents-customizations/.codex/agents/typescript-engineer.toml +48 -0
  178. package/resources/codex-and-agents-customizations/.codex/agents/voidbeast-gpt41enhanced.toml +23 -0
  179. package/resources/codex-and-agents-customizations/.codex/codex-web-setup.plan.md +26 -0
  180. package/resources/codex-and-agents-customizations/.codex/codex-web-setup.sh +384 -0
  181. package/resources/codex-and-agents-customizations/.codex/config.toml +137 -0
  182. package/resources/codex-and-agents-customizations/.codex/hooks/check-powershell-test-purity.ps1 +113 -0
  183. package/resources/codex-and-agents-customizations/.codex/hooks/check-python-test-purity.ps1 +149 -0
  184. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-evidence-locations.ps1 +153 -0
  185. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-powershell-batch-budget.ps1 +241 -0
  186. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-promotion-mcp-only.ps1 +150 -0
  187. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-python-batch-budget.ps1 +238 -0
  188. package/resources/codex-and-agents-customizations/.codex/hooks/validate-bash.ps1 +72 -0
  189. package/resources/codex-and-agents-customizations/.codex/hooks/validate-feature-review-coverage.ps1 +265 -0
  190. package/resources/codex-and-agents-customizations/.codex/prompts/feature-review-remediate.md +10 -0
  191. package/resources/codex-and-agents-customizations/.codex/prompts/generate-commit-message-repo.md +11 -0
  192. package/resources/codex-and-agents-customizations/.codex/prompts/generate-pr.md +15 -0
  193. package/resources/codex-and-agents-customizations/.codex/prompts/orchestrate-work.md +22 -0
  194. package/resources/codex-and-agents-customizations/AGENTS.md +317 -0
  195. package/resources/customizations/.github/agents/5.1-Beast-adjusted.agent.md +181 -0
  196. package/resources/customizations/.github/agents/5.1-Thinking-Beast-Mode-adjusted.agent.md +361 -0
  197. package/resources/customizations/.github/agents/Powershell DI Unit Test Engineer.agent.md +192 -0
  198. package/resources/customizations/.github/agents/api-architect.agent.md +40 -0
  199. package/resources/customizations/.github/agents/atomic_executor.agent.md +251 -0
  200. package/resources/customizations/.github/agents/atomic_planning.agent.md +658 -0
  201. package/resources/customizations/.github/agents/commentary-remediation.agent.md +35 -0
  202. package/resources/customizations/.github/agents/commit-steward.agent.md +200 -0
  203. package/resources/customizations/.github/agents/csharp-atomic-executor.agent.md +288 -0
  204. package/resources/customizations/.github/agents/csharp-atomic-planning.agent.md +354 -0
  205. package/resources/customizations/.github/agents/csharp-orchestrator.agent.md +375 -0
  206. package/resources/customizations/.github/agents/csharp-typed-engineer.agent.md +285 -0
  207. package/resources/customizations/.github/agents/epic-review.agent.md +374 -0
  208. package/resources/customizations/.github/agents/expert-nextjs-developer.agent.md +477 -0
  209. package/resources/customizations/.github/agents/expert-react-frontend-engineer.agent.md +739 -0
  210. package/resources/customizations/.github/agents/feature-review.agent.md +49 -0
  211. package/resources/customizations/.github/agents/gpt-5-beast-mode.agent.md +116 -0
  212. package/resources/customizations/.github/agents/hlbpa.agent.md +219 -0
  213. package/resources/customizations/.github/agents/mentor.agent.md +32 -0
  214. package/resources/customizations/.github/agents/orchestrator.agent.md +449 -0
  215. package/resources/customizations/.github/agents/powershell-atomic-executor.agent.md +287 -0
  216. package/resources/customizations/.github/agents/powershell-atomic-planning.agent.md +647 -0
  217. package/resources/customizations/.github/agents/powershell-orchestrator.agent.md +382 -0
  218. package/resources/customizations/.github/agents/powershell-typed-engineer.agent.md +293 -0
  219. package/resources/customizations/.github/agents/pr-author.agent.md +138 -0
  220. package/resources/customizations/.github/agents/prd-feature.agent.md +52 -0
  221. package/resources/customizations/.github/agents/prd.agent.md +202 -0
  222. package/resources/customizations/.github/agents/pytest-unit-test-coding.agent.md +202 -0
  223. package/resources/customizations/.github/agents/python-atomic-executor.agent.md +289 -0
  224. package/resources/customizations/.github/agents/python-atomic-planning.agent.md +429 -0
  225. package/resources/customizations/.github/agents/python-execution-only-typed.agent.md +217 -0
  226. package/resources/customizations/.github/agents/python-orchestrator.agent.md +380 -0
  227. package/resources/customizations/.github/agents/python-typed-engineer.agent.md +271 -0
  228. package/resources/customizations/.github/agents/staged-review.agent.md +246 -0
  229. package/resources/customizations/.github/agents/status_updater.agent.md +279 -0
  230. package/resources/customizations/.github/agents/task-researcher.agent.md +298 -0
  231. package/resources/customizations/.github/agents/tdd-green.agent.md +60 -0
  232. package/resources/customizations/.github/agents/tdd-red.agent.md +66 -0
  233. package/resources/customizations/.github/agents/tdd-refactor.agent.md +94 -0
  234. package/resources/customizations/.github/agents/typescript-engineer.agent.md +167 -0
  235. package/resources/customizations/.github/agents/voidbeast-gpt41enhanced.agent.md +230 -0
  236. package/resources/customizations/.github/codex/execute-hard-lock.prompt.md +105 -0
  237. package/resources/customizations/.github/codex/resume-hard-lock.prompt.md +92 -0
  238. package/resources/customizations/.github/copilot-instructions.md +7 -0
  239. package/resources/customizations/.github/instructions/csharp-code-change.instructions.md +184 -0
  240. package/resources/customizations/.github/instructions/csharp-unit-test.instructions.md +52 -0
  241. package/resources/customizations/.github/instructions/general-code-change.instructions.md +290 -0
  242. package/resources/customizations/.github/instructions/general-unit-test.instructions.md +106 -0
  243. package/resources/customizations/.github/instructions/github-actions-ci-cd-best-practices.instructions.md +607 -0
  244. package/resources/customizations/.github/instructions/github-actions.instructions.md +23 -0
  245. package/resources/customizations/.github/instructions/powershell-code-change.instructions.md +81 -0
  246. package/resources/customizations/.github/instructions/powershell-unit-test.instructions.md +69 -0
  247. package/resources/customizations/.github/instructions/python-code-change.instructions.md +232 -0
  248. package/resources/customizations/.github/instructions/python-suppressions.instructions.md +609 -0
  249. package/resources/customizations/.github/instructions/python-unit-test.instructions.md +71 -0
  250. package/resources/customizations/.github/instructions/self-explanatory-code-commenting.instructions.md +238 -0
  251. package/resources/customizations/.github/instructions/tonality.instructions.md +133 -0
  252. package/resources/customizations/.github/instructions/typescript-code-change.instructions.md +203 -0
  253. package/resources/customizations/.github/instructions/typescript-suppressions.instructions.md +157 -0
  254. package/resources/customizations/.github/instructions/typescript-unit-test.instructions.md +112 -0
  255. package/resources/customizations/.github/prompts/add-educational-comments.prompt.md +129 -0
  256. package/resources/customizations/.github/prompts/breakdown-bug-prd.prompt.md +29 -0
  257. package/resources/customizations/.github/prompts/breakdown-epic-arch.prompt.md +66 -0
  258. package/resources/customizations/.github/prompts/breakdown-epic-pm.prompt.md +58 -0
  259. package/resources/customizations/.github/prompts/breakdown-feature-implementation.prompt.md +128 -0
  260. package/resources/customizations/.github/prompts/breakdown-feature-prd.prompt.md +61 -0
  261. package/resources/customizations/.github/prompts/code-exemplars-blueprint-generator.prompt.md +126 -0
  262. package/resources/customizations/.github/prompts/drafts/create-github-issues-feature-from-implementation-plan.prompt.md +28 -0
  263. package/resources/customizations/.github/prompts/drafts/create-implementation-plan.prompt.md +158 -0
  264. package/resources/customizations/.github/prompts/drafts/create-technical-spike.prompt.md +231 -0
  265. package/resources/customizations/.github/prompts/drafts/potential-feature-prd.prompt.md +19 -0
  266. package/resources/customizations/.github/prompts/drafts/update-implementation-plan.prompt.md +158 -0
  267. package/resources/customizations/.github/prompts/execute-plan-template.md +21 -0
  268. package/resources/customizations/.github/prompts/export-chat.prompt.md +7 -0
  269. package/resources/customizations/.github/prompts/fillout-prd-feature.prompt.md +46 -0
  270. package/resources/customizations/.github/prompts/generate-atomic-plan.prompt.md +96 -0
  271. package/resources/customizations/.github/prompts/generate-commit-message-repo.prompt.md +108 -0
  272. package/resources/customizations/.github/prompts/generate-pr.prompt.md +151 -0
  273. package/resources/customizations/.github/prompts/javascript-typescript-jest.prompt.md +44 -0
  274. package/resources/customizations/.github/prompts/orchestrate-csharp-work.prompt.md +66 -0
  275. package/resources/customizations/.github/prompts/orchestrate-powershell-work.prompt.md +50 -0
  276. package/resources/customizations/.github/prompts/orchestrate-python-work.prompt.md +50 -0
  277. package/resources/customizations/.github/prompts/orchestrate-work.prompt.md +66 -0
  278. package/resources/customizations/.github/prompts/remediate-comments.prompt.md +53 -0
  279. package/resources/customizations/.github/prompts/research-issue.prompt.md +125 -0
  280. package/resources/customizations/.github/prompts/review-epic.prompt.md +94 -0
  281. package/resources/customizations/.github/prompts/review-feature.prompt.md +130 -0
  282. package/resources/customizations/.github/prompts/review-staged.prompt.md +43 -0
  283. package/resources/customizations/.github/prompts/update_status.prompt.md +68 -0
  284. package/resources/customizations/.github/skills/README.md +26 -0
  285. package/resources/customizations/.github/skills/acceptance-criteria-tracking/SKILL.md +102 -0
  286. package/resources/customizations/.github/skills/atomic-plan-contract/SKILL.md +174 -0
  287. package/resources/customizations/.github/skills/csharp-change-budget-router/SKILL.md +48 -0
  288. package/resources/customizations/.github/skills/csharp-orchestration-state-machine/SKILL.md +57 -0
  289. package/resources/customizations/.github/skills/evidence-and-timestamp-conventions/SKILL.md +135 -0
  290. package/resources/customizations/.github/skills/feature-promotion-lifecycle/SKILL.md +121 -0
  291. package/resources/customizations/.github/skills/feature-review-workflow/SKILL.md +153 -0
  292. package/resources/customizations/.github/skills/make-skill-template/SKILL.md +147 -0
  293. package/resources/customizations/.github/skills/policy-audit-template-usage/SKILL.md +48 -0
  294. package/resources/customizations/.github/skills/policy-compliance-order/SKILL.md +37 -0
  295. package/resources/customizations/.github/skills/powershell-change-budget-router/SKILL.md +48 -0
  296. package/resources/customizations/.github/skills/powershell-orchestration-state-machine/SKILL.md +57 -0
  297. package/resources/customizations/.github/skills/pr-base-branch-merge-base/SKILL.md +55 -0
  298. package/resources/customizations/.github/skills/pr-context-artifacts/SKILL.md +29 -0
  299. package/resources/customizations/.github/skills/remediation-handoff-atomic-planner/SKILL.md +39 -0
  300. package/resources/customizations/.github/skills/skill-canonical-location-audit/SKILL.md +48 -0
  301. package/resources/feature-templates/bug/plan.yyyy-MM-ddTHH-mm.md +44 -0
  302. package/resources/feature-templates/bug/potential_bug.md +59 -0
  303. package/resources/feature-templates/bug/spec.md +99 -0
  304. package/resources/feature-templates/epic/initiative.md +43 -0
  305. package/resources/feature-templates/feature/plan.yyyy-MM-ddTHH-mm.md +53 -0
  306. package/resources/feature-templates/feature/spec.md +66 -0
  307. package/resources/feature-templates/feature/user-story.md +42 -0
  308. package/resources/feature-templates/potential/template.md +33 -0
  309. package/resources/feature-templates/refactor/plan.yyyy-MM-ddTHH-mm.md +52 -0
  310. package/resources/feature-templates/refactor/spec.md +69 -0
  311. package/resources/powershell/PoshQC/PoshQC.Analyzer.psm1 +254 -0
  312. package/resources/powershell/PoshQC/PoshQC.FileDiscovery.psm1 +138 -0
  313. package/resources/powershell/PoshQC/PoshQC.Testing.psm1 +409 -0
  314. package/resources/powershell/PoshQC/PoshQC.psd1 +31 -0
  315. package/resources/powershell/PoshQC/PoshQC.psm1 +101 -0
  316. package/resources/powershell/PoshQC/README.md +80 -0
  317. package/resources/powershell/PoshQC/settings/pester.runsettings.psd1 +59 -0
  318. package/resources/powershell/PoshQC/settings/pssa.settings.psd1 +55 -0
  319. package/resources/scripts/dev_tools/__init__.py +0 -0
  320. package/resources/scripts/dev_tools/agentic_sync.py +819 -0
  321. package/resources/scripts/dev_tools/codex_native_converter/__init__.py +11 -0
  322. package/resources/scripts/dev_tools/codex_native_converter/__main__.py +6 -0
  323. package/resources/scripts/dev_tools/codex_native_converter/cli.py +11 -0
  324. package/resources/scripts/dev_tools/new_active_feature_folder.py +79 -0
  325. package/resources/scripts/dev_tools/new_active_feature_folder_docs.py +268 -0
  326. package/resources/scripts/dev_tools/new_active_feature_folder_flow.py +366 -0
  327. package/resources/scripts/dev_tools/new_active_feature_folder_io.py +306 -0
  328. package/resources/scripts/dev_tools/new_active_feature_folder_markdown.py +252 -0
  329. package/resources/scripts/dev_tools/new_active_feature_folder_models.py +136 -0
  330. package/resources/scripts/dev_tools/new_potential_bug_entry.py +465 -0
  331. package/resources/scripts/dev_tools/potential_to_issue.py +421 -0
  332. package/resources/scripts/dev_tools/potential_to_issue_content.py +212 -0
  333. package/resources/scripts/dev_tools/pr_context/__init__.py +0 -0
  334. package/resources/scripts/dev_tools/pr_context/collector.py +619 -0
  335. package/resources/scripts/dev_tools/pr_context/feature_docs.py +349 -0
  336. package/resources/scripts/dev_tools/pr_context/git.py +153 -0
  337. package/resources/scripts/dev_tools/pr_context/github.py +549 -0
  338. package/resources/scripts/dev_tools/pr_context/models.py +198 -0
  339. package/resources/scripts/dev_tools/pr_context/render.py +342 -0
  340. package/resources/scripts/dev_tools/pr_context/render_feature_excerpts.py +256 -0
  341. package/resources/scripts/dev_tools/pr_context/render_pr_helpers.py +291 -0
  342. package/resources/scripts/dev_tools/pr_context/summary_helpers.py +386 -0
  343. package/resources/scripts/dev_tools/pr_context/verification_evidence.py +171 -0
  344. package/resources/scripts/dev_tools/prompt_mode_contract.py +152 -0
  345. package/resources/scripts/dev_tools/push_down_claude_customizations.py +188 -0
  346. package/resources/scripts/dev_tools/push_down_codex_and_agents_customizations.py +139 -0
  347. package/resources/scripts/dev_tools/push_down_copilot_customizations.py +504 -0
  348. package/resources/scripts/dev_tools/push_down_copilot_customizations_filesystem.py +217 -0
  349. package/resources/scripts/dev_tools/push_down_copilot_customizations_rewrites.py +293 -0
  350. package/resources/scripts/dev_tools/resolve_file_prompt.py +457 -0
  351. package/resources/scripts/dev_tools/resolve_hard_lock_prompt.py +444 -0
  352. package/resources/scripts/dev_tools/validate_orchestration_artifacts.py +554 -0
  353. package/resources/templates/codex_native_converter.py +35 -0
  354. package/resources/templates/collect_commit_context.py +212 -0
  355. package/resources/templates/collect_pr_context.py +74 -0
  356. package/resources/templates/hello_pwsh.ps1 +3 -0
  357. package/resources/templates/hello_python.py +11 -0
  358. package/resources/templates/link-parent-child.ps1 +480 -0
  359. package/resources/templates/new-claude-worktree-session.ps1 +232 -0
  360. package/resources/templates/new-potential-entry.ps1 +187 -0
  361. package/resources/templates/new_active_feature_folder.py +67 -0
  362. package/resources/templates/new_potential_bug_entry.py +54 -0
  363. package/resources/templates/policy_audit/AGENTS.md +117 -0
  364. package/resources/templates/policy_audit/code-review.yyyy-MM-ddTHH-mm.md +165 -0
  365. package/resources/templates/policy_audit/feature-audit.yyyy-MM-ddTHH-mm.md +124 -0
  366. package/resources/templates/policy_audit/policy-audit.yyyy-MM-ddTHH-mm.md +649 -0
  367. package/resources/templates/potential_to_issue.py +55 -0
  368. package/resources/templates/push_down_claude_customizations.py +188 -0
  369. package/resources/templates/push_down_codex_and_agents_customizations.py +95 -0
  370. package/resources/templates/push_down_copilot_customizations.py +124 -0
  371. package/resources/templates/resolve_atomic_plan_prompt.py +75 -0
  372. package/resources/templates/resolve_hard_lock_prompt.py +65 -0
  373. package/resources/templates/run-poshqc-analyze-autofix.ps1 +16 -0
  374. package/resources/templates/run-poshqc-analyze.ps1 +26 -0
  375. package/resources/templates/run-poshqc-format.ps1 +26 -0
  376. package/resources/templates/run-poshqc-suite.ps1 +24 -0
  377. package/resources/templates/run-poshqc-test.ps1 +32 -0
  378. package/resources/templates/sync-agents-from-instructions.ps1 +400 -0
  379. package/resources/templates/validate_orchestration_artifacts.py +55 -0
  380. package/resources/templates/vscode-cli.helpers.ps1 +63 -0
@@ -0,0 +1,66 @@
1
+ ---
2
+ paths:
3
+ - "**/*.ts"
4
+ description: Pre-authorized ESLint and TypeScript suppression patterns. Applies to TypeScript files.
5
+ ---
6
+
7
+ # TypeScript Suppression Policy
8
+
9
+ This rule file summarizes the suppression authorization policy for TypeScript code.
10
+
11
+ ## Authorization Requirement
12
+
13
+ All ESLint and TypeScript suppressions must either:
14
+ 1. **Match a pre-authorized pattern** defined in this file, OR
15
+ 2. **Have explicit user approval** for that specific suppression.
16
+
17
+ **Escalation path before requesting approval:**
18
+ 1. First, attempt to resolve the error without a suppression (refactor, restructure, adjust types).
19
+ 2. If that fails, try at least five more distinct approaches.
20
+ 3. Continue iterating until you solve the problem or clearly demonstrate why each approach fails.
21
+ 4. Only after multiple documented failed attempts may you request user approval, providing: the specific rule/error code, each approach tried and why it failed, and why a suppression is the only remaining option.
22
+
23
+ ## Pre-Authorized Patterns
24
+
25
+ ### ESLint — Single-rule, single-line disable
26
+
27
+ **Pattern:** `// eslint-disable-next-line <rule-name> -- <reason>`
28
+
29
+ **When authorized:**
30
+ - Suppresses exactly one ESLint rule for exactly one following line.
31
+ - The reason is specific and local to the code (not "annoying rule", "temporary", or "works").
32
+ - The suppression does not hide a real bug or broaden the type surface unnecessarily.
33
+
34
+ **Required comment format:** The `-- <reason>` suffix is mandatory and must explain why the suppression is safe in this specific local context.
35
+
36
+ ### TypeScript — Single-line expect-error
37
+
38
+ **Pattern:** `// @ts-expect-error -- <reason>`
39
+
40
+ **When authorized:**
41
+ - A single line is flagged by TypeScript and you can explain the mismatch precisely.
42
+ - The reason explains what TypeScript is complaining about AND why this line is safe anyway.
43
+ - Prefer fixing types, adding runtime guards, or refining control flow over suppressions.
44
+
45
+ **Self-auditing:** `@ts-expect-error` fails the build if the error disappears, preventing stale suppressions.
46
+
47
+ **Required comment format:** The `-- <reason>` suffix is mandatory.
48
+
49
+ ## Explicitly Prohibited Patterns
50
+
51
+ These patterns require explicit user approval and should generally be avoided:
52
+
53
+ | Pattern | Reason prohibited |
54
+ |---------|-------------------|
55
+ | `/* eslint-disable */` | File-level; extremely large blast radius; hides unrelated problems. |
56
+ | `/* eslint-disable <rule> */` | File-level; use single-line suppression instead. |
57
+ | `// @ts-ignore` | Can silently mask real problems; does not fail when the error disappears. |
58
+ | `// @ts-nocheck` | Disables type checking for the entire file; defeats repo type-safety standards. |
59
+
60
+ ## Policy Enforcement Checklist
61
+
62
+ Before using any suppression, verify:
63
+ - [ ] Pattern exactly matches a pre-authorized pattern above.
64
+ - [ ] Required comment format (`-- <reason>`) is used.
65
+ - [ ] Scope is the smallest possible (single rule, single line).
66
+ - [ ] The reason is specific and explains why the code is safe.
@@ -0,0 +1,45 @@
1
+ ---
2
+ paths:
3
+ - "**/*.ts"
4
+ description: TypeScript-specific toolchain and coding standards.
5
+ ---
6
+
7
+ # TypeScript Code Standards
8
+
9
+ This rule file summarizes the TypeScript-specific policies for this repository.
10
+
11
+ ## Toolchain
12
+
13
+ 1. **Formatting — Prettier**: All TypeScript must be formatted with the repository Prettier configuration. Command: `npm run format`
14
+ 2. **Linting — ESLint**: TypeScript must pass ESLint using the repository configuration. Command: `npm run lint`
15
+ 3. **Type Checking — TSC**: TypeScript must pass the compiler type-check. Avoid `any`; prefer `unknown` plus narrowing. Command: `npm run typecheck`
16
+ 4. **Testing — Jest**: All TypeScript unit tests must use Jest. Command: `npm run test:unit`
17
+
18
+ Run the toolchain in order: format → lint → type-check → test. Restart from step 1 if any step fails or changes files.
19
+
20
+ ## Coding Standards
21
+
22
+ - New user-invocable workflows belong under `.claude/skills/` rather than `.claude/commands/`.
23
+ - **Strong typing**: Public functions, methods, and exported APIs must have clear, intentional types. Avoid type assertions (`as X`) unless justified.
24
+ - **ES modules**: Use ES module syntax. Do not introduce CommonJS patterns (`require`, `module.exports`).
25
+ - **Domain types**: Model domain concepts with interfaces/types that encode invariants. Prefer discriminated unions for state machines.
26
+ - **Naming**: `PascalCase` for classes, interfaces, enums, and type aliases. `camelCase` for functions, methods, variables, and object properties. No `I` prefix on interfaces.
27
+ - **File naming**: Prefer kebab-case filenames (e.g., `user-session.ts`, `task-runner.ts`).
28
+ - **Separation of concerns**: Keep pure logic separate from VS Code extension APIs, filesystem/network I/O, and UI wiring.
29
+ - **Error handling**: Fail fast with clear errors. Avoid catch-all `catch (e)` without rethrowing or adding context.
30
+ - **Dependencies**: Do not add new runtime dependencies unless explicitly approved.
31
+
32
+ ## Testing Standards
33
+
34
+ - Use **Jest** as the test framework.
35
+ - Name test files `*.test.ts`.
36
+ - Unit tests must not require the VS Code extension host.
37
+ - Follow Arrange–Act–Assert structure.
38
+ - Each test targets one behavior.
39
+ - Use `jest.spyOn` or `jest.mock` for targeted mocking; reset mocks with `afterEach(() => { jest.resetAllMocks(); })`.
40
+ - No external dependencies (network, filesystem temp files, external processes) in unit tests.
41
+ - Avoid snapshot tests unless stable and intentional.
42
+ - Repository-wide line coverage must remain >= 80%.
43
+ - Any new module, class, or method must reach >= 90% coverage.
44
+ - Coverage command: `npm run test:unit:coverage`
45
+ - Coverage regression on changed lines is a blocking finding.
@@ -0,0 +1,144 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/claude-code-settings.json",
3
+ "agent": "orchestrator",
4
+ "permissions": {
5
+ "allow": [
6
+ "Bash(git *)",
7
+ "Bash(poetry run *)",
8
+ "Bash(pwsh *)",
9
+ "Read",
10
+ "Edit(/docs/**)",
11
+ "Write(/docs/**)",
12
+ "Write(/artifacts/**)",
13
+ "mcp__drmCopilotExtension__run_poshqc_format",
14
+ "mcp__drmCopilotExtension__run_poshqc_analyze",
15
+ "mcp__drmCopilotExtension__run_poshqc_test",
16
+ "mcp__drmCopilotExtension__run_poshqc_analyze_autofix",
17
+ "mcp__drmCopilotExtension__resolve_execute_hard_lock_prompt",
18
+ "mcp__drmCopilotExtension__collect_pr_context",
19
+ "mcp__drmCopilotExtension__new_potential_entry",
20
+ "mcp__drmCopilotExtension__new_potential_bug_entry",
21
+ "mcp__drmCopilotExtension__potential_to_issue",
22
+ "mcp__drmCopilotExtension__new_active_feature_folder",
23
+ "mcp__drmCopilotExtension__validate_orchestration_artifacts",
24
+ "mcp__drmCopilotExtension__resolve_atomic_plan_prompt",
25
+ "Agent(atomic-planner)",
26
+ "Agent(atomic-executor)",
27
+ "Agent(feature-review)",
28
+ "Agent(task-researcher)",
29
+ "Agent(prd-feature)",
30
+ "Agent(staged-review)",
31
+ "Agent(epic-review)",
32
+ "Agent(status-updater)",
33
+ "Agent(python-typed-engineer)",
34
+ "Agent(powershell-typed-engineer)",
35
+ "Agent(csharp-typed-engineer)",
36
+ "Agent(typescript-engineer)",
37
+ "Skill(orchestrate *)",
38
+ "Skill(commit-message *)",
39
+ "Skill(pr-author *)",
40
+ "Skill(research-issue *)",
41
+ "Skill(review-feature *)",
42
+ "Skill(review-staged *)",
43
+ "Skill(review-epic *)",
44
+ "Skill(update-status *)",
45
+ "Skill(fill-feature-docs *)",
46
+ "Skill(python-change-budget-router *)",
47
+ "Skill(python-qa-gate *)",
48
+ "Skill(invoke-python-engineer *)",
49
+ "Skill(powershell-change-budget-router *)",
50
+ "Skill(powershell-qa-gate *)",
51
+ "Skill(invoke-powershell-engineer *)",
52
+ "Skill(translate-copilot-to-claude *)",
53
+ "Skill(execute-hard-lock *)",
54
+ "Edit(/.claude/skills/execute-hard-lock/**)",
55
+ "Edit(/.claude/skills/feature-review-workflow/**)",
56
+ "Edit(/.claude/skills/csharp-qa-gate/**)"
57
+ ],
58
+ "deny": [
59
+ "Read(./.env)",
60
+ "Read(./.env.*)",
61
+ "Read(./secrets/**)",
62
+ "Edit(./secrets/**)",
63
+ "Write(./secrets/**)"
64
+ ],
65
+ "additionalDirectories": [
66
+ "c:\\Users\\DanMoisan\\repos\\drm-copilot\\.claude\\skills\\execute-hard-lock"
67
+ ]
68
+ },
69
+ "hooks": {
70
+ "PreToolUse": [
71
+ {
72
+ "matcher": "Bash",
73
+ "hooks": [
74
+ {
75
+ "type": "command",
76
+ "command": "pwsh -NoProfile -File .claude/hooks/validate-bash.ps1"
77
+ },
78
+ {
79
+ "type": "command",
80
+ "command": "pwsh -NoProfile -File .claude/hooks/enforce-promotion-mcp-only.ps1"
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "matcher": "Write|Edit",
86
+ "hooks": [
87
+ {
88
+ "type": "command",
89
+ "command": "pwsh -NoProfile -File .claude/hooks/check-python-test-purity.ps1"
90
+ },
91
+ {
92
+ "type": "command",
93
+ "command": "pwsh -NoProfile -File .claude/hooks/enforce-python-batch-budget.ps1"
94
+ },
95
+ {
96
+ "type": "command",
97
+ "command": "pwsh -NoProfile -File .claude/hooks/check-powershell-test-purity.ps1"
98
+ },
99
+ {
100
+ "type": "command",
101
+ "command": "pwsh -NoProfile -File .claude/hooks/enforce-powershell-batch-budget.ps1"
102
+ },
103
+ {
104
+ "type": "command",
105
+ "command": "pwsh -NoProfile -File .claude/hooks/enforce-evidence-locations.ps1"
106
+ }
107
+ ]
108
+ }
109
+ ],
110
+ "SubagentStop": [
111
+ {
112
+ "matcher": "atomic-planner|atomic-executor|feature-review|task-researcher|prd-feature|staged-review|epic-review|status-updater|python-typed-engineer|powershell-typed-engineer|csharp-typed-engineer|typescript-engineer",
113
+ "hooks": [
114
+ {
115
+ "type": "command",
116
+ "command": "pwsh -NoProfile -Command \"$input = $env:CLAUDE_HOOK_INPUT | ConvertFrom-Json; $output = $input.output; if (-not ($output -match '(plan-path|research-path|review-artifact|PREFLIGHT|evidence/)')) { Write-Error 'Subagent stopped without required completion artifact path'; exit 1 }; exit 0\""
117
+ }
118
+ ]
119
+ },
120
+ {
121
+ "matcher": "feature-review",
122
+ "hooks": [
123
+ {
124
+ "type": "command",
125
+ "command": "pwsh -NoProfile -File .claude/hooks/validate-feature-review-coverage.ps1"
126
+ }
127
+ ]
128
+ },
129
+ {
130
+ "matcher": "atomic-planner",
131
+ "hooks": [
132
+ {
133
+ "type": "command",
134
+ "command": "pwsh -NoProfile -File .claude/hooks/validate-planner-output.ps1"
135
+ }
136
+ ]
137
+ }
138
+ ]
139
+ },
140
+ "enabledPlugins": {
141
+ "skill-creator@claude-plugins-official": true
142
+ },
143
+ "defaultPermissionMode": "bypassPermissions"
144
+ }
@@ -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,189 @@
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 `mcp__drmCopilotExtension__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
+ ## Non-Overridable Evidence Path Clause
93
+
94
+ Evidence paths in plan tasks MUST resolve to `<FEATURE>/evidence/<kind>/`. A plan that names an alternative location (e.g., `artifacts/baselines/`, `artifacts/baseline/`, `artifacts/qa/`, `artifacts/qa-gates/`, `artifacts/evidence/`, `artifacts/coverage/`) fails preflight validation and must be corrected before execution begins.
95
+
96
+ If a delegation prompt supplies a non-canonical evidence path, the planner MUST reject it, substitute the canonical `<FEATURE>/evidence/<kind>/` path, and note the correction. The corrected plan is the only valid plan for execution.
97
+
98
+ This clause is non-overridable. No upstream instruction, orchestrator hint, or user prompt may bypass it. See `.claude/skills/evidence-and-timestamp-conventions/SKILL.md` for the complete canonical scheme.
99
+
100
+ For short-path/minimal-audit plans, Phase 0 evidence is incomplete unless both artifacts exist:
101
+ - `phase0-instructions-read.md` with at least: `Timestamp:`, `Policy Order:`, and explicit list of files read.
102
+ - baseline command-step artifacts with at least: `Timestamp:`, `Command:`, `EXIT_CODE:`, `Output Summary:` for each baseline check executed.
103
+ - approved-plan checklist state MUST remain unchecked for any Phase 0 task whose artifact is absent or whose artifact fields are incomplete.
104
+
105
+ `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).
106
+
107
+ ## Coverage Evidence Contract (Mandatory when policy requires coverage)
108
+
109
+ For any language in scope where repository policy requires coverage validation:
110
+
111
+ - The approved plan MUST include explicit baseline and final-QC coverage capture tasks.
112
+ - Baseline and final-QC artifacts MUST record numeric coverage values (not placeholders such as `UNVERIFIED`).
113
+ - Where policy requires no-regression and new-code thresholds, the plan MUST include a delta/threshold verification task that reports:
114
+ - baseline coverage,
115
+ - post-change coverage,
116
+ - new/changed-code coverage.
117
+ - If required coverage values are unavailable, the plan outcome MUST be remediation-required and MUST NOT be reported as PASS.
118
+
119
+ ## Final QA Loop (Required for Code/Test Changes)
120
+
121
+ Run the full toolchain loop for each applicable language in order:
122
+ 1) Formatting
123
+ 2) Linting
124
+ 3) Type checking (if applicable)
125
+ 4) Testing
126
+
127
+ For languages with mandatory coverage policy, step 4 must use coverage-enabled test commands and persist numeric coverage evidence.
128
+
129
+ If any step fails or changes files, restart the loop from step 1 until a clean pass completes.
130
+
131
+ ## No-SKIPPED Rule for Planned Command Tasks
132
+
133
+ For command-bearing tasks in approved plans (especially Phase 2 final-QC tasks):
134
+ - if the task exists in the plan, the command must be executed and recorded,
135
+ - `EXIT_CODE: SKIPPED` MUST NOT be used as a passing outcome,
136
+ - exceptions are allowed only when the task text itself explicitly contains a skip branch and that branch is intentionally approved in requirements.
137
+
138
+ ## Expect-Fail Test Tasks
139
+
140
+ Any regression test task expected to fail must be tagged with `[expect-fail]` and include an auditable evidence artifact per `evidence-and-timestamp-conventions`.
141
+
142
+ ## Preflight Validation (Planner ↔ Executor)
143
+
144
+ When validating or handing off plans for execution:
145
+ - Use the directive line: `DIRECTIVE: PREFLIGHT VALIDATION ONLY`.
146
+ - Require one of the exact signals:
147
+ - `PREFLIGHT: ALL CLEAR`
148
+ - `PREFLIGHT: REVISIONS REQUIRED`
149
+ - If revisions are required, provide a precise plan delta and repeat validation until all clear.
150
+ - If the required planner ↔ executor handoff cannot be started or completed, stop and report blocked state; do not self-approve the plan.
151
+
152
+ ## Validator Gate (Mandatory)
153
+
154
+ Before a plan can be treated as approved:
155
+
156
+ - run the `mcp__drmCopilotExtension__validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`,
157
+ - reject the plan if that validator exits non-zero,
158
+ - do not treat human-readable summaries as a substitute for validator success.
159
+
160
+ ## Plan-Path Continuity Contract (Mandatory)
161
+
162
+ When a caller provides an explicit target plan file path (for example `${plan-path}` or `${file}`):
163
+
164
+ - Planner MUST update that exact file in place.
165
+ - Planner MUST reuse the same file for all preflight revision iterations.
166
+ - Planner MUST NOT create additional timestamped sibling files (for example `plan.<timestamp>.md`) during the same planning cycle.
167
+
168
+ If the provided path does not exist, it may be created once, then reused for all subsequent revisions in that cycle.
169
+
170
+ ## Mode source precedence (Mandatory)
171
+
172
+ When a plan is generated or validated from a feature folder, resolve selected mode in this order:
173
+
174
+ 1) Persisted marker in `issue.md` metadata block:
175
+ - `- Work Mode: minor-audit`
176
+ - `- Work Mode: full-feature`
177
+ - `- Work Mode: full-bug`
178
+ 2) Legacy compatibility marker `- Work Mode: full` resolves to `full-feature`
179
+ 3) Explicit workflow override only when repo policy allows and only when reconciled against `issue.md`
180
+ 4) Fail closed to `full-feature` when marker is missing or malformed
181
+
182
+ ## Mode-Specific Mandatory Plan Gates
183
+
184
+ - `minor-audit` plans MUST include baseline evidence tasks, targeted verification evidence tasks, and end-state evidence tasks.
185
+ - `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.
186
+ - `minor-audit` plans MUST NOT treat missing `spec.md` or `user-story.md` as automatic blockers.
187
+ - `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.
188
+ - `full-feature` plans MUST enforce full-document expectations (`spec.md` + `user-story.md`) and full QA loop obligations.
189
+ - `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,65 @@
1
+ ---
2
+ name: commit-message
3
+ description: Generate a conventional commit message from staged Git changes following the repository's commit message conventions.
4
+ allowed-tools:
5
+ - Read
6
+ - "Bash(git log *)"
7
+ - "Bash(git diff *)"
8
+ ---
9
+
10
+ # Commit Message Skill
11
+
12
+ Generate a single conventional commit message from staged Git changes or a provided commit-context artifact.
13
+
14
+ ## Inputs
15
+
16
+ - Staged Git changes are the primary source of truth.
17
+ - Accept a commit-context artifact file when explicitly provided.
18
+ - Ignore unstaged changes unless included in the provided context.
19
+ - If no staged changes and no context artifact exist, stop and report that there is no in-scope commit content.
20
+
21
+ ## Context Gathering
22
+
23
+ 1. Use the supplied commit-context artifact first when present.
24
+ 2. Otherwise inspect the staged diff and commit history only:
25
+ - `git diff --cached --stat`
26
+ - `git diff --cached`
27
+ - `git diff --cached --name-only`
28
+ - `git log --oneline -n 20`
29
+ 3. Do not infer intent from unstaged files or unrelated commit history.
30
+
31
+ ## Classification
32
+
33
+ Follow Conventional Commits semantics. Choose exactly one primary type from: `feat`, `fix`, `docs`, `test`, `refactor`, `ci`, `chore`.
34
+
35
+ - Use the dominant intent of the staged changes.
36
+ - Prefer `docs`, `test`, or `fix` over `chore` when classification is ambiguous.
37
+ - Add a scope only when it materially improves clarity. Keep scopes concrete and subsystem-oriented.
38
+
39
+ ## Message Format
40
+
41
+ Output exactly one fenced code block with language tag `text` containing the commit message:
42
+
43
+ ```text
44
+ type(optional-scope): concise imperative summary
45
+
46
+ - Bullet describing meaningful change #1
47
+ - Bullet describing meaningful change #2
48
+
49
+ Refs: #<issue>
50
+ ```
51
+
52
+ Header rules: imperative mood, 72 characters or fewer, no trailing period, no filler words.
53
+
54
+ Body rules: use bullets only when they add signal beyond the header. Avoid implementation trivia.
55
+
56
+ Reference rules: include `Refs:` footer only when issue or PR references are present in the context. Do not invent references.
57
+
58
+ ## Prohibitions
59
+
60
+ - No emojis
61
+ - No commentary outside the fenced code block
62
+ - No Markdown inside the commit body beyond plain-text hyphen bullets
63
+ - No references to "this commit"
64
+ - No speculation about unstaged work
65
+ - No multiple alternative commit messages