@danmoisan/drm-copilot-mcp 1.1.19 → 1.1.21

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 (170) hide show
  1. package/out/mcp-server.js +172 -11
  2. package/package.json +1 -1
  3. package/resources/claude-customizations/.claude/agents/atomic-executor.md +17 -6
  4. package/resources/claude-customizations/.claude/agents/atomic-planner.md +10 -2
  5. package/resources/claude-customizations/.claude/agents/epic-orchestrator.md +5 -0
  6. package/resources/claude-customizations/.claude/agents/orchestrator.md +4 -1
  7. package/resources/claude-customizations/.claude/agents/parallel-orchestrator.md +4 -0
  8. package/resources/claude-customizations/.claude/agents/task-researcher.md +8 -0
  9. package/resources/claude-customizations/.claude/hooks/enforce-epic-merge-gate-command.ps1 +190 -0
  10. package/resources/claude-customizations/.claude/hooks/enforce-epic-merge-gate.ps1 +22 -53
  11. package/resources/claude-customizations/.claude/hooks/hook-docs-only-diff.ps1 +5 -1
  12. package/resources/claude-customizations/.claude/hooks/premortem-section.ps1 +149 -0
  13. package/resources/claude-customizations/.claude/hooks/validate-executor-output.ps1 +210 -84
  14. package/resources/claude-customizations/.claude/hooks/validate-planner-output.ps1 +13 -1
  15. package/resources/claude-customizations/.claude/hooks/validate-task-researcher-output.ps1 +24 -5
  16. package/resources/claude-customizations/.claude/lib/ci-gate/Invoke-MergeConfirmationParser.ps1 +203 -0
  17. package/resources/claude-customizations/.claude/lib/codex-routing/CodexDeployment.psm1 +10 -10
  18. package/resources/claude-customizations/.claude/rules/plan-acceptance-gates.md +46 -10
  19. package/resources/claude-customizations/.claude/skills/atomic-plan-contract/SKILL.md +48 -16
  20. package/resources/claude-customizations/.claude/skills/cleanup-merged-worktrees/SKILL.md +7 -3
  21. package/resources/claude-customizations/.claude/skills/csharp-change-budget-router/SKILL.md +2 -2
  22. package/resources/claude-customizations/.claude/skills/epic-orchestrate/SKILL.md +12 -3
  23. package/resources/claude-customizations/.claude/skills/epic-plan/SKILL.md +4 -2
  24. package/resources/claude-customizations/.claude/skills/execution-environment/SKILL.md +134 -0
  25. package/resources/claude-customizations/.claude/skills/orchestrate/SKILL.md +22 -9
  26. package/resources/claude-customizations/.claude/skills/parallel-orchestrate/SKILL.md +29 -5
  27. package/resources/claude-customizations/.claude/skills/powershell-change-budget-router/SKILL.md +1 -1
  28. package/resources/claude-customizations/.claude/skills/python-change-budget-router/SKILL.md +1 -1
  29. package/resources/claude-customizations/.claude/skills/remediation-handoff-atomic-planner/SKILL.md +14 -6
  30. package/resources/claude-customizations/.claude/skills/research-issue/SKILL.md +6 -0
  31. package/resources/claude-customizations/config/orchestration-routing.json +7 -7
  32. package/resources/claude-customizations/pack-manifests/core.json +4 -0
  33. package/resources/codex-and-agents-customizations/.agents/skills/README.md +1 -0
  34. package/resources/codex-and-agents-customizations/.agents/skills/atomic-executor/SKILL.md +8 -7
  35. package/resources/codex-and-agents-customizations/.agents/skills/atomic-plan-contract/SKILL.md +39 -4
  36. package/resources/codex-and-agents-customizations/.agents/skills/atomic-planner/SKILL.md +8 -6
  37. package/resources/codex-and-agents-customizations/.agents/skills/codex-model-routing/SKILL.md +6 -6
  38. package/resources/codex-and-agents-customizations/.agents/skills/csharp-change-budget-router/SKILL.md +2 -2
  39. package/resources/codex-and-agents-customizations/.agents/skills/epic-orchestrate/SKILL.md +15 -8
  40. package/resources/codex-and-agents-customizations/.agents/skills/epic-plan/SKILL.md +2 -2
  41. package/resources/codex-and-agents-customizations/.agents/skills/execution-environment/SKILL.md +134 -0
  42. package/resources/codex-and-agents-customizations/.agents/skills/orchestrate/SKILL.md +16 -6
  43. package/resources/codex-and-agents-customizations/.agents/skills/orchestrator-workflow/SKILL.md +1 -1
  44. package/resources/codex-and-agents-customizations/.agents/skills/powershell-change-budget-router/SKILL.md +1 -1
  45. package/resources/codex-and-agents-customizations/.agents/skills/python-change-budget-router/SKILL.md +1 -1
  46. package/resources/codex-and-agents-customizations/.agents/skills/remediation-handoff-atomic-planner/SKILL.md +7 -3
  47. package/resources/codex-and-agents-customizations/.agents/skills/research-issue/SKILL.md +6 -0
  48. package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor-c1.toml +11 -7
  49. package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor-c2.toml +11 -7
  50. package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor-c3-elevated.toml +11 -7
  51. package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor-c3.toml +11 -7
  52. package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor-c4.toml +11 -7
  53. package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor.toml +11 -7
  54. package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner-c1.toml +6 -3
  55. package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner-c2.toml +6 -3
  56. package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner-c3-elevated.toml +6 -3
  57. package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner-c3.toml +6 -3
  58. package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner-c4.toml +6 -3
  59. package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner.toml +6 -3
  60. package/resources/codex-and-agents-customizations/.codex/agents/atomic-planning.toml +1 -1
  61. package/resources/codex-and-agents-customizations/.codex/agents/commit-steward-c1.toml +1 -1
  62. package/resources/codex-and-agents-customizations/.codex/agents/commit-steward-c2.toml +1 -1
  63. package/resources/codex-and-agents-customizations/.codex/agents/commit-steward-c3-elevated.toml +1 -1
  64. package/resources/codex-and-agents-customizations/.codex/agents/commit-steward-c3.toml +1 -1
  65. package/resources/codex-and-agents-customizations/.codex/agents/commit-steward-c4.toml +1 -1
  66. package/resources/codex-and-agents-customizations/.codex/agents/commit-steward.toml +1 -1
  67. package/resources/codex-and-agents-customizations/.codex/agents/csharp-atomic-planning.toml +1 -1
  68. package/resources/codex-and-agents-customizations/.codex/agents/csharp-typed-engineer-c1.toml +1 -1
  69. package/resources/codex-and-agents-customizations/.codex/agents/csharp-typed-engineer-c2.toml +1 -1
  70. package/resources/codex-and-agents-customizations/.codex/agents/csharp-typed-engineer-c3-elevated.toml +1 -1
  71. package/resources/codex-and-agents-customizations/.codex/agents/csharp-typed-engineer-c3.toml +1 -1
  72. package/resources/codex-and-agents-customizations/.codex/agents/csharp-typed-engineer-c4.toml +1 -1
  73. package/resources/codex-and-agents-customizations/.codex/agents/csharp-typed-engineer.toml +1 -1
  74. package/resources/codex-and-agents-customizations/.codex/agents/epic-orchestrator.toml +4 -2
  75. package/resources/codex-and-agents-customizations/.codex/agents/epic-planner.toml +2 -2
  76. package/resources/codex-and-agents-customizations/.codex/agents/feature-reviewer-c1.toml +1 -1
  77. package/resources/codex-and-agents-customizations/.codex/agents/feature-reviewer-c2.toml +1 -1
  78. package/resources/codex-and-agents-customizations/.codex/agents/feature-reviewer-c3-elevated.toml +1 -1
  79. package/resources/codex-and-agents-customizations/.codex/agents/feature-reviewer-c3.toml +1 -1
  80. package/resources/codex-and-agents-customizations/.codex/agents/feature-reviewer-c4.toml +1 -1
  81. package/resources/codex-and-agents-customizations/.codex/agents/feature-reviewer.toml +1 -1
  82. package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c1.toml +8 -5
  83. package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c2.toml +8 -5
  84. package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c3-elevated.toml +8 -5
  85. package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c3.toml +8 -5
  86. package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c4.toml +8 -5
  87. package/resources/codex-and-agents-customizations/.codex/agents/orchestrator.toml +8 -5
  88. package/resources/codex-and-agents-customizations/.codex/agents/powershell-atomic-planning.toml +1 -1
  89. package/resources/codex-and-agents-customizations/.codex/agents/powershell-typed-engineer-c1.toml +1 -1
  90. package/resources/codex-and-agents-customizations/.codex/agents/powershell-typed-engineer-c2.toml +1 -1
  91. package/resources/codex-and-agents-customizations/.codex/agents/powershell-typed-engineer-c3-elevated.toml +1 -1
  92. package/resources/codex-and-agents-customizations/.codex/agents/powershell-typed-engineer-c3.toml +1 -1
  93. package/resources/codex-and-agents-customizations/.codex/agents/powershell-typed-engineer-c4.toml +1 -1
  94. package/resources/codex-and-agents-customizations/.codex/agents/powershell-typed-engineer.toml +1 -1
  95. package/resources/codex-and-agents-customizations/.codex/agents/pr-author-c1.toml +1 -1
  96. package/resources/codex-and-agents-customizations/.codex/agents/pr-author-c2.toml +1 -1
  97. package/resources/codex-and-agents-customizations/.codex/agents/pr-author-c3-elevated.toml +1 -1
  98. package/resources/codex-and-agents-customizations/.codex/agents/pr-author-c3.toml +1 -1
  99. package/resources/codex-and-agents-customizations/.codex/agents/pr-author-c4.toml +1 -1
  100. package/resources/codex-and-agents-customizations/.codex/agents/pr-author.toml +1 -1
  101. package/resources/codex-and-agents-customizations/.codex/agents/prd-feature-c1.toml +1 -1
  102. package/resources/codex-and-agents-customizations/.codex/agents/prd-feature-c2.toml +1 -1
  103. package/resources/codex-and-agents-customizations/.codex/agents/prd-feature-c3-elevated.toml +1 -1
  104. package/resources/codex-and-agents-customizations/.codex/agents/prd-feature-c3.toml +1 -1
  105. package/resources/codex-and-agents-customizations/.codex/agents/prd-feature-c4.toml +1 -1
  106. package/resources/codex-and-agents-customizations/.codex/agents/prd-feature.toml +1 -1
  107. package/resources/codex-and-agents-customizations/.codex/agents/python-atomic-planning.toml +1 -1
  108. package/resources/codex-and-agents-customizations/.codex/agents/python-typed-engineer-c1.toml +1 -1
  109. package/resources/codex-and-agents-customizations/.codex/agents/python-typed-engineer-c2.toml +1 -1
  110. package/resources/codex-and-agents-customizations/.codex/agents/python-typed-engineer-c3-elevated.toml +1 -1
  111. package/resources/codex-and-agents-customizations/.codex/agents/python-typed-engineer-c3.toml +1 -1
  112. package/resources/codex-and-agents-customizations/.codex/agents/python-typed-engineer-c4.toml +1 -1
  113. package/resources/codex-and-agents-customizations/.codex/agents/python-typed-engineer.toml +1 -1
  114. package/resources/codex-and-agents-customizations/.codex/agents/task-researcher-c1.toml +7 -1
  115. package/resources/codex-and-agents-customizations/.codex/agents/task-researcher-c2.toml +7 -1
  116. package/resources/codex-and-agents-customizations/.codex/agents/task-researcher-c3-elevated.toml +7 -1
  117. package/resources/codex-and-agents-customizations/.codex/agents/task-researcher-c3.toml +7 -1
  118. package/resources/codex-and-agents-customizations/.codex/agents/task-researcher-c4.toml +7 -1
  119. package/resources/codex-and-agents-customizations/.codex/agents/task-researcher.toml +7 -1
  120. package/resources/codex-and-agents-customizations/.codex/agents/typescript-engineer-c1.toml +1 -1
  121. package/resources/codex-and-agents-customizations/.codex/agents/typescript-engineer-c2.toml +1 -1
  122. package/resources/codex-and-agents-customizations/.codex/agents/typescript-engineer-c3-elevated.toml +1 -1
  123. package/resources/codex-and-agents-customizations/.codex/agents/typescript-engineer-c3.toml +1 -1
  124. package/resources/codex-and-agents-customizations/.codex/agents/typescript-engineer-c4.toml +1 -1
  125. package/resources/codex-and-agents-customizations/.codex/agents/typescript-engineer.toml +1 -1
  126. package/resources/codex-and-agents-customizations/.codex/config.toml +1 -1
  127. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-epic-merge-gate-command.ps1 +190 -0
  128. package/resources/codex-and-agents-customizations/.codex/hooks/enforce-epic-merge-gate.ps1 +17 -38
  129. package/resources/codex-and-agents-customizations/.codex/hooks/hook-docs-only-diff.ps1 +5 -1
  130. package/resources/codex-and-agents-customizations/.codex/hooks/record-subagent-routing-attestation.ps1 +82 -70
  131. package/resources/codex-and-agents-customizations/.codex/prompts/feature-review-remediate.md +6 -4
  132. package/resources/codex-and-agents-customizations/.codex-variants/csharp-legacy/agents/csharp-typed-engineer.toml +1 -1
  133. package/resources/codex-and-agents-customizations/pack-manifests/core.json +2 -0
  134. package/resources/config/orchestration-routing.json +7 -7
  135. package/resources/customizations/.github/agents/atomic_executor.agent.md +21 -11
  136. package/resources/customizations/.github/agents/atomic_planning.agent.md +8 -3
  137. package/resources/customizations/.github/agents/csharp-atomic-executor.agent.md +13 -9
  138. package/resources/customizations/.github/agents/csharp-atomic-planning.agent.md +2 -2
  139. package/resources/customizations/.github/agents/csharp-orchestrator.agent.md +2 -2
  140. package/resources/customizations/.github/agents/csharp-typed-engineer.agent.md +3 -3
  141. package/resources/customizations/.github/agents/orchestrator.agent.md +8 -5
  142. package/resources/customizations/.github/agents/powershell-atomic-executor.agent.md +13 -9
  143. package/resources/customizations/.github/agents/powershell-atomic-planning.agent.md +2 -2
  144. package/resources/customizations/.github/agents/powershell-orchestrator.agent.md +2 -2
  145. package/resources/customizations/.github/agents/powershell-typed-engineer.agent.md +3 -3
  146. package/resources/customizations/.github/agents/python-atomic-executor.agent.md +13 -9
  147. package/resources/customizations/.github/agents/python-atomic-planning.agent.md +2 -2
  148. package/resources/customizations/.github/agents/python-orchestrator.agent.md +2 -2
  149. package/resources/customizations/.github/agents/task-researcher.agent.md +6 -0
  150. package/resources/customizations/.github/prompts/generate-atomic-plan.prompt.md +16 -10
  151. package/resources/customizations/.github/prompts/orchestrate-csharp-work.prompt.md +2 -2
  152. package/resources/customizations/.github/prompts/orchestrate-powershell-work.prompt.md +1 -1
  153. package/resources/customizations/.github/prompts/orchestrate-python-work.prompt.md +1 -1
  154. package/resources/customizations/.github/prompts/orchestrate-work.prompt.md +2 -2
  155. package/resources/customizations/.github/skills/atomic-plan-contract/SKILL.md +39 -4
  156. package/resources/customizations/.github/skills/csharp-change-budget-router/SKILL.md +1 -1
  157. package/resources/customizations/.github/skills/execution-environment/SKILL.md +134 -0
  158. package/resources/customizations/.github/skills/powershell-change-budget-router/SKILL.md +1 -1
  159. package/resources/customizations/.github/skills/remediation-handoff-atomic-planner/SKILL.md +7 -3
  160. package/resources/feature-templates/bug/plan.yyyy-MM-ddTHH-mm.md +10 -0
  161. package/resources/feature-templates/feature/plan.yyyy-MM-ddTHH-mm.md +11 -0
  162. package/resources/feature-templates/refactor/plan.yyyy-MM-ddTHH-mm.md +11 -0
  163. package/resources/lib/codex-routing/CodexDeployment.psm1 +10 -10
  164. package/resources/powershell/PoshQC/PoshQC.CoverageMerge.psm1 +163 -0
  165. package/resources/powershell/PoshQC/PoshQC.Shard.psm1 +296 -0
  166. package/resources/powershell/PoshQC/PoshQC.Testing.psm1 +23 -4
  167. package/resources/powershell/PoshQC/PoshQC.psd1 +7 -1
  168. package/resources/powershell/PoshQC/PoshQC.psm1 +17 -5
  169. package/resources/powershell/PoshQC/README.md +13 -1
  170. package/resources/powershell/PoshQC/settings/pester.runsettings.psd1 +3 -0
