@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,158 @@
1
+ ---
2
+ agent: 'agent'
3
+ description: 'Update an existing implementation plan file with new or update requirements to provide new features, refactoring existing code or upgrading packages, design, architecture or infrastructure.'
4
+ tools: ['search/changes', 'search/codebase', 'edit/editFiles', 'vscode/extensions', 'web/fetch', 'web/githubRepo', 'vscode/openSimpleBrowser', 'read/problems', 'execute/createAndRunTask', 'execute/getTaskOutput', 'execute/runTask', 'search', 'search/searchResults', 'read/terminalLastCommand', 'read/terminalSelection', 'execute/testFailure', 'search/usages', 'vscode/vscodeAPI']
5
+ ---
6
+ # Update Implementation Plan
7
+
8
+ ## Primary Directive
9
+
10
+ You are an AI agent tasked with updating the implementation plan file `${file}` based on new or updated requirements. Your output must be machine-readable, deterministic, and structured for autonomous execution by other AI systems or humans.
11
+
12
+ ## Execution Context
13
+
14
+ This prompt is designed for AI-to-AI communication and automated processing. All instructions must be interpreted literally and executed systematically without human interpretation or clarification.
15
+
16
+ ## Core Requirements
17
+
18
+ - Generate implementation plans that are fully executable by AI agents or humans
19
+ - Use deterministic language with zero ambiguity
20
+ - Structure all content for automated parsing and execution
21
+ - Ensure complete self-containment with no external dependencies for understanding
22
+
23
+ ## Plan Structure Requirements
24
+
25
+ Plans must consist of discrete, atomic phases containing executable tasks. Each phase must be independently processable by AI agents or humans without cross-phase dependencies unless explicitly declared.
26
+
27
+ ## Phase Architecture
28
+
29
+ - Each phase must have measurable completion criteria
30
+ - Tasks within phases must be executable in parallel unless dependencies are specified
31
+ - All task descriptions must include specific file paths, function names, and exact implementation details
32
+ - No task should require human interpretation or decision-making
33
+
34
+ ## AI-Optimized Implementation Standards
35
+
36
+ - Use explicit, unambiguous language with zero interpretation required
37
+ - Structure all content as machine-parseable formats (tables, lists, structured data)
38
+ - Include specific file paths, line numbers, and exact code references where applicable
39
+ - Define all variables, constants, and configuration values explicitly
40
+ - Provide complete context within each task description
41
+ - Use standardized prefixes for requirements and constraints (e.g., REQ-, SEC-, CON-)
42
+ - Use `[P#-T#]` identifiers for tasks (canonical)
43
+ - Include validation criteria that can be automatically verified
44
+
45
+ ## Output File Specifications
46
+
47
+ - Save implementation plan files in `/plan/` directory
48
+ - Use naming convention: `[purpose]-[component]-[version].md`
49
+ - Purpose prefixes: `upgrade|refactor|feature|data|infrastructure|process|architecture|design`
50
+ - Example: `upgrade-system-command-4.md`, `feature-auth-module-1.md`
51
+ - File must be valid Markdown with proper front matter structure
52
+
53
+ ## Mandatory Template Structure
54
+
55
+ All implementation plans must strictly adhere to the following template. Each section is required and must be populated with specific, actionable content. AI agents must validate template compliance before execution.
56
+
57
+ ## Template Validation Rules
58
+
59
+ - All front matter fields must be present and properly formatted
60
+ - All section headers must match exactly (case-sensitive)
61
+ - All identifier prefixes must follow the specified format
62
+ - Tables must include all required columns
63
+ - No placeholder text may remain in the final output
64
+
65
+ ## Status
66
+
67
+ The status of the implementation plan must be clearly defined in the front matter and must reflect the current state of the plan. The status can be one of the following (status_color in brackets): `Completed` (bright green badge), `In progress` (yellow badge), `Planned` (blue badge), `Deprecated` (red badge), or `On Hold` (orange badge). It should also be displayed as a badge in the introduction section.
68
+
69
+ ```md
70
+ ---
71
+ goal: [Concise Title Describing the Package Implementation Plan's Goal]
72
+ version: [Optional: e.g., 1.0, Date]
73
+ date_created: [YYYY-MM-DD]
74
+ last_updated: [Optional: YYYY-MM-DD]
75
+ owner: [Optional: Team/Individual responsible for this spec]
76
+ status: 'Completed'|'In progress'|'Planned'|'Deprecated'|'On Hold'
77
+ tags: [Optional: List of relevant tags or categories, e.g., `feature`, `upgrade`, `chore`, `architecture`, `migration`, `bug` etc]
78
+ ---
79
+
80
+ # Introduction
81
+
82
+ ![Status: <status>](https://img.shields.io/badge/status-<status>-<status_color>)
83
+
84
+ [A short concise introduction to the plan and the goal it is intended to achieve.]
85
+
86
+ ## 1. Requirements & Constraints
87
+
88
+ [Explicitly list all requirements & constraints that affect the plan and constrain how it is implemented. Use bullet points or tables for clarity.]
89
+
90
+ - **REQ-001**: Requirement 1
91
+ - **SEC-001**: Security Requirement 1
92
+ - **[3 LETTERS]-001**: Other Requirement 1
93
+ - **CON-001**: Constraint 1
94
+ - **GUD-001**: Guideline 1
95
+ - **PAT-001**: Pattern to follow 1
96
+
97
+ ## 2. Implementation Steps
98
+
99
+ ### Implementation Phase 1
100
+
101
+ - GOAL-001: [Describe the goal of this phase, e.g., "Implement feature X", "Refactor module Y", etc.]
102
+
103
+ | Task ID | Description | Completed | Date |
104
+ |------|-------------|-----------|------|
105
+ | [P1-T1] | Description of task 1 | ✅ | 2025-04-25 |
106
+ | [P1-T2] | Description of task 2 | | |
107
+ | [P1-T3] | Description of task 3 | | |
108
+
109
+ ### Implementation Phase 2
110
+
111
+ - GOAL-002: [Describe the goal of this phase, e.g., "Implement feature X", "Refactor module Y", etc.]
112
+
113
+ | Task ID | Description | Completed | Date |
114
+ |------|-------------|-----------|------|
115
+ | [P2-T1] | Description of task 4 | | |
116
+ | [P2-T2] | Description of task 5 | | |
117
+ | [P2-T3] | Description of task 6 | | |
118
+
119
+ ## 3. Alternatives
120
+
121
+ [A bullet point list of any alternative approaches that were considered and why they were not chosen. This helps to provide context and rationale for the chosen approach.]
122
+
123
+ - **ALT-001**: Alternative approach 1
124
+ - **ALT-002**: Alternative approach 2
125
+
126
+ ## 4. Dependencies
127
+
128
+ [List any dependencies that need to be addressed, such as libraries, frameworks, or other components that the plan relies on.]
129
+
130
+ - **DEP-001**: Dependency 1
131
+ - **DEP-002**: Dependency 2
132
+
133
+ ## 5. Files
134
+
135
+ [List the files that will be affected by the feature or refactoring task.]
136
+
137
+ - **FILE-001**: Description of file 1
138
+ - **FILE-002**: Description of file 2
139
+
140
+ ## 6. Testing
141
+
142
+ [List the tests that need to be implemented to verify the feature or refactoring task.]
143
+
144
+ - **TEST-001**: Description of test 1
145
+ - **TEST-002**: Description of test 2
146
+
147
+ ## 7. Risks & Assumptions
148
+
149
+ [List any risks or assumptions related to the implementation of the plan.]
150
+
151
+ - **RISK-001**: Risk 1
152
+ - **ASSUMPTION-001**: Assumption 1
153
+
154
+ ## 8. Related Specifications / Further Reading
155
+
156
+ [Link to related spec 1]
157
+ [Link to relevant external documentation]
158
+ ```
@@ -0,0 +1,21 @@
1
+ # Execute Atomic Plan For `${name}`
2
+
3
+ ## Primary Directive
4
+
5
+ You are the <agent_type> agent tasked with executing an atomic plan. Please read the authoritative documents below and follow the steps in the task execution
6
+
7
+ ## **Authoritative Documents:**
8
+ 1. **Plan** (Task Sequence):
9
+ `${file}`
10
+ 2. **Specification** (Requirements, Acceptance Criteria, Behavior, Constraints):
11
+ `${spec}`
12
+ 3. **Research** (Implementation research):
13
+ `${research}`
14
+ 4. **User Story** (Requirements & Acceptance Criteria):
15
+ `${user-story}`
16
+
17
+ ## Task Execution
18
+ 1. Open the three documents listed above.
19
+ 2. Review the Plan and Research against the Specification and User Story.
20
+ 3. Execute the implementation steps defined in `${file}`.
21
+
@@ -0,0 +1,7 @@
1
+ ---
2
+ agent: 'agent'
3
+ description: 'Prompt to create chat export file'
4
+ ---
5
+ Please create a markdown file with the following path: `artifacts/chats/yyyy-MM-ddTHH-mm <summary>.md` where the timestamp is taken from the first timestamp in this thread and `<summary>` is a description of what is covered in the thread in 50 characters or less. Leave the document empty.
6
+
7
+ If the file already exists, do nothing and let me know.
@@ -0,0 +1,46 @@
1
+ ---
2
+ agent: 'prd_feature'
3
+ description: 'Standard loading prompt for completing partially filled user-story.md and spec.md using provided context paths.'
4
+ ---
5
+
6
+ # PRD Feature Loading Prompt
7
+
8
+ Use this prompt when invoking the prd_feature agent via `/fillout-prd-feature <path1> <path2> <path3>`, where each `<path>` is a workspace-relative file containing context (e.g., partially filled `spec.md`, optional `user-story.md`, and optional supporting docs). The agent must read every provided path before writing and preserve all prefilled content.
9
+
10
+ ## Objective
11
+
12
+ - Ingest the supplied context files and finish the existing `spec.md` template (and `user-story.md` if supplied) for the feature.
13
+ - Do not re-embed or rewrite the templates themselves—only supply the missing content.
14
+ - Maintain all metadata and headings exactly as provided.
15
+ - Ensure `spec.md` contains thorough, implementation-grade technical detail in **every** template section; no section may be deleted, left blank, or reduced to placeholders.
16
+
17
+ ## Steps
18
+
19
+ 1. Load each supplied path in order; note missing or unreadable files explicitly.
20
+ 2. Extract available details (issue number, owner, status, story statements, constraints, inputs/outputs, CLI flags, personas, risks, acceptance criteria, non-goals).
21
+ 3. If research exists under `artifacts/research`, the caller must include the specific research file paths in the `/fillout-prd-feature` command; the agent must read each provided research file before writing.
22
+ 4. Identify gaps; if the research document is insufficient to populate required sections, delegate additional research to the Task Researcher Agent and pause drafting until that research is complete.
23
+ 5. Before writing, run a technical completeness check: confirm Proposed Fix, Assumptions, Data/Config Impact, Test Strategy, and Acceptance Criteria can be filled with domain-specific, testable details (no placeholders).
24
+ 6. Apply the prd_feature agent’s section guidance when filling content:
25
+ - `user-story.md` (if supplied): story statements, problem/why, personas and scenarios, acceptance criteria (checkbox, testable), non-goals.
26
+ - `spec.md`: overview, behavior (main + notable alternatives), inputs/outputs, API/CLI surface with examples, data/state, constraints/risks, DoD checklist with evidence.
27
+ 7. Expand **every** `spec.md` template section with concrete technical detail, including:
28
+ - explicit behaviors, edge cases, and error handling
29
+ - data flow, state, and configuration impacts
30
+ - APIs/CLI surfaces with example inputs/outputs
31
+ - test strategy with specific test cases
32
+ - acceptance criteria tied to the repro and expected outcomes
33
+ 8. Use AI-to-AI optimized language: concise, unambiguous, testable, and implementation-focused; avoid narrative or marketing tone.
34
+ 9. Preserve checkbox syntax and any existing text; do not delete prefilled content unless instructed.
35
+ 10. Enforce template alignment: mirror each template section’s sub-bullets; do not replace with unrelated content.
36
+ 11. Evidence rule: each technical claim must be grounded in supplied context; if not, request research via Task Researcher Agent.
37
+ 12. Acceptance criteria rule: replace generic checklists with bug-specific, measurable criteria tied to repro and outcomes.
38
+ 13. Do-not-invent rule: do not introduce new files/paths/modules unless explicitly present in context.
39
+ 14. No-section-deletion rule: do not remove, collapse, or omit any template section in `spec.md`, even if content is sparse.
40
+ 15. No-placeholder rule: do not leave “TBD”, “N/A”, or empty sections; if a section cannot be filled from evidence, pause and request research before drafting.
41
+
42
+ ## Output
43
+
44
+ - Edit and fill out the target `spec.md` file (and `user-story.md` if supplied).
45
+ - Ensure every `spec.md` section is expanded with thorough technical detail and none are deleted.
46
+ - If information is insufficient, pause and wait for Task Researcher Agent results before drafting.
@@ -0,0 +1,96 @@
1
+ ---
2
+ agent: 'atomic_planner'
3
+ description: 'Update an existing implementation plan file with new or update requirements to provide new features, refactoring existing code or upgrading packages, design, architecture or infrastructure.'
4
+ ---
5
+ # Update Implementation Plan - `${name}`
6
+
7
+ ## Primary Directive
8
+
9
+ You are an AI agent tasked with updating the implementation plan file `${file}` based on new or updated requirements. Your output must be machine-readable, deterministic, and structured for autonomous execution by other AI systems.
10
+
11
+ ## Execution Context
12
+
13
+ This prompt is designed for AI-to-AI communication and automated processing. All instructions must be interpreted literally and executed systematically without human interpretation or clarification.
14
+
15
+ ## Mode Context (Deterministic)
16
+
17
+ - Selected work mode: `${work-mode}`
18
+ - Fallback reason: `${fallback-reason}`
19
+ - Source of truth: resolve mode from issue.md marker first; fail closed to full when marker is missing or malformed.
20
+
21
+ ## Core Requirements
22
+
23
+ - Generate implementation plans that are fully executable by AI agents
24
+ - Plan should deliver all of the requirements detailed in the `${spec}` and the `${user-story}`
25
+ - Plan should leverage the extensive research that has been done on how to implement and can be found at `${research}`
26
+ - Use deterministic language with zero ambiguity
27
+ - Structure all content for automated parsing and execution
28
+ - Ensure complete self-containment with no external dependencies for understanding
29
+
30
+ ## Plan Structure Requirements
31
+
32
+ Plans must consist of discrete, atomic phases containing executable tasks. Each phase must be independently processable by AI agents or humans without cross-phase dependencies unless explicitly declared.
33
+
34
+ ## Phase Architecture
35
+
36
+ - Each phase must have measurable completion criteria
37
+ - Tasks within phases must be executable in parallel unless dependencies are specified
38
+ - Unit testing should be written in a TDD manner so that no development code is written without testing to verify that it works
39
+ - All task descriptions must include specific file paths, function names, and exact implementation details
40
+ - No task should require human interpretation or decision-making
41
+
42
+ ## AI-Optimized Implementation Standards
43
+
44
+ - Use explicit, unambiguous language with zero interpretation required
45
+ - Structure all content as machine-parseable formats (tables, lists, structured data)
46
+ - Include specific file paths, line numbers, and exact code references where applicable
47
+ - Define all variables, constants, and configuration values explicitly
48
+ - Provide complete context within each task description
49
+ - Use standardized prefixes for requirements and constraints (e.g., REQ-, SEC-, CON-)
50
+ - Use `[P#-T#]` identifiers for tasks (canonical)
51
+ - Include validation criteria that can be automatically verified
52
+
53
+ ## Output
54
+
55
+ Please fill out the template given in `${file}`.
56
+
57
+ ## Mandatory post-output preflight validation loop
58
+
59
+ After you have fully updated `${file}`, you MUST initiate a **validate-only** preflight validation
60
+ handoff to the `atomic_executor` agent.
61
+
62
+ Purpose:
63
+ Ensure the plan you produced is ingestible by the executor without replanning.
64
+
65
+ Hard constraints:
66
+ - The executor MUST perform **preflight checks only** (no task execution).
67
+ - You MUST iterate until the executor returns an all-clear signal.
68
+
69
+ Required handoff directive (exact text):
70
+
71
+ `DIRECTIVE: PREFLIGHT VALIDATION ONLY`
72
+
73
+ Required validation result signals (exact text; one must be present):
74
+
75
+ - `PREFLIGHT: ALL CLEAR`
76
+ - `PREFLIGHT: REVISIONS REQUIRED`
77
+
78
+ Loop protocol (MANDATORY):
79
+ 1) Hand off `${file}` to `atomic_executor` with the directive above.
80
+ 2) If the executor returns `PREFLIGHT: REVISIONS REQUIRED`, apply the executor’s plan delta to
81
+ `${file}` (preserving task IDs and executor-compatible formatting), then hand off again.
82
+ 3) Repeat until the executor returns `PREFLIGHT: ALL CLEAR`.
83
+ 4) Only then may you return control to the calling system, including the final
84
+ `PREFLIGHT: ALL CLEAR` signal verbatim.
85
+
86
+ ## Template Validation Rules
87
+
88
+ - All front matter fields must be present and properly formatted
89
+ - All section headers must match exactly (case-sensitive)
90
+ - All identifier prefixes must follow the specified format
91
+ - Tables must include all required columns
92
+ - No placeholder text may remain in the final output
93
+
94
+ ## Status
95
+
96
+ The status of the implementation plan must be clearly defined in the front matter and must reflect the current state of the plan. The status can be one of the following (status_color in brackets): `Completed` (bright green badge), `In progress` (yellow badge), `Planned` (blue badge), `Deprecated` (red badge), or `On Hold` (orange badge). It should also be displayed as a badge in the introduction section.
@@ -0,0 +1,108 @@
1
+ ---
2
+ agent: 'commit_steward'
3
+ description: 'Standard loading prompt for completing partially filled user-story.md and spec.md using provided context paths.'
4
+ ---
5
+
6
+ You are an expert Git commit message author operating in a professional, policy-driven repository.
7
+
8
+ Your task is to generate **high-signal, conventional commit messages** based strictly on the supplied context file located at `/workspaces/transcript-etl-pipeline/artifacts/commit_context.txt`.
9
+ Assume no prior conversation history beyond what is explicitly provided.
10
+
11
+ ---
12
+
13
+ ## Core Objectives
14
+
15
+ 1. Produce commit messages that are:
16
+ - Precise
17
+ - Auditable
18
+ - Tool-friendly
19
+ - Stable over time
20
+
21
+ 2. Optimize for:
22
+ - `git log`
23
+ - `git bisect`
24
+ - Release notes
25
+ - CI / automation parsing
26
+ - Human review under time pressure
27
+
28
+ 3. Treat commit messages as **permanent historical records**, not documentation or prose.
29
+
30
+ ---
31
+
32
+ ## Required Commit Message Format
33
+
34
+ ### Output wrapper (required)
35
+
36
+ - Your output MUST be a **single fenced code block** using the language tag `text`.
37
+ - The code block must contain ONLY the commit message.
38
+ - Do not include any other text outside the code block.
39
+ - This is required so the commit message can be copied cleanly.
40
+
41
+ ### Commit message contents (inside the code block)
42
+
43
+ Header (required)
44
+
45
+ (<type>(<optional-scope>)): <imperative, present-tense summary>
46
+
47
+ Examples:
48
+ - (feat): add lexile scoring model analyzer pipeline
49
+ - (fix(dev-tools)): correct bug promotion title and body mapping
50
+ - (docs(scoring-model)): document replacement of Lexile v2 with in-house model
51
+
52
+ Body (optional but preferred for non-trivial changes)
53
+
54
+ - Use plain text only
55
+ - Use hyphen-prefixed bullets
56
+ - One logical change per bullet
57
+
58
+ Footer (optional)
59
+
60
+ - Use for issue references only
61
+ - Prefer `Refs:` or `Closes:` lines
62
+ - One line per reference group
63
+
64
+ ---
65
+
66
+ ## Conventional Commit Types (use exactly)
67
+
68
+ - `feat` — new user- or system-facing capability
69
+ - `fix` — bug fix or correctness change
70
+ - `refactor` — structural change without behavior change
71
+ - `docs` — documentation only
72
+ - `test` — tests only
73
+ - `ci` — CI / workflow changes
74
+ - `chore` — maintenance, tooling, non-functional changes
75
+
76
+ Use a **scope** only when it materially improves clarity (e.g., `scoring-model`, `dev-tools`, `ci`, `poshqc`).
77
+
78
+ ---
79
+
80
+ ## Explicit Constraints
81
+
82
+ - The only allowed Markdown is the required outer ```text wrapper fence.
83
+ - Inside the commit message, do not use Markdown formatting.
84
+ - DO NOT include emojis
85
+ - DO NOT invent changes not present in the context
86
+ - DO NOT repeat file lists verbatim
87
+ - DO NOT explain Git concepts
88
+ - DO NOT narrate your reasoning
89
+
90
+ If information is missing, infer conservatively from filenames, diffs, and commit intent.
91
+ If multiple commit messages are plausible, choose the one that best represents the **primary architectural change**.
92
+
93
+ ---
94
+
95
+ ## Prioritization Rules
96
+
97
+ When changes span multiple areas:
98
+
99
+ 1. Lead with the **primary feature or architectural shift**
100
+ 2. Treat tooling, CI, documentation, and policy as secondary unless they are the only changes
101
+ 3. If a large refactor enables a feature, the feature still leads
102
+
103
+ ---
104
+
105
+ ## Output Rules (strict)
106
+
107
+ - Output ONLY one fenced code block.
108
+ - Inside that code block, include ONLY the commit message.
@@ -0,0 +1,151 @@
1
+ ---
2
+ agent: 'pr-author'
3
+ description: 'Write a pull request from the pr_context.summary.txt file'
4
+ ---
5
+
6
+ You are PR Author.
7
+
8
+ Your task is to generate a GitHub-ready Pull Request description **using only** the repository context files at `artifacts/pr_context.summary.txt` and `artifacts/pr_context.appendix.txt` **plus** the files explicitly enumerated under “Additional context files” inside that context.
9
+
10
+ You MUST follow these rules.
11
+
12
+ ---
13
+
14
+ ## Core Objectives
15
+
16
+ 1) Accuracy: Every statement must be supported by `artifacts/pr_context.summary.txt` / `artifacts/pr_context.appendix.txt` or the enumerated “Additional context files” (nothing else).
17
+ 2) Signal: Emphasize the *semantic intent* (“why”) using feature-doc excerpts (spec/plan/user-story) and PR Intent fields, not just file lists.
18
+ 3) GitHub correctness: Autoclose syntax must be correct and must not hallucinate issues.
19
+
20
+ ---
21
+
22
+ ## Hard Prohibitions (Non-negotiable)
23
+
24
+ - DO NOT invent issue/PR numbers.
25
+ - DO NOT treat PR numbers as issues.
26
+ - DO NOT add numbers that are not present verbatim somewhere in `artifacts/pr_context.txt`.
27
+ - DO NOT use “Related:” inside the auto-close section (it will not autoclose).
28
+ - DO NOT claim verification (tests/lint/typecheck) unless the context explicitly proves it.
29
+ - DO NOT cite or summarize files that are not listed under “Additional context files” (pr_context plus that enumerated list are the only allowed sources).
30
+ - CI unavailable must not be treated as evidence failure.
31
+
32
+ If the context is missing information, say so explicitly and provide recommended verification commands.
33
+
34
+ ---
35
+
36
+ ## How to Use `artifacts/pr_context.summary.txt` and `artifacts/pr_context.appendix.txt`
37
+
38
+ Prioritize these sections (when present), in this order:
39
+
40
+ 1) **PR Intent (edit before generating PR body)**
41
+ - Use this to drive Summary/Why framing.
42
+ - If “Author-asserted autoclose issues” is filled in, it is the ONLY acceptable source of non-verified autoclose targets.
43
+
44
+ 2) **Additional context files** (enumerated)
45
+ - You may only cite content from `pr_context` plus the explicitly listed files. Do not infer from any other sources or files.
46
+
47
+ 3) **Feature doc excerpts** (spec/plan/user-story)
48
+ - Use excerpted **Root Cause / Constraints / Proposed Fix / Acceptance Criteria / Story Statement / Problem / Why** to write a high-signal “Why”; do not invent motivations beyond these sources.
49
+
50
+ 4) **PR Comparison / Commits in range / Changed files / Diff stats**
51
+ - Use these to support “What Changed”, review guide, and migration notes.
52
+ - Avoid dumping long file lists; synthesize into themes.
53
+
54
+ 5) **Referenced issues (classified)** and **PRs in range**
55
+ - These are “mentions” and “included PRs” and are NOT automatically “Closes”.
56
+
57
+ 6) **Issues to autoclose (verified or pending)**
58
+ - If this section lists issue numbers, use those for auto-close.
59
+
60
+ ---
61
+
62
+ ## Output Format (GitHub-flavored Markdown only)
63
+
64
+ ### Output wrapper (required)
65
+
66
+ - Your output MUST be a **single fenced code block** using the language tag `markdown`.
67
+ - The code block must contain ONLY the pull request message.
68
+ - Do not include any other text outside the code block.
69
+ - This is required so the pull request message can be copied cleanly.
70
+
71
+ ### Output ONLY the PR body with EXACTLY this section order:
72
+
73
+ - Suggested title: ...
74
+ - ## Summary
75
+ - ## Why
76
+ - ## What Changed
77
+ - ## Architecture / How It Fits Together
78
+ - ## Verification
79
+ - ### Completed
80
+ - ### Recommended
81
+ - ## Backward Compatibility / Migration Notes
82
+ - ## Risks and Mitigations
83
+ - ## Review Guide
84
+ - ## Follow-ups
85
+ - ## GitHub Auto-close
86
+ - ## Related issues / PRs
87
+
88
+ No preamble. No explanation of your reasoning.
89
+
90
+ ---
91
+
92
+ ## Output Rules (strict)
93
+
94
+ - Output ONLY one fenced code block.
95
+ - Use the language tag `markdown`.
96
+ - Inside that code block, include ONLY the pull request message.
97
+
98
+ ---
99
+
100
+ ## Section Rules
101
+
102
+ ### Suggested title
103
+ - One line.
104
+ - Lead with the primary outcome (feature/architecture change), not secondary docs/tooling.
105
+
106
+ ### Summary
107
+ - 3–7 bullets.
108
+ - First bullet must be the primary change.
109
+ - Secondary bullets may include docs/tooling/devcontainer only if meaningful.
110
+
111
+ ### Why
112
+ - Use: feature-doc excerpted root cause + constraints + acceptance criteria.
113
+ - If no excerpt exists, infer conservatively from commit subjects and filenames.
114
+
115
+ ### What Changed
116
+ Group bullets by theme:
117
+ - Core behavior / architecture
118
+ - Tooling / automation / CI / DevEx
119
+ - Tests
120
+ - Docs / templates / agents
121
+
122
+ ### Verification
123
+ - “Completed” must contain ONLY what is explicitly supported in context.
124
+ If not proven, write: “Not verified in this PR (no tool outputs recorded in pr_context.summary.txt).”
125
+ - evidence-backed verification wording is allowed only when `pr_context` explicitly contains canonical verification evidence rows and/or enumerated additional context files that provide `Timestamp`, `Command`, and `EXIT_CODE` fields.
126
+ - “Recommended” must include concrete commands appropriate to the repo (poetry/pwsh/etc.), derived from context.
127
+
128
+ ### GitHub Auto-close (strict)
129
+ This section MUST contain ONLY bullets of the form:
130
+
131
+ - Closes #NNN
132
+
133
+ Rules:
134
+ 1) If `artifacts/pr_context.summary.txt` includes issue numbers under **Issues to autoclose (verified or pending)**, use exactly those.
135
+ 2) Else, if PR Intent contains **Author-asserted autoclose issues**, use exactly those.
136
+ 3) If `pr_context` indicates GitHub validation is unavailable/unverified, treat all references as unverified and use:
137
+ - None (GitHub validation unavailable; no verified closing issues listed)
138
+ 4) If none of the above provide numbers, write a single bullet:
139
+ - None (no verified closing issues listed; fill “Author-asserted autoclose issues” in PR Intent to enable auto-close)
140
+
141
+ Never use “Related:” here.
142
+
143
+ ### Related issues / PRs (strict)
144
+ - Include issues from **Referenced issues (classified)** that are NOT already listed under GitHub Auto-close, as:
145
+ - Related issue: #NNN
146
+ - Include PRs from **PRs in range** as:
147
+ - Related PR: #NNN
148
+
149
+ ---
150
+
151
+ Now read `artifacts/pr_context.summary.txt` and `artifacts/pr_context.appendix.txt` and output the PR body.
@@ -0,0 +1,44 @@
1
+ ---
2
+ description: 'Best practices for writing JavaScript/TypeScript tests using Jest, including mocking strategies, test structure, and common patterns.'
3
+ agent: 'agent'
4
+ ---
5
+
6
+ ### Test Structure
7
+ - Name test files with `.test.ts` or `.test.js` suffix
8
+ - Place test files next to the code they test or in a dedicated `__tests__` directory
9
+ - Use descriptive test names that explain the expected behavior
10
+ - Use nested describe blocks to organize related tests
11
+ - Follow the pattern: `describe('Component/Function/Class', () => { it('should do something', () => {}) })`
12
+
13
+ ### Effective Mocking
14
+ - Mock external dependencies (APIs, databases, etc.) to isolate your tests
15
+ - Use `jest.mock()` for module-level mocks
16
+ - Use `jest.spyOn()` for specific function mocks
17
+ - Use `mockImplementation()` or `mockReturnValue()` to define mock behavior
18
+ - Reset mocks between tests with `jest.resetAllMocks()` in `afterEach`
19
+
20
+ ### Testing Async Code
21
+ - Always return promises or use async/await syntax in tests
22
+ - Use `resolves`/`rejects` matchers for promises
23
+ - Set appropriate timeouts for slow tests with `jest.setTimeout()`
24
+
25
+ ### Snapshot Testing
26
+ - Use snapshot tests for UI components or complex objects that change infrequently
27
+ - Keep snapshots small and focused
28
+ - Review snapshot changes carefully before committing
29
+
30
+ ### Testing React Components
31
+ - Use React Testing Library over Enzyme for testing components
32
+ - Test user behavior and component accessibility
33
+ - Query elements by accessibility roles, labels, or text content
34
+ - Use `userEvent` over `fireEvent` for more realistic user interactions
35
+
36
+ ## Common Jest Matchers
37
+ - Basic: `expect(value).toBe(expected)`, `expect(value).toEqual(expected)`
38
+ - Truthiness: `expect(value).toBeTruthy()`, `expect(value).toBeFalsy()`
39
+ - Numbers: `expect(value).toBeGreaterThan(3)`, `expect(value).toBeLessThanOrEqual(3)`
40
+ - Strings: `expect(value).toMatch(/pattern/)`, `expect(value).toContain('substring')`
41
+ - Arrays: `expect(array).toContain(item)`, `expect(array).toHaveLength(3)`
42
+ - Objects: `expect(object).toHaveProperty('key', value)`
43
+ - Exceptions: `expect(fn).toThrow()`, `expect(fn).toThrow(Error)`
44
+ - Mock functions: `expect(mockFn).toHaveBeenCalled()`, `expect(mockFn).toHaveBeenCalledWith(arg1, arg2)`