@danmoisan/drm-copilot-mcp 1.1.7 → 1.1.8

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 (44) hide show
  1. package/out/mcp-server.js +73 -1
  2. package/package.json +1 -1
  3. package/resources/claude-customizations/.claude/agents/parallel-orchestrator.md +6 -5
  4. package/resources/claude-customizations/.claude/agents/parallel-planner.md +24 -7
  5. package/resources/claude-customizations/.claude/hooks/enforce-orchestration-preimplementation-gate-modes.ps1 +8 -5
  6. package/resources/claude-customizations/.claude/hooks/enforce-powershell-batch-budget.ps1 +186 -13
  7. package/resources/claude-customizations/.claude/hooks/enforce-python-batch-budget.ps1 +186 -13
  8. package/resources/claude-customizations/.claude/hooks/persist-session-id.ps1 +16 -5
  9. package/resources/claude-customizations/.claude/lib/bash/parallel-lane-assertion.sh +495 -0
  10. package/resources/claude-customizations/.claude/lib/bash/report-lane-assertion.sh +169 -0
  11. package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadius.psm1 +7 -5
  12. package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadiusConfig.psm1 +4 -2
  13. package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadiusExtraction.psm1 +4 -2
  14. package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadiusGlob.psm1 +2 -0
  15. package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadiusNormalization.psm1 +5 -3
  16. package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadiusTokenShape.psm1 +2 -0
  17. package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadiusValidation.psm1 +6 -4
  18. package/resources/claude-customizations/.claude/lib/codex-routing/CodexDeployment.psm1 +2 -0
  19. package/resources/claude-customizations/.claude/lib/codex-routing/CodexTopology.psm1 +2 -0
  20. package/resources/claude-customizations/.claude/lib/discovery-validation/DiscoveryValidation.psm1 +16 -16
  21. package/resources/claude-customizations/.claude/lib/hook-payload/HookPayload.psm1 +2 -0
  22. package/resources/claude-customizations/.claude/lib/mermaid/MermaidGrammar.psm1 +2 -0
  23. package/resources/claude-customizations/.claude/lib/mermaid/MermaidLineScanner.psm1 +3 -1
  24. package/resources/claude-customizations/.claude/lib/mermaid/MermaidMarkdownFences.psm1 +2 -0
  25. package/resources/claude-customizations/.claude/lib/mermaid/MermaidValidation.psm1 +5 -3
  26. package/resources/claude-customizations/.claude/lib/model-routing/ModelRouting.psm1 +2 -0
  27. package/resources/claude-customizations/.claude/lib/orchestrator-state/OrchestratorState.psm1 +11 -0
  28. package/resources/claude-customizations/.claude/lib/orchestrator-state/OrchestratorStateCheckpointValue.psm1 +2 -0
  29. package/resources/claude-customizations/.claude/lib/orchestrator-state/OrchestratorStateCodexModelReceipts.psm1 +4 -2
  30. package/resources/claude-customizations/.claude/lib/orchestrator-state/OrchestratorStateCodexTopologyReceipts.psm1 +4 -2
  31. package/resources/claude-customizations/.claude/lib/orchestrator-state/OrchestratorStateCompletion.psm1 +9 -7
  32. package/resources/claude-customizations/.claude/lib/orchestrator-state/OrchestratorStateCompletionChecks.psm1 +4 -2
  33. package/resources/claude-customizations/.claude/lib/orchestrator-state/OrchestratorStateModelReceipts.psm1 +4 -2
  34. package/resources/claude-customizations/.claude/lib/orchestrator-state/OrchestratorStateReceipts.psm1 +3 -1
  35. package/resources/claude-customizations/.claude/lib/orchestrator-state/OrchestratorStateRoutingContract.psm1 +4 -2
  36. package/resources/claude-customizations/.claude/lib/orchestrator-state/OrchestratorStateRoutingMatrix.psm1 +3 -1
  37. package/resources/claude-customizations/.claude/lib/orchestrator-state/OrchestratorStateUnconditional.psm1 +7 -5
  38. package/resources/claude-customizations/.claude/lib/requirements/GeneratedDocumentCounters.psm1 +12 -0
  39. package/resources/claude-customizations/.claude/skills/epic-orchestrate/SKILL.md +4 -4
  40. package/resources/claude-customizations/.claude/skills/parallel-add/SKILL.md +12 -9
  41. package/resources/claude-customizations/.claude/skills/parallel-orchestrate/SKILL.md +3 -3
  42. package/resources/claude-customizations/.claude/skills/parallel-plan/SKILL.md +8 -3
  43. package/resources/claude-customizations/pack-manifests/core.json +2 -0
  44. package/resources/codex-and-agents-customizations/.codex/config.toml +1 -1