@@ -1,6 +1,6 @@
1
1
  name = "atomic-executor-c2"
2
2
  description = "Converted subagent"
3
- model = "gpt-5.6-terra"
3
+ model = "gpt-6.1-sol"
4
4
  model_reasoning_effort = "medium"
5
5
  developer_instructions = '''
6
6
  Applied rewrites:
@@ -11,6 +11,7 @@ Use the following repo-local skills as the canonical workflow source:
11
11
  - atomic-plan-contract
12
12
  - policy-compliance-order
13
13
  - acceptance-criteria-tracking
14
+ - execution-environment
14
15
 
15
16
  ---
16
17
  name: atomic-executor
@@ -35,11 +36,13 @@ tools:
35
36
  - "mcp__drm-copilot__run_poshqc_analyze"
36
37
  - "mcp__drm-copilot__run_poshqc_test"
37
38
  - "mcp__drm-copilot__run_poshqc_analyze_autofix"
39
+ - "mcp__drm-copilot__validate_orchestration_artifacts"
38
40
  skills:
39
41
  - policy-compliance-order
40
42
  - atomic-plan-contract
41
43
  - evidence-and-timestamp-conventions
42
44
  - acceptance-criteria-tracking
45
+ - execution-environment
43
46
  memory: project
44
47
  hooks:
45
48
  SubagentStop:
@@ -106,19 +109,20 @@ Concurrent child runs in one session share one session scratchpad, so every scra
106
109
 
107
110
  ## Preflight Validation
108
111
 
109
- When receiving a plan with directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY`, perform validation only and return exactly one of `PREFLIGHT: ALL CLEAR` or `PREFLIGHT: REVISIONS REQUIRED`.
112
+ When the delegation prompt carries the directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY`, perform validation only and return exactly one of `PREFLIGHT: ALL CLEAR` or `PREFLIGHT: REVISIONS REQUIRED`. The preflight directive belongs in the delegation prompt, never in a plan file.
110
113
 
111
114
  - `PREFLIGHT: ALL CLEAR`
112
115
  - `PREFLIGHT: REVISIONS REQUIRED`
113
- - If revisions are required, include a precise plan delta that can be applied to the same plan file.
114
- - When returning `PREFLIGHT: REVISIONS REQUIRED`, automatically hand off back to `atomic-planner` and request that it apply the delta to the same plan file.
115
- - Continue the validate -> delta -> planner-revise -> validate loop until preflight can return `PREFLIGHT: ALL CLEAR`.
116
- - If the handoff loop cannot proceed or the required validator is unavailable, stop and report blocked state.
116
+ - Review the entire plan in one pass and classify every defect as trivial or substantive, per `### Single-Pass Preflight` in `atomic-plan-contract`.
117
+ - Fix trivial defects in place, in task text only; never add, remove, or reorder tasks. Report each fix as `PREFLIGHT-FIX: <task id or heading> | <defect class> | <change made>` and name the fix record as `preflight-fix-record: <path>`.
118
+ - If revisions are required, include a precise plan delta that can be applied to the same plan file, with one `PREFLIGHT-DEFECT: <task id or heading> | <defect class> | <required change>` line per substantive defect.
119
+ - Return the result to the caller. A plan returns to the planner at most once; the orchestrator routes the defect list for one revision and runs one confirming preflight.
120
+ - If the required validator is unavailable, stop and report blocked state.
117
121
  - Before any `PREFLIGHT: ALL CLEAR` result is treated as approved, the target plan must pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`.
118
122
 
119
123
  ## Blocking Protocol
120
124
 
121
- Blocking is permitted only during preflight validation (before `[P0-T1]`). When preflight-blocked:
125
+ Blocking is permitted only during preflight validation (before `[P0-T1]`), including the preflight that opens a combined preflight-and-execute run of a proportionate remediation cycle. When preflight-blocked:
122
126
 
123
127
  1. State: `BLOCKED at preflight (before [P0-T1])`.
124
128
  2. Provide a short, concrete explanation of why.
@@ -1,6 +1,6 @@
1
1
  name = "atomic-executor-c3-elevated"
2
2
  description = "Converted subagent"
3
- model = "gpt-5.6-sol"
3
+ model = "gpt-6-astra"
4
4
  model_reasoning_effort = "high"
5
5
  developer_instructions = '''
