@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,104 @@
1
+ # Converted skill
2
+
3
+ Applied rewrites:
4
+ - None
5
+
6
+ ---
7
+ paths:
8
+ - "**/*.py"
9
+ description: Python-specific toolchain and coding standards.
10
+ ---
11
+
12
+ # Python Code Standards
13
+
14
+ This rule file summarizes the Python-specific policies for this repository.
15
+
16
+ ## Toolchain
17
+
18
+ 1. **Formatting — Black**: All Python code must be formatted with Black (default settings). Command: `poetry run black .`
19
+ 2. **Linting — Ruff**: Python code must pass Ruff using the project configuration. Command: `poetry run ruff check .` Suppressions require pre-authorization per `python-suppressions.instructions.md` or explicit user approval.
20
+ 3. **Type Checking — Pyright**: All Python code must be fully type-annotated and pass Pyright. Avoid `Any` unless unavoidable and commented. Command: `poetry run pyright`
21
+ 4. **Testing — Pytest**: All tests use Pytest. New logic must have test coverage >= 90%. Command: `poetry run pytest --cov --cov-report=term-missing`
22
+
23
+ Run the toolchain in order: format → lint → type-check → test. Restart from step 1 if any step fails or changes files. Do not stop the loop until all four steps complete without errors in a single pass.
24
+
25
+ If the environment prevents running tools, stop implementation and provide a plan and proposed diffs only, clearly marked **unverified**.
26
+
27
+ ## Coding Standards
28
+
29
+ - **PEP 8 naming**: `snake_case` for functions/methods/variables, `PascalCase` for classes/exceptions, `CONSTANT_CASE` for module constants.
30
+ - **Strong typing**: All public functions and methods must have full type hints for parameters and return values.
31
+ - **Dataclasses**: Prefer `@dataclass` for value objects. Use `frozen=True` where appropriate. Enforce invariants in `__post_init__` (dataclasses) or `__init__`.
32
+ - **Protocols**: Use `typing.Protocol` or `abc.ABC` when multiple implementations are expected.
33
+ - **Imports**: Prefer absolute imports. Avoid circular dependencies.
34
+ - **Error handling**: Fail fast with specific exceptions. Avoid broad `except:` or `except Exception:` without context. Reserve broad handlers for well-defined boundaries (CLI/entrypoints) with context logging.
35
+ - **Assertions**: Use `assert` only for internal sanity checks, not for user-facing validation.
36
+ - **Logging**: Use the standard `logging` module. No ad-hoc `print` statements for permanent behavior.
37
+
38
+ ## Python Design Rules
39
+
40
+ ### Small, cohesive modules
41
+
42
+ - Each class or module has one clear purpose. Avoid grab-bag utilities.
43
+ - Prefer explicit names and straightforward control flow.
44
+ - Keep the public surface area small. Internal helpers are `_prefixed` or live in `_internal` modules.
45
+
46
+ ### Classes vs functions
47
+
48
+ Create a class when at least one of the following is true:
49
+
50
+ - A clear domain concept with data and behavior.
51
+ - State and invariants must travel together.
52
+ - Multiple implementations behind a common interface are expected.
53
+ - A multi-step workflow shares context across steps.
54
+
55
+ Create a standalone function when:
56
+
57
+ - The operation is pure, stateless, and simple.
58
+ - It is a small helper that does not naturally belong on a specific domain class.
59
+ - It is a simple transformation from inputs to outputs.
60
+
61
+ Keep methods small and focused. Avoid god objects that know about too many unrelated concerns. Avoid long, deeply branching functions; factor logic into smaller helpers.
62
+
63
+ ### Strong typing by default (Pyright-clean)
64
+
65
+ - All public functions, methods, and constructors must have complete type hints.
66
+ - Avoid `Any`. If unavoidable, isolate it by wrapping untyped libraries behind small typed adapters.
67
+ - Use line-specific `# type: ignore[...]` only when justified with a brief comment.
68
+ - Prefer `typing.Protocol` (or `abc.ABC`) only when multiple implementations are expected.
69
+
70
+ ### Dependency seams (testability without frameworks)
71
+
72
+ Introduce the smallest seam that enables reliable testing:
73
+
74
+ - Inject collaborators via constructor parameters (preferred).
75
+ - Accept optional callables with sensible defaults for time/randomness (for example, `clock: Callable[[], datetime] = datetime.now`).
76
+ - Extract boundary interactions into a tiny helper function and patch that helper in tests.
77
+
78
+ Do not introduce generic service-locator patterns or heavy dependency-injection frameworks.
79
+
80
+ ## Pytest Rules
81
+
82
+ - Use **Pytest** as the test runner.
83
+ - One behavior per test. Follow Arrange–Act–Assert structure.
84
+ - Use descriptive `test_...` function names.
85
+ - Prefer behavioral assertions over implementation detail.
86
+ - Use `pytest.mark.parametrize` for boundary matrices.
87
+ - Fixtures should be narrow by default (function scope unless justified).
88
+ - Mock sparingly; prefer real pure code paths. Use `monkeypatch` for environment variables and module attributes.
89
+ - Patch at the **import location used by the unit under test**, not where a symbol originated.
90
+ - No sleeps, retries, or timing hacks.
91
+ - Organize tests to mirror code structure (for example, `tests/test_module_name.py` for `module_name.py`).
92
+ - No external dependencies (network, databases, external processes, runtime filesystem temp files) in unit tests.
93
+ - Repository-wide line coverage must remain >= 80%.
94
+ - Any new module, class, or method must reach >= 90% coverage.
95
+ - Coverage regression on changed lines is a blocking finding.
96
+
97
+ ## Prohibited Behaviors
98
+
99
+ - Broad refactors across multiple modules outside the approved scope.
100
+ - Adding new dependencies without explicit user instruction.
101
+ - Reducing typing strictness to make Pyright pass.
102
+ - Weakening tests to make them pass (removing assertions, overbroad exception checks).
103
+ - Using runtime temp files or external services in unit tests.
104
+ - Claiming success without running the toolchain.
@@ -0,0 +1,84 @@
1
+ # Converted skill
2
+
3
+ Applied rewrites:
4
+ - None
5
+
6
+ ---
7
+ name: python-change-budget-router
8
+ description: Budget-first routing and batch-scope contract for Python work. Estimate production-file scope, choose small vs large path, enforce the 3 production + 3 test per-batch cap, and halt the agent for scope expansion approval when the estimate exceeds the budget.
9
+ ---
10
+
11
+ # Python Change Budget Router
12
+
13
+ Canonical guidance for deciding whether Python work stays on the small path (`python-typed-engineer` direct mode) or escalates to the full orchestration workflow, and for enforcing per-batch change budgets during execution.
14
+
15
+ ## When to Use This Skill
16
+
17
+ Use this skill when:
18
+
19
+ - Intake starts from a natural-language Python request.
20
+ - An agent must decide the execution path before planning or implementation.
21
+ - A direct-mode route must reject over-budget requests and switch to orchestrated flow.
22
+ - An executor must confirm a batch fits within the 3 production + 3 test file cap before editing.
23
+
24
+ ## Canonical Routing Rules
25
+
26
+ 1. Estimate rough change budget first based on likely **production Python files** touched.
27
+ 2. Route:
28
+ - `1-3` production files (plus corresponding tests) → **small path** (`python-typed-engineer` direct mode).
29
+ - `>3` production files → **large path** (orchestration workflow with promotion, research, spec, planning, execution, and review).
30
+
31
+ ## Per-Batch Change Budget (Hard Gate)
32
+
33
+ During Phase C execution:
34
+
35
+ - A single batch may change at most **3 production files** and **3 test files**.
36
+ - The default cap applies unless the user supplies an override of the form `budget: prod=<N>, test=<M>` in the initiating prompt.
37
+ - A user override may be honored only if it complies with repo policy and approved scope. If the requested scope exceeds 3 production files overall, stop before execution and seek explicit approval.
38
+ - If an override is requested, confirm compliance with repo policy before entering Phase C.
39
+
40
+ ## Scope Expansion Protocol
41
+
42
+ When in-scope work is required beyond 3 production files, stop and return:
43
+
44
+ - a one-paragraph justification for the additional files,
45
+ - the exact additional file paths,
46
+ - the smallest alternative that avoids expanding scope,
47
+
48
+ and wait for explicit user approval before proceeding.
49
+
50
+ Allowed minimal-seam exceptions (still within the 3-file cap) are:
51
+
52
+ - introducing a minimal seam for testability (I/O boundary isolation, dependency injection),
53
+ - typing changes required for Pyright cleanliness in the slice,
54
+ - updating the smallest set of call sites needed to preserve a stable public API.
55
+
56
+ ## Direct-Mode Rejection Rule
57
+
58
+ If `python-typed-engineer` is invoked directly and estimated scope is `>3` production files:
59
+
60
+ - Stop before implementation.
61
+ - Return an explicit routing instruction to invoke the orchestrated workflow.
62
+
63
+ ## Orchestrated Small-Path Requirements
64
+
65
+ When routed through the orchestrator, the small path still requires lifecycle scaffolding before implementation:
66
+
67
+ - invoke promotion and folder lifecycle steps through `vscode/runCommand` and extension access per `feature-promotion-lifecycle` when available. Use script or CLI fallback only when direct extension command execution is unavailable.
68
+ - promote the potential item to a GitHub issue with `--work-mode minor-audit`,
69
+ - create the active feature folder with `--work-mode minor-audit`,
70
+ - delegate minimal-audit plan creation to `atomic_planner` with `DIRECTIVE: MINIMAL-AUDIT PLAN REQUIRED`,
71
+ - require `atomic_executor` preflight until `PREFLIGHT: ALL CLEAR`,
72
+ - execute Phase 0 only via `atomic_executor` before branching,
73
+ - run the reduced small-audit after implementation and QC.
74
+
75
+ Direct invocation of `python-typed-engineer` remains implementation-focused and does not replace orchestrator lifecycle steps.
76
+
77
+ ## Documentation Expectations
78
+
79
+ Record in the agent response or logs:
80
+
81
+ - estimated production file count,
82
+ - chosen path (`small` or `large`),
83
+ - rationale summary (1-3 bullets),
84
+ - any requested budget override and its approval state.
@@ -0,0 +1,82 @@
1
+ # Converted skill
2
+
3
+ Applied rewrites:
4
+ - Rewrite Claude skill paths to shared skill paths.
5
+
6
+ ---
7
+ name: python-qa-gate
8
+ description: Final QA gate for Python changes. Executes the full Black -> Ruff -> Pyright -> Pytest toolchain, compares against a captured baseline, enforces zero-regression deltas, and produces the required reporting block before the agent declares the change complete.
9
+ ---
10
+
11
+ # Python QA Gate
12
+
13
+ Canonical procedure for the Phase D final quality gate that every Python change must pass before completion is reported.
14
+
15
+ ## When to Use This Skill
16
+
17
+ Use this skill when:
18
+
19
+ - `python-typed-engineer` is about to declare a change complete.
20
+ - An executor has finished applying a planned batch and must verify zero regressions against the baseline captured in Phase A.
21
+ - A reviewer needs to confirm the toolchain was actually run and produced a clean pass.
22
+
23
+ ## Required Inputs
24
+
25
+ Before invoking this gate, the agent must have:
26
+
27
+ - a baseline record produced in Phase A, containing Ruff, Pyright, Pytest, and per-file coverage status for the in-scope files,
28
+ - the exact list of touched production and test files,
29
+ - a clean working tree (all planned edits committed to the working copy).
30
+
31
+ ## Toolchain Execution Sequence
32
+
33
+ Run the full toolchain in this exact order. If any step fails or modifies files, fix the issue and restart from step 1. Do not stop the loop until all four steps complete without errors in a single pass.
34
+
35
+ 1. `poetry run black .`
36
+ 2. `poetry run ruff check .`
37
+ 3. `poetry run pyright`
38
+ 4. `poetry run pytest --cov --cov-report=term-missing`
39
+
40
+ If the environment prevents running any tool, stop and report the change as **unverified**. Do not declare completion.
41
+
42
+ ## Delta Requirements (Zero-Regression Hard Gate)
43
+
44
+ Compare the final results to the Phase A baseline. All of the following must hold:
45
+
46
+ - **Ruff delta**: 0 new findings across the repository.
47
+ - **Pyright delta**: 0 new diagnostics across the repository.
48
+ - **Pytest delta**: 0 new failing tests.
49
+ - **Per-file coverage delta**: coverage for every touched file is greater than or equal to the baseline for that file.
50
+ - **Overall coverage delta** (when the repo enforces it): overall coverage is greater than or equal to the baseline.
51
+ - **New modules, classes, or methods**: coverage >= 90% for each new unit introduced in the batch.
52
+
53
+ If any delta check fails, the agent must revert or fix immediately and rerun the full toolchain. Do not proceed to reporting until all deltas are clean.
54
+
55
+ ## Required Reporting Block
56
+
57
+ Every completion response must include the following sections:
58
+
59
+ 1. **Scope** — exact file list touched in this change.
60
+ 2. **Baseline** — Ruff, Pyright, Pytest, and coverage status recorded in Phase A.
61
+ 3. **Plan** — design and test-strategy summary, referencing the approved plan.
62
+ 4. **Diffs** — patch-style or full-file replacements for scoped files only.
63
+ 5. **QA Gate Results** — Ruff, Pyright, Pytest, and coverage deltas. If any step could not be run, mark the corresponding line **unverified** and state why.
64
+
65
+ ## Evidence Storage
66
+
67
+ Persist toolchain output according to `evidence-and-timestamp-conventions`:
68
+
69
+ - store baseline outputs under `<FEATURE>/evidence/baseline/<timestamp>/`,
70
+ - store post-change outputs under `<FEATURE>/evidence/qa-gates/<timestamp>/`,
71
+ - use ISO-8601 UTC timestamps in folder names.
72
+
73
+ This location is canonical per evidence-and-timestamp-conventions and is not overridable.
74
+ See `.agents/skills/evidence-and-timestamp-conventions/SKILL.md` for the canonical evidence path authority.
75
+
76
+ The evidence paths must be referenced in the agent's completion message to satisfy the `SubagentStop` completion-artifact gate.
77
+
78
+ ## Prohibited Shortcuts
79
+
80
+ - Do not disable, skip, or narrow any step of the toolchain to reach a clean result.
81
+ - Do not add Ruff `noqa`, Pyright `# type: ignore`, or test skips to suppress new findings introduced by the change.
82
+ - Do not report success based on partial or targeted runs alone. Targeted runs are allowed mid-batch, but the final gate requires a full-repo pass.
@@ -0,0 +1,148 @@
1
+ # Converted skill
2
+
3
+ Applied rewrites:
4
+ - None
5
+
6
+ ---
7
+ paths:
8
+ - "**/*.py"
9
+ description: Pre-authorized Python Ruff and Pyright suppression patterns. Applies to Python files.
10
+ ---
11
+
12
+ # Python Suppression Policy
13
+
14
+ This rule file summarizes the suppression authorization policy for Python code.
15
+
16
+ ## Authorization Requirement
17
+
18
+ All `# noqa` and `# type: ignore` suppressions must either:
19
+ 1. **Match a pre-authorized pattern** defined in this file, OR
20
+ 2. **Have explicit user approval** for that specific suppression.
21
+
22
+ **Escalation path before requesting approval:**
23
+ 1. First, attempt to resolve the error without a suppression (refactor, restructure, use approved patterns).
24
+ 2. If that fails, try at least five more distinct approaches.
25
+ 3. Continue iterating until you solve the problem or clearly demonstrate why each approach fails.
26
+ 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.
27
+
28
+ ## Pre-Authorized `# noqa` Patterns
29
+
30
+ ### S603 — Subprocess with validated executable
31
+
32
+ **When authorized:** Subprocess calls where the executable is validated via `shutil.which()` before use.
33
+
34
+ **Required comment format:** `# noqa: S603 - static analysis can't verify runtime validation`
35
+
36
+ **Rationale:** Cross-platform compatibility requires runtime PATH resolution. Static analysis cannot trace the runtime validation, but the code is safe because the executable path is resolved from PATH (not user input), existence is verified before use, and hardcoding platform-specific paths would break portability.
37
+
38
+ ---
39
+
40
+ ### ARG002 — Unused method argument in test mocks
41
+
42
+ **When authorized:** Test mock/stub implementations that must match interface signatures but do not use all parameters. Must be in test code (`tests/` directory) implementing a known interface.
43
+
44
+ **Required comment format:** `# noqa: ARG002 - mock API signature` or `# noqa: ARG002 - match [InterfaceName] API`
45
+
46
+ ---
47
+
48
+ ### B008 — Function call in default argument (Typer)
49
+
50
+ **When authorized:** Typer CLI option declarations where `Option()` must be evaluated at import time for CLI metadata. Must be a Typer option declaration in a CLI function signature.
51
+
52
+ **Required comment format:** `# noqa: B008 - Typer framework pattern`
53
+
54
+ ---
55
+
56
+ ### TCH002 / TCH003 — Type checking block violations
57
+
58
+ **When authorized:** Modules used for both runtime and type hints (pytest fixtures, Typer type hints, runtime `isinstance` checks). The module must be used at runtime and cannot be moved to a `TYPE_CHECKING` block without breaking functionality.
59
+
60
+ **Required comment format:** `# noqa: TCH002 - [module] required at runtime for [reason]` or `# noqa: TCH003 - [module] required at runtime for [reason]`
61
+
62
+ ---
63
+
64
+ ### S310 — URL open with urllib (trusted endpoints)
65
+
66
+ **When authorized:** Accessing documented, trusted HTTPS API endpoints with timeout. URL must be a validated HTTPS endpoint, domain must be a documented trusted source, timeout must be set, and the URL must not come from user input.
67
+
68
+ **Required comment format:** `# noqa: S310 - trusted HTTPS endpoint: [domain]`
69
+
70
+ ---
71
+
72
+ ### S314 — XML parsing with ElementTree (trusted sources)
73
+
74
+ **When authorized:** Parsing user's own local files (EPUB, configuration) or known-safe data sources (Wikipedia dumps, curated datasets). Must NOT be parsing untrusted network data.
75
+
76
+ **Required comment format:** `# noqa: S314 - parsing trusted [source type]`
77
+
78
+ ---
79
+
80
+ ### BLE001 — Blind except (CLI entry points only)
81
+
82
+ **When authorized:** Top-level CLI exception handlers for user-friendly error messages and clean exits. Must be at a CLI entry point, must log or display the error with context, and must exit cleanly. NOT allowed in library or internal code.
83
+
84
+ **Required comment format:** `# noqa: BLE001 - CLI top-level error handling`
85
+
86
+ ---
87
+
88
+ ### S301 — Pickle deserialization (trusted model artifacts)
89
+
90
+ **When authorized:** Loading known model artifacts from hardcoded trusted local paths. Path must be hardcoded or validated (not from user input or CLI args). Only for ML model/artifact loading.
91
+
92
+ **Required comment format:** `# noqa: S301 - trusted model artifact from hardcoded path`
93
+
94
+ ---
95
+
96
+ ### S108 / S105 — Hardcoded paths/passwords in tests only
97
+
98
+ **When authorized:** Test fixtures with example paths and test data literals. Must be in test code only. Not actual secrets or production paths.
99
+
100
+ **Required comment format:** `# noqa: S108 - test fixture path` or `# noqa: S105 - test fixture data`
101
+
102
+ ---
103
+
104
+ ## Pre-Authorized `# type: ignore` Patterns
105
+
106
+ ### import-untyped — Optional third-party dependency without stubs
107
+
108
+ **When authorized:** Optional third-party dependencies that lack type stubs or `py.typed` marker. Import must be in a `try/except ImportError` block; library must be optional; no type stubs available; library lacks `py.typed` marker.
109
+
110
+ **Required comment format:** `# type: ignore[import-untyped]` with a comment on the same or adjacent line explaining the library and why stubs are absent.
111
+
112
+ ---
113
+
114
+ ## Explicitly Not Authorized (with Required Workarounds)
115
+
116
+ ### S110 — `try`-`except`-`pass` fallback chains
117
+
118
+ **Not authorized.** Use explicit platform detection via `shutil.which()` or environment variable checks instead. `try`-`except`-`pass` chains hide lazy design and make behavior unpredictable.
119
+
120
+ **Workaround:** Resolve the correct method at design time using `shutil.which()` for executables or explicit platform detection. Cache the result to avoid repeated detection overhead.
121
+
122
+ ---
123
+
124
+ ### TID252 — Relative imports beyond top-level package
125
+
126
+ **Not authorized.** Use absolute imports (`from project.module import Thing`) instead of parent-relative imports (`from ..module import`).
127
+
128
+ ---
129
+
130
+ ### S607 — Starting process with partial executable path
131
+
132
+ **Not authorized.** Resolve executables via `shutil.which()` first; use the full path returned by `which()`. This satisfies both S607 and the pre-authorized S603 pattern.
133
+
134
+ ---
135
+
136
+ ### D401, F401, UP017
137
+
138
+ **Not authorized.** Fix the root cause: rewrite docstrings in imperative mood (D401), remove unused imports (F401), and use timezone-aware datetime (UP017).
139
+
140
+ ---
141
+
142
+ ## Policy Enforcement Checklist
143
+
144
+ Before using any suppression, verify:
145
+ - [ ] Pattern exactly matches a pre-authorized pattern above.
146
+ - [ ] Required comment format is used verbatim.
147
+ - [ ] All contextual requirements are met (e.g., in tests/, validated path, try/except block).
148
+ - [ ] Suppression scope is as narrow as possible (single line, not file-level).
@@ -0,0 +1,49 @@
1
+ # Converted skill
2
+
3
+ Applied rewrites:
4
+ - None
5
+
6
+ ---
7
+ name: remediation-handoff-atomic-planner
8
+ description: 'Reusable remediation trigger and atomic_planner handoff steps. Use when audits require remediation inputs and a delegated remediation plan.'
9
+ ---
10
+
11
+ # Remediation Handoff to atomic_planner
12
+
13
+ Shared remediation workflow and handoff expectations for agents that delegate to `atomic_planner`.
14
+
15
+ ## When to Use This Skill
16
+
17
+ Use this skill when:
18
+ - Audit findings require remediation.
19
+ - You must create remediation inputs and delegate plan creation to `atomic_planner`.
20
+
21
+ ## Trigger Conditions (Generic)
22
+
23
+ Trigger remediation when any of these are true:
24
+ - Audit artifacts contain FAIL or meaningful PARTIAL findings.
25
+ - Toolchain checks fail.
26
+ - Acceptance criteria are not met.
27
+
28
+ ## Required Remediation Inputs
29
+
30
+ Create `remediation-inputs.<timestamp>.md` with:
31
+ - Enumerated fix list with file paths, expected behavior, and verification commands.
32
+ - A “do not do” list (no scope creep, no policy weakening, no silent skips).
33
+
34
+ ## Plan Creation and Handoff
35
+
36
+ 1) Create a remediation plan target file using the repo’s plan template.
37
+ 2) Delegate to `atomic_planner` with:
38
+ - `${spec}` pointing to remediation inputs (authoritative)
39
+ - `${file}` pointing to the remediation plan target file
40
+ 3) Require `atomic_planner` to output a deterministic, atomic plan with phases and `[P#-T#]` IDs.
41
+ 4) Require the same `${file}` path to be updated in place across all remediation-plan revisions in the same remediation loop.
42
+ 5) The caller owns the downstream clearance loop:
43
+ - hand the resulting remediation plan to `atomic_executor` in preflight-validation mode,
44
+ - if preflight returns `PREFLIGHT: REVISIONS REQUIRED`, re-delegate to `atomic_planner` against the same `${file}` path,
45
+ - execute the remediation plan only after `PREFLIGHT: ALL CLEAR`.
46
+
47
+ ## Context Package (When Required)
48
+
49
+ If the calling agent requires a context package, inline the specified audit artifacts, PR context artifacts, and any relevant plan files in the delegated prompt.
@@ -0,0 +1,142 @@
1
+ ---
2
+ name: repo-automation-adapter
3
+ description: 'Centralize host-surface and repo-automation differences for Codex. Use when a migrated workflow previously depended on GitHub Copilot or VS Code extension commands and needs a single Codex-compatible execution or fallback rule.'
4
+ ---
5
+
6
+ # Repo Automation Adapter
7
+
8
+ Use this skill to keep host-specific workflow translation in one place.
9
+
10
+ ## When to Use This Skill
11
+
12
+ Use this skill when:
13
+ - a migrated skill previously depended on `drmCopilotExtension.*` commands,
14
+ - a workflow needs PR-context collection, issue promotion, or feature-folder creation,
15
+ - the same fallback behavior would otherwise be repeated across multiple skills.
16
+
17
+ ## Canonical Rule
18
+
19
+ Do not encode host-specific execution details in multiple workflow skills. Put them here and have the calling skills reference this skill.
20
+
21
+ ## Published Codex Automation Surface
22
+
23
+ The canonical Codex automation dependency for this repo is the published MCP server:
24
+ - `drmCopilotExtension`
25
+
26
+ Downstream Codex skills should depend on the MCP server name `drmCopilotExtension`, not on raw VS Code command IDs.
27
+
28
+ Declare that dependency once on this skill via `agents/openai.yaml`.
29
+
30
+ ## Codex Capability Model
31
+
32
+ Codex in this repo can reliably use:
33
+ - repository files,
34
+ - shell commands,
35
+ - git,
36
+ - local scripts that already exist in the repository,
37
+ - configured MCP tools when available.
38
+
39
+ Codex in this repo should not assume direct access to:
40
+ - `vscode/runCommand`,
41
+ - `drmCopilotExtension.*` command execution,
42
+ - GitHub issue or PR mutation unless an explicit connector or script is available.
43
+
44
+ ## Published MCP Tool Surface
45
+
46
+ Prefer these semantic MCP tools when the server is configured:
47
+
48
+ - `collect_commit_context`
49
+ - `collect_pr_context`
50
+ - `push_down_copilot_customizations`
51
+ - `push_down_codex_and_agents_customizations`
52
+ - `new_potential_bug_entry`
53
+ - `new_potential_entry`
54
+ - `potential_to_issue`
55
+ - `new_active_feature_folder`
56
+ - `resolve_execute_hard_lock_prompt`
57
+
58
+ Legacy VS Code command IDs remain historical source material only:
59
+
60
+ - `drmCopilotExtension.collectCommitContext`
61
+ - `drmCopilotExtension.collectPrContext`
62
+ - `drmCopilotExtension.pushDownCopilotCustomizations`
63
+ - `drmCopilotExtension.pushDownCodexAndAgentsCustomizations`
64
+ - `drmCopilotExtension.newPotentialBugEntry`
65
+ - `drmCopilotExtension.newPotentialEntry`
66
+ - `drmCopilotExtension.potentialToIssue`
67
+ - `drmCopilotExtension.newActiveFeatureFolder`
68
+ - `drmCopilotExtension.resolveExecuteHardLockPrompt`
69
+
70
+ ## Adapter Preconditions
71
+
72
+ Before treating the MCP path as available, assume these prerequisites:
73
+
74
+ - the Codex client is configured with MCP server name `drmCopilotExtension`
75
+ - the published extension or bridge is installed and built
76
+ - an open workspace folder exists for workspace-targeted operations
77
+ - `python` is on `PATH`
78
+ - `pwsh` is preferred, with Windows PowerShell fallback when applicable
79
+
80
+ ## Execution Order
81
+
82
+ For any host-specific workflow step:
83
+
84
+ 1. Prefer the published `drmCopilotExtension` MCP tool when it covers the requested operation.
85
+ 2. If the MCP server is unavailable, determine whether a deterministic git or filesystem fallback is sufficient.
86
+ 3. If a deterministic fallback is sufficient, use it and record that the result is a fallback artifact rather than a canonical tool-produced artifact.
87
+ 4. If no MCP path or safe fallback exists, stop and report the missing automation dependency instead of inventing behavior.
88
+
89
+ ## Current Adapter Guidance
90
+
91
+ ### PR context collection
92
+
93
+ - Preferred: call tool `collect_pr_context` on MCP server `drmCopilotExtension`.
94
+ - When the caller already resolved a base branch, pass that base explicitly.
95
+ - Current fallback: use deterministic git commands to reconstruct equivalent context when review workflows only need base/head, merge-base, commits, and changed files.
96
+ - When using fallback, record the provenance in the generated review artifact.
97
+ - For orchestrator remediation loops, PR-context refresh is mandatory after each remediation commit and before each re-review.
98
+ - When the caller explicitly requires MCP tooling for PR-context refresh, do not silently downgrade to fallback; stop and report the dependency gap instead.
99
+
100
+ ### Commit context collection
101
+
102
+ - Preferred: call tool `collect_commit_context` on MCP server `drmCopilotExtension`.
103
+ - If the MCP server is unavailable and the workflow only needs staged-diff summary, use non-destructive git inspection as fallback and record that provenance.
104
+ - For orchestrator remediation loops, collect commit context only after `git add -A` and only when staged changes exist.
105
+ - For orchestrator remediation loops, do not continue to commit-message generation without an on-disk commit-context artifact path produced by the selected adapter path.
106
+ - When the caller explicitly requires MCP tooling for commit-context collection, do not silently downgrade to fallback; stop and report the dependency gap instead.
107
+
108
+ ### Feature promotion and active feature folder creation
109
+
110
+ - Preferred MCP tools:
111
+ - `new_potential_entry`
112
+ - `new_potential_bug_entry`
113
+ - `potential_to_issue`
114
+ - `new_active_feature_folder`
115
+ - Current rule: use the MCP tools as the canonical path.
116
+ - Execute these lifecycle operations as one ordered chain:
117
+ - create potential entry
118
+ - promote with `potential_to_issue`
119
+ - capture numeric issue number from promotion output
120
+ - create or check out `${promotion-type}/${short-name}-${issue-num}`
121
+ - create active feature folder with `new_active_feature_folder`
122
+ - `new_active_feature_folder` is not an allowed bootstrap substitute for missing promotion state.
123
+ - If `${issue-num}` is missing, non-numeric, or placeholder text, stop instead of continuing.
124
+ - If the MCP server is unavailable, surface a precise dependency gap unless the caller explicitly requests a best-effort local-only fallback.
125
+ - Do not synthesize GitHub issue state, active-folder scaffolding, or placeholder lifecycle variables unless the user explicitly requests a best-effort local-only fallback.
126
+ - When a local-only fallback is explicitly approved, preserve the same ordered lifecycle and verification gates; do not skip directly to folder creation.
127
+
128
+ ### Customization publishing and hard-lock resolution
129
+
130
+ - Preferred MCP tools:
131
+ - `push_down_copilot_customizations`
132
+ - `push_down_codex_and_agents_customizations`
133
+ - `resolve_execute_hard_lock_prompt`
134
+ - If the MCP server is unavailable, stop unless the caller explicitly provides an approved alternate path.
135
+
136
+ ## Output Requirements
137
+
138
+ When this skill is used, the calling workflow should report:
139
+ - which operation required host adaptation,
140
+ - which direct adapter or fallback path was selected,
141
+ - whether the result is canonical or fallback-only,
142
+ - what dependency is missing when the step is blocked.
@@ -0,0 +1,5 @@
1
+ dependencies:
2
+ tools:
3
+ - type: "mcp"
4
+ value: "drmCopilotExtension"
5
+ description: "Published drm-copilot stdio MCP bridge for repository automation"