@danmoisan/drm-copilot-mcp 1.1.18 → 1.1.20

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 (264) hide show
  1. package/out/mcp-server.js +1149 -661
  2. package/package.json +3 -2
  3. package/resources/claude-customizations/.claude/agents/atomic-executor.md +28 -6
  4. package/resources/claude-customizations/.claude/agents/atomic-planner.md +20 -2
  5. package/resources/claude-customizations/.claude/agents/epic-orchestrator.md +17 -4
  6. package/resources/claude-customizations/.claude/agents/epic-planner.md +5 -4
  7. package/resources/claude-customizations/.claude/agents/feature-review.md +6 -4
  8. package/resources/claude-customizations/.claude/agents/orchestrator.md +9 -5
  9. package/resources/claude-customizations/.claude/agents/parallel-orchestrator.md +35 -13
  10. package/resources/claude-customizations/.claude/agents/parallel-planner.md +9 -6
  11. package/resources/claude-customizations/.claude/agents/pr-author.md +15 -2
  12. package/resources/claude-customizations/.claude/agents/prd-feature.md +1 -1
  13. package/resources/claude-customizations/.claude/agents/task-researcher.md +8 -0
  14. package/resources/claude-customizations/.claude/hooks/check-powershell-test-purity.ps1 +7 -1
  15. package/resources/claude-customizations/.claude/hooks/check-python-test-purity.ps1 +7 -1
  16. package/resources/claude-customizations/.claude/hooks/enforce-checkpoint-monotonic.ps1 +7 -1
  17. package/resources/claude-customizations/.claude/hooks/enforce-completion-consistency.ps1 +111 -46
  18. package/resources/claude-customizations/.claude/hooks/enforce-completion-helpers.ps1 +105 -0
  19. package/resources/claude-customizations/.claude/hooks/enforce-discovery-artifact-gate.ps1 +8 -1
  20. package/resources/claude-customizations/.claude/hooks/enforce-epic-invocation-origin.ps1 +7 -1
  21. package/resources/claude-customizations/.claude/hooks/enforce-epic-merge-gate-command.ps1 +190 -0
  22. package/resources/claude-customizations/.claude/hooks/enforce-epic-merge-gate-resolution.ps1 +116 -59
  23. package/resources/claude-customizations/.claude/hooks/enforce-epic-merge-gate.ps1 +78 -77
  24. package/resources/claude-customizations/.claude/hooks/enforce-epic-wave-barrier.ps1 +74 -75
  25. package/resources/claude-customizations/.claude/hooks/enforce-epic-worktree-removal-gate-resolution.ps1 +127 -35
  26. package/resources/claude-customizations/.claude/hooks/enforce-epic-worktree-removal-gate.ps1 +61 -57
  27. package/resources/claude-customizations/.claude/hooks/enforce-evidence-locations.ps1 +7 -1
  28. package/resources/claude-customizations/.claude/hooks/enforce-feature-folder-order.ps1 +129 -39
  29. package/resources/claude-customizations/.claude/hooks/enforce-mermaid-validation.ps1 +7 -1
  30. package/resources/claude-customizations/.claude/hooks/enforce-model-routing-receipt.ps1 +9 -3
  31. package/resources/claude-customizations/.claude/hooks/enforce-orchestration-preimplementation-gate-epic-scope.ps1 +39 -51
  32. package/resources/claude-customizations/.claude/hooks/enforce-orchestration-preimplementation-gate-helpers.ps1 +31 -58
  33. package/resources/claude-customizations/.claude/hooks/enforce-orchestration-preimplementation-gate-modes.ps1 +63 -47
  34. package/resources/claude-customizations/.claude/hooks/enforce-orchestration-preimplementation-gate-targets.ps1 +433 -0
  35. package/resources/claude-customizations/.claude/hooks/enforce-orchestration-preimplementation-gate.ps1 +17 -12
  36. package/resources/claude-customizations/.claude/hooks/enforce-parallel-abandon-gate.ps1 +9 -3
  37. package/resources/claude-customizations/.claude/hooks/enforce-parallel-cohort-barrier.ps1 +65 -50
  38. package/resources/claude-customizations/.claude/hooks/enforce-parallel-drift-gate.ps1 +49 -42
  39. package/resources/claude-customizations/.claude/hooks/enforce-parallel-worktree-removal-gate.ps1 +54 -72
  40. package/resources/claude-customizations/.claude/hooks/enforce-powershell-batch-budget.ps1 +8 -2
  41. package/resources/claude-customizations/.claude/hooks/enforce-pr-author-command-allowlist.ps1 +279 -0
  42. package/resources/claude-customizations/.claude/hooks/enforce-pr-author-skill-helpers.ps1 +129 -75
  43. package/resources/claude-customizations/.claude/hooks/enforce-pr-author-skill.artifact-root.ps1 +233 -0
  44. package/resources/claude-customizations/.claude/hooks/enforce-pr-author-skill.docs-only.ps1 +224 -0
  45. package/resources/claude-customizations/.claude/hooks/enforce-pr-author-skill.ps1 +69 -24
  46. package/resources/claude-customizations/.claude/hooks/enforce-prd-feature-before-planner-helpers.ps1 +29 -18
  47. package/resources/claude-customizations/.claude/hooks/enforce-prd-feature-before-planner.ps1 +10 -4
  48. package/resources/claude-customizations/.claude/hooks/enforce-promotion-mcp-only.ps1 +14 -5
  49. package/resources/claude-customizations/.claude/hooks/enforce-python-batch-budget.ps1 +8 -2
  50. package/resources/claude-customizations/.claude/hooks/feature-folder-resolution.ps1 +373 -0
  51. package/resources/claude-customizations/.claude/hooks/feature-review-coverage-thresholds.ps1 +85 -0
  52. package/resources/claude-customizations/.claude/hooks/hook-command-heredoc.ps1 +119 -0
  53. package/resources/claude-customizations/.claude/hooks/hook-command-invocation-operands.ps1 +198 -0
  54. package/resources/claude-customizations/.claude/hooks/hook-command-invocation.ps1 +254 -255
  55. package/resources/claude-customizations/.claude/hooks/hook-command-payload-powershell.ps1 +201 -0
  56. package/resources/claude-customizations/.claude/hooks/hook-command-payload.ps1 +484 -0
  57. package/resources/claude-customizations/.claude/hooks/hook-command-scanner.ps1 +27 -110
  58. package/resources/claude-customizations/.claude/hooks/hook-dependency-guard.ps1 +114 -0
  59. package/resources/claude-customizations/.claude/hooks/hook-docs-only-diff.ps1 +497 -0
  60. package/resources/claude-customizations/.claude/hooks/premortem-section.ps1 +149 -0
  61. package/resources/claude-customizations/.claude/hooks/subagentstop-envelope.ps1 +192 -0
  62. package/resources/claude-customizations/.claude/hooks/validate-bash.ps1 +9 -3
  63. package/resources/claude-customizations/.claude/hooks/validate-discovery-artifact-gate.ps1 +40 -42
  64. package/resources/claude-customizations/.claude/hooks/validate-executor-output.ps1 +267 -113
  65. package/resources/claude-customizations/.claude/hooks/validate-feature-review-coverage-metrics.ps1 +180 -0
  66. package/resources/claude-customizations/.claude/hooks/validate-feature-review-coverage-rules.ps1 +195 -0
  67. package/resources/claude-customizations/.claude/hooks/validate-feature-review-coverage.ps1 +141 -395
  68. package/resources/claude-customizations/.claude/hooks/validate-orchestrator-output-resolution.ps1 +311 -0
  69. package/resources/claude-customizations/.claude/hooks/validate-orchestrator-output-routing.ps1 +170 -0
  70. package/resources/claude-customizations/.claude/hooks/validate-orchestrator-output.ps1 +115 -190
  71. package/resources/claude-customizations/.claude/hooks/validate-planner-output.ps1 +77 -33
  72. package/resources/claude-customizations/.claude/hooks/validate-pr-author-output.ps1 +39 -44
  73. package/resources/claude-customizations/.claude/hooks/validate-prd-feature-output.ps1 +43 -14
  74. package/resources/claude-customizations/.claude/hooks/validate-required-artifact-output.ps1 +66 -36
  75. package/resources/claude-customizations/.claude/hooks/validate-task-researcher-output.ps1 +52 -36
  76. package/resources/claude-customizations/.claude/lib/bash/mutate-parallel-run.sh +191 -0
  77. package/resources/claude-customizations/.claude/lib/bash/parallel-cohorts.sh +13 -3
  78. package/resources/claude-customizations/.claude/lib/bash/parallel-mutation-cli.sh +152 -0
  79. package/resources/claude-customizations/.claude/lib/bash/parallel-mutation-ops.sh +193 -0
  80. package/resources/claude-customizations/.claude/lib/bash/parallel-mutation.sh +322 -0
  81. package/resources/claude-customizations/.claude/lib/bash/remove-parallel-item.sh +146 -0
  82. package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadiusExtraction.psm1 +23 -33
  83. package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadiusTokenShape.psm1 +86 -6
  84. package/resources/claude-customizations/.claude/lib/ci-gate/Invoke-CiGateParser.ps1 +91 -19
  85. package/resources/claude-customizations/.claude/lib/ci-gate/Invoke-MergeConfirmationParser.ps1 +203 -0
  86. package/resources/claude-customizations/.claude/lib/orchestrator-state/OrchestratorStateEpicWaveBarrier.psm1 +346 -0
  87. package/resources/claude-customizations/.claude/lib/orchestrator-state/OrchestratorStateIssueAdoption.psm1 +24 -3
  88. package/resources/claude-customizations/.claude/lib/worktree-resolution/WorktreeItemResolution.psm1 +79 -2
  89. package/resources/claude-customizations/.claude/lib/worktree-resolution/WorktreeRunResolution.psm1 +3 -3
  90. package/resources/claude-customizations/.claude/rules/architecture-boundaries.md +5 -5
  91. package/resources/claude-customizations/.claude/rules/csharp.md +2 -2
  92. package/resources/claude-customizations/.claude/rules/general-code-change.md +1 -1
  93. package/resources/claude-customizations/.claude/rules/general-unit-test.md +3 -2
  94. package/resources/claude-customizations/.claude/rules/orchestrator-state.md +37 -4
  95. package/resources/claude-customizations/.claude/rules/parallel-orchestration.md +50 -5
  96. package/resources/claude-customizations/.claude/rules/plan-acceptance-gates.md +85 -10
  97. package/resources/claude-customizations/.claude/rules/quality-tiers.md +11 -7
  98. package/resources/claude-customizations/.claude/rules/shell.md +10 -8
  99. package/resources/claude-customizations/.claude/rules/typescript.md +1 -1
  100. package/resources/claude-customizations/.claude/settings.json +3 -4
  101. package/resources/claude-customizations/.claude/skills/acceptance-criteria-tracking/SKILL.md +1 -1
  102. package/resources/claude-customizations/.claude/skills/atomic-plan-contract/SKILL.md +52 -16
  103. package/resources/claude-customizations/.claude/skills/cleanup-merged-worktrees/SKILL.md +7 -3
  104. package/resources/claude-customizations/.claude/skills/cleanup-merged-worktrees/scripts/cleanup_worktrees_detached_lib.sh +1 -1
  105. package/resources/claude-customizations/.claude/skills/cleanup-merged-worktrees/scripts/cleanup_worktrees_enumerate_lib.sh +2 -0
  106. package/resources/claude-customizations/.claude/skills/cleanup-merged-worktrees/scripts/cleanup_worktrees_scan_helper.sh +2 -0
  107. package/resources/claude-customizations/.claude/skills/csharp-change-budget-router/SKILL.md +2 -2
  108. package/resources/claude-customizations/.claude/skills/epic-orchestrate/SKILL.md +45 -9
  109. package/resources/claude-customizations/.claude/skills/epic-plan/SKILL.md +5 -3
  110. package/resources/claude-customizations/.claude/skills/evidence-and-timestamp-conventions/SKILL.md +10 -1
  111. package/resources/claude-customizations/.claude/skills/execution-environment/SKILL.md +134 -0
  112. package/resources/claude-customizations/.claude/skills/feature-promotion-lifecycle/SKILL.md +1 -1
  113. package/resources/claude-customizations/.claude/skills/feature-review-workflow/SKILL.md +4 -3
  114. package/resources/claude-customizations/.claude/skills/orchestrate/SKILL.md +36 -15
  115. package/resources/claude-customizations/.claude/skills/parallel-add/SKILL.md +52 -14
  116. package/resources/claude-customizations/.claude/skills/parallel-close/SKILL.md +22 -9
  117. package/resources/claude-customizations/.claude/skills/parallel-orchestrate/SKILL.md +108 -21
  118. package/resources/claude-customizations/.claude/skills/parallel-plan/SKILL.md +63 -7
  119. package/resources/claude-customizations/.claude/skills/parallel-remove/SKILL.md +35 -12
  120. package/resources/claude-customizations/.claude/skills/powershell-change-budget-router/SKILL.md +1 -1
  121. package/resources/claude-customizations/.claude/skills/pr-author/SKILL.md +3 -1
  122. package/resources/claude-customizations/.claude/skills/python-change-budget-router/SKILL.md +1 -1
  123. package/resources/claude-customizations/.claude/skills/quota-throttling/SKILL.md +1 -1
  124. package/resources/claude-customizations/.claude/skills/remediation-handoff-atomic-planner/SKILL.md +16 -8
  125. package/resources/claude-customizations/.claude/skills/research-issue/SKILL.md +6 -0
  126. package/resources/claude-customizations/pack-manifests/core.json +27 -0
  127. package/resources/codex-and-agents-customizations/.agents/skills/README.md +1 -0
  128. package/resources/codex-and-agents-customizations/.agents/skills/acceptance-criteria-tracking/SKILL.md +1 -1
  129. package/resources/codex-and-agents-customizations/.agents/skills/architecture-boundaries/SKILL.md +5 -5
  130. package/resources/codex-and-agents-customizations/.agents/skills/atomic-executor/SKILL.md +19 -7
  131. package/resources/codex-and-agents-customizations/.agents/skills/atomic-plan-contract/SKILL.md +43 -4
  132. package/resources/codex-and-agents-customizations/.agents/skills/atomic-planner/SKILL.md +18 -6
  133. package/resources/codex-and-agents-customizations/.agents/skills/csharp/SKILL.md +2 -2
  134. package/resources/codex-and-agents-customizations/.agents/skills/csharp-change-budget-router/SKILL.md +2 -2
  135. package/resources/codex-and-agents-customizations/.agents/skills/csharp-qa-gate/SKILL.md +2 -2
  136. package/resources/codex-and-agents-customizations/.agents/skills/epic-orchestrate/SKILL.md +16 -1
  137. package/resources/codex-and-agents-customizations/.agents/skills/epic-plan/SKILL.md +17 -1
  138. package/resources/codex-and-agents-customizations/.agents/skills/epic-run/SKILL.md +2 -1
  139. package/resources/codex-and-agents-customizations/.agents/skills/evidence-and-timestamp-conventions/SKILL.md +10 -1
  140. package/resources/codex-and-agents-customizations/.agents/skills/execution-environment/SKILL.md +134 -0
  141. package/resources/codex-and-agents-customizations/.agents/skills/feature-review-workflow/SKILL.md +13 -5
  142. package/resources/codex-and-agents-customizations/.agents/skills/general-code-change/SKILL.md +1 -1
  143. package/resources/codex-and-agents-customizations/.agents/skills/general-unit-test/SKILL.md +3 -2
  144. package/resources/codex-and-agents-customizations/.agents/skills/orchestrate/SKILL.md +27 -8
  145. package/resources/codex-and-agents-customizations/.agents/skills/orchestrator-workflow/SKILL.md +1 -1
  146. package/resources/codex-and-agents-customizations/.agents/skills/powershell-change-budget-router/SKILL.md +1 -1
  147. package/resources/codex-and-agents-customizations/.agents/skills/python-change-budget-router/SKILL.md +1 -1
  148. package/resources/codex-and-agents-customizations/.agents/skills/quality-tiers/SKILL.md +11 -7
  149. package/resources/codex-and-agents-customizations/.agents/skills/remediation-handoff-atomic-planner/SKILL.md +7 -3
  150. package/resources/codex-and-agents-customizations/.agents/skills/research-issue/SKILL.md +6 -0
  151. package/resources/codex-and-agents-customizations/.agents/skills/translate-claude-to-codex/SKILL.md +1 -1
  152. package/resources/codex-and-agents-customizations/.agents-variants/csharp-legacy/skills/csharp/SKILL.md +2 -2
  153. package/resources/codex-and-agents-customizations/.agents-variants/csharp-legacy/skills/csharp-qa-gate/SKILL.md +2 -2
  154. package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor-c1.toml +21 -6
  155. package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor-c2.toml +21 -6
  156. package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor-c3-elevated.toml +21 -6
  157. package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor-c3.toml +21 -6
  158. package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor-c4.toml +21 -6
  159. package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor.toml +21 -6
  160. package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner-c1.toml +15 -2
  161. package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner-c2.toml +15 -2
  162. package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner-c3-elevated.toml +15 -2
  163. package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner-c3.toml +15 -2
  164. package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner-c4.toml +15 -2
  165. package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner.toml +15 -2
  166. package/resources/codex-and-agents-customizations/.codex/agents/atomic-planning.toml +1 -1
  167. package/resources/codex-and-agents-customizations/.codex/agents/csharp-atomic-planning.toml +1 -1
  168. package/resources/codex-and-agents-customizations/.codex/agents/epic-orchestrator.toml +4 -1
  169. package/resources/codex-and-agents-customizations/.codex/agents/feature-review.toml +6 -6
  170. package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c1.toml +7 -4
  171. package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c2.toml +7 -4
  172. package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c3-elevated.toml +7 -4
  173. package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c3.toml +7 -4
  174. package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c4.toml +7 -4
  175. package/resources/codex-and-agents-customizations/.codex/agents/orchestrator.toml +7 -4
  176. package/resources/codex-and-agents-customizations/.codex/agents/powershell-atomic-planning.toml +1 -1
  177. package/resources/codex-and-agents-customizations/.codex/agents/python-atomic-planning.toml +1 -1
  178. package/resources/codex-and-agents-customizations/.codex/agents/task-researcher-c1.toml +6 -0
  179. package/resources/codex-and-agents-customizations/.codex/agents/task-researcher-c2.toml +6 -0
  180. package/resources/codex-and-agents-customizations/.codex/agents/task-researcher-c3-elevated.toml +6 -0
  181. package/resources/codex-and-agents-customizations/.codex/agents/task-researcher-c3.toml +6 -0
  182. package/resources/codex-and-agents-customizations/.codex/agents/task-researcher-c4.toml +6 -0
  183. package/resources/codex-and-agents-customizations/.codex/agents/task-researcher.toml +6 -0
  184. package/resources/codex-and-agents-customizations/.codex/codex-web-setup.sh +318 -273
  185. package/resources/codex-and-agents-customizations/.codex/config.toml +1 -1
  186. package/resources/codex-and-agents-customizations/.codex/hooks/check-powershell-test-purity.ps1 +7 -1
  187. package/resources/codex-and-agents-customizations/.codex/hooks/check-python-test-purity.ps1 +7 -1
  188. package/resources/codex-and-agents-customizations/.codex/hooks/codex-epic-child-launch-attestation.ps1 +1 -1
  189. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-checkpoint-monotonic.ps1 +7 -1
  190. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-codex-model-routing.ps1 +8 -2
  191. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-completion-consistency.ps1 +97 -44
  192. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-completion-helpers.ps1 +105 -0
  193. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-epic-child-worktree-binding.ps1 +7 -1
  194. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-epic-merge-gate-command.ps1 +190 -0
  195. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-epic-merge-gate.ps1 +54 -43
  196. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-epic-planning-only.ps1 +6 -0
  197. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-epic-root-invocation.ps1 +7 -1
  198. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-epic-wave-barrier.ps1 +7 -1
  199. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-epic-worktree-removal-gate.ps1 +54 -41
  200. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-evidence-locations.ps1 +7 -1
  201. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-orchestration-preimplementation-gate-epic-scope.ps1 +35 -14
  202. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-orchestration-preimplementation-gate-helpers.ps1 +31 -58
  203. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-orchestration-preimplementation-gate-modes.ps1 +63 -47
  204. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-orchestration-preimplementation-gate-targets.ps1 +433 -0
  205. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-orchestration-preimplementation-gate.ps1 +24 -11
  206. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-powershell-batch-budget.ps1 +8 -2
  207. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-promotion-mcp-only.ps1 +13 -4
  208. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-python-batch-budget.ps1 +8 -2
  209. package/resources/codex-and-agents-customizations/.codex/hooks/feature-folder-resolution.ps1 +373 -0
  210. package/resources/codex-and-agents-customizations/.codex/hooks/feature-review-coverage-thresholds.ps1 +85 -0
  211. package/resources/codex-and-agents-customizations/.codex/hooks/hook-command-heredoc.ps1 +119 -0
  212. package/resources/codex-and-agents-customizations/.codex/hooks/hook-command-invocation-operands.ps1 +198 -0
  213. package/resources/codex-and-agents-customizations/.codex/hooks/hook-command-invocation.ps1 +254 -255
  214. package/resources/codex-and-agents-customizations/.codex/hooks/hook-command-payload-powershell.ps1 +201 -0
  215. package/resources/codex-and-agents-customizations/.codex/hooks/hook-command-payload.ps1 +484 -0
  216. package/resources/codex-and-agents-customizations/.codex/hooks/hook-command-scanner.ps1 +27 -110
  217. package/resources/codex-and-agents-customizations/.codex/hooks/hook-dependency-guard.ps1 +114 -0
  218. package/resources/codex-and-agents-customizations/.codex/hooks/hook-docs-only-diff.ps1 +497 -0
  219. package/resources/codex-and-agents-customizations/.codex/hooks/validate-bash.ps1 +8 -2
  220. package/resources/codex-and-agents-customizations/.codex/hooks/validate-codex-subagent-routing.ps1 +7 -1
  221. package/resources/codex-and-agents-customizations/.codex/hooks/validate-feature-review-coverage.ps1 +24 -8
  222. package/resources/codex-and-agents-customizations/.codex/prompts/feature-review-remediate.md +6 -4
  223. package/resources/codex-and-agents-customizations/pack-manifests/core.json +11 -0
  224. package/resources/customizations/.github/agents/atomic_executor.agent.md +21 -11
  225. package/resources/customizations/.github/agents/atomic_planning.agent.md +8 -3
  226. package/resources/customizations/.github/agents/csharp-atomic-executor.agent.md +13 -9
  227. package/resources/customizations/.github/agents/csharp-atomic-planning.agent.md +2 -2
  228. package/resources/customizations/.github/agents/csharp-orchestrator.agent.md +2 -2
  229. package/resources/customizations/.github/agents/csharp-typed-engineer.agent.md +5 -5
  230. package/resources/customizations/.github/agents/orchestrator.agent.md +8 -5
  231. package/resources/customizations/.github/agents/powershell-atomic-executor.agent.md +13 -9
  232. package/resources/customizations/.github/agents/powershell-atomic-planning.agent.md +2 -2
  233. package/resources/customizations/.github/agents/powershell-orchestrator.agent.md +2 -2
  234. package/resources/customizations/.github/agents/powershell-typed-engineer.agent.md +3 -3
  235. package/resources/customizations/.github/agents/python-atomic-executor.agent.md +13 -9
  236. package/resources/customizations/.github/agents/python-atomic-planning.agent.md +2 -2
  237. package/resources/customizations/.github/agents/python-orchestrator.agent.md +2 -2
  238. package/resources/customizations/.github/agents/task-researcher.agent.md +6 -0
  239. package/resources/customizations/.github/instructions/csharp-code-change.instructions.md +4 -4
  240. package/resources/customizations/.github/instructions/csharp-unit-test.instructions.md +2 -2
  241. package/resources/customizations/.github/prompts/generate-atomic-plan.prompt.md +16 -10
  242. package/resources/customizations/.github/prompts/orchestrate-csharp-work.prompt.md +2 -2
  243. package/resources/customizations/.github/prompts/orchestrate-powershell-work.prompt.md +1 -1
  244. package/resources/customizations/.github/prompts/orchestrate-python-work.prompt.md +1 -1
  245. package/resources/customizations/.github/prompts/orchestrate-work.prompt.md +2 -2
  246. package/resources/customizations/.github/skills/acceptance-criteria-tracking/SKILL.md +1 -1
  247. package/resources/customizations/.github/skills/atomic-plan-contract/SKILL.md +43 -4
  248. package/resources/customizations/.github/skills/csharp-change-budget-router/SKILL.md +1 -1
  249. package/resources/customizations/.github/skills/evidence-and-timestamp-conventions/SKILL.md +10 -1
  250. package/resources/customizations/.github/skills/execution-environment/SKILL.md +134 -0
  251. package/resources/customizations/.github/skills/feature-review-workflow/SKILL.md +1 -1
  252. package/resources/customizations/.github/skills/powershell-change-budget-router/SKILL.md +1 -1
  253. package/resources/customizations/.github/skills/remediation-handoff-atomic-planner/SKILL.md +7 -3
  254. package/resources/feature-templates/bug/plan.yyyy-MM-ddTHH-mm.md +10 -0
  255. package/resources/feature-templates/feature/plan.yyyy-MM-ddTHH-mm.md +11 -0
  256. package/resources/feature-templates/refactor/plan.yyyy-MM-ddTHH-mm.md +11 -0
  257. package/resources/powershell/PoshQC/PoshQC.Coverage.psm1 +314 -0
  258. package/resources/powershell/PoshQC/PoshQC.CoverageMerge.psm1 +163 -0
  259. package/resources/powershell/PoshQC/PoshQC.Shard.psm1 +296 -0
  260. package/resources/powershell/PoshQC/PoshQC.Testing.psm1 +48 -32
  261. package/resources/powershell/PoshQC/PoshQC.psd1 +7 -1
  262. package/resources/powershell/PoshQC/PoshQC.psm1 +18 -5
  263. package/resources/powershell/PoshQC/README.md +21 -3
  264. package/resources/powershell/PoshQC/settings/pester.runsettings.psd1 +5 -319