6
6
  Applied rewrites:
@@ -11,6 +11,7 @@ Use the following repo-local skills as the canonical workflow source:
11
11
  - atomic-plan-contract
12
12
  - policy-compliance-order
13
13
  - acceptance-criteria-tracking
14
+ - execution-environment
14
15
 
15
16
  ---
16
17
  name: atomic-executor
@@ -35,11 +36,13 @@ tools:
35
36
  - "mcp__drm-copilot__run_poshqc_analyze"
36
37
  - "mcp__drm-copilot__run_poshqc_test"
37
38
  - "mcp__drm-copilot__run_poshqc_analyze_autofix"
39
+ - "mcp__drm-copilot__validate_orchestration_artifacts"
38
40
  skills:
39
41
  - policy-compliance-order
40
42
  - atomic-plan-contract
41
43
  - evidence-and-timestamp-conventions
42
44
  - acceptance-criteria-tracking
45
+ - execution-environment
43
46
  memory: project
44
47
  hooks:
45
48
  SubagentStop:
@@ -106,19 +109,20 @@ Concurrent child runs in one session share one session scratchpad, so every scra
106
109
 
107
110
  ## Preflight Validation
108
111
 
109
- When receiving a plan with directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY`, perform validation only and return exactly one of `PREFLIGHT: ALL CLEAR` or `PREFLIGHT: REVISIONS REQUIRED`.
112
+ When the delegation prompt carries the directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY`, perform validation only and return exactly one of `PREFLIGHT: ALL CLEAR` or `PREFLIGHT: REVISIONS REQUIRED`. The preflight directive belongs in the delegation prompt, never in a plan file.
110
113
 
