@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.
- package/out/mcp-server.js +1149 -661
- package/package.json +3 -2
- package/resources/claude-customizations/.claude/agents/atomic-executor.md +28 -6
- package/resources/claude-customizations/.claude/agents/atomic-planner.md +20 -2
- package/resources/claude-customizations/.claude/agents/epic-orchestrator.md +17 -4
- package/resources/claude-customizations/.claude/agents/epic-planner.md +5 -4
- package/resources/claude-customizations/.claude/agents/feature-review.md +6 -4
- package/resources/claude-customizations/.claude/agents/orchestrator.md +9 -5
- package/resources/claude-customizations/.claude/agents/parallel-orchestrator.md +35 -13
- package/resources/claude-customizations/.claude/agents/parallel-planner.md +9 -6
- package/resources/claude-customizations/.claude/agents/pr-author.md +15 -2
- package/resources/claude-customizations/.claude/agents/prd-feature.md +1 -1
- package/resources/claude-customizations/.claude/agents/task-researcher.md +8 -0
- package/resources/claude-customizations/.claude/hooks/check-powershell-test-purity.ps1 +7 -1
- package/resources/claude-customizations/.claude/hooks/check-python-test-purity.ps1 +7 -1
- package/resources/claude-customizations/.claude/hooks/enforce-checkpoint-monotonic.ps1 +7 -1
- package/resources/claude-customizations/.claude/hooks/enforce-completion-consistency.ps1 +111 -46
- package/resources/claude-customizations/.claude/hooks/enforce-completion-helpers.ps1 +105 -0
- package/resources/claude-customizations/.claude/hooks/enforce-discovery-artifact-gate.ps1 +8 -1
- package/resources/claude-customizations/.claude/hooks/enforce-epic-invocation-origin.ps1 +7 -1
- package/resources/claude-customizations/.claude/hooks/enforce-epic-merge-gate-command.ps1 +190 -0
- package/resources/claude-customizations/.claude/hooks/enforce-epic-merge-gate-resolution.ps1 +116 -59
- package/resources/claude-customizations/.claude/hooks/enforce-epic-merge-gate.ps1 +78 -77
- package/resources/claude-customizations/.claude/hooks/enforce-epic-wave-barrier.ps1 +74 -75
- package/resources/claude-customizations/.claude/hooks/enforce-epic-worktree-removal-gate-resolution.ps1 +127 -35
- package/resources/claude-customizations/.claude/hooks/enforce-epic-worktree-removal-gate.ps1 +61 -57
- package/resources/claude-customizations/.claude/hooks/enforce-evidence-locations.ps1 +7 -1
- package/resources/claude-customizations/.claude/hooks/enforce-feature-folder-order.ps1 +129 -39
- package/resources/claude-customizations/.claude/hooks/enforce-mermaid-validation.ps1 +7 -1
- package/resources/claude-customizations/.claude/hooks/enforce-model-routing-receipt.ps1 +9 -3
- package/resources/claude-customizations/.claude/hooks/enforce-orchestration-preimplementation-gate-epic-scope.ps1 +39 -51
- package/resources/claude-customizations/.claude/hooks/enforce-orchestration-preimplementation-gate-helpers.ps1 +31 -58
- package/resources/claude-customizations/.claude/hooks/enforce-orchestration-preimplementation-gate-modes.ps1 +63 -47
- package/resources/claude-customizations/.claude/hooks/enforce-orchestration-preimplementation-gate-targets.ps1 +433 -0
- package/resources/claude-customizations/.claude/hooks/enforce-orchestration-preimplementation-gate.ps1 +17 -12
- package/resources/claude-customizations/.claude/hooks/enforce-parallel-abandon-gate.ps1 +9 -3
- package/resources/claude-customizations/.claude/hooks/enforce-parallel-cohort-barrier.ps1 +65 -50
- package/resources/claude-customizations/.claude/hooks/enforce-parallel-drift-gate.ps1 +49 -42
- package/resources/claude-customizations/.claude/hooks/enforce-parallel-worktree-removal-gate.ps1 +54 -72
- package/resources/claude-customizations/.claude/hooks/enforce-powershell-batch-budget.ps1 +8 -2
- package/resources/claude-customizations/.claude/hooks/enforce-pr-author-command-allowlist.ps1 +279 -0
- package/resources/claude-customizations/.claude/hooks/enforce-pr-author-skill-helpers.ps1 +129 -75
- package/resources/claude-customizations/.claude/hooks/enforce-pr-author-skill.artifact-root.ps1 +233 -0
- package/resources/claude-customizations/.claude/hooks/enforce-pr-author-skill.docs-only.ps1 +224 -0
- package/resources/claude-customizations/.claude/hooks/enforce-pr-author-skill.ps1 +69 -24
- package/resources/claude-customizations/.claude/hooks/enforce-prd-feature-before-planner-helpers.ps1 +29 -18
- package/resources/claude-customizations/.claude/hooks/enforce-prd-feature-before-planner.ps1 +10 -4
- package/resources/claude-customizations/.claude/hooks/enforce-promotion-mcp-only.ps1 +14 -5
- package/resources/claude-customizations/.claude/hooks/enforce-python-batch-budget.ps1 +8 -2
- package/resources/claude-customizations/.claude/hooks/feature-folder-resolution.ps1 +373 -0
- package/resources/claude-customizations/.claude/hooks/feature-review-coverage-thresholds.ps1 +85 -0
- package/resources/claude-customizations/.claude/hooks/hook-command-heredoc.ps1 +119 -0
- package/resources/claude-customizations/.claude/hooks/hook-command-invocation-operands.ps1 +198 -0
- package/resources/claude-customizations/.claude/hooks/hook-command-invocation.ps1 +254 -255
- package/resources/claude-customizations/.claude/hooks/hook-command-payload-powershell.ps1 +201 -0
- package/resources/claude-customizations/.claude/hooks/hook-command-payload.ps1 +484 -0
- package/resources/claude-customizations/.claude/hooks/hook-command-scanner.ps1 +27 -110
- package/resources/claude-customizations/.claude/hooks/hook-dependency-guard.ps1 +114 -0
- package/resources/claude-customizations/.claude/hooks/hook-docs-only-diff.ps1 +497 -0
- package/resources/claude-customizations/.claude/hooks/premortem-section.ps1 +149 -0
- package/resources/claude-customizations/.claude/hooks/subagentstop-envelope.ps1 +192 -0
- package/resources/claude-customizations/.claude/hooks/validate-bash.ps1 +9 -3
- package/resources/claude-customizations/.claude/hooks/validate-discovery-artifact-gate.ps1 +40 -42
- package/resources/claude-customizations/.claude/hooks/validate-executor-output.ps1 +267 -113
- package/resources/claude-customizations/.claude/hooks/validate-feature-review-coverage-metrics.ps1 +180 -0
- package/resources/claude-customizations/.claude/hooks/validate-feature-review-coverage-rules.ps1 +195 -0
- package/resources/claude-customizations/.claude/hooks/validate-feature-review-coverage.ps1 +141 -395
- package/resources/claude-customizations/.claude/hooks/validate-orchestrator-output-resolution.ps1 +311 -0
- package/resources/claude-customizations/.claude/hooks/validate-orchestrator-output-routing.ps1 +170 -0
- package/resources/claude-customizations/.claude/hooks/validate-orchestrator-output.ps1 +115 -190
- package/resources/claude-customizations/.claude/hooks/validate-planner-output.ps1 +77 -33
- package/resources/claude-customizations/.claude/hooks/validate-pr-author-output.ps1 +39 -44
- package/resources/claude-customizations/.claude/hooks/validate-prd-feature-output.ps1 +43 -14
- package/resources/claude-customizations/.claude/hooks/validate-required-artifact-output.ps1 +66 -36
- package/resources/claude-customizations/.claude/hooks/validate-task-researcher-output.ps1 +52 -36
- package/resources/claude-customizations/.claude/lib/bash/mutate-parallel-run.sh +191 -0
- package/resources/claude-customizations/.claude/lib/bash/parallel-cohorts.sh +13 -3
- package/resources/claude-customizations/.claude/lib/bash/parallel-mutation-cli.sh +152 -0
- package/resources/claude-customizations/.claude/lib/bash/parallel-mutation-ops.sh +193 -0
- package/resources/claude-customizations/.claude/lib/bash/parallel-mutation.sh +322 -0
- package/resources/claude-customizations/.claude/lib/bash/remove-parallel-item.sh +146 -0
- package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadiusExtraction.psm1 +23 -33
- package/resources/claude-customizations/.claude/lib/blast-radius/BlastRadiusTokenShape.psm1 +86 -6
- package/resources/claude-customizations/.claude/lib/ci-gate/Invoke-CiGateParser.ps1 +91 -19
- package/resources/claude-customizations/.claude/lib/ci-gate/Invoke-MergeConfirmationParser.ps1 +203 -0
- package/resources/claude-customizations/.claude/lib/orchestrator-state/OrchestratorStateEpicWaveBarrier.psm1 +346 -0
- package/resources/claude-customizations/.claude/lib/orchestrator-state/OrchestratorStateIssueAdoption.psm1 +24 -3
- package/resources/claude-customizations/.claude/lib/worktree-resolution/WorktreeItemResolution.psm1 +79 -2
- package/resources/claude-customizations/.claude/lib/worktree-resolution/WorktreeRunResolution.psm1 +3 -3
- package/resources/claude-customizations/.claude/rules/architecture-boundaries.md +5 -5
- package/resources/claude-customizations/.claude/rules/csharp.md +2 -2
- package/resources/claude-customizations/.claude/rules/general-code-change.md +1 -1
- package/resources/claude-customizations/.claude/rules/general-unit-test.md +3 -2
- package/resources/claude-customizations/.claude/rules/orchestrator-state.md +37 -4
- package/resources/claude-customizations/.claude/rules/parallel-orchestration.md +50 -5
- package/resources/claude-customizations/.claude/rules/plan-acceptance-gates.md +85 -10
- package/resources/claude-customizations/.claude/rules/quality-tiers.md +11 -7
- package/resources/claude-customizations/.claude/rules/shell.md +10 -8
- package/resources/claude-customizations/.claude/rules/typescript.md +1 -1
- package/resources/claude-customizations/.claude/settings.json +3 -4
- package/resources/claude-customizations/.claude/skills/acceptance-criteria-tracking/SKILL.md +1 -1
- package/resources/claude-customizations/.claude/skills/atomic-plan-contract/SKILL.md +52 -16
- package/resources/claude-customizations/.claude/skills/cleanup-merged-worktrees/SKILL.md +7 -3
- package/resources/claude-customizations/.claude/skills/cleanup-merged-worktrees/scripts/cleanup_worktrees_detached_lib.sh +1 -1
- package/resources/claude-customizations/.claude/skills/cleanup-merged-worktrees/scripts/cleanup_worktrees_enumerate_lib.sh +2 -0
- package/resources/claude-customizations/.claude/skills/cleanup-merged-worktrees/scripts/cleanup_worktrees_scan_helper.sh +2 -0
- package/resources/claude-customizations/.claude/skills/csharp-change-budget-router/SKILL.md +2 -2
- package/resources/claude-customizations/.claude/skills/epic-orchestrate/SKILL.md +45 -9
- package/resources/claude-customizations/.claude/skills/epic-plan/SKILL.md +5 -3
- package/resources/claude-customizations/.claude/skills/evidence-and-timestamp-conventions/SKILL.md +10 -1
- package/resources/claude-customizations/.claude/skills/execution-environment/SKILL.md +134 -0
- package/resources/claude-customizations/.claude/skills/feature-promotion-lifecycle/SKILL.md +1 -1
- package/resources/claude-customizations/.claude/skills/feature-review-workflow/SKILL.md +4 -3
- package/resources/claude-customizations/.claude/skills/orchestrate/SKILL.md +36 -15
- package/resources/claude-customizations/.claude/skills/parallel-add/SKILL.md +52 -14
- package/resources/claude-customizations/.claude/skills/parallel-close/SKILL.md +22 -9
- package/resources/claude-customizations/.claude/skills/parallel-orchestrate/SKILL.md +108 -21
- package/resources/claude-customizations/.claude/skills/parallel-plan/SKILL.md +63 -7
- package/resources/claude-customizations/.claude/skills/parallel-remove/SKILL.md +35 -12
- package/resources/claude-customizations/.claude/skills/powershell-change-budget-router/SKILL.md +1 -1
- package/resources/claude-customizations/.claude/skills/pr-author/SKILL.md +3 -1
- package/resources/claude-customizations/.claude/skills/python-change-budget-router/SKILL.md +1 -1
- package/resources/claude-customizations/.claude/skills/quota-throttling/SKILL.md +1 -1
- package/resources/claude-customizations/.claude/skills/remediation-handoff-atomic-planner/SKILL.md +16 -8
- package/resources/claude-customizations/.claude/skills/research-issue/SKILL.md +6 -0
- package/resources/claude-customizations/pack-manifests/core.json +27 -0
- package/resources/codex-and-agents-customizations/.agents/skills/README.md +1 -0
- package/resources/codex-and-agents-customizations/.agents/skills/acceptance-criteria-tracking/SKILL.md +1 -1
- package/resources/codex-and-agents-customizations/.agents/skills/architecture-boundaries/SKILL.md +5 -5
- package/resources/codex-and-agents-customizations/.agents/skills/atomic-executor/SKILL.md +19 -7
- package/resources/codex-and-agents-customizations/.agents/skills/atomic-plan-contract/SKILL.md +43 -4
- package/resources/codex-and-agents-customizations/.agents/skills/atomic-planner/SKILL.md +18 -6
- package/resources/codex-and-agents-customizations/.agents/skills/csharp/SKILL.md +2 -2
- package/resources/codex-and-agents-customizations/.agents/skills/csharp-change-budget-router/SKILL.md +2 -2
- package/resources/codex-and-agents-customizations/.agents/skills/csharp-qa-gate/SKILL.md +2 -2
- package/resources/codex-and-agents-customizations/.agents/skills/epic-orchestrate/SKILL.md +16 -1
- package/resources/codex-and-agents-customizations/.agents/skills/epic-plan/SKILL.md +17 -1
- package/resources/codex-and-agents-customizations/.agents/skills/epic-run/SKILL.md +2 -1
- package/resources/codex-and-agents-customizations/.agents/skills/evidence-and-timestamp-conventions/SKILL.md +10 -1
- package/resources/codex-and-agents-customizations/.agents/skills/execution-environment/SKILL.md +134 -0
- package/resources/codex-and-agents-customizations/.agents/skills/feature-review-workflow/SKILL.md +13 -5
- package/resources/codex-and-agents-customizations/.agents/skills/general-code-change/SKILL.md +1 -1
- package/resources/codex-and-agents-customizations/.agents/skills/general-unit-test/SKILL.md +3 -2
- package/resources/codex-and-agents-customizations/.agents/skills/orchestrate/SKILL.md +27 -8
- package/resources/codex-and-agents-customizations/.agents/skills/orchestrator-workflow/SKILL.md +1 -1
- package/resources/codex-and-agents-customizations/.agents/skills/powershell-change-budget-router/SKILL.md +1 -1
- package/resources/codex-and-agents-customizations/.agents/skills/python-change-budget-router/SKILL.md +1 -1
- package/resources/codex-and-agents-customizations/.agents/skills/quality-tiers/SKILL.md +11 -7
- package/resources/codex-and-agents-customizations/.agents/skills/remediation-handoff-atomic-planner/SKILL.md +7 -3
- package/resources/codex-and-agents-customizations/.agents/skills/research-issue/SKILL.md +6 -0
- package/resources/codex-and-agents-customizations/.agents/skills/translate-claude-to-codex/SKILL.md +1 -1
- package/resources/codex-and-agents-customizations/.agents-variants/csharp-legacy/skills/csharp/SKILL.md +2 -2
- package/resources/codex-and-agents-customizations/.agents-variants/csharp-legacy/skills/csharp-qa-gate/SKILL.md +2 -2
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor-c1.toml +21 -6
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor-c2.toml +21 -6
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor-c3-elevated.toml +21 -6
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor-c3.toml +21 -6
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor-c4.toml +21 -6
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-executor.toml +21 -6
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner-c1.toml +15 -2
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner-c2.toml +15 -2
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner-c3-elevated.toml +15 -2
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner-c3.toml +15 -2
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner-c4.toml +15 -2
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner.toml +15 -2
- package/resources/codex-and-agents-customizations/.codex/agents/atomic-planning.toml +1 -1
- package/resources/codex-and-agents-customizations/.codex/agents/csharp-atomic-planning.toml +1 -1
- package/resources/codex-and-agents-customizations/.codex/agents/epic-orchestrator.toml +4 -1
- package/resources/codex-and-agents-customizations/.codex/agents/feature-review.toml +6 -6
- package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c1.toml +7 -4
- package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c2.toml +7 -4
- package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c3-elevated.toml +7 -4
- package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c3.toml +7 -4
- package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c4.toml +7 -4
- package/resources/codex-and-agents-customizations/.codex/agents/orchestrator.toml +7 -4
- package/resources/codex-and-agents-customizations/.codex/agents/powershell-atomic-planning.toml +1 -1
- package/resources/codex-and-agents-customizations/.codex/agents/python-atomic-planning.toml +1 -1
- package/resources/codex-and-agents-customizations/.codex/agents/task-researcher-c1.toml +6 -0
- package/resources/codex-and-agents-customizations/.codex/agents/task-researcher-c2.toml +6 -0
- package/resources/codex-and-agents-customizations/.codex/agents/task-researcher-c3-elevated.toml +6 -0
- package/resources/codex-and-agents-customizations/.codex/agents/task-researcher-c3.toml +6 -0
- package/resources/codex-and-agents-customizations/.codex/agents/task-researcher-c4.toml +6 -0
- package/resources/codex-and-agents-customizations/.codex/agents/task-researcher.toml +6 -0
- package/resources/codex-and-agents-customizations/.codex/codex-web-setup.sh +318 -273
- package/resources/codex-and-agents-customizations/.codex/config.toml +1 -1
- package/resources/codex-and-agents-customizations/.codex/hooks/check-powershell-test-purity.ps1 +7 -1
- package/resources/codex-and-agents-customizations/.codex/hooks/check-python-test-purity.ps1 +7 -1
- package/resources/codex-and-agents-customizations/.codex/hooks/codex-epic-child-launch-attestation.ps1 +1 -1
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-checkpoint-monotonic.ps1 +7 -1
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-codex-model-routing.ps1 +8 -2
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-completion-consistency.ps1 +97 -44
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-completion-helpers.ps1 +105 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-epic-child-worktree-binding.ps1 +7 -1
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-epic-merge-gate-command.ps1 +190 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-epic-merge-gate.ps1 +54 -43
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-epic-planning-only.ps1 +6 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-epic-root-invocation.ps1 +7 -1
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-epic-wave-barrier.ps1 +7 -1
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-epic-worktree-removal-gate.ps1 +54 -41
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-evidence-locations.ps1 +7 -1
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-orchestration-preimplementation-gate-epic-scope.ps1 +35 -14
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-orchestration-preimplementation-gate-helpers.ps1 +31 -58
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-orchestration-preimplementation-gate-modes.ps1 +63 -47
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-orchestration-preimplementation-gate-targets.ps1 +433 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-orchestration-preimplementation-gate.ps1 +24 -11
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-powershell-batch-budget.ps1 +8 -2
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-promotion-mcp-only.ps1 +13 -4
- package/resources/codex-and-agents-customizations/.codex/hooks/enforce-python-batch-budget.ps1 +8 -2
- package/resources/codex-and-agents-customizations/.codex/hooks/feature-folder-resolution.ps1 +373 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/feature-review-coverage-thresholds.ps1 +85 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/hook-command-heredoc.ps1 +119 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/hook-command-invocation-operands.ps1 +198 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/hook-command-invocation.ps1 +254 -255
- package/resources/codex-and-agents-customizations/.codex/hooks/hook-command-payload-powershell.ps1 +201 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/hook-command-payload.ps1 +484 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/hook-command-scanner.ps1 +27 -110
- package/resources/codex-and-agents-customizations/.codex/hooks/hook-dependency-guard.ps1 +114 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/hook-docs-only-diff.ps1 +497 -0
- package/resources/codex-and-agents-customizations/.codex/hooks/validate-bash.ps1 +8 -2
- package/resources/codex-and-agents-customizations/.codex/hooks/validate-codex-subagent-routing.ps1 +7 -1
- package/resources/codex-and-agents-customizations/.codex/hooks/validate-feature-review-coverage.ps1 +24 -8
- package/resources/codex-and-agents-customizations/.codex/prompts/feature-review-remediate.md +6 -4
- package/resources/codex-and-agents-customizations/pack-manifests/core.json +11 -0
- package/resources/customizations/.github/agents/atomic_executor.agent.md +21 -11
- package/resources/customizations/.github/agents/atomic_planning.agent.md +8 -3
- package/resources/customizations/.github/agents/csharp-atomic-executor.agent.md +13 -9
- package/resources/customizations/.github/agents/csharp-atomic-planning.agent.md +2 -2
- package/resources/customizations/.github/agents/csharp-orchestrator.agent.md +2 -2
- package/resources/customizations/.github/agents/csharp-typed-engineer.agent.md +5 -5
- package/resources/customizations/.github/agents/orchestrator.agent.md +8 -5
- package/resources/customizations/.github/agents/powershell-atomic-executor.agent.md +13 -9
- package/resources/customizations/.github/agents/powershell-atomic-planning.agent.md +2 -2
- package/resources/customizations/.github/agents/powershell-orchestrator.agent.md +2 -2
- package/resources/customizations/.github/agents/powershell-typed-engineer.agent.md +3 -3
- package/resources/customizations/.github/agents/python-atomic-executor.agent.md +13 -9
- package/resources/customizations/.github/agents/python-atomic-planning.agent.md +2 -2
- package/resources/customizations/.github/agents/python-orchestrator.agent.md +2 -2
- package/resources/customizations/.github/agents/task-researcher.agent.md +6 -0
- package/resources/customizations/.github/instructions/csharp-code-change.instructions.md +4 -4
- package/resources/customizations/.github/instructions/csharp-unit-test.instructions.md +2 -2
- package/resources/customizations/.github/prompts/generate-atomic-plan.prompt.md +16 -10
- package/resources/customizations/.github/prompts/orchestrate-csharp-work.prompt.md +2 -2
- package/resources/customizations/.github/prompts/orchestrate-powershell-work.prompt.md +1 -1
- package/resources/customizations/.github/prompts/orchestrate-python-work.prompt.md +1 -1
- package/resources/customizations/.github/prompts/orchestrate-work.prompt.md +2 -2
- package/resources/customizations/.github/skills/acceptance-criteria-tracking/SKILL.md +1 -1
- package/resources/customizations/.github/skills/atomic-plan-contract/SKILL.md +43 -4
- package/resources/customizations/.github/skills/csharp-change-budget-router/SKILL.md +1 -1
- package/resources/customizations/.github/skills/evidence-and-timestamp-conventions/SKILL.md +10 -1
- package/resources/customizations/.github/skills/execution-environment/SKILL.md +134 -0
- package/resources/customizations/.github/skills/feature-review-workflow/SKILL.md +1 -1
- package/resources/customizations/.github/skills/powershell-change-budget-router/SKILL.md +1 -1
- package/resources/customizations/.github/skills/remediation-handoff-atomic-planner/SKILL.md +7 -3
- package/resources/feature-templates/bug/plan.yyyy-MM-ddTHH-mm.md +10 -0
- package/resources/feature-templates/feature/plan.yyyy-MM-ddTHH-mm.md +11 -0
- package/resources/feature-templates/refactor/plan.yyyy-MM-ddTHH-mm.md +11 -0
- package/resources/powershell/PoshQC/PoshQC.Coverage.psm1 +314 -0
- package/resources/powershell/PoshQC/PoshQC.CoverageMerge.psm1 +163 -0
- package/resources/powershell/PoshQC/PoshQC.Shard.psm1 +296 -0
- package/resources/powershell/PoshQC/PoshQC.Testing.psm1 +48 -32
- package/resources/powershell/PoshQC/PoshQC.psd1 +7 -1
- package/resources/powershell/PoshQC/PoshQC.psm1 +18 -5
- package/resources/powershell/PoshQC/README.md +21 -3
- package/resources/powershell/PoshQC/settings/pester.runsettings.psd1 +5 -319
|
@@ -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:
|
|
@@ -93,21 +96,33 @@ Use the scoped tool patterns for quality gates:
|
|
|
93
96
|
|
|
94
97
|
Run toolchain in order: format, lint, type-check, test. Restart from step 1 if any step fails or changes files.
|
|
95
98
|
|
|
99
|
+
## Scratch Location
|
|
100
|
+
|
|
101
|
+
Concurrent child runs in one session share one session scratchpad, so every scratch file a run writes lives in a directory unique to the child.
|
|
102
|
+
|
|
103
|
+
- `SCRATCH` resolves to `<session scratchpad>/issue-<issue-num>/`, where `<issue-num>` is the plan's canonical issue number.
|
|
104
|
+
- Every scratch file, helper script, staged copy, and coverage report a plan names lives under `SCRATCH`. Subdirectories such as `SCRATCH/stage/` are permitted.
|
|
105
|
+
- Create `SCRATCH` before the first scratch write. Never write a scratch file to the scratchpad root or to a fixed shared name outside `SCRATCH`.
|
|
106
|
+
- When a plan written before this rule defines `SCRATCH` as the bare session scratchpad, treat that definition as `<session scratchpad>/issue-<issue-num>/`. This is a mechanical micro-action, not replanning.
|
|
107
|
+
- Plans and evidence artifacts record the literal token `SCRATCH`, never a host path.
|
|
108
|
+
- If two runs for the same issue can execute at once, the run-unique form `issue-<issue-num>-<yyyy-MM-ddTHH-mm>` replaces `issue-<issue-num>`.
|
|
109
|
+
|
|
96
110
|
## Preflight Validation
|
|
97
111
|
|
|
98
|
-
When
|
|
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.
|
|
99
113
|
|
|
100
114
|
- `PREFLIGHT: ALL CLEAR`
|
|
101
115
|
- `PREFLIGHT: REVISIONS REQUIRED`
|
|
102
|
-
-
|
|
103
|
-
-
|
|
104
|
-
-
|
|
105
|
-
-
|
|
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.
|
|
106
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>`.
|
|
107
122
|
|
|
108
123
|
## Blocking Protocol
|
|
109
124
|
|
|
110
|
-
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:
|
|
111
126
|
|
|
112
127
|
1. State: `BLOCKED at preflight (before [P0-T1])`.
|
|
113
128
|
2. Provide a short, concrete explanation of why.
|
|
@@ -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:
|
|
@@ -66,6 +69,16 @@ Generate plans using the atomic plan contract defined in the `atomic-plan-contra
|
|
|
66
69
|
4. Do not add bucket tasks (e.g., "Refactor module" or "Write tests") that cannot be completed as a single binary outcome.
|
|
67
70
|
5. Do not execute implementation; produce the plan only.
|
|
68
71
|
|
|
72
|
+
## Scratch Location
|
|
73
|
+
|
|
74
|
+
Concurrent child runs in one session share one session scratchpad, so every plan places its scratch files in a directory unique to the child.
|
|
75
|
+
|
|
76
|
+
- `SCRATCH` resolves to `<session scratchpad>/issue-<issue-num>/`, where `<issue-num>` is the plan's canonical issue number. Every plan that uses scratch files defines `SCRATCH` this way.
|
|
77
|
+
- Every scratch file, helper script, staged copy, and coverage report a plan names lives under `SCRATCH`. Subdirectories such as `SCRATCH/stage/` are permitted.
|
|
78
|
+
- A plan never directs a scratch file to the scratchpad root or to a fixed shared name outside `SCRATCH`.
|
|
79
|
+
- Plans and evidence artifacts record the literal token `SCRATCH`, never a host path.
|
|
80
|
+
- If two runs for the same issue can execute at once, the run-unique form `issue-<issue-num>-<yyyy-MM-ddTHH-mm>` replaces `issue-<issue-num>`.
|
|
81
|
+
|
|
69
82
|
## Preflight Validation
|
|
70
83
|
|
|
71
84
|
Before reporting completion, explicitly spawn the `atomic-executor` subagent for validation-only preflight. The delegated prompt MUST include the exact directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY`.
|
|
@@ -74,8 +87,8 @@ Before reporting completion, explicitly spawn the `atomic-executor` subagent for
|
|
|
74
87
|
- `PREFLIGHT: ALL CLEAR`
|
|
75
88
|
- `PREFLIGHT: REVISIONS REQUIRED`
|
|
76
89
|
- Treat executor preflight findings as binding plan defects.
|
|
77
|
-
- If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file using the executor's precise plan delta and
|
|
78
|
-
- Reuse the same target plan file for
|
|
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.
|
|
79
92
|
- If the required `atomic-executor` handoff cannot be started or completed, stop and report blocked state; do not self-approve the plan.
|
|
80
93
|
- Before reporting completion, the target plan MUST pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`.
|
|
81
94
|
|
|
@@ -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:
|
|
@@ -66,6 +69,16 @@ Generate plans using the atomic plan contract defined in the `atomic-plan-contra
|
|
|
66
69
|
4. Do not add bucket tasks (e.g., "Refactor module" or "Write tests") that cannot be completed as a single binary outcome.
|
|
67
70
|
5. Do not execute implementation; produce the plan only.
|
|
68
71
|
|
|
72
|
+
## Scratch Location
|
|
73
|
+
|
|
74
|
+
Concurrent child runs in one session share one session scratchpad, so every plan places its scratch files in a directory unique to the child.
|
|
75
|
+
|
|
76
|
+
- `SCRATCH` resolves to `<session scratchpad>/issue-<issue-num>/`, where `<issue-num>` is the plan's canonical issue number. Every plan that uses scratch files defines `SCRATCH` this way.
|
|
77
|
+
- Every scratch file, helper script, staged copy, and coverage report a plan names lives under `SCRATCH`. Subdirectories such as `SCRATCH/stage/` are permitted.
|
|
78
|
+
- A plan never directs a scratch file to the scratchpad root or to a fixed shared name outside `SCRATCH`.
|
|
79
|
+
- Plans and evidence artifacts record the literal token `SCRATCH`, never a host path.
|
|
80
|
+
- If two runs for the same issue can execute at once, the run-unique form `issue-<issue-num>-<yyyy-MM-ddTHH-mm>` replaces `issue-<issue-num>`.
|
|
81
|
+
|
|
69
82
|
## Preflight Validation
|
|
70
83
|
|
|
71
84
|
Before reporting completion, explicitly spawn the `atomic-executor` subagent for validation-only preflight. The delegated prompt MUST include the exact directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY`.
|
|
@@ -74,8 +87,8 @@ Before reporting completion, explicitly spawn the `atomic-executor` subagent for
|
|
|
74
87
|
- `PREFLIGHT: ALL CLEAR`
|
|
75
88
|
- `PREFLIGHT: REVISIONS REQUIRED`
|
|
76
89
|
- Treat executor preflight findings as binding plan defects.
|
|
77
|
-
- If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file using the executor's precise plan delta and
|
|
78
|
-
- Reuse the same target plan file for
|
|
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.
|
|
79
92
|
- If the required `atomic-executor` handoff cannot be started or completed, stop and report blocked state; do not self-approve the plan.
|
|
80
93
|
- Before reporting completion, the target plan MUST pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`.
|
|
81
94
|
|
package/resources/codex-and-agents-customizations/.codex/agents/atomic-planner-c3-elevated.toml
CHANGED
|
@@ -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:
|
|
@@ -66,6 +69,16 @@ Generate plans using the atomic plan contract defined in the `atomic-plan-contra
|
|
|
66
69
|
4. Do not add bucket tasks (e.g., "Refactor module" or "Write tests") that cannot be completed as a single binary outcome.
|
|
67
70
|
5. Do not execute implementation; produce the plan only.
|
|
68
71
|
|
|
72
|
+
## Scratch Location
|
|
73
|
+
|
|
74
|
+
Concurrent child runs in one session share one session scratchpad, so every plan places its scratch files in a directory unique to the child.
|
|
75
|
+
|
|
76
|
+
- `SCRATCH` resolves to `<session scratchpad>/issue-<issue-num>/`, where `<issue-num>` is the plan's canonical issue number. Every plan that uses scratch files defines `SCRATCH` this way.
|
|
77
|
+
- Every scratch file, helper script, staged copy, and coverage report a plan names lives under `SCRATCH`. Subdirectories such as `SCRATCH/stage/` are permitted.
|
|
78
|
+
- A plan never directs a scratch file to the scratchpad root or to a fixed shared name outside `SCRATCH`.
|
|
79
|
+
- Plans and evidence artifacts record the literal token `SCRATCH`, never a host path.
|
|
80
|
+
- If two runs for the same issue can execute at once, the run-unique form `issue-<issue-num>-<yyyy-MM-ddTHH-mm>` replaces `issue-<issue-num>`.
|
|
81
|
+
|
|
69
82
|
## Preflight Validation
|
|
70
83
|
|
|
71
84
|
Before reporting completion, explicitly spawn the `atomic-executor` subagent for validation-only preflight. The delegated prompt MUST include the exact directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY`.
|
|
@@ -74,8 +87,8 @@ Before reporting completion, explicitly spawn the `atomic-executor` subagent for
|
|
|
74
87
|
- `PREFLIGHT: ALL CLEAR`
|
|
75
88
|
- `PREFLIGHT: REVISIONS REQUIRED`
|
|
76
89
|
- Treat executor preflight findings as binding plan defects.
|
|
77
|
-
- If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file using the executor's precise plan delta and
|
|
78
|
-
- Reuse the same target plan file for
|
|
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.
|
|
79
92
|
- If the required `atomic-executor` handoff cannot be started or completed, stop and report blocked state; do not self-approve the plan.
|
|
80
93
|
- Before reporting completion, the target plan MUST pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`.
|
|
81
94
|
|
|
@@ -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:
|
|
@@ -66,6 +69,16 @@ Generate plans using the atomic plan contract defined in the `atomic-plan-contra
|
|
|
66
69
|
4. Do not add bucket tasks (e.g., "Refactor module" or "Write tests") that cannot be completed as a single binary outcome.
|
|
67
70
|
5. Do not execute implementation; produce the plan only.
|
|
68
71
|
|
|
72
|
+
## Scratch Location
|
|
73
|
+
|
|
74
|
+
Concurrent child runs in one session share one session scratchpad, so every plan places its scratch files in a directory unique to the child.
|
|
75
|
+
|
|
76
|
+
- `SCRATCH` resolves to `<session scratchpad>/issue-<issue-num>/`, where `<issue-num>` is the plan's canonical issue number. Every plan that uses scratch files defines `SCRATCH` this way.
|
|
77
|
+
- Every scratch file, helper script, staged copy, and coverage report a plan names lives under `SCRATCH`. Subdirectories such as `SCRATCH/stage/` are permitted.
|
|
78
|
+
- A plan never directs a scratch file to the scratchpad root or to a fixed shared name outside `SCRATCH`.
|
|
79
|
+
- Plans and evidence artifacts record the literal token `SCRATCH`, never a host path.
|
|
80
|
+
- If two runs for the same issue can execute at once, the run-unique form `issue-<issue-num>-<yyyy-MM-ddTHH-mm>` replaces `issue-<issue-num>`.
|
|
81
|
+
|
|
69
82
|
## Preflight Validation
|
|
70
83
|
|
|
71
84
|
Before reporting completion, explicitly spawn the `atomic-executor` subagent for validation-only preflight. The delegated prompt MUST include the exact directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY`.
|
|
@@ -74,8 +87,8 @@ Before reporting completion, explicitly spawn the `atomic-executor` subagent for
|
|
|
74
87
|
- `PREFLIGHT: ALL CLEAR`
|
|
75
88
|
- `PREFLIGHT: REVISIONS REQUIRED`
|
|
76
89
|
- Treat executor preflight findings as binding plan defects.
|
|
77
|
-
- If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file using the executor's precise plan delta and
|
|
78
|
-
- Reuse the same target plan file for
|
|
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.
|
|
79
92
|
- If the required `atomic-executor` handoff cannot be started or completed, stop and report blocked state; do not self-approve the plan.
|
|
80
93
|
- Before reporting completion, the target plan MUST pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`.
|
|
81
94
|
|
|
@@ -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:
|
|
@@ -66,6 +69,16 @@ Generate plans using the atomic plan contract defined in the `atomic-plan-contra
|
|
|
66
69
|
4. Do not add bucket tasks (e.g., "Refactor module" or "Write tests") that cannot be completed as a single binary outcome.
|
|
67
70
|
5. Do not execute implementation; produce the plan only.
|
|
68
71
|
|
|
72
|
+
## Scratch Location
|
|
73
|
+
|
|
74
|
+
Concurrent child runs in one session share one session scratchpad, so every plan places its scratch files in a directory unique to the child.
|
|
75
|
+
|
|
76
|
+
- `SCRATCH` resolves to `<session scratchpad>/issue-<issue-num>/`, where `<issue-num>` is the plan's canonical issue number. Every plan that uses scratch files defines `SCRATCH` this way.
|
|
77
|
+
- Every scratch file, helper script, staged copy, and coverage report a plan names lives under `SCRATCH`. Subdirectories such as `SCRATCH/stage/` are permitted.
|
|
78
|
+
- A plan never directs a scratch file to the scratchpad root or to a fixed shared name outside `SCRATCH`.
|
|
79
|
+
- Plans and evidence artifacts record the literal token `SCRATCH`, never a host path.
|
|
80
|
+
- If two runs for the same issue can execute at once, the run-unique form `issue-<issue-num>-<yyyy-MM-ddTHH-mm>` replaces `issue-<issue-num>`.
|
|
81
|
+
|
|
69
82
|
## Preflight Validation
|
|
70
83
|
|
|
71
84
|
Before reporting completion, explicitly spawn the `atomic-executor` subagent for validation-only preflight. The delegated prompt MUST include the exact directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY`.
|
|
@@ -74,8 +87,8 @@ Before reporting completion, explicitly spawn the `atomic-executor` subagent for
|
|
|
74
87
|
- `PREFLIGHT: ALL CLEAR`
|
|
75
88
|
- `PREFLIGHT: REVISIONS REQUIRED`
|
|
76
89
|
- Treat executor preflight findings as binding plan defects.
|
|
77
|
-
- If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file using the executor's precise plan delta and
|
|
78
|
-
- Reuse the same target plan file for
|
|
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.
|
|
79
92
|
- If the required `atomic-executor` handoff cannot be started or completed, stop and report blocked state; do not self-approve the plan.
|
|
80
93
|
- Before reporting completion, the target plan MUST pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`.
|
|
81
94
|
|
|
@@ -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:
|
|
@@ -66,6 +69,16 @@ Generate plans using the atomic plan contract defined in the `atomic-plan-contra
|
|
|
66
69
|
4. Do not add bucket tasks (e.g., "Refactor module" or "Write tests") that cannot be completed as a single binary outcome.
|
|
67
70
|
5. Do not execute implementation; produce the plan only.
|
|
68
71
|
|
|
72
|
+
## Scratch Location
|
|
73
|
+
|
|
74
|
+
Concurrent child runs in one session share one session scratchpad, so every plan places its scratch files in a directory unique to the child.
|
|
75
|
+
|
|
76
|
+
- `SCRATCH` resolves to `<session scratchpad>/issue-<issue-num>/`, where `<issue-num>` is the plan's canonical issue number. Every plan that uses scratch files defines `SCRATCH` this way.
|
|
77
|
+
- Every scratch file, helper script, staged copy, and coverage report a plan names lives under `SCRATCH`. Subdirectories such as `SCRATCH/stage/` are permitted.
|
|
78
|
+
- A plan never directs a scratch file to the scratchpad root or to a fixed shared name outside `SCRATCH`.
|
|
79
|
+
- Plans and evidence artifacts record the literal token `SCRATCH`, never a host path.
|
|
80
|
+
- If two runs for the same issue can execute at once, the run-unique form `issue-<issue-num>-<yyyy-MM-ddTHH-mm>` replaces `issue-<issue-num>`.
|
|
81
|
+
|
|
69
82
|
## Preflight Validation
|
|
70
83
|
|
|
71
84
|
Before reporting completion, explicitly spawn the `atomic-executor` subagent for validation-only preflight. The delegated prompt MUST include the exact directive `DIRECTIVE: PREFLIGHT VALIDATION ONLY`.
|
|
@@ -74,8 +87,8 @@ Before reporting completion, explicitly spawn the `atomic-executor` subagent for
|
|
|
74
87
|
- `PREFLIGHT: ALL CLEAR`
|
|
75
88
|
- `PREFLIGHT: REVISIONS REQUIRED`
|
|
76
89
|
- Treat executor preflight findings as binding plan defects.
|
|
77
|
-
- If preflight returns `PREFLIGHT: REVISIONS REQUIRED`, revise the same target plan file using the executor's precise plan delta and
|
|
78
|
-
- Reuse the same target plan file for
|
|
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.
|
|
79
92
|
- If the required `atomic-executor` handoff cannot be started or completed, stop and report blocked state; do not self-approve the plan.
|
|
80
93
|
- Before reporting completion, the target plan MUST pass the `validate_orchestration_artifacts` MCP tool with `artifact_type: "plan"` and `artifact_path: <plan-path>`.
|
|
81
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
|
|
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
|
|
|
@@ -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
|
|
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
|
|
|
@@ -40,7 +40,8 @@ prompt, integration branch, child plan paths, preflight evidence, and Git state.
|
|
|
40
40
|
and existing issues, folders, research, specifications, user stories, plans, and preflight
|
|
41
41
|
receipts. Every child resumes at atomic execution. Drift returns control to `epic-planner`.
|
|
42
42
|
Require `validate_orchestration_artifacts` to pass `epic-planner-state` with
|
|
43
|
-
`require_ready_for_execution: true`
|
|
43
|
+
`require_ready_for_execution: true`, `require_codex_topology: true`,
|
|
44
|
+
`require_codex_model_routing: true`, and the explicit workspace root before execution. Copy its
|
|
44
45
|
validated `max_parallel_features` into this agent's checkpoint.
|
|
45
46
|
|
|
46
47
|
## Manual Epic
|
|
@@ -80,6 +81,8 @@ integration-to-main PR is merged with its merge SHA recorded, the status project
|
|
|
80
81
|
acceptance criteria are checked, and `validate_orchestration_artifacts` passes
|
|
81
82
|
`epic-orchestrator-state` with `require_complete: true`, `require_codex_topology: true`, and
|
|
82
83
|
`require_codex_model_routing: true`.
|
|
84
|
+
The final merge SHA is recorded only after the merge is confirmed by polling and ancestry check:
|
|
85
|
+
under a merge queue on `main`, `gh pr merge` can return before the merge happens (issue #952).
|
|
83
86
|
'''
|
|
84
87
|
|
|
85
88
|
[skills]
|
|
@@ -118,9 +118,9 @@ Coverage metrics are mandatory for every language that has changed files in the
|
|
|
118
118
|
|
|
119
119
|
### Coverage Thresholds
|
|
120
120
|
|
|
121
|
-
- **
|
|
122
|
-
- **
|
|
123
|
-
- **Repo-wide**:
|
|
121
|
+
- **Governing thresholds**: when the repository's root `CLAUDE.md` states a line or branch coverage threshold, that threshold governs; otherwise the defaults govern (line 85%, branch 75% for branch-capable languages). Each metric falls back independently.
|
|
122
|
+
- **New and modified files**: line coverage must meet the governing line threshold (and the branch threshold where measured); modified files must also show no regression on changed lines.
|
|
123
|
+
- **Repo-wide**: coverage for each language must meet the governing thresholds.
|
|
124
124
|
|
|
125
125
|
### Verification Procedure
|
|
126
126
|
|
|
@@ -130,9 +130,9 @@ For each language that has changed files in the feature branch:
|
|
|
130
130
|
2. Check whether the coverage artifact exists for that language.
|
|
131
131
|
3. If the artifact exists:
|
|
132
132
|
- Parse the repo-wide coverage percentage and report it in the policy audit.
|
|
133
|
-
- If repo-wide coverage is below
|
|
134
|
-
- For each new file: if line coverage is below
|
|
135
|
-
- For each modified file: if line coverage has regressed from baseline or is below
|
|
133
|
+
- If repo-wide coverage is below the governing line threshold, flag as FAIL and add to remediation triggers.
|
|
134
|
+
- For each new file: if line coverage is below the governing line threshold, flag as FAIL and add to remediation triggers.
|
|
135
|
+
- For each modified file: if line coverage has regressed from baseline or is below the governing line threshold, flag as FAIL and add to remediation triggers.
|
|
136
136
|
4. If no coverage artifact is found for a language that has changed files, flag as **FAIL** with reason: "coverage artifact absent for [language]; coverage verification is mandatory for all languages with changed files." Add to remediation triggers.
|
|
137
137
|
|
|
138
138
|
The agent does NOT rerun coverage generation. Evidence verification from existing artifacts is the required model.
|
|
@@ -18,6 +18,7 @@ Use the following repo-local skills as the canonical workflow source:
|
|
|
18
18
|
- pr-context-artifacts
|
|
19
19
|
- pr-base-branch-merge-base
|
|
20
20
|
- evidence-and-timestamp-conventions
|
|
21
|
+
- execution-environment
|
|
21
22
|
|
|
22
23
|
## Startup Protocol
|
|
23
24
|
|
|
@@ -60,8 +61,10 @@ entry path with `EPIC_INVOCATION_ORIGIN_BLOCKED`.
|
|
|
60
61
|
|
|
61
62
|
When the parent prompt carries the literal `Preparation mode: true` marker, select only
|
|
62
63
|
`route_id: preparation`. Perform promotion through the MCP surface, research, `spec.md`,
|
|
63
|
-
`user-story.md`, atomic planning, and atomic-executor preflight.
|
|
64
|
-
|
|
64
|
+
`user-story.md`, atomic planning, and atomic-executor preflight. Run single-pass preflight on the
|
|
65
|
+
same plan (trivial defects fixed in place, at most one return to the planner, a second substantive
|
|
66
|
+
result halts with `blocked_reason: "validator_failed"`), commit the prepared feature folder and
|
|
67
|
+
plan after `PREFLIGHT: ALL CLEAR`, then stop with
|
|
65
68
|
`completed_steps` containing `S3_promotion` and `S4_atomic_planning`,
|
|
66
69
|
`next_step: "S5_atomic_execution"`, execution-through-CI statuses exactly `not-applicable`, and
|
|
67
70
|
`blocked_reason: "none"`. Do not implement, create a PR, run feature review, monitor CI, or claim
|
|
@@ -188,9 +191,9 @@ Do not report completion until:
|
|
|
188
191
|
5. The checkpoint file reflects the final completed state.
|
|
189
192
|
6. The checkpoint proves the selected routing matrix entry: all required agents have delegation receipts, all required skills have skill receipts, all required MCP tools have successful MCP receipts, and no local bypass list is populated.
|
|
190
193
|
7. The deterministic MCP validator passes: `validate_orchestration_artifacts` with `artifact_type = "orchestrator-state"`, `artifact_path = "artifacts/orchestration/orchestrator-state.json"`, `require_complete = true`, `require_codex_topology = true`, and `require_codex_model_routing = true`.
|
|
191
|
-
8.
|
|
194
|
+
8. Every GitHub check on the current PR head SHA passed or was skipped before any PR/DONE transition.
|
|
192
195
|
|
|
193
|
-
The MCP validator and
|
|
196
|
+
The MCP validator and every CI check on the current PR head SHA are the hard completion boundary. There is no fallback. If the MCP server or validation tool is unavailable, stop and persist blocked state. Codex lifecycle hooks may provide local feedback, but they are not the authoritative completion gate.
|
|
194
197
|
|
|
195
198
|
Do not claim mission completion unless all required delegations completed with receipts and the required orchestration artifacts exist on disk.
|
|
196
199
|
'''
|
|
@@ -18,6 +18,7 @@ Use the following repo-local skills as the canonical workflow source:
|
|
|
18
18
|
- pr-context-artifacts
|
|
19
19
|
- pr-base-branch-merge-base
|
|
20
20
|
- evidence-and-timestamp-conventions
|
|
21
|
+
- execution-environment
|
|
21
22
|
|
|
22
23
|
## Startup Protocol
|
|
23
24
|
|
|
@@ -60,8 +61,10 @@ entry path with `EPIC_INVOCATION_ORIGIN_BLOCKED`.
|
|
|
60
61
|
|
|
61
62
|
When the parent prompt carries the literal `Preparation mode: true` marker, select only
|
|
62
63
|
`route_id: preparation`. Perform promotion through the MCP surface, research, `spec.md`,
|
|
63
|
-
`user-story.md`, atomic planning, and atomic-executor preflight.
|
|
64
|
-
|
|
64
|
+
`user-story.md`, atomic planning, and atomic-executor preflight. Run single-pass preflight on the
|
|
65
|
+
same plan (trivial defects fixed in place, at most one return to the planner, a second substantive
|
|
66
|
+
result halts with `blocked_reason: "validator_failed"`), commit the prepared feature folder and
|
|
67
|
+
plan after `PREFLIGHT: ALL CLEAR`, then stop with
|
|
65
68
|
`completed_steps` containing `S3_promotion` and `S4_atomic_planning`,
|
|
66
69
|
`next_step: "S5_atomic_execution"`, execution-through-CI statuses exactly `not-applicable`, and
|
|
67
70
|
`blocked_reason: "none"`. Do not implement, create a PR, run feature review, monitor CI, or claim
|
|
@@ -188,9 +191,9 @@ Do not report completion until:
|
|
|
188
191
|
5. The checkpoint file reflects the final completed state.
|
|
189
192
|
6. The checkpoint proves the selected routing matrix entry: all required agents have delegation receipts, all required skills have skill receipts, all required MCP tools have successful MCP receipts, and no local bypass list is populated.
|
|
190
193
|
7. The deterministic MCP validator passes: `validate_orchestration_artifacts` with `artifact_type = "orchestrator-state"`, `artifact_path = "artifacts/orchestration/orchestrator-state.json"`, `require_complete = true`, `require_codex_topology = true`, and `require_codex_model_routing = true`.
|
|
191
|
-
8.
|
|
194
|
+
8. Every GitHub check on the current PR head SHA passed or was skipped before any PR/DONE transition.
|
|
192
195
|
|
|
193
|
-
The MCP validator and
|
|
196
|
+
The MCP validator and every CI check on the current PR head SHA are the hard completion boundary. There is no fallback. If the MCP server or validation tool is unavailable, stop and persist blocked state. Codex lifecycle hooks may provide local feedback, but they are not the authoritative completion gate.
|
|
194
197
|
|
|
195
198
|
Do not claim mission completion unless all required delegations completed with receipts and the required orchestration artifacts exist on disk.
|
|
196
199
|
'''
|
package/resources/codex-and-agents-customizations/.codex/agents/orchestrator-c3-elevated.toml
CHANGED
|
@@ -18,6 +18,7 @@ Use the following repo-local skills as the canonical workflow source:
|
|
|
18
18
|
- pr-context-artifacts
|
|
19
19
|
- pr-base-branch-merge-base
|
|
20
20
|
- evidence-and-timestamp-conventions
|
|
21
|
+
- execution-environment
|
|
21
22
|
|
|
22
23
|
## Startup Protocol
|
|
23
24
|
|
|
@@ -60,8 +61,10 @@ entry path with `EPIC_INVOCATION_ORIGIN_BLOCKED`.
|
|
|
60
61
|
|
|
61
62
|
When the parent prompt carries the literal `Preparation mode: true` marker, select only
|
|
62
63
|
`route_id: preparation`. Perform promotion through the MCP surface, research, `spec.md`,
|
|
63
|
-
`user-story.md`, atomic planning, and atomic-executor preflight.
|
|
64
|
-
|
|
64
|
+
`user-story.md`, atomic planning, and atomic-executor preflight. Run single-pass preflight on the
|
|
65
|
+
same plan (trivial defects fixed in place, at most one return to the planner, a second substantive
|
|
66
|
+
result halts with `blocked_reason: "validator_failed"`), commit the prepared feature folder and
|
|
67
|
+
plan after `PREFLIGHT: ALL CLEAR`, then stop with
|
|
65
68
|
`completed_steps` containing `S3_promotion` and `S4_atomic_planning`,
|
|
66
69
|
`next_step: "S5_atomic_execution"`, execution-through-CI statuses exactly `not-applicable`, and
|
|
67
70
|
`blocked_reason: "none"`. Do not implement, create a PR, run feature review, monitor CI, or claim
|
|
@@ -188,9 +191,9 @@ Do not report completion until:
|
|
|
188
191
|
5. The checkpoint file reflects the final completed state.
|
|
189
192
|
6. The checkpoint proves the selected routing matrix entry: all required agents have delegation receipts, all required skills have skill receipts, all required MCP tools have successful MCP receipts, and no local bypass list is populated.
|
|
190
193
|
7. The deterministic MCP validator passes: `validate_orchestration_artifacts` with `artifact_type = "orchestrator-state"`, `artifact_path = "artifacts/orchestration/orchestrator-state.json"`, `require_complete = true`, `require_codex_topology = true`, and `require_codex_model_routing = true`.
|
|
191
|
-
8.
|
|
194
|
+
8. Every GitHub check on the current PR head SHA passed or was skipped before any PR/DONE transition.
|
|
192
195
|
|
|
193
|
-
The MCP validator and
|
|
196
|
+
The MCP validator and every CI check on the current PR head SHA are the hard completion boundary. There is no fallback. If the MCP server or validation tool is unavailable, stop and persist blocked state. Codex lifecycle hooks may provide local feedback, but they are not the authoritative completion gate.
|
|
194
197
|
|
|
195
198
|
Do not claim mission completion unless all required delegations completed with receipts and the required orchestration artifacts exist on disk.
|
|
196
199
|
'''
|
|
@@ -18,6 +18,7 @@ Use the following repo-local skills as the canonical workflow source:
|
|
|
18
18
|
- pr-context-artifacts
|
|
19
19
|
- pr-base-branch-merge-base
|
|
20
20
|
- evidence-and-timestamp-conventions
|
|
21
|
+
- execution-environment
|
|
21
22
|
|
|
22
23
|
## Startup Protocol
|
|
23
24
|
|
|
@@ -60,8 +61,10 @@ entry path with `EPIC_INVOCATION_ORIGIN_BLOCKED`.
|
|
|
60
61
|
|
|
61
62
|
When the parent prompt carries the literal `Preparation mode: true` marker, select only
|
|
62
63
|
`route_id: preparation`. Perform promotion through the MCP surface, research, `spec.md`,
|
|
63
|
-
`user-story.md`, atomic planning, and atomic-executor preflight.
|
|
64
|
-
|
|
64
|
+
`user-story.md`, atomic planning, and atomic-executor preflight. Run single-pass preflight on the
|
|
65
|
+
same plan (trivial defects fixed in place, at most one return to the planner, a second substantive
|
|
66
|
+
result halts with `blocked_reason: "validator_failed"`), commit the prepared feature folder and
|
|
67
|
+
plan after `PREFLIGHT: ALL CLEAR`, then stop with
|
|
65
68
|
`completed_steps` containing `S3_promotion` and `S4_atomic_planning`,
|
|
66
69
|
`next_step: "S5_atomic_execution"`, execution-through-CI statuses exactly `not-applicable`, and
|
|
67
70
|
`blocked_reason: "none"`. Do not implement, create a PR, run feature review, monitor CI, or claim
|
|
@@ -188,9 +191,9 @@ Do not report completion until:
|
|
|
188
191
|
5. The checkpoint file reflects the final completed state.
|
|
189
192
|
6. The checkpoint proves the selected routing matrix entry: all required agents have delegation receipts, all required skills have skill receipts, all required MCP tools have successful MCP receipts, and no local bypass list is populated.
|
|
190
193
|
7. The deterministic MCP validator passes: `validate_orchestration_artifacts` with `artifact_type = "orchestrator-state"`, `artifact_path = "artifacts/orchestration/orchestrator-state.json"`, `require_complete = true`, `require_codex_topology = true`, and `require_codex_model_routing = true`.
|
|
191
|
-
8.
|
|
194
|
+
8. Every GitHub check on the current PR head SHA passed or was skipped before any PR/DONE transition.
|
|
192
195
|
|
|
193
|
-
The MCP validator and
|
|
196
|
+
The MCP validator and every CI check on the current PR head SHA are the hard completion boundary. There is no fallback. If the MCP server or validation tool is unavailable, stop and persist blocked state. Codex lifecycle hooks may provide local feedback, but they are not the authoritative completion gate.
|
|
194
197
|
|
|
195
198
|
Do not claim mission completion unless all required delegations completed with receipts and the required orchestration artifacts exist on disk.
|
|
196
199
|
'''
|
|
@@ -18,6 +18,7 @@ Use the following repo-local skills as the canonical workflow source:
|
|
|
18
18
|
- pr-context-artifacts
|
|
19
19
|
- pr-base-branch-merge-base
|
|
20
20
|
- evidence-and-timestamp-conventions
|
|
21
|
+
- execution-environment
|
|
21
22
|
|
|
22
23
|
## Startup Protocol
|
|
23
24
|
|
|
@@ -60,8 +61,10 @@ entry path with `EPIC_INVOCATION_ORIGIN_BLOCKED`.
|
|
|
60
61
|
|
|
61
62
|
When the parent prompt carries the literal `Preparation mode: true` marker, select only
|
|
62
63
|
`route_id: preparation`. Perform promotion through the MCP surface, research, `spec.md`,
|
|
63
|
-
`user-story.md`, atomic planning, and atomic-executor preflight.
|
|
64
|
-
|
|
64
|
+
`user-story.md`, atomic planning, and atomic-executor preflight. Run single-pass preflight on the
|
|
65
|
+
same plan (trivial defects fixed in place, at most one return to the planner, a second substantive
|
|
66
|
+
result halts with `blocked_reason: "validator_failed"`), commit the prepared feature folder and
|
|
67
|
+
plan after `PREFLIGHT: ALL CLEAR`, then stop with
|
|
65
68
|
`completed_steps` containing `S3_promotion` and `S4_atomic_planning`,
|
|
66
69
|
`next_step: "S5_atomic_execution"`, execution-through-CI statuses exactly `not-applicable`, and
|
|
67
70
|
`blocked_reason: "none"`. Do not implement, create a PR, run feature review, monitor CI, or claim
|
|
@@ -188,9 +191,9 @@ Do not report completion until:
|
|
|
188
191
|
5. The checkpoint file reflects the final completed state.
|
|
189
192
|
6. The checkpoint proves the selected routing matrix entry: all required agents have delegation receipts, all required skills have skill receipts, all required MCP tools have successful MCP receipts, and no local bypass list is populated.
|
|
190
193
|
7. The deterministic MCP validator passes: `validate_orchestration_artifacts` with `artifact_type = "orchestrator-state"`, `artifact_path = "artifacts/orchestration/orchestrator-state.json"`, `require_complete = true`, `require_codex_topology = true`, and `require_codex_model_routing = true`.
|
|
191
|
-
8.
|
|
194
|
+
8. Every GitHub check on the current PR head SHA passed or was skipped before any PR/DONE transition.
|
|
192
195
|
|
|
193
|
-
The MCP validator and
|
|
196
|
+
The MCP validator and every CI check on the current PR head SHA are the hard completion boundary. There is no fallback. If the MCP server or validation tool is unavailable, stop and persist blocked state. Codex lifecycle hooks may provide local feedback, but they are not the authoritative completion gate.
|
|
194
197
|
|
|
195
198
|
Do not claim mission completion unless all required delegations completed with receipts and the required orchestration artifacts exist on disk.
|
|
196
199
|
'''
|