@@ -20,327 +20,13 @@
20
20
  # can map file paths correctly.
21
21
  OutputFormat = 'CoverageGutters'
22
22
  OutputPath = 'artifacts/pester/powershell-coverage.xml'
23
- Path = @(
24
- # Scope coverage to hook files with deterministic Pester coverage in this branch.
25
- # Broader script/module globs include bootstrap and one-shot automation paths that
26
- # are validated by their own suites but not meaningfully covered by this hook batch.
27
- '.claude/hooks/validate-bash.ps1'
28
- '.claude/hooks/check-python-test-purity.ps1'
29
- '.claude/hooks/check-powershell-test-purity.ps1'
30
- '.claude/hooks/enforce-python-batch-budget.ps1'
31
- '.claude/hooks/enforce-powershell-batch-budget.ps1'
32
- '.claude/hooks/enforce-batch-budget-route.ps1'
33
- # Issue #272 hardened this PreToolUse hook with a new orchestrator-state preflight
34
- # check; measured here so the change produces real per-file coverage evidence.
35
- '.claude/hooks/enforce-pr-author-skill.ps1'
36
- # Issue #214 added/changed these four release scripts and provided dedicated
37
- # Pester suites; they are measured here to produce real per-file changed-line
38
- # coverage rather than relying on behavioral-only evidence.
39
- 'scripts/powershell/Publish-DrmCopilotExtension.ps1'
40
- 'scripts/dev-tools/Invoke-FullRelease.ps1'
41
- 'scripts/dev-tools/Invoke-MarketplacePublish.ps1'
42
- 'scripts/dev-tools/Invoke-ReleaseTagPush.ps1'
43
- # Issue #275 remediation cycle 1 (fix #3): measure the epic-orchestrate hook set and
44
- # its dot-sourced sibling module so no production hook is excluded from coverage.
45
- '.claude/hooks/enforce-epic-merge-gate.ps1'
46
- # Issue #670: CodeCoverage.Path is an explicit per-file allow-list, so the dot-sourced helpers file is listed here.
47
- '.claude/hooks/enforce-epic-merge-gate-authorization.ps1'
48
- '.claude/hooks/enforce-epic-merge-gate-resolution.ps1'
49
- '.claude/hooks/enforce-epic-wave-barrier.ps1'
50
- '.claude/hooks/enforce-epic-worktree-removal-gate.ps1'
51
- '.claude/hooks/enforce-epic-worktree-removal-gate-resolution.ps1'
52
- '.claude/hooks/enforce-pr-author-skill.ps1'
53
- '.claude/hooks/validate-orchestrator-output.ps1'
54
- '.claude/hooks/enforce-pr-author-skill.epic-base-branch.ps1'
55
- # Issue #301 remediation cycle 1 (fix #1): measure the completion-consistency
56
- # hook set (Claude and Codex variants) so their Pester coverage is captured.
57
- '.claude/hooks/enforce-completion-consistency.ps1'
58
- '.claude/hooks/enforce-completion-helpers.ps1'
59
- '.codex/hooks/enforce-completion-consistency.ps1'
60
- '.codex/hooks/enforce-completion-helpers.ps1'
61
- # Issue #298 fixed ConvertTo-CommandResult's handling of an empty array Output
62
- # parameter in this script; measured here so the change produces real per-file
63
- # coverage evidence going forward.
64
- 'scripts/dev-tools/Invoke-FullReleaseFlow.ps1'
65
- # Issue #305 added this PreToolUse model-routing-receipt deterrent hook; measured
66
- # here so the new production hook is not excluded from coverage.
67
- '.claude/hooks/enforce-model-routing-receipt.ps1'
68
- # Issue #312 added the .claude-resident PowerShell model-routing library so the
69
- # push-down bundle no longer cites missing scripts/dev_tools references; measured
70
- # here so the new production module is not excluded from coverage.
71
- '.claude/lib/model-routing/ModelRouting.psm1'
72
- # The portable orchestrator-state modules make the pushed-down enforcement hooks
73
- # work in consumer repos without scripts/dev_tools; measured here so the new
74
- # production modules are not excluded from coverage.
75
- '.claude/lib/orchestrator-state/OrchestratorState.psm1'
76
- '.claude/lib/orchestrator-state/OrchestratorStateCompletion.psm1'
77
- # Issue #328 added this dev-tools worktree launcher script; measured here so the
78
- # changed production file is in the coverage denominator (R1). The test suite
79
- # dot-sources the file (guarded body) so line attribution is valid.
80
- 'scripts/dev-tools/new-claude-worktree-session.ps1'
81
- # Issue #334 added this SessionStart hook that persists the current session id;
82
- # measured here so the new production hook is not excluded from coverage. The
83
- # test suite dot-sources the file (guarded body) so line attribution is valid.
84
- '.claude/hooks/persist-session-id.ps1'
85
- # Issue #344 remediation cycle 1 (R2): measure the new production ScanConfig module
86
- # so it is not excluded from coverage; PoshQC.psm1 sub-module loading was refactored
87
- # to AST-based scriptblocks (Parser::ParseFile(...).GetScriptBlock()) so Pester
88
- # coverage breakpoints bind to the on-disk source file.
89
- 'scripts/powershell/PoshQC/PoshQC.ScanConfig.psm1'
90
- # Issue #357 remediation cycle 1 (fix #1): measure the atomic-planner SubagentStop
91
- # hook so its Pester coverage is captured in the canonical artifact.
92
- '.claude/hooks/validate-planner-output.ps1'
93
- # Issue #366 added the discovery-artifact completion-gate hooks (PreToolUse and
94
- # SubagentStop); measured here so the new production hooks are not excluded from
95
- # coverage.
96
- '.claude/hooks/enforce-discovery-artifact-gate.ps1'
97
- '.claude/hooks/validate-discovery-artifact-gate.ps1'
98
- # Issue #475 added the portable discovery-validation module so both discovery
99
- # hooks stop invoking a Python interpreter; measured here so the new production
100
- # module is not excluded from coverage.
101
- '.claude/lib/discovery-validation/DiscoveryValidation.psm1'
102
- # Issue #475 added the portable orchestrator-state parity modules so the
103
- # completion hook validates the checkpoint without a Python interpreter;
104
- # measured here so the new production modules are not excluded from coverage.
105
- '.claude/lib/orchestrator-state/OrchestratorStateCheckpointValue.psm1'
106
- '.claude/lib/orchestrator-state/OrchestratorStateReceipts.psm1'
107
- # Issue #484 added the remediation-loop R5-R11 accounting module.
108
- '.claude/lib/orchestrator-state/OrchestratorStateRemediationAccounting.psm1'
109
- '.claude/lib/orchestrator-state/OrchestratorStateModelReceipts.psm1'
110
- # Issue #475 added the portable Codex routing resolvers so the U6.X and U6.T
111
- # checkpoint checks resolve deployments and topologies without a Python
112
- # interpreter; measured here so the new production modules are not excluded.
113
- '.claude/lib/codex-routing/CodexDeployment.psm1'
114
- '.claude/lib/codex-routing/CodexTopology.psm1'
115
- # Issue #697 added the PowerShell routing CLI wrappers and their shared
116
- # helper so destinations resolve routing without a Python interpreter;
117
- # measured here so the new production scripts are not excluded.
118
- '.codex/scripts/codex-routing-cli-common.ps1'
119
- '.codex/scripts/Resolve-CodexDeployment.ps1'
120
- '.codex/scripts/Resolve-CodexTopology.ps1'
121
- '.claude/lib/orchestrator-state/OrchestratorStateCodexModelReceipts.psm1'
122
- '.claude/lib/orchestrator-state/OrchestratorStateCodexTopologyReceipts.psm1'
123
- '.claude/lib/orchestrator-state/OrchestratorStateRoutingMatrix.psm1'
124
- '.claude/lib/orchestrator-state/OrchestratorStateCompletionChecks.psm1'
125
- '.claude/lib/orchestrator-state/OrchestratorStateRoutingContract.psm1'
126
- # Issue #509 added the issue-adoption resolver consumed by the routing contract.
127
- '.claude/lib/orchestrator-state/OrchestratorStateIssueAdoption.psm1'
128
- '.claude/lib/orchestrator-state/OrchestratorStateUnconditional.psm1'
129
- # Issue #392 changed the Invoke-PoshQCTest default seams ($EnsureModule -Global
130
- # import and the global-session-state $InvokePester trampoline) so the bundled
131
- # entry path hosts the Pester run in the global session state; measured here so
132
- # the fix produces real per-file changed-line coverage evidence.
133
- 'scripts/powershell/PoshQC/PoshQC.Testing.psm1'
134
- # Issue #415 remediation cycle 1 (R1): the PreToolUse hook transport fix added the
135
- # shared payload-parsing module and rewired seven Codex hooks to consume it. Those
136
- # production files were absent from this list, so the changed surface was outside
137
- # the coverage denominator. Measured here so the changed production surface is not
138
- # excluded from coverage.
139
- '.codex/hooks/codex-pretooluse-file-mapping.ps1'
140
- '.codex/hooks/check-python-test-purity.ps1'
141
- '.codex/hooks/check-powershell-test-purity.ps1'
142
- '.codex/hooks/enforce-python-batch-budget.ps1'
143
- '.codex/hooks/enforce-powershell-batch-budget.ps1'
144
- '.codex/hooks/enforce-batch-budget-route.ps1'
145
- '.codex/hooks/enforce-evidence-locations.ps1'
146
- '.codex/hooks/enforce-checkpoint-monotonic.ps1'
147
- '.codex/hooks/enforce-orchestration-preimplementation-gate.ps1'
148
- # Issue #539 extracted the command-branch pathspec classifier into this
149
- # dot-sourced sibling for headroom; registered so the new production file stays
150
- # in the coverage denominator per the Coverage Exclusion Policy.
151
- '.codex/hooks/enforce-orchestration-preimplementation-gate-helpers.ps1'
152
- # Issue #554 added this pure dot-sourced modes sibling, holding the mode dispatch
153
- # table and the epic and parallel readiness predicates; registered so the new
154
- # production file stays in the coverage denominator per the Coverage Exclusion Policy.
155
- '.codex/hooks/enforce-orchestration-preimplementation-gate-modes.ps1'
156
- # Issue #707 added these two dot-sourced siblings for the Codex epic-scope command and path legs.
157
- '.codex/hooks/enforce-orchestration-preimplementation-gate-epic-scope.ps1'
158
- '.codex/hooks/enforce-orchestration-preimplementation-gate-epic-resolution.ps1'
159
- # Issue #415 remediation cycle 2 (R-COV): the detached-HEAD null-guard fix changed
160
- # these two Codex PreToolUse hooks. Both were absent from this list, so the changed
161
- # production surface was outside the coverage denominator. Measured here so the
162
- # changed production surface is not excluded from coverage.
163
- '.codex/hooks/enforce-epic-child-worktree-binding.ps1'
164
- '.codex/hooks/enforce-epic-planning-only.ps1'
165
- # Issue #447 added the .claude-resident PowerShell blast-radius library, the
166
- # two-language mirror of scripts/dev_tools/compute_blast_radius.py and its
167
- # helper modules. The set is split across seven files only to satisfy the
168
- # 500-line limit; measured here so no new production module is excluded from
169
- # coverage.
170
- # Issue #489 added BlastRadiusNormalization.psm1, which holds the
171
- # read-by-mandate exclusion plus Get-ContractIdentifier and
172
- # Resolve-BlastRadiusModule relocated out of the two modules that had run
173
- # out of headroom. The relocation moves already-measured lines, so the new
174
- # file is registered here to keep them in the coverage denominator.
175
- # Issue #502 added BlastRadiusTokenShape.psm1, the seventh file. It holds the
176
- # new placeholder-marker predicate plus Test-MultipleFeatureFolderSpan
177
- # relocated out of BlastRadiusExtraction.psm1, which had two lines of
178
- # headroom left. CodeCoverage.Path is an explicit per-file allow-list, so
179
- # without this entry the new production module and the relocated
180
- # already-measured lines would both sit outside the coverage denominator,
181
- # which the Coverage Exclusion Policy forbids.
182
- '.claude/lib/blast-radius/BlastRadiusExtraction.psm1'
183
- '.claude/lib/blast-radius/BlastRadiusGlob.psm1'
184
- '.claude/lib/blast-radius/BlastRadiusConfig.psm1'
185
- '.claude/lib/blast-radius/BlastRadiusValidation.psm1'
186
- '.claude/lib/blast-radius/BlastRadius.psm1'
187
- '.claude/lib/blast-radius/BlastRadiusNormalization.psm1'
188
- '.claude/lib/blast-radius/BlastRadiusTokenShape.psm1'
189
- # Issue #643 added the eighth file below. It holds the mechanically-mergeable
190
- # path exclusion plus the two overlap helpers relocated out of
191
- # BlastRadius.psm1. CodeCoverage.Path is an explicit per-file allow-list, so
192
- # the new module must be named here to be measured.
193
- '.claude/lib/blast-radius/BlastRadiusConflict.psm1'
194
- # Issue #722 added the ninth file below, the integration-cost scheduling
195
- # layer over the unchanged contention relation. CodeCoverage.Path is an
196
- # explicit per-file allow-list, so the new module is named here to keep
197
- # it in the coverage denominator.
198
- '.claude/lib/blast-radius/BlastRadiusScheduling.psm1'
199
- # Issue #722 also added the tenth file below, the write-intent
200
- # extraction layer the facade and validation module delegate to.
201
- '.claude/lib/blast-radius/BlastRadiusWriteIntent.psm1'
202
- # Issue #643 also added the merge library below: the line grammar, the
203
- # keyed-union merge, and the entry script. The entry script is measured
204
- # like the two modules because its Pester suite dot-sources it behind a
205
- # guarded entry-point body, so every line it attributes was executed by a
206
- # test rather than by a run of the step itself.
207
- '.claude/lib/project-file-merge/ProjectFileMergeGrammar.psm1'
208
- '.claude/lib/project-file-merge/ProjectFileMerge.psm1'
209
- '.claude/lib/project-file-merge/Resolve-MergeableConflict.ps1'
210
- # Issue #440 added the two parallel enforcement hooks (the Layer 1 cohort
211
- # barrier and the worktree removal gate) and extended the invocation-origin
212
- # hook with the parallel-agent family; measured here so no new or changed
213
- # production hook is excluded from coverage.
214
- '.claude/hooks/enforce-parallel-cohort-barrier.ps1'
215
- '.claude/hooks/enforce-parallel-worktree-removal-gate.ps1'
216
- '.claude/hooks/enforce-epic-invocation-origin.ps1'
217
- # Issue #446 added this Layer-1 parallel drift-gate PreToolUse hook; measured here so
218
- # the new production hook is not excluded from coverage.
219
- '.claude/hooks/enforce-parallel-drift-gate.ps1'
220
- # Issue #446 remediation cycle 1 split the seven shape-and-derivation helpers out of
221
- # that hook into this dot-sourced sibling module; measured here so the Coverage
222
- # Exclusion Policy's no-production-file-excluded rule still holds after the split.
223
- '.claude/hooks/enforce-parallel-drift-gate-helpers.ps1'
224
- # Issue #442 added this PreToolUse abandon-gate hook, which guards the destructive
225
- # parallel abandon disposition; measured here so the new production hook is not
226
- # excluded from coverage. The test suite dot-sources the file (guarded body) so
227
- # line attribution is valid.
228
- '.claude/hooks/enforce-parallel-abandon-gate.ps1'
229
- # Issue #491 added the Mermaid validation PreToolUse hook and its dependency-free
230
- # validator library; measured here so the new production files are not excluded from
231
- # coverage. The hook's test suite dot-sources the file (guarded body) and the library
232
- # suites import the modules, so line attribution is valid.
233
- '.claude/hooks/enforce-mermaid-validation.ps1'
234
- '.claude/lib/mermaid/MermaidGrammar.psm1'
235
- '.claude/lib/mermaid/MermaidLineScanner.psm1'
236
- '.claude/lib/mermaid/MermaidMarkdownFences.psm1'
237
- '.claude/lib/mermaid/MermaidValidation.psm1'
238
- # Issue #635 added the sanctioned-removal manifest module read by both worktree
239
- # removal gate hooks. CodeCoverage.Path is an explicit per-file allow-list, so an
240
- # unregistered production file would sit outside the coverage denominator, which
241
- # the Coverage Exclusion Policy forbids. Registered here beside the other
242
- # .claude/lib modules.
243
- '.claude/lib/cleanup-manifest/CleanupWorktreeManifest.psm1'
244
- # Issue #501 fixed the PreToolUse payload transport and shape across the whole
245
- # hook surface. CodeCoverage.Path is an explicit per-file allow-list, so the new
246
- # shared payload module, the six hooks that were changed but never registered,
247
- # and the two dot-sourced helper siblings extracted for headroom are registered
248
- # here. Without them the changed production surface would sit outside the
249
- # coverage denominator, which the Coverage Exclusion Policy forbids.
250
- '.claude/lib/hook-payload/HookPayload.psm1'
251
- '.claude/hooks/enforce-promotion-mcp-only.ps1'
252
- '.claude/hooks/enforce-orchestration-preimplementation-gate.ps1'
253
- # Issue #539 extracted the command-branch pathspec classifier into this
254
- # dot-sourced sibling for headroom; registered so the new production file stays
255
- # in the coverage denominator per the Coverage Exclusion Policy.
256
- '.claude/hooks/enforce-orchestration-preimplementation-gate-helpers.ps1'
257
- # Issue #554 added this pure dot-sourced modes sibling, holding the mode dispatch
258
- # table and the epic and parallel readiness predicates; registered so the new
259
- # production file stays in the coverage denominator per the Coverage Exclusion Policy.
260
- '.claude/hooks/enforce-orchestration-preimplementation-gate-modes.ps1'
261
- # Issue #663 added this dot-sourced sibling for the epic-scope command and path legs.
262
- '.claude/hooks/enforce-orchestration-preimplementation-gate-epic-scope.ps1'
263
- '.claude/hooks/enforce-evidence-locations.ps1'
264
- '.claude/hooks/enforce-feature-folder-order.ps1'
265
- '.claude/hooks/enforce-checkpoint-monotonic.ps1'
266
- '.claude/hooks/enforce-prd-feature-before-planner.ps1'
267
- # Issue #672 split the prd-feature gate's resolution logic into a dot-sourced
268
- # sibling; registered so the new production file stays in the coverage
269
- # denominator per the Coverage Exclusion Policy.
270
- '.claude/hooks/enforce-prd-feature-before-planner-helpers.ps1'
271
- '.claude/hooks/enforce-parallel-cohort-barrier-helpers.ps1'
272
- '.claude/hooks/enforce-pr-author-skill-helpers.ps1'
273
- # Issue #526 added this out-of-band release-verification module (Layer B of the
274
- # missed-npm-publish defence). CodeCoverage.Path is an explicit per-file
275
- # allow-list, so the new production file is registered here; without it the file
276
- # would sit outside the coverage denominator, which the Coverage Exclusion Policy
277
- # forbids. Its Pester suite dot-sources the file (guarded entry-point body), so
278
- # line attribution is valid.
279
- 'scripts/dev-tools/Invoke-ReleaseVerification.ps1'
280
- # Issue #526 split the pure helpers of the verification module into this sibling
281
- # file, because the parent stood one line under the 500-line cap. CodeCoverage.Path
282
- # is an explicit per-file allow-list, so the new production file must be registered
283
- # here to stay inside the coverage denominator; without it the relocated lines would
284
- # leave the denominator entirely, which the Coverage Exclusion Policy forbids. Its
285
- # Pester suite dot-sources the file, and the file declares no entry-point block, so
286
- # line attribution is valid.
287
- 'scripts/dev-tools/Invoke-ReleaseVerificationHelpers.ps1'
288
- # Issue #526 added this release-reconciliation module (Layer C of the
289
- # missed-npm-publish defence). CodeCoverage.Path is an explicit per-file
290
- # allow-list, so the new production file is registered here; without it the file
291
- # would sit outside the coverage denominator, which the Coverage Exclusion Policy
292
- # forbids. Its Pester suite dot-sources the file (guarded entry-point body), so
293
- # line attribution is valid.
294
- 'scripts/dev-tools/Invoke-ReleaseReconciliation.ps1'
295
- # Issue #552 validates start-time routing attestation coverage for this hook.
296
- '.codex/hooks/record-subagent-routing-attestation.ps1'
297
- # Issue #545 adds the shared command parser as two dot-sourced .ps1 siblings, one
298
- # pair per runtime. CodeCoverage.Path is an explicit per-file allow-list, so each
299
- # new production file is registered here; without it the file would sit outside
300
- # the coverage denominator, which the Coverage Exclusion Policy forbids. Both
301
- # files define functions only and are dot-sourced by their Pester suites, so line
302
- # attribution is valid. No extensions/drm-copilot/resources/ path is added,
303
- # because the list holds zero entries under that prefix and every bundle mirror is
304
- # guarded by byte identity instead.
305
- '.claude/hooks/hook-command-scanner.ps1'
306
- '.claude/hooks/hook-command-invocation.ps1'
307
- '.codex/hooks/hook-command-scanner.ps1'
308
- '.codex/hooks/hook-command-invocation.ps1'
309
- # Issue #545 also modifies four Codex canonical hooks that the [P0-T9] baseline
310
- # recorded as absent from this list. They are registered here so the files this
311
- # change edits are all inside the coverage denominator.
312
- '.codex/hooks/enforce-promotion-mcp-only.ps1'
313
- '.codex/hooks/enforce-epic-merge-gate.ps1'
314
- '.codex/hooks/enforce-epic-worktree-removal-gate.ps1'
315
- '.codex/hooks/validate-bash.ps1'
316
- # Issue #669 added the worktree-resolution module (target-worktree locator, path
317
- # normaliser, and four-state call-target derivation). CodeCoverage.Path is an
318
- # explicit per-file allow-list, so an unregistered production file would sit
319
- # outside the coverage denominator, which the Coverage Exclusion Policy forbids.
320
- # Registered here beside the other .claude/lib modules.
321
- '.claude/lib/worktree-resolution/WorktreeResolution.psm1'
322
- '.claude/lib/worktree-resolution/WorktreeTargetResolution.psm1'
323
- # Issue #673 added the identity-resolution module, registered for the same reason.
324
- '.claude/lib/worktree-resolution/WorktreeItemResolution.psm1'
325
- # Issue #663 added the epic-scope resolver and its pure readiness predicates.
326
- '.claude/lib/worktree-resolution/EpicScopeResolution.psm1'
327
- '.claude/lib/worktree-resolution/EpicScopeReadiness.psm1'
328
- # Issue #690 added the run-target resolver; registered so it stays in the coverage denominator.
329
- '.claude/lib/worktree-resolution/WorktreeRunResolution.psm1'
330
- # Issue #762 relocated the CI gate parser into the bundled .claude/lib tree so
331
- # push-down carries it with the orchestrate and epic-orchestrate skills.
332
- # CodeCoverage.Path is an explicit per-file allow-list, so the relocated production
333
- # file is registered here to stay in the coverage denominator.
334
- '.claude/lib/ci-gate/Invoke-CiGateParser.ps1'
335
- # Issue #763 ported radius drift detection to the destination runtime as two pure
336
- # modules and an entry script under .claude/lib/parallel-drift. CodeCoverage.Path is an
337
- # explicit per-file allow-list, so each new production file is registered here.
338
- '.claude/lib/parallel-drift/ParallelDriftHalt.psm1'
339
- '.claude/lib/parallel-drift/ParallelDrift.psm1'
340
- '.claude/lib/parallel-drift/Invoke-ParallelDriftDetection.ps1'
341
- )
23
+ # Issue #527: no Path list. Invoke-PoshQCTest derives the coverage population from the
24
+ # workspace (config/poshqc-coverage.json, else the effective test scan folders); see README.md.
342
25
  # Optional: don't fail the run on coverage percentage
343
26
  CoveragePercentTarget = 0
27
+ # Issue #953: collect coverage with Pester's profiler-based tracer instead of
28
+ # breakpoints. The coverage population and denominator are unchanged.
29
+ UseBreakpoints = $false
344
30
  }
345
31
  }
346
32