111
114
  - `PREFLIGHT: ALL CLEAR`
112
115
  - `PREFLIGHT: REVISIONS REQUIRED`
113
- - If revisions are required, include a precise plan delta that can be applied to the same plan file.
114
- - When returning `PREFLIGHT: REVISIONS REQUIRED`, automatically hand off back to `atomic-planner` and request that it apply the delta to the same plan file.
115
- - Continue the validate -> delta -> planner-revise -> validate loop until preflight can return `PREFLIGHT: ALL CLEAR`.
116
- - If the handoff loop cannot proceed or the required validator is unavailable, stop and report blocked state.
116
+ - Review the entire plan in one pass and classify every defect as trivial or substantive, per `### Single-Pass Preflight` in `atomic-plan-contract`.
117
+ - Fix trivial defects in place, in task text only; never add, remove, or reorder tasks. Report each fix as `PREFLIGHT-FIX: <task id or heading> | <defect class> | <change made>` and name the fix record as `preflight-fix-record: <path>`.
118
+ - If revisions are required, include a precise plan delta that can be applied to the same plan file, with one `PREFLIGHT-DEFECT: <task id or heading> | <defect class> | <required change>` line per substantive defect.
119
+ - Return the result to the caller. A plan returns to the planner at most once; the orchestrator routes the defect list for one revision and runs one confirming preflight.
120
+ - If the required validator is unavailable, stop and report blocked state.
117
121
  - Before any `PREFLIGHT: ALL CLEAR` result is treated as approved, the target plan must pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`.
118
122
 
119
123
  ## Blocking Protocol
120
124
 
121
- Blocking is permitted only during preflight validation (before `[P0-T1]`). When preflight-blocked:
125
+ Blocking is permitted only during preflight validation (before `[P0-T1]`), including the preflight that opens a combined preflight-and-execute run of a proportionate remediation cycle. When preflight-blocked:
122
126
 
123
127
  1. State: `BLOCKED at preflight (before [P0-T1])`.
124
128
  2. Provide a short, concrete explanation of why.
@@ -1,6 +1,6 @@
1
1
  name = "atomic-executor-c3"
2
2
  description = "Converted subagent"
3
- model = "gpt-5.6-terra"
3
+ model = "gpt-6.1-sol"
4
4
  model_reasoning_effort = "high"
5
5
  developer_instructions = '''
6
6
  Applied rewrites:
@@ -11,6 +11,7 @@ Use the following repo-local skills as the canonical workflow source:
11
11
  - atomic-plan-contract
12
12
  - policy-compliance-order
13
13
  - acceptance-criteria-tracking
14
+ - execution-environment
14
15
 
15
16
  ---
16
17
  name: atomic-executor
@@ -35,11 +36,13 @@ tools:
35
36
  - "mcp__drm-copilot__run_poshqc_analyze"
36
37
  - "mcp__drm-copilot__run_poshqc_test"
37
38
  - "mcp__drm-copilot__run_poshqc_analyze_autofix"
39
+ - "mcp__drm-copilot__validate_orchestration_artifacts"
38
40
  skills:
39
41
  - policy-compliance-order
40
42
  - atomic-plan-contract
41
43
  - evidence-and-timestamp-conventions
42
44
  - acceptance-criteria-tracking
45
+ - execution-environment
43
46
  memory: project
44
47
  hooks:
45
48
  SubagentStop:
@@ -106,19 +109,20 @@ Concurrent child runs in one session share one session scratchpad, so every scra
106
109
 
107
110
  ## Preflight Validation
108
111
 
109
- When receiving a plan with directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY`, perform validation only and return exactly one of `PREFLIGHT: ALL CLEAR` or `PREFLIGHT: REVISIONS REQUIRED`.
112
+ When the delegation prompt carries the directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY`, perform validation only and return exactly one of `PREFLIGHT: ALL CLEAR` or `PREFLIGHT: REVISIONS REQUIRED`. The preflight directive belongs in the delegation prompt, never in a plan file.
110
113
 
111
114
  - `PREFLIGHT: ALL CLEAR`
112
115
  - `PREFLIGHT: REVISIONS REQUIRED`
113
- - If revisions are required, include a precise plan delta that can be applied to the same plan file.
114
- - When returning `PREFLIGHT: REVISIONS REQUIRED`, automatically hand off back to `atomic-planner` and request that it apply the delta to the same plan file.
115
- - Continue the validate -> delta -> planner-revise -> validate loop until preflight can return `PREFLIGHT: ALL CLEAR`.
116
- - If the handoff loop cannot proceed or the required validator is unavailable, stop and report blocked state.
116
+ - Review the entire plan in one pass and classify every defect as trivial or substantive, per `### Single-Pass Preflight` in `atomic-plan-contract`.
117
+ - Fix trivial defects in place, in task text only; never add, remove, or reorder tasks. Report each fix as `PREFLIGHT-FIX: <task id or heading> | <defect class> | <change made>` and name the fix record as `preflight-fix-record: <path>`.
118
+ - If revisions are required, include a precise plan delta that can be applied to the same plan file, with one `PREFLIGHT-DEFECT: <task id or heading> | <defect class> | <required change>` line per substantive defect.
119
+ - Return the result to the caller. A plan returns to the planner at most once; the orchestrator routes the defect list for one revision and runs one confirming preflight.
120
+ - If the required validator is unavailable, stop and report blocked state.
117
121
  - Before any `PREFLIGHT: ALL CLEAR` result is treated as approved, the target plan must pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`.
118
122
 
119
123
  ## Blocking Protocol
120
124
 
121
- Blocking is permitted only during preflight validation (before `[P0-T1]`). When preflight-blocked:
125
+ Blocking is permitted only during preflight validation (before `[P0-T1]`), including the preflight that opens a combined preflight-and-execute run of a proportionate remediation cycle. When preflight-blocked:
122
126
 
123
127
  1. State: `BLOCKED at preflight (before [P0-T1])`.
124
128
  2. Provide a short, concrete explanation of why.
@@ -1,6 +1,6 @@
1
1
  name = "atomic-executor-c4"
2
2
  description = "Converted subagent"
3
- model = "gpt-5.6-sol"
3
+ model = "gpt-6-astra"
4
4
  model_reasoning_effort = "max"
5
5
  developer_instructions = '''
6
6
  Applied rewrites:
@@ -11,6 +11,7 @@ Use the following repo-local skills as the canonical workflow source:
11
11
  - atomic-plan-contract
12
12
  - policy-compliance-order
13
13
  - acceptance-criteria-tracking
14
+ - execution-environment
14
15
 
15
16
  ---
16
17
  name: atomic-executor
@@ -35,11 +36,13 @@ tools:
35
36
  - "mcp__drm-copilot__run_poshqc_analyze"
36
37
  - "mcp__drm-copilot__run_poshqc_test"
37
38
  - "mcp__drm-copilot__run_poshqc_analyze_autofix"
39
+ - "mcp__drm-copilot__validate_orchestration_artifacts"
38
40
  skills:
39
41
  - policy-compliance-order
40
42
  - atomic-plan-contract
41
43
  - evidence-and-timestamp-conventions
42
44
  - acceptance-criteria-tracking
45
+ - execution-environment
43
46
  memory: project
44
47
  hooks:
45
48
  SubagentStop:
@@ -106,19 +109,20 @@ Concurrent child runs in one session share one session scratchpad, so every scra
106
109
 
107
110
  ## Preflight Validation
108
111
 
109
- When receiving a plan with directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY`, perform validation only and return exactly one of `PREFLIGHT: ALL CLEAR` or `PREFLIGHT: REVISIONS REQUIRED`.
112
+ When the delegation prompt carries the directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY`, perform validation only and return exactly one of `PREFLIGHT: ALL CLEAR` or `PREFLIGHT: REVISIONS REQUIRED`. The preflight directive belongs in the delegation prompt, never in a plan file.
110
113
 
111
114
  - `PREFLIGHT: ALL CLEAR`
112
115
  - `PREFLIGHT: REVISIONS REQUIRED`
113
- - If revisions are required, include a precise plan delta that can be applied to the same plan file.
114
- - When returning `PREFLIGHT: REVISIONS REQUIRED`, automatically hand off back to `atomic-planner` and request that it apply the delta to the same plan file.
115
- - Continue the validate -> delta -> planner-revise -> validate loop until preflight can return `PREFLIGHT: ALL CLEAR`.
116
- - If the handoff loop cannot proceed or the required validator is unavailable, stop and report blocked state.
116
+ - Review the entire plan in one pass and classify every defect as trivial or substantive, per `### Single-Pass Preflight` in `atomic-plan-contract`.
117
+ - Fix trivial defects in place, in task text only; never add, remove, or reorder tasks. Report each fix as `PREFLIGHT-FIX: <task id or heading> | <defect class> | <change made>` and name the fix record as `preflight-fix-record: <path>`.
118
+ - If revisions are required, include a precise plan delta that can be applied to the same plan file, with one `PREFLIGHT-DEFECT: <task id or heading> | <defect class> | <required change>` line per substantive defect.
119
+ - Return the result to the caller. A plan returns to the planner at most once; the orchestrator routes the defect list for one revision and runs one confirming preflight.
120
+ - If the required validator is unavailable, stop and report blocked state.
117
121
  - Before any `PREFLIGHT: ALL CLEAR` result is treated as approved, the target plan must pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`.
118
122
 
119
123
  ## Blocking Protocol
120
124
 
121
- Blocking is permitted only during preflight validation (before `[P0-T1]`). When preflight-blocked:
125
+ Blocking is permitted only during preflight validation (before `[P0-T1]`), including the preflight that opens a combined preflight-and-execute run of a proportionate remediation cycle. When preflight-blocked:
122
126
 
123
127
  1. State: `BLOCKED at preflight (before [P0-T1])`.
124
128
  2. Provide a short, concrete explanation of why.
@@ -1,6 +1,6 @@
1
1
  name = "atomic-executor"
2
2
  description = "Converted subagent"
3
- model = "gpt-5.6-terra"
3
+ model = "gpt-6.1-sol"
4
4
  model_reasoning_effort = "high"
5
5
  developer_instructions = '''
6
6
  Applied rewrites:
@@ -11,6 +11,7 @@ Use the following repo-local skills as the canonical workflow source:
11
11
  - atomic-plan-contract
12
12
  - policy-compliance-order
13
13
  - acceptance-criteria-tracking
14
+ - execution-environment
14
15
 
15
16
  ---
16
17
  name: atomic-executor
@@ -35,11 +36,13 @@ tools:
35
36
  - "mcp__drm-copilot__run_poshqc_analyze"
36
37
  - "mcp__drm-copilot__run_poshqc_test"
37
38
  - "mcp__drm-copilot__run_poshqc_analyze_autofix"
39
+ - "mcp__drm-copilot__validate_orchestration_artifacts"
38
40
  skills:
39
41
  - policy-compliance-order
40
42
  - atomic-plan-contract
41
43
  - evidence-and-timestamp-conventions
42
44
  - acceptance-criteria-tracking
45
+ - execution-environment
43
46
  memory: project
44
47
  hooks:
45
48
  SubagentStop:
@@ -106,19 +109,20 @@ Concurrent child runs in one session share one session scratchpad, so every scra
106
109
 
107
110
  ## Preflight Validation
108
111
 
109
- When receiving a plan with directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY`, perform validation only and return exactly one of `PREFLIGHT: ALL CLEAR` or `PREFLIGHT: REVISIONS REQUIRED`.
112
+ When the delegation prompt carries the directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY`, perform validation only and return exactly one of `PREFLIGHT: ALL CLEAR` or `PREFLIGHT: REVISIONS REQUIRED`. The preflight directive belongs in the delegation prompt, never in a plan file.
110
113
 
111
114
  - `PREFLIGHT: ALL CLEAR`
112
115
  - `PREFLIGHT: REVISIONS REQUIRED`
113
- - If revisions are required, include a precise plan delta that can be applied to the same plan file.
114
- - When returning `PREFLIGHT: REVISIONS REQUIRED`, automatically hand off back to `atomic-planner` and request that it apply the delta to the same plan file.
115
- - Continue the validate -> delta -> planner-revise -> validate loop until preflight can return `PREFLIGHT: ALL CLEAR`.
116
- - If the handoff loop cannot proceed or the required validator is unavailable, stop and report blocked state.
116
+ - Review the entire plan in one pass and classify every defect as trivial or substantive, per `### Single-Pass Preflight` in `atomic-plan-contract`.
117
+ - Fix trivial defects in place, in task text only; never add, remove, or reorder tasks. Report each fix as `PREFLIGHT-FIX: <task id or heading> | <defect class> | <change made>` and name the fix record as `preflight-fix-record: <path>`.
118
+ - If revisions are required, include a precise plan delta that can be applied to the same plan file, with one `PREFLIGHT-DEFECT: <task id or heading> | <defect class> | <required change>` line per substantive defect.
119
+ - Return the result to the caller. A plan returns to the planner at most once; the orchestrator routes the defect list for one revision and runs one confirming preflight.
120
+ - If the required validator is unavailable, stop and report blocked state.
117
121
  - Before any `PREFLIGHT: ALL CLEAR` result is treated as approved, the target plan must pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`.
118
122
 
119
123
  ## Blocking Protocol
120
124
 
121
- Blocking is permitted only during preflight validation (before `[P0-T1]`). When preflight-blocked:
125
+ Blocking is permitted only during preflight validation (before `[P0-T1]`), including the preflight that opens a combined preflight-and-execute run of a proportionate remediation cycle. When preflight-blocked:
122
126
 
123
127
  1. State: `BLOCKED at preflight (before [P0-T1])`.
124
128
  2. Provide a short, concrete explanation of why.
@@ -1,6 +1,6 @@
1
1
  name = "atomic-planner-c1"
2
2
  description = "Converted subagent"
3
- model = "gpt-5.6-luna"
3
+ model = "gpt-6-luna"
4
4
  model_reasoning_effort = "low"
5
5
  developer_instructions = '''
6
6
  Applied rewrites:
@@ -11,6 +11,7 @@ Use the following repo-local skills as the canonical workflow source:
11
11
  - atomic-plan-contract
12
12
  - policy-compliance-order
13
13
  - evidence-and-timestamp-conventions
14
+ - execution-environment
14
15
 
15
16
  ---
16
17
  name: atomic-planner
@@ -23,10 +24,12 @@ tools:
23
24
  - "Edit(artifacts/**)"
24
25
  - "Write(docs/**)"
25
26
  - "Write(artifacts/**)"
27
+ - "mcp__drm-copilot__validate_orchestration_artifacts"
26
28
  skills:
27
29
  - policy-compliance-order
28
30
  - atomic-plan-contract
29
31
  - evidence-and-timestamp-conventions
32
+ - execution-environment
30
33
  memory: project
31
34
  hooks:
32
35
  Stop:
@@ -84,8 +87,8 @@ Before reporting completion, explicitly spawn the `atomic-executor` subagent for
84
87
  - `PREFLIGHT: ALL CLEAR`
85
88
  - `PREFLIGHT: REVISIONS REQUIRED`
86
89
  - Treat executor preflight findings as binding plan defects.
87
- - If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file using the executor's precise plan delta and re-run preflight.
88
- - Reuse the same target plan file for every preflight revision iteration in the same planning cycle.
90
+ - If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file once using the executor's precise plan delta and its full `PREFLIGHT-DEFECT:` list, and run one confirming preflight. Preflight is single-pass: trivial defects are fixed in place by the executor, and a plan returns to the planner at most once; a second substantive result halts with `blocked_reason: "validator_failed"`.
91
+ - Reuse the same target plan file for the single permitted preflight revision in the same planning cycle.
89
92
  - If the required `atomic-executor` handoff cannot be started or completed, stop and report blocked state; do not self-approve the plan.
90
93
  - Before reporting completion, the target plan MUST pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`.