@@ -182,9 +182,13 @@ PowerShell port** under `.claude/lib/blast-radius/`, which is published by push-
182
182
  Python interpreter:
183
183
 
184
184
  ```powershell
185
- Import-Module .claude/lib/blast-radius/BlastRadius.psm1 -Force
185
+ $repoRoot = git rev-parse --show-toplevel
186
+ Import-Module (Join-Path $repoRoot '.claude/lib/blast-radius/BlastRadius.psm1') -Force -ErrorAction Stop
186
187
  ```
187
188
 
189
+ The default PowerShell 5.1 execution policy blocks `Import-Module` of a `.psm1` file, so `pwsh` is
190
+ mandatory here.
191
+
188
192
  The facade re-exports the five functions this skill needs: `Get-PlanPaths` (port of
189
193
  `extract_plan_paths`), `Get-BlastRadius` (port of `derive_blast_radius`),
190
194
  `Get-BlastRadiusFromObservedPaths` (port of `radius_from_observed_paths`), `Test-BlastRadius`
@@ -314,8 +318,9 @@ The library returns the partition; the planner supplies the record fields.
314
318
  emptiness is falsy, while this one returns a hashtable whose emptiness is not expressible at all.
315
319
  2. Immediately after the conflict-edge set is derived and before anything consumes it, run the
316
320
  lane-assertion diagnostic:
317
- `poetry run python -m scripts.dev_tools.parallel_lane_assertion --manifest docs/features/parallel/<slug>/parallel.md --edges "<a>:<b> ..."`
318
- (covered by the planner's existing `Bash(poetry run *)` grant). It compares the manifest's
321
+ `bash .claude/lib/bash/report-lane-assertion.sh --manifest docs/features/parallel/<slug>/parallel.md --edges "<a>:<b> ..."`
322
+ (a bash invocation against the published payload; it requires no Python interpreter at the
323
+ destination runtime). It compares the manifest's
319
324
  optional `expected_conflict_components` assertion (invariant M8) against the connected
320
325
  components of the DERIVED conflict graph and prints one `ADVISORY` line per finding in four
321
326
  classes: expected-together-but-derived-apart, expected-apart-but-derived-together, a member
@@ -141,9 +141,11 @@
141
141
  ".claude/lib/bash/parallel-cohorts.sh",
142
142
  ".claude/lib/bash/parallel-common.sh",
143
143
  ".claude/lib/bash/parallel-items-validate.sh",
144
+ ".claude/lib/bash/parallel-lane-assertion.sh",
144
145
  ".claude/lib/bash/parallel-manifest-validate.sh",
145
146
  ".claude/lib/bash/parallel-yaml-emit.sh",
146
147
  ".claude/lib/bash/parallel-yaml-scan.sh",
148
+ ".claude/lib/bash/report-lane-assertion.sh",
147
149
  ".claude/lib/bash/validate-parallel-manifest.sh",
148
150
  "config/orchestration-routing.json",
149
151
  "config/blast-radius.json",
@@ -2,7 +2,7 @@ default_permissions = ":danger-full-access"
2
2
 
3
3
  [mcp_servers.drm-copilot]
4
4
  command = "npx"
5
- args = ["-y", "@danmoisan/drm-copilot-mcp@1.1.7"]
5
+ args = ["-y", "@danmoisan/drm-copilot-mcp@1.1.8"]
6
6
  required = true
7
7
  enabled_tools = [
8
8
  "collect_commit_context",