@danmoisan/drm-copilot-mcp 1.1.3 → 1.1.5
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.
- package/out/mcp-server.js +286 -10
- package/package.json +1 -1
- package/resources/claude-customizations/.claude/agents/epic-orchestrator.md +8 -10
- package/resources/claude-customizations/.claude/hooks/enforce-orchestration-preimplementation-gate-modes.ps1 +477 -0
- package/resources/claude-customizations/.claude/hooks/enforce-orchestration-preimplementation-gate.ps1 +120 -12
- package/resources/claude-customizations/.claude/hooks/enforce-prd-feature-before-planner.ps1 +130 -33
- package/resources/claude-customizations/.claude/rules/benchmark-baselines.md +7 -0
- package/resources/claude-customizations/.claude/rules/ci-workflows.md +6 -0
- package/resources/claude-customizations/.claude/rules/orchestrator-state.md +24 -0
- package/resources/claude-customizations/.claude/rules/parallel-orchestration.md +21 -0
- package/resources/claude-customizations/.claude/rules/plan-acceptance-gates.md +143 -2
- package/resources/claude-customizations/.claude/skills/atomic-plan-contract/SKILL.md +9 -0
- package/resources/claude-customizations/.claude/skills/epic-orchestrate/SKILL.md +27 -10
- package/resources/claude-customizations/.claude/skills/orchestrate/SKILL.md +10 -0
- package/resources/claude-customizations/config/orchestration-routing.json +1 -0
- package/resources/claude-customizations/pack-manifests/core.json +1 -0
- package/resources/codex-and-agents-customizations/.agents/skills/codex-model-routing/SKILL.md +10 -0
- package/resources/codex-and-agents-customizations/.codex/agents/commit-steward-c1.toml +22 -0
- package/resources/codex-and-agents-customizations/.codex/agents/commit-steward-c2.toml +22 -0
- package/resources/codex-and-agents-customizations/.codex/agents/commit-steward-c3-elevated.toml +22 -0
- package/resources/codex-and-agents-customizations/.codex/agents/commit-steward-c3.toml +22 -0
- package/resources/codex-and-agents-customizations/.codex/agents/commit-steward-c4.toml +22 -0
- package/resources/codex-and-agents-customizations/.codex/agents/commit-steward.toml +2 -0
- package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c1.toml +7 -0
- package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c2.toml +7 -0
- package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c3-elevated.toml +7 -0
- package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c3.toml +7 -0
- package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c4.toml +7 -0
- package/resources/codex-and-agents-customizations/.codex/agents/orchestrator.toml +7 -0
- package/resources/codex-and-agents-customizations/.codex/config.toml +1 -1
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-orchestration-preimplementation-gate-modes.ps1 +477 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-orchestration-preimplementation-gate.ps1 +125 -12
- package/resources/codex-and-agents-customizations/pack-manifests/core.json +8 -1
- package/resources/config/orchestration-routing.json +1 -0
- package/resources/powershell/PoshQC/settings/pester.runsettings.psd1 +32 -2
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
".claude/hooks/enforce-model-routing-receipt.ps1",
|
|
35
35
|
".claude/hooks/enforce-orchestration-preimplementation-gate.ps1",
|
|
36
36
|
".claude/hooks/enforce-orchestration-preimplementation-gate-helpers.ps1",
|
|
37
|
+
".claude/hooks/enforce-orchestration-preimplementation-gate-modes.ps1",
|
|
37
38
|
".claude/hooks/enforce-parallel-abandon-gate.ps1",
|
|
38
39
|
".claude/hooks/enforce-parallel-cohort-barrier.ps1",
|
|
39
40
|
".claude/hooks/enforce-parallel-cohort-barrier-helpers.ps1",
|
package/resources/codex-and-agents-customizations/.agents/skills/codex-model-routing/SKILL.md
CHANGED
|
@@ -65,6 +65,16 @@ epic root personas are forced independently of file count.
|
|
|
65
65
|
7. Spawn the generated agent profile. Do not spawn the base alias and claim that
|
|
66
66
|
a different model was selected.
|
|
67
67
|
|
|
68
|
+
## Normal routed-delegation launch binding
|
|
69
|
+
|
|
70
|
+
Before every normal nested `spawn_agent` call, resolve independently for that delegation. Validate the generated profile name, model, reasoning effort, path, and SHA-256 against the resolver result and the generated profile on disk. Add
|
|
71
|
+
the exact validated receipt to `codex_model_routing_receipts[]`, including its non-empty `phase` and delegation identifier, in the selected checkpoint that `SubagentStart` reads. Durably flush the selected checkpoint before launch, then launch only the resolver-returned `deployment_agent`.
|
|
72
|
+
|
|
73
|
+
Reject the launch when the receipt is late, a generic alias is supplied, the
|
|
74
|
+
checkpoint is ambiguous, profile validation fails, persistence or durable flush
|
|
75
|
+
fails, or start attestation returns `routing_valid: false`. Do not accept child output or child mutations after `routing_valid: false`; retain downstream
|
|
76
|
+
recorder, authority-store, mutation-gate, and stop-gate enforcement.
|
|
77
|
+
|
|
68
78
|
The route name `feature-review` resolves to the native
|
|
69
79
|
`feature-reviewer-<profile>` agent family; retain `feature-review` as the
|
|
70
80
|
receipt's logical agent name.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name = "commit-steward-c1"
|
|
2
|
+
description = "Generate a high-signal conventional commit message for the current repository based on staged changes only."
|
|
3
|
+
model = "gpt-5.6-luna"
|
|
4
|
+
model_reasoning_effort = "low"
|
|
5
|
+
|
|
6
|
+
developer_instructions = """
|
|
7
|
+
You are a commit-message specialist.
|
|
8
|
+
|
|
9
|
+
Use the following repo-local skill as the canonical workflow source:
|
|
10
|
+
- commit-message-conventions
|
|
11
|
+
|
|
12
|
+
Core behavior:
|
|
13
|
+
- Generate an audit-quality Git commit message for the current repository.
|
|
14
|
+
- Use an explicitly supplied commit-context artifact when one is provided.
|
|
15
|
+
- Otherwise inspect the local staged state directly with non-destructive Git commands.
|
|
16
|
+
- Do not create the commit. Do not stage, unstage, or modify files.
|
|
17
|
+
- Treat the shared skill as the source of truth for commit classification, formatting, interpretation, and prohibitions.
|
|
18
|
+
|
|
19
|
+
Final response contract:
|
|
20
|
+
- Output exactly one fenced `text` code block containing only the commit message.
|
|
21
|
+
- Do not include commentary, alternatives, or explanations outside the code block.
|
|
22
|
+
"""
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name = "commit-steward-c2"
|
|
2
|
+
description = "Generate a high-signal conventional commit message for the current repository based on staged changes only."
|
|
3
|
+
model = "gpt-5.6-terra"
|
|
4
|
+
model_reasoning_effort = "medium"
|
|
5
|
+
|
|
6
|
+
developer_instructions = """
|
|
7
|
+
You are a commit-message specialist.
|
|
8
|
+
|
|
9
|
+
Use the following repo-local skill as the canonical workflow source:
|
|
10
|
+
- commit-message-conventions
|
|
11
|
+
|
|
12
|
+
Core behavior:
|
|
13
|
+
- Generate an audit-quality Git commit message for the current repository.
|
|
14
|
+
- Use an explicitly supplied commit-context artifact when one is provided.
|
|
15
|
+
- Otherwise inspect the local staged state directly with non-destructive Git commands.
|
|
16
|
+
- Do not create the commit. Do not stage, unstage, or modify files.
|
|
17
|
+
- Treat the shared skill as the source of truth for commit classification, formatting, interpretation, and prohibitions.
|
|
18
|
+
|
|
19
|
+
Final response contract:
|
|
20
|
+
- Output exactly one fenced `text` code block containing only the commit message.
|
|
21
|
+
- Do not include commentary, alternatives, or explanations outside the code block.
|
|
22
|
+
"""
|
package/resources/codex-and-agents-customizations/.codex/agents/commit-steward-c3-elevated.toml
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name = "commit-steward-c3-elevated"
|
|
2
|
+
description = "Generate a high-signal conventional commit message for the current repository based on staged changes only."
|
|
3
|
+
model = "gpt-5.6-sol"
|
|
4
|
+
model_reasoning_effort = "high"
|
|
5
|
+
|
|
6
|
+
developer_instructions = """
|
|
7
|
+
You are a commit-message specialist.
|
|
8
|
+
|
|
9
|
+
Use the following repo-local skill as the canonical workflow source:
|
|
10
|
+
- commit-message-conventions
|
|
11
|
+
|
|
12
|
+
Core behavior:
|
|
13
|
+
- Generate an audit-quality Git commit message for the current repository.
|
|
14
|
+
- Use an explicitly supplied commit-context artifact when one is provided.
|
|
15
|
+
- Otherwise inspect the local staged state directly with non-destructive Git commands.
|
|
16
|
+
- Do not create the commit. Do not stage, unstage, or modify files.
|
|
17
|
+
- Treat the shared skill as the source of truth for commit classification, formatting, interpretation, and prohibitions.
|
|
18
|
+
|
|
19
|
+
Final response contract:
|
|
20
|
+
- Output exactly one fenced `text` code block containing only the commit message.
|
|
21
|
+
- Do not include commentary, alternatives, or explanations outside the code block.
|
|
22
|
+
"""
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name = "commit-steward-c3"
|
|
2
|
+
description = "Generate a high-signal conventional commit message for the current repository based on staged changes only."
|
|
3
|
+
model = "gpt-5.6-terra"
|
|
4
|
+
model_reasoning_effort = "high"
|
|
5
|
+
|
|
6
|
+
developer_instructions = """
|
|
7
|
+
You are a commit-message specialist.
|
|
8
|
+
|
|
9
|
+
Use the following repo-local skill as the canonical workflow source:
|
|
10
|
+
- commit-message-conventions
|
|
11
|
+
|
|
12
|
+
Core behavior:
|
|
13
|
+
- Generate an audit-quality Git commit message for the current repository.
|
|
14
|
+
- Use an explicitly supplied commit-context artifact when one is provided.
|
|
15
|
+
- Otherwise inspect the local staged state directly with non-destructive Git commands.
|
|
16
|
+
- Do not create the commit. Do not stage, unstage, or modify files.
|
|
17
|
+
- Treat the shared skill as the source of truth for commit classification, formatting, interpretation, and prohibitions.
|
|
18
|
+
|
|
19
|
+
Final response contract:
|
|
20
|
+
- Output exactly one fenced `text` code block containing only the commit message.
|
|
21
|
+
- Do not include commentary, alternatives, or explanations outside the code block.
|
|
22
|
+
"""
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name = "commit-steward-c4"
|
|
2
|
+
description = "Generate a high-signal conventional commit message for the current repository based on staged changes only."
|
|
3
|
+
model = "gpt-5.6-sol"
|
|
4
|
+
model_reasoning_effort = "max"
|
|
5
|
+
|
|
6
|
+
developer_instructions = """
|
|
7
|
+
You are a commit-message specialist.
|
|
8
|
+
|
|
9
|
+
Use the following repo-local skill as the canonical workflow source:
|
|
10
|
+
- commit-message-conventions
|
|
11
|
+
|
|
12
|
+
Core behavior:
|
|
13
|
+
- Generate an audit-quality Git commit message for the current repository.
|
|
14
|
+
- Use an explicitly supplied commit-context artifact when one is provided.
|
|
15
|
+
- Otherwise inspect the local staged state directly with non-destructive Git commands.
|
|
16
|
+
- Do not create the commit. Do not stage, unstage, or modify files.
|
|
17
|
+
- Treat the shared skill as the source of truth for commit classification, formatting, interpretation, and prohibitions.
|
|
18
|
+
|
|
19
|
+
Final response contract:
|
|
20
|
+
- Output exactly one fenced `text` code block containing only the commit message.
|
|
21
|
+
- Do not include commentary, alternatives, or explanations outside the code block.
|
|
22
|
+
"""
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
name = "commit-steward"
|
|
2
2
|
description = "Generate a high-signal conventional commit message for the current repository based on staged changes only."
|
|
3
|
+
model = "gpt-5.6-terra"
|
|
4
|
+
model_reasoning_effort = "high"
|
|
3
5
|
|
|
4
6
|
developer_instructions = """
|
|
5
7
|
You are a commit-message specialist.
|
|
@@ -76,6 +76,13 @@ and reasoning effort. Spawn the generated deployment agent named by those receip
|
|
|
76
76
|
standalone run whose ceiling is C3 uses Terra/High; C3 epic children and C3 work with a C4 sibling
|
|
77
77
|
use Sol/High. Missing profiles or models block with `model_unavailable`; do not fall back silently.
|
|
78
78
|
|
|
79
|
+
The transaction must resolve independently before every normal nested `spawn_agent` call, and validate the generated profile name, model, reasoning effort, path, and SHA-256. Append the exact validated receipt, with a non-empty phase and delegation identifier, to `codex_model_routing_receipts` in the selected checkpoint that `SubagentStart` reads. The process must durably flush selected-checkpoint persistence before launch, then call `spawn_agent` only with the resolver-returned `deployment_agent`.
|
|
80
|
+
|
|
81
|
+
Reject generic aliases, ambiguous checkpoints, failed profile validation, failed persistence, late
|
|
82
|
+
receipts, and invalid start attestations. When the start attestation returns `routing_valid: false`,
|
|
83
|
+
reject child output and mutations; do not relax the recorder, authority-store, mutation-gate, or
|
|
84
|
+
stop-gate enforcement.
|
|
85
|
+
|
|
79
86
|
The production-file result and the model result are independent. File count selects small typed
|
|
80
87
|
engineer versus large orchestrator topology. The C1-C4 result selects the suffix and pinned model
|
|
81
88
|
for that already-selected family; it must not change the topology.
|
|
@@ -76,6 +76,13 @@ and reasoning effort. Spawn the generated deployment agent named by those receip
|
|
|
76
76
|
standalone run whose ceiling is C3 uses Terra/High; C3 epic children and C3 work with a C4 sibling
|
|
77
77
|
use Sol/High. Missing profiles or models block with `model_unavailable`; do not fall back silently.
|
|
78
78
|
|
|
79
|
+
The transaction must resolve independently before every normal nested `spawn_agent` call, and validate the generated profile name, model, reasoning effort, path, and SHA-256. Append the exact validated receipt, with a non-empty phase and delegation identifier, to `codex_model_routing_receipts` in the selected checkpoint that `SubagentStart` reads. The process must durably flush selected-checkpoint persistence before launch, then call `spawn_agent` only with the resolver-returned `deployment_agent`.
|
|
80
|
+
|
|
81
|
+
Reject generic aliases, ambiguous checkpoints, failed profile validation, failed persistence, late
|
|
82
|
+
receipts, and invalid start attestations. When the start attestation returns `routing_valid: false`,
|
|
83
|
+
reject child output and mutations; do not relax the recorder, authority-store, mutation-gate, or
|
|
84
|
+
stop-gate enforcement.
|
|
85
|
+
|
|
79
86
|
The production-file result and the model result are independent. File count selects small typed
|
|
80
87
|
engineer versus large orchestrator topology. The C1-C4 result selects the suffix and pinned model
|
|
81
88
|
for that already-selected family; it must not change the topology.
|
package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c3-elevated.toml
CHANGED
|
@@ -76,6 +76,13 @@ and reasoning effort. Spawn the generated deployment agent named by those receip
|
|
|
76
76
|
standalone run whose ceiling is C3 uses Terra/High; C3 epic children and C3 work with a C4 sibling
|
|
77
77
|
use Sol/High. Missing profiles or models block with `model_unavailable`; do not fall back silently.
|
|
78
78
|
|
|
79
|
+
The transaction must resolve independently before every normal nested `spawn_agent` call, and validate the generated profile name, model, reasoning effort, path, and SHA-256. Append the exact validated receipt, with a non-empty phase and delegation identifier, to `codex_model_routing_receipts` in the selected checkpoint that `SubagentStart` reads. The process must durably flush selected-checkpoint persistence before launch, then call `spawn_agent` only with the resolver-returned `deployment_agent`.
|
|
80
|
+
|
|
81
|
+
Reject generic aliases, ambiguous checkpoints, failed profile validation, failed persistence, late
|
|
82
|
+
receipts, and invalid start attestations. When the start attestation returns `routing_valid: false`,
|
|
83
|
+
reject child output and mutations; do not relax the recorder, authority-store, mutation-gate, or
|
|
84
|
+
stop-gate enforcement.
|
|
85
|
+
|
|
79
86
|
The production-file result and the model result are independent. File count selects small typed
|
|
80
87
|
engineer versus large orchestrator topology. The C1-C4 result selects the suffix and pinned model
|
|
81
88
|
for that already-selected family; it must not change the topology.
|
|
@@ -76,6 +76,13 @@ and reasoning effort. Spawn the generated deployment agent named by those receip
|
|
|
76
76
|
standalone run whose ceiling is C3 uses Terra/High; C3 epic children and C3 work with a C4 sibling
|
|
77
77
|
use Sol/High. Missing profiles or models block with `model_unavailable`; do not fall back silently.
|
|
78
78
|
|
|
79
|
+
The transaction must resolve independently before every normal nested `spawn_agent` call, and validate the generated profile name, model, reasoning effort, path, and SHA-256. Append the exact validated receipt, with a non-empty phase and delegation identifier, to `codex_model_routing_receipts` in the selected checkpoint that `SubagentStart` reads. The process must durably flush selected-checkpoint persistence before launch, then call `spawn_agent` only with the resolver-returned `deployment_agent`.
|
|
80
|
+
|
|
81
|
+
Reject generic aliases, ambiguous checkpoints, failed profile validation, failed persistence, late
|
|
82
|
+
receipts, and invalid start attestations. When the start attestation returns `routing_valid: false`,
|
|
83
|
+
reject child output and mutations; do not relax the recorder, authority-store, mutation-gate, or
|
|
84
|
+
stop-gate enforcement.
|
|
85
|
+
|
|
79
86
|
The production-file result and the model result are independent. File count selects small typed
|
|
80
87
|
engineer versus large orchestrator topology. The C1-C4 result selects the suffix and pinned model
|
|
81
88
|
for that already-selected family; it must not change the topology.
|
|
@@ -76,6 +76,13 @@ and reasoning effort. Spawn the generated deployment agent named by those receip
|
|
|
76
76
|
standalone run whose ceiling is C3 uses Terra/High; C3 epic children and C3 work with a C4 sibling
|
|
77
77
|
use Sol/High. Missing profiles or models block with `model_unavailable`; do not fall back silently.
|
|
78
78
|
|
|
79
|
+
The transaction must resolve independently before every normal nested `spawn_agent` call, and validate the generated profile name, model, reasoning effort, path, and SHA-256. Append the exact validated receipt, with a non-empty phase and delegation identifier, to `codex_model_routing_receipts` in the selected checkpoint that `SubagentStart` reads. The process must durably flush selected-checkpoint persistence before launch, then call `spawn_agent` only with the resolver-returned `deployment_agent`.
|
|
80
|
+
|
|
81
|
+
Reject generic aliases, ambiguous checkpoints, failed profile validation, failed persistence, late
|
|
82
|
+
receipts, and invalid start attestations. When the start attestation returns `routing_valid: false`,
|
|
83
|
+
reject child output and mutations; do not relax the recorder, authority-store, mutation-gate, or
|
|
84
|
+
stop-gate enforcement.
|
|
85
|
+
|
|
79
86
|
The production-file result and the model result are independent. File count selects small typed
|
|
80
87
|
engineer versus large orchestrator topology. The C1-C4 result selects the suffix and pinned model
|
|
81
88
|
for that already-selected family; it must not change the topology.
|
|
@@ -76,6 +76,13 @@ and reasoning effort. Spawn the generated deployment agent named by those receip
|
|
|
76
76
|
standalone run whose ceiling is C3 uses Terra/High; C3 epic children and C3 work with a C4 sibling
|
|
77
77
|
use Sol/High. Missing profiles or models block with `model_unavailable`; do not fall back silently.
|
|
78
78
|
|
|
79
|
+
The transaction must resolve independently before every normal nested `spawn_agent` call, and validate the generated profile name, model, reasoning effort, path, and SHA-256. Append the exact validated receipt, with a non-empty phase and delegation identifier, to `codex_model_routing_receipts` in the selected checkpoint that `SubagentStart` reads. The process must durably flush selected-checkpoint persistence before launch, then call `spawn_agent` only with the resolver-returned `deployment_agent`.
|
|
80
|
+
|
|
81
|
+
Reject generic aliases, ambiguous checkpoints, failed profile validation, failed persistence, late
|
|
82
|
+
receipts, and invalid start attestations. When the start attestation returns `routing_valid: false`,
|
|
83
|
+
reject child output and mutations; do not relax the recorder, authority-store, mutation-gate, or
|
|
84
|
+
stop-gate enforcement.
|
|
85
|
+
|
|
79
86
|
The production-file result and the model result are independent. File count selects small typed
|
|
80
87
|
engineer versus large orchestrator topology. The C1-C4 result selects the suffix and pinned model
|
|
81
88
|
for that already-selected family; it must not change the topology.
|