91
94
 
@@ -1,6 +1,6 @@
1
1
  name = "atomic-planner-c2"
2
2
  description = "Converted subagent"
3
- model = "gpt-5.6-terra"
3
+ model = "gpt-6.1-sol"
4
4
  model_reasoning_effort = "medium"
5
5
  developer_instructions = '''
6
6
  Applied rewrites:
@@ -11,6 +11,7 @@ Use the following repo-local skills as the canonical workflow source:
11
11
  - atomic-plan-contract
12
12
  - policy-compliance-order
13
13
  - evidence-and-timestamp-conventions
14
+ - execution-environment
14
15
 
15
16
  ---
16
17
  name: atomic-planner
@@ -23,10 +24,12 @@ tools:
23
24
  - "Edit(artifacts/**)"
24
25
  - "Write(docs/**)"
25
26
  - "Write(artifacts/**)"
27
+ - "mcp__drm-copilot__validate_orchestration_artifacts"
26
28
  skills:
27
29
  - policy-compliance-order
28
30
  - atomic-plan-contract
29
31
  - evidence-and-timestamp-conventions
32
+ - execution-environment
30
33
  memory: project
31
34
  hooks:
32
35
  Stop:
@@ -84,8 +87,8 @@ Before reporting completion, explicitly spawn the `atomic-executor` subagent for
84
87
  - `PREFLIGHT: ALL CLEAR`
85
88
  - `PREFLIGHT: REVISIONS REQUIRED`
86
89
  - Treat executor preflight findings as binding plan defects.
87
- - If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file using the executor's precise plan delta and re-run preflight.
88
- - Reuse the same target plan file for every preflight revision iteration in the same planning cycle.
90
+ - If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file once using the executor's precise plan delta and its full `PREFLIGHT-DEFECT:` list, and run one confirming preflight. Preflight is single-pass: trivial defects are fixed in place by the executor, and a plan returns to the planner at most once; a second substantive result halts with `blocked_reason: "validator_failed"`.
91
+ - Reuse the same target plan file for the single permitted preflight revision in the same planning cycle.
89
92
  - If the required `atomic-executor` handoff cannot be started or completed, stop and report blocked state; do not self-approve the plan.
90
93
  - Before reporting completion, the target plan MUST pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`.
91
94
 
@@ -1,6 +1,6 @@
1
1
  name = "atomic-planner-c3-elevated"
2
2
  description = "Converted subagent"
3
- model = "gpt-5.6-sol"
3
+ model = "gpt-6-astra"
4
4
  model_reasoning_effort = "high"
5
5
  developer_instructions = '''
6
6
  Applied rewrites:
@@ -11,6 +11,7 @@ Use the following repo-local skills as the canonical workflow source:
11
11
  - atomic-plan-contract
12
12
  - policy-compliance-order
13
13
  - evidence-and-timestamp-conventions
14
+ - execution-environment
14
15
 
15
16
  ---
16
17
  name: atomic-planner
@@ -23,10 +24,12 @@ tools:
23
24
  - "Edit(artifacts/**)"
24
25
  - "Write(docs/**)"
25
26
  - "Write(artifacts/**)"
27
+ - "mcp__drm-copilot__validate_orchestration_artifacts"
26
28
  skills:
27
29
  - policy-compliance-order
28
30
  - atomic-plan-contract
29
31
  - evidence-and-timestamp-conventions
32
+ - execution-environment
30
33
  memory: project
31
34
  hooks:
32
35
  Stop:
@@ -84,8 +87,8 @@ Before reporting completion, explicitly spawn the `atomic-executor` subagent for
84
87
  - `PREFLIGHT: ALL CLEAR`
85
88
  - `PREFLIGHT: REVISIONS REQUIRED`
86
89
  - Treat executor preflight findings as binding plan defects.
87
- - If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file using the executor's precise plan delta and re-run preflight.
88
- - Reuse the same target plan file for every preflight revision iteration in the same planning cycle.
90
+ - If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file once using the executor's precise plan delta and its full `PREFLIGHT-DEFECT:` list, and run one confirming preflight. Preflight is single-pass: trivial defects are fixed in place by the executor, and a plan returns to the planner at most once; a second substantive result halts with `blocked_reason: "validator_failed"`.
91
+ - Reuse the same target plan file for the single permitted preflight revision in the same planning cycle.
89
92
  - If the required `atomic-executor` handoff cannot be started or completed, stop and report blocked state; do not self-approve the plan.
90
93
  - Before reporting completion, the target plan MUST pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`.
91
94
 
@@ -1,6 +1,6 @@
1
1
  name = "atomic-planner-c3"
2
2
  description = "Converted subagent"
3
- model = "gpt-5.6-terra"
3
+ model = "gpt-6.1-sol"
4
4
  model_reasoning_effort = "high"
5
5
  developer_instructions = '''
6
6
  Applied rewrites:
@@ -11,6 +11,7 @@ Use the following repo-local skills as the canonical workflow source:
11
11
  - atomic-plan-contract
12
12
  - policy-compliance-order
13
13
  - evidence-and-timestamp-conventions
14
+ - execution-environment
14
15
 
15
16
  ---
16
17
  name: atomic-planner
@@ -23,10 +24,12 @@ tools:
23
24
  - "Edit(artifacts/**)"
24
25
  - "Write(docs/**)"
25
26
  - "Write(artifacts/**)"
27
+ - "mcp__drm-copilot__validate_orchestration_artifacts"
26
28
  skills:
27
29
  - policy-compliance-order
28
30
  - atomic-plan-contract
29
31
  - evidence-and-timestamp-conventions
32
+ - execution-environment
30
33
  memory: project
31
34
  hooks:
32
35
  Stop:
@@ -84,8 +87,8 @@ Before reporting completion, explicitly spawn the `atomic-executor` subagent for
84
87
  - `PREFLIGHT: ALL CLEAR`
85
88
  - `PREFLIGHT: REVISIONS REQUIRED`
86
89
  - Treat executor preflight findings as binding plan defects.
87
- - If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file using the executor's precise plan delta and re-run preflight.
88
- - Reuse the same target plan file for every preflight revision iteration in the same planning cycle.
90
+ - If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file once using the executor's precise plan delta and its full `PREFLIGHT-DEFECT:` list, and run one confirming preflight. Preflight is single-pass: trivial defects are fixed in place by the executor, and a plan returns to the planner at most once; a second substantive result halts with `blocked_reason: "validator_failed"`.
91
+ - Reuse the same target plan file for the single permitted preflight revision in the same planning cycle.
89
92
  - If the required `atomic-executor` handoff cannot be started or completed, stop and report blocked state; do not self-approve the plan.
90
93
  - Before reporting completion, the target plan MUST pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`.
91
94
 
@@ -1,6 +1,6 @@
1
1
  name = "atomic-planner-c4"
2
2
  description = "Converted subagent"
3
- model = "gpt-5.6-sol"
3
+ model = "gpt-6-astra"
4
4
  model_reasoning_effort = "max"
5
5
  developer_instructions = '''
6
6
  Applied rewrites:
@@ -11,6 +11,7 @@ Use the following repo-local skills as the canonical workflow source:
11
11
  - atomic-plan-contract
12
12
  - policy-compliance-order
13
13
  - evidence-and-timestamp-conventions
14
+ - execution-environment
14
15
 
15
16
  ---
16
17
  name: atomic-planner
@@ -23,10 +24,12 @@ tools:
23
24
  - "Edit(artifacts/**)"
24
25
  - "Write(docs/**)"
25
26
  - "Write(artifacts/**)"
27
+ - "mcp__drm-copilot__validate_orchestration_artifacts"
26
28
  skills:
27
29
  - policy-compliance-order
28
30
  - atomic-plan-contract
29
31
  - evidence-and-timestamp-conventions
32
+ - execution-environment
30
33
  memory: project
31
34
  hooks:
32
35
  Stop:
@@ -84,8 +87,8 @@ Before reporting completion, explicitly spawn the `atomic-executor` subagent for
84
87
  - `PREFLIGHT: ALL CLEAR`
85
88
  - `PREFLIGHT: REVISIONS REQUIRED`
86
89
  - Treat executor preflight findings as binding plan defects.
87
- - If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file using the executor's precise plan delta and re-run preflight.
88
- - Reuse the same target plan file for every preflight revision iteration in the same planning cycle.
90
+ - If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file once using the executor's precise plan delta and its full `PREFLIGHT-DEFECT:` list, and run one confirming preflight. Preflight is single-pass: trivial defects are fixed in place by the executor, and a plan returns to the planner at most once; a second substantive result halts with `blocked_reason: "validator_failed"`.
91
+ - Reuse the same target plan file for the single permitted preflight revision in the same planning cycle.
89
92
  - If the required `atomic-executor` handoff cannot be started or completed, stop and report blocked state; do not self-approve the plan.
90
93
  - Before reporting completion, the target plan MUST pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`.
91
94
 
@@ -1,6 +1,6 @@
1
1
  name = "atomic-planner"
2
2
  description = "Converted subagent"
3
- model = "gpt-5.6-terra"
3
+ model = "gpt-6.1-sol"
4
4
  model_reasoning_effort = "high"
5
5
  developer_instructions = '''
6
6
  Applied rewrites:
@@ -11,6 +11,7 @@ Use the following repo-local skills as the canonical workflow source:
11
11
  - atomic-plan-contract
12
12
  - policy-compliance-order
13
13
  - evidence-and-timestamp-conventions
14
+ - execution-environment
14
15
 
15
16
  ---
16
17
  name: atomic-planner
@@ -23,10 +24,12 @@ tools:
23
24
  - "Edit(artifacts/**)"
24
25
  - "Write(docs/**)"
25
26
  - "Write(artifacts/**)"
27
+ - "mcp__drm-copilot__validate_orchestration_artifacts"
26
28
  skills:
27
29
  - policy-compliance-order
28
30
  - atomic-plan-contract
29
31
  - evidence-and-timestamp-conventions
32
+ - execution-environment
30
33
  memory: project
31
34
  hooks:
32
35
  Stop:
@@ -84,8 +87,8 @@ Before reporting completion, explicitly spawn the `atomic-executor` subagent for
84
87
  - `PREFLIGHT: ALL CLEAR`
85
88
  - `PREFLIGHT: REVISIONS REQUIRED`
86
89
  - Treat executor preflight findings as binding plan defects.
87
- - If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file using the executor's precise plan delta and re-run preflight.
88
- - Reuse the same target plan file for every preflight revision iteration in the same planning cycle.
90
+ - If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file once using the executor's precise plan delta and its full `PREFLIGHT-DEFECT:` list, and run one confirming preflight. Preflight is single-pass: trivial defects are fixed in place by the executor, and a plan returns to the planner at most once; a second substantive result halts with `blocked_reason: "validator_failed"`.
91
+ - Reuse the same target plan file for the single permitted preflight revision in the same planning cycle.
89
92
  - If the required `atomic-executor` handoff cannot be started or completed, stop and report blocked state; do not self-approve the plan.
90
93
  - Before reporting completion, the target plan MUST pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`.
91
94
 
@@ -13,7 +13,7 @@ Core behavior:
13
13
  - Produce or revise only deterministic plan files.
14
14
  - Delegate validation-only preflight to `atomic-executor`.
15
15
  - Require the exact directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY` in the delegated preflight handoff.
16
- - Reuse the same target plan file for every preflight revision iteration.
16
+ - Reuse the same target plan file for the single permitted preflight revision.
17
17
  - Do not create timestamped sibling plan files when an authoritative `plan-path` already exists.
18
18
  - Stop and report blocked state if the required `atomic-executor` handoff cannot be started, resumed, or completed.
19
19
 
@@ -1,6 +1,6 @@
1
1
  name = "commit-steward-c1"
2
2
  description = "Generate a high-signal conventional commit message for the current repository based on staged changes only."
3
- model = "gpt-5.6-luna"
3
+ model = "gpt-6-luna"
4
4
  model_reasoning_effort = "low"
5
5
 
6
6
  developer_instructions = """
@@ -1,6 +1,6 @@
1
1
  name = "commit-steward-c2"
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"
3
+ model = "gpt-6.1-sol"
4
4
  model_reasoning_effort = "medium"
5
5
 
6
6
  developer_instructions = """
@@ -1,6 +1,6 @@
1
1
  name = "commit-steward-c3-elevated"
2
2
  description = "Generate a high-signal conventional commit message for the current repository based on staged changes only."
3
- model = "gpt-5.6-sol"
3
+ model = "gpt-6-astra"
4
4
  model_reasoning_effort = "high"
5
5
 
6
6
  developer_instructions = """
@@ -1,6 +1,6 @@
1
1
  name = "commit-steward-c3"
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"
3
+ model = "gpt-6.1-sol"
4
4
  model_reasoning_effort = "high"
5
5
 
6
6
  developer_instructions = """
@@ -1,6 +1,6 @@
1
1
  name = "commit-steward-c4"
2
2
  description = "Generate a high-signal conventional commit message for the current repository based on staged changes only."
3
- model = "gpt-5.6-sol"
3
+ model = "gpt-6-astra"
4
4
  model_reasoning_effort = "max"
5
5
 
6
6
  developer_instructions = """
@@ -1,6 +1,6 @@
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"
3
+ model = "gpt-6.1-sol"
4
4
  model_reasoning_effort = "high"
5
5
 
6
6
  developer_instructions = """
@@ -14,7 +14,7 @@ Core behavior:
14
14
  - Delegate validation-only preflight to `atomic-executor`.
15
15
  - Require the exact directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY` in the delegated preflight handoff.
16
16
  - Require explicit C# baseline and final-QA tasks, including formatting, analyzer, type-safety, test, and coverage steps where policy requires coverage.
17
- - Reuse the same target plan file for every preflight revision iteration.
17
+ - Reuse the same target plan file for the single permitted preflight revision.
18
18
  - Do not create timestamped sibling plan files when an authoritative `plan-path` already exists.
19
19
  - Stop and report blocked state if the required `atomic-executor` handoff cannot be started, resumed, or completed.
20
20
 
@@ -1,6 +1,6 @@
1
1
  name = "csharp-typed-engineer-c1"
2
2
  description = "Converted subagent"
3
- model = "gpt-5.6-luna"
3
+ model = "gpt-6-luna"
4
4
  model_reasoning_effort = "low"
5
5
  developer_instructions = '''
6
6
  Canonical migration source: .github/agents/csharp-typed-engineer.agent.md
@@ -1,6 +1,6 @@
1
1
  name = "csharp-typed-engineer-c2"
2
2
  description = "Converted subagent"
3
- model = "gpt-5.6-terra"
3
+ model = "gpt-6.1-sol"
4
4
  model_reasoning_effort = "medium"
5
5
  developer_instructions = '''
6
6
  Canonical migration source: .github/agents/csharp-typed-engineer.agent.md