codex-orchestrator 0.1.51 → 2.0.1
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/CHANGELOG.md +27 -0
- package/README.md +45 -389
- package/dist/src/index.d.ts +16 -46
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +8 -24
- package/dist/src/index.js.map +1 -1
- package/dist/src/v2/acceptance-proof.d.ts +111 -0
- package/dist/src/v2/acceptance-proof.d.ts.map +1 -0
- package/dist/src/v2/acceptance-proof.js +427 -0
- package/dist/src/v2/acceptance-proof.js.map +1 -0
- package/dist/src/v2/adapters/command.d.ts.map +1 -0
- package/dist/src/v2/adapters/command.js.map +1 -0
- package/dist/src/v2/adapters/durable-atomic-file.d.ts.map +1 -0
- package/dist/src/v2/adapters/durable-atomic-file.js.map +1 -0
- package/dist/src/v2/adapters/gh-cli.d.ts.map +1 -0
- package/dist/src/v2/adapters/gh-cli.js.map +1 -0
- package/dist/src/v2/adapters/gh-issue-adapter.d.ts.map +1 -0
- package/dist/src/v2/adapters/gh-issue-adapter.js.map +1 -0
- package/dist/src/v2/adapters/gh-pull-request-adapter.d.ts.map +1 -0
- package/dist/src/v2/adapters/gh-pull-request-adapter.js.map +1 -0
- package/dist/src/v2/adapters/issues.d.ts.map +1 -0
- package/dist/src/v2/adapters/issues.js.map +1 -0
- package/dist/src/v2/adapters/mission-coordinator-lock.d.ts.map +1 -0
- package/dist/src/v2/adapters/mission-coordinator-lock.js.map +1 -0
- package/dist/src/v2/adapters/path-policy.d.ts.map +1 -0
- package/dist/src/v2/adapters/path-policy.js.map +1 -0
- package/dist/src/v2/adapters/pull-requests.d.ts.map +1 -0
- package/dist/src/v2/adapters/pull-requests.js.map +1 -0
- package/dist/src/v2/adapters/target-activity-fence.d.ts.map +1 -0
- package/dist/src/{runner → v2/adapters}/target-activity-fence.js +1 -1
- package/dist/src/v2/adapters/target-activity-fence.js.map +1 -0
- package/dist/src/{git → v2/adapters}/worktree.d.ts +1 -1
- package/dist/src/v2/adapters/worktree.d.ts.map +1 -0
- package/dist/src/{git → v2/adapters}/worktree.js +2 -2
- package/dist/src/v2/adapters/worktree.js.map +1 -0
- package/dist/src/v2/atomic-store.d.ts +36 -0
- package/dist/src/v2/atomic-store.d.ts.map +1 -0
- package/dist/src/v2/atomic-store.js +328 -0
- package/dist/src/v2/atomic-store.js.map +1 -0
- package/dist/src/v2/candidate-cli.d.ts +22 -0
- package/dist/src/v2/candidate-cli.d.ts.map +1 -0
- package/dist/src/v2/candidate-cli.js +161 -0
- package/dist/src/v2/candidate-cli.js.map +1 -0
- package/dist/src/v2/checked-change.d.ts +49 -0
- package/dist/src/v2/checked-change.d.ts.map +1 -0
- package/dist/src/v2/checked-change.js +139 -0
- package/dist/src/v2/checked-change.js.map +1 -0
- package/dist/src/v2/cli-contract.d.ts +8 -0
- package/dist/src/v2/cli-contract.d.ts.map +1 -0
- package/dist/src/v2/cli-contract.js +32 -0
- package/dist/src/v2/cli-contract.js.map +1 -0
- package/dist/src/v2/codex-process.d.ts +71 -0
- package/dist/src/v2/codex-process.d.ts.map +1 -0
- package/dist/src/v2/codex-process.js +404 -0
- package/dist/src/v2/codex-process.js.map +1 -0
- package/dist/src/v2/config.d.ts +45 -0
- package/dist/src/v2/config.d.ts.map +1 -0
- package/dist/src/v2/config.js +139 -0
- package/dist/src/v2/config.js.map +1 -0
- package/dist/src/v2/containment.d.ts +55 -0
- package/dist/src/v2/containment.d.ts.map +1 -0
- package/dist/src/v2/containment.js +370 -0
- package/dist/src/v2/containment.js.map +1 -0
- package/dist/src/v2/implementation-report.d.ts +18 -0
- package/dist/src/v2/implementation-report.d.ts.map +1 -0
- package/dist/src/v2/implementation-report.js +147 -0
- package/dist/src/v2/implementation-report.js.map +1 -0
- package/dist/src/v2/legacy-cutover.d.ts +52 -0
- package/dist/src/v2/legacy-cutover.d.ts.map +1 -0
- package/dist/src/v2/legacy-cutover.js +87 -0
- package/dist/src/v2/legacy-cutover.js.map +1 -0
- package/dist/src/v2/mobile-lease.d.ts +97 -0
- package/dist/src/v2/mobile-lease.d.ts.map +1 -0
- package/dist/src/v2/mobile-lease.js +253 -0
- package/dist/src/v2/mobile-lease.js.map +1 -0
- package/dist/src/v2/proof-report.d.ts +118 -0
- package/dist/src/v2/proof-report.d.ts.map +1 -0
- package/dist/src/v2/proof-report.js +703 -0
- package/dist/src/v2/proof-report.js.map +1 -0
- package/dist/src/v2/proof-store.d.ts +42 -0
- package/dist/src/v2/proof-store.d.ts.map +1 -0
- package/dist/src/v2/proof-store.js +180 -0
- package/dist/src/v2/proof-store.js.map +1 -0
- package/dist/src/v2/report-envelope.d.ts +4 -0
- package/dist/src/v2/report-envelope.d.ts.map +1 -0
- package/dist/src/v2/report-envelope.js +46 -0
- package/dist/src/v2/report-envelope.js.map +1 -0
- package/dist/src/v2/run-issue.d.ts +213 -0
- package/dist/src/v2/run-issue.d.ts.map +1 -0
- package/dist/src/v2/run-issue.js +906 -0
- package/dist/src/v2/run-issue.js.map +1 -0
- package/dist/src/v2/run-store.d.ts +136 -0
- package/dist/src/v2/run-store.d.ts.map +1 -0
- package/dist/src/v2/run-store.js +346 -0
- package/dist/src/v2/run-store.js.map +1 -0
- package/dist/src/v2/runtime-assets.d.ts +31 -0
- package/dist/src/v2/runtime-assets.d.ts.map +1 -0
- package/dist/src/v2/runtime-assets.js +473 -0
- package/dist/src/v2/runtime-assets.js.map +1 -0
- package/dist/src/v2/runtime.d.ts +137 -0
- package/dist/src/v2/runtime.d.ts.map +1 -0
- package/dist/src/v2/runtime.js +847 -0
- package/dist/src/v2/runtime.js.map +1 -0
- package/dist/src/v2/setup-cli.d.ts +5 -0
- package/dist/src/v2/setup-cli.d.ts.map +1 -0
- package/dist/src/v2/setup-cli.js +83 -0
- package/dist/src/v2/setup-cli.js.map +1 -0
- package/dist/src/v2/setup-runtime.d.ts +6 -0
- package/dist/src/v2/setup-runtime.d.ts.map +1 -0
- package/dist/src/v2/setup-runtime.js +213 -0
- package/dist/src/v2/setup-runtime.js.map +1 -0
- package/dist/src/v2/setup-store.d.ts +19 -0
- package/dist/src/v2/setup-store.d.ts.map +1 -0
- package/dist/src/v2/setup-store.js +208 -0
- package/dist/src/v2/setup-store.js.map +1 -0
- package/dist/src/v2/setup.d.ts +147 -0
- package/dist/src/v2/setup.d.ts.map +1 -0
- package/dist/src/v2/setup.js +529 -0
- package/dist/src/v2/setup.js.map +1 -0
- package/docs/deep-dive.md +54 -803
- package/internal-skills/acceptance-proof/SKILL.md +14 -0
- package/internal-skills/acceptance-proof/references/android.md +14 -0
- package/internal-skills/acceptance-proof/references/browser.md +13 -0
- package/internal-skills/acceptance-proof/references/ios.md +14 -0
- package/internal-skills/acceptance-proof/tools/android-lease.mjs +280 -0
- package/internal-skills/acceptance-proof/tools/ios-lease.mjs +288 -0
- package/internal-skills/agent-auto/SKILL.md +14 -0
- package/package.json +11 -18
- package/bridge-runtime.json +0 -2719
- package/dist/src/bridge-runtime.d.ts +0 -17
- package/dist/src/bridge-runtime.d.ts.map +0 -1
- package/dist/src/bridge-runtime.js +0 -170
- package/dist/src/bridge-runtime.js.map +0 -1
- package/dist/src/cli.d.ts +0 -3
- package/dist/src/cli.d.ts.map +0 -1
- package/dist/src/cli.js +0 -569
- package/dist/src/cli.js.map +0 -1
- package/dist/src/codex/command-adapter.d.ts +0 -47
- package/dist/src/codex/command-adapter.d.ts.map +0 -1
- package/dist/src/codex/command-adapter.js +0 -169
- package/dist/src/codex/command-adapter.js.map +0 -1
- package/dist/src/codex/mobile-device-guard.d.ts +0 -7
- package/dist/src/codex/mobile-device-guard.d.ts.map +0 -1
- package/dist/src/codex/mobile-device-guard.js +0 -63
- package/dist/src/codex/mobile-device-guard.js.map +0 -1
- package/dist/src/config/constants.d.ts +0 -6
- package/dist/src/config/constants.d.ts.map +0 -1
- package/dist/src/config/constants.js +0 -19
- package/dist/src/config/constants.js.map +0 -1
- package/dist/src/config/schema.d.ts +0 -234
- package/dist/src/config/schema.d.ts.map +0 -1
- package/dist/src/config/schema.js +0 -673
- package/dist/src/config/schema.js.map +0 -1
- package/dist/src/fs/durable-atomic-file.d.ts.map +0 -1
- package/dist/src/fs/durable-atomic-file.js.map +0 -1
- package/dist/src/git/base-branch.d.ts +0 -26
- package/dist/src/git/base-branch.d.ts.map +0 -1
- package/dist/src/git/base-branch.js +0 -45
- package/dist/src/git/base-branch.js.map +0 -1
- package/dist/src/git/worktree.d.ts.map +0 -1
- package/dist/src/git/worktree.js.map +0 -1
- package/dist/src/github/gh-cli.d.ts.map +0 -1
- package/dist/src/github/gh-cli.js.map +0 -1
- package/dist/src/github/gh-issue-adapter.d.ts.map +0 -1
- package/dist/src/github/gh-issue-adapter.js.map +0 -1
- package/dist/src/github/gh-pull-request-adapter.d.ts.map +0 -1
- package/dist/src/github/gh-pull-request-adapter.js.map +0 -1
- package/dist/src/github/issues.d.ts.map +0 -1
- package/dist/src/github/issues.js.map +0 -1
- package/dist/src/github/pull-requests.d.ts.map +0 -1
- package/dist/src/github/pull-requests.js.map +0 -1
- package/dist/src/package-info.d.ts +0 -6
- package/dist/src/package-info.d.ts.map +0 -1
- package/dist/src/package-info.js +0 -13
- package/dist/src/package-info.js.map +0 -1
- package/dist/src/path-policy.d.ts.map +0 -1
- package/dist/src/path-policy.js.map +0 -1
- package/dist/src/process/command.d.ts.map +0 -1
- package/dist/src/process/command.js.map +0 -1
- package/dist/src/review-handoff.d.ts +0 -3
- package/dist/src/review-handoff.d.ts.map +0 -1
- package/dist/src/review-handoff.js +0 -8
- package/dist/src/review-handoff.js.map +0 -1
- package/dist/src/runner/acceptance-proof-loop.d.ts +0 -97
- package/dist/src/runner/acceptance-proof-loop.d.ts.map +0 -1
- package/dist/src/runner/acceptance-proof-loop.js +0 -404
- package/dist/src/runner/acceptance-proof-loop.js.map +0 -1
- package/dist/src/runner/acceptance-proof-runner.d.ts +0 -24
- package/dist/src/runner/acceptance-proof-runner.d.ts.map +0 -1
- package/dist/src/runner/acceptance-proof-runner.js +0 -121
- package/dist/src/runner/acceptance-proof-runner.js.map +0 -1
- package/dist/src/runner/acceptance-proof.d.ts +0 -189
- package/dist/src/runner/acceptance-proof.d.ts.map +0 -1
- package/dist/src/runner/acceptance-proof.js +0 -594
- package/dist/src/runner/acceptance-proof.js.map +0 -1
- package/dist/src/runner/agent-attempt.d.ts +0 -105
- package/dist/src/runner/agent-attempt.d.ts.map +0 -1
- package/dist/src/runner/agent-attempt.js +0 -245
- package/dist/src/runner/agent-attempt.js.map +0 -1
- package/dist/src/runner/android-visual-proof-command.d.ts +0 -26
- package/dist/src/runner/android-visual-proof-command.d.ts.map +0 -1
- package/dist/src/runner/android-visual-proof-command.js +0 -592
- package/dist/src/runner/android-visual-proof-command.js.map +0 -1
- package/dist/src/runner/auto-visual-proof-command.d.ts +0 -15
- package/dist/src/runner/auto-visual-proof-command.d.ts.map +0 -1
- package/dist/src/runner/auto-visual-proof-command.js +0 -64
- package/dist/src/runner/auto-visual-proof-command.js.map +0 -1
- package/dist/src/runner/browser-proof-contract.d.ts +0 -134
- package/dist/src/runner/browser-proof-contract.d.ts.map +0 -1
- package/dist/src/runner/browser-proof-contract.js +0 -400
- package/dist/src/runner/browser-proof-contract.js.map +0 -1
- package/dist/src/runner/browser-visual-proof-command.d.ts +0 -101
- package/dist/src/runner/browser-visual-proof-command.d.ts.map +0 -1
- package/dist/src/runner/browser-visual-proof-command.js +0 -532
- package/dist/src/runner/browser-visual-proof-command.js.map +0 -1
- package/dist/src/runner/command-utils.d.ts +0 -15
- package/dist/src/runner/command-utils.d.ts.map +0 -1
- package/dist/src/runner/command-utils.js +0 -228
- package/dist/src/runner/command-utils.js.map +0 -1
- package/dist/src/runner/completion-report.d.ts +0 -121
- package/dist/src/runner/completion-report.d.ts.map +0 -1
- package/dist/src/runner/completion-report.js +0 -381
- package/dist/src/runner/completion-report.js.map +0 -1
- package/dist/src/runner/context-snapshot.d.ts +0 -33
- package/dist/src/runner/context-snapshot.d.ts.map +0 -1
- package/dist/src/runner/context-snapshot.js +0 -99
- package/dist/src/runner/context-snapshot.js.map +0 -1
- package/dist/src/runner/daemon-command.d.ts +0 -30
- package/dist/src/runner/daemon-command.d.ts.map +0 -1
- package/dist/src/runner/daemon-command.js +0 -262
- package/dist/src/runner/daemon-command.js.map +0 -1
- package/dist/src/runner/doctor-command.d.ts +0 -41
- package/dist/src/runner/doctor-command.d.ts.map +0 -1
- package/dist/src/runner/doctor-command.js +0 -177
- package/dist/src/runner/doctor-command.js.map +0 -1
- package/dist/src/runner/durable-run-summary.d.ts +0 -80
- package/dist/src/runner/durable-run-summary.d.ts.map +0 -1
- package/dist/src/runner/durable-run-summary.js +0 -200
- package/dist/src/runner/durable-run-summary.js.map +0 -1
- package/dist/src/runner/flutter-sdk-discovery.d.ts +0 -5
- package/dist/src/runner/flutter-sdk-discovery.d.ts.map +0 -1
- package/dist/src/runner/flutter-sdk-discovery.js +0 -103
- package/dist/src/runner/flutter-sdk-discovery.js.map +0 -1
- package/dist/src/runner/fresh-context-review.d.ts +0 -22
- package/dist/src/runner/fresh-context-review.d.ts.map +0 -1
- package/dist/src/runner/fresh-context-review.js +0 -177
- package/dist/src/runner/fresh-context-review.js.map +0 -1
- package/dist/src/runner/handoff-evidence.d.ts +0 -141
- package/dist/src/runner/handoff-evidence.d.ts.map +0 -1
- package/dist/src/runner/handoff-evidence.js +0 -543
- package/dist/src/runner/handoff-evidence.js.map +0 -1
- package/dist/src/runner/hygiene-cleanup.d.ts +0 -15
- package/dist/src/runner/hygiene-cleanup.d.ts.map +0 -1
- package/dist/src/runner/hygiene-cleanup.js +0 -25
- package/dist/src/runner/hygiene-cleanup.js.map +0 -1
- package/dist/src/runner/ios-visual-proof-command.d.ts +0 -25
- package/dist/src/runner/ios-visual-proof-command.d.ts.map +0 -1
- package/dist/src/runner/ios-visual-proof-command.js +0 -353
- package/dist/src/runner/ios-visual-proof-command.js.map +0 -1
- package/dist/src/runner/issue-state-machine.d.ts +0 -39
- package/dist/src/runner/issue-state-machine.d.ts.map +0 -1
- package/dist/src/runner/issue-state-machine.js +0 -124
- package/dist/src/runner/issue-state-machine.js.map +0 -1
- package/dist/src/runner/issue-tree.d.ts +0 -65
- package/dist/src/runner/issue-tree.d.ts.map +0 -1
- package/dist/src/runner/issue-tree.js +0 -474
- package/dist/src/runner/issue-tree.js.map +0 -1
- package/dist/src/runner/lifecycle-events.d.ts +0 -44
- package/dist/src/runner/lifecycle-events.d.ts.map +0 -1
- package/dist/src/runner/lifecycle-events.js +0 -108
- package/dist/src/runner/lifecycle-events.js.map +0 -1
- package/dist/src/runner/local-execution-session.d.ts +0 -112
- package/dist/src/runner/local-execution-session.d.ts.map +0 -1
- package/dist/src/runner/local-execution-session.js +0 -1064
- package/dist/src/runner/local-execution-session.js.map +0 -1
- package/dist/src/runner/local-state.d.ts +0 -44
- package/dist/src/runner/local-state.d.ts.map +0 -1
- package/dist/src/runner/local-state.js +0 -150
- package/dist/src/runner/local-state.js.map +0 -1
- package/dist/src/runner/mission-activation.d.ts +0 -29
- package/dist/src/runner/mission-activation.d.ts.map +0 -1
- package/dist/src/runner/mission-activation.js +0 -54
- package/dist/src/runner/mission-activation.js.map +0 -1
- package/dist/src/runner/mission-agent-broker.d.ts +0 -53
- package/dist/src/runner/mission-agent-broker.d.ts.map +0 -1
- package/dist/src/runner/mission-agent-broker.js +0 -182
- package/dist/src/runner/mission-agent-broker.js.map +0 -1
- package/dist/src/runner/mission-cancellation.d.ts +0 -77
- package/dist/src/runner/mission-cancellation.d.ts.map +0 -1
- package/dist/src/runner/mission-cancellation.js +0 -180
- package/dist/src/runner/mission-cancellation.js.map +0 -1
- package/dist/src/runner/mission-canonical-path.d.ts +0 -34
- package/dist/src/runner/mission-canonical-path.d.ts.map +0 -1
- package/dist/src/runner/mission-canonical-path.js +0 -121
- package/dist/src/runner/mission-canonical-path.js.map +0 -1
- package/dist/src/runner/mission-capability-kernel.d.ts +0 -34
- package/dist/src/runner/mission-capability-kernel.d.ts.map +0 -1
- package/dist/src/runner/mission-capability-kernel.js +0 -158
- package/dist/src/runner/mission-capability-kernel.js.map +0 -1
- package/dist/src/runner/mission-check-policy.d.ts +0 -17
- package/dist/src/runner/mission-check-policy.d.ts.map +0 -1
- package/dist/src/runner/mission-check-policy.js +0 -31
- package/dist/src/runner/mission-check-policy.js.map +0 -1
- package/dist/src/runner/mission-coordinator-lock.d.ts.map +0 -1
- package/dist/src/runner/mission-coordinator-lock.js.map +0 -1
- package/dist/src/runner/mission-deployment.d.ts +0 -21
- package/dist/src/runner/mission-deployment.d.ts.map +0 -1
- package/dist/src/runner/mission-deployment.js +0 -108
- package/dist/src/runner/mission-deployment.js.map +0 -1
- package/dist/src/runner/mission-evaluation.d.ts +0 -61
- package/dist/src/runner/mission-evaluation.d.ts.map +0 -1
- package/dist/src/runner/mission-evaluation.js +0 -183
- package/dist/src/runner/mission-evaluation.js.map +0 -1
- package/dist/src/runner/mission-executor-probe.d.ts +0 -10
- package/dist/src/runner/mission-executor-probe.d.ts.map +0 -1
- package/dist/src/runner/mission-executor-probe.js +0 -180
- package/dist/src/runner/mission-executor-probe.js.map +0 -1
- package/dist/src/runner/mission-git-contracts.d.ts +0 -75
- package/dist/src/runner/mission-git-contracts.d.ts.map +0 -1
- package/dist/src/runner/mission-git-contracts.js +0 -201
- package/dist/src/runner/mission-git-contracts.js.map +0 -1
- package/dist/src/runner/mission-git-runtime-owner-ref.d.ts +0 -13
- package/dist/src/runner/mission-git-runtime-owner-ref.d.ts.map +0 -1
- package/dist/src/runner/mission-git-runtime-owner-ref.js +0 -111
- package/dist/src/runner/mission-git-runtime-owner-ref.js.map +0 -1
- package/dist/src/runner/mission-git-transaction.d.ts +0 -97
- package/dist/src/runner/mission-git-transaction.d.ts.map +0 -1
- package/dist/src/runner/mission-git-transaction.js +0 -1009
- package/dist/src/runner/mission-git-transaction.js.map +0 -1
- package/dist/src/runner/mission-identifiers.d.ts +0 -31
- package/dist/src/runner/mission-identifiers.d.ts.map +0 -1
- package/dist/src/runner/mission-identifiers.js +0 -75
- package/dist/src/runner/mission-identifiers.js.map +0 -1
- package/dist/src/runner/mission-input-snapshot.d.ts +0 -21
- package/dist/src/runner/mission-input-snapshot.d.ts.map +0 -1
- package/dist/src/runner/mission-input-snapshot.js +0 -63
- package/dist/src/runner/mission-input-snapshot.js.map +0 -1
- package/dist/src/runner/mission-ownership.d.ts +0 -38
- package/dist/src/runner/mission-ownership.d.ts.map +0 -1
- package/dist/src/runner/mission-ownership.js +0 -88
- package/dist/src/runner/mission-ownership.js.map +0 -1
- package/dist/src/runner/mission-patch-audit.d.ts +0 -21
- package/dist/src/runner/mission-patch-audit.d.ts.map +0 -1
- package/dist/src/runner/mission-patch-audit.js +0 -186
- package/dist/src/runner/mission-patch-audit.js.map +0 -1
- package/dist/src/runner/mission-path-language.d.ts +0 -6
- package/dist/src/runner/mission-path-language.d.ts.map +0 -1
- package/dist/src/runner/mission-path-language.js +0 -106
- package/dist/src/runner/mission-path-language.js.map +0 -1
- package/dist/src/runner/mission-permit-authority.d.ts +0 -26
- package/dist/src/runner/mission-permit-authority.d.ts.map +0 -1
- package/dist/src/runner/mission-permit-authority.js +0 -145
- package/dist/src/runner/mission-permit-authority.js.map +0 -1
- package/dist/src/runner/mission-plan-parent-coordinator.d.ts +0 -87
- package/dist/src/runner/mission-plan-parent-coordinator.d.ts.map +0 -1
- package/dist/src/runner/mission-plan-parent-coordinator.js +0 -441
- package/dist/src/runner/mission-plan-parent-coordinator.js.map +0 -1
- package/dist/src/runner/mission-plan-parent.d.ts +0 -156
- package/dist/src/runner/mission-plan-parent.d.ts.map +0 -1
- package/dist/src/runner/mission-plan-parent.js +0 -589
- package/dist/src/runner/mission-plan-parent.js.map +0 -1
- package/dist/src/runner/mission-process-executor.d.ts +0 -25
- package/dist/src/runner/mission-process-executor.d.ts.map +0 -1
- package/dist/src/runner/mission-process-executor.js +0 -182
- package/dist/src/runner/mission-process-executor.js.map +0 -1
- package/dist/src/runner/mission-publication-git.d.ts +0 -21
- package/dist/src/runner/mission-publication-git.d.ts.map +0 -1
- package/dist/src/runner/mission-publication-git.js +0 -61
- package/dist/src/runner/mission-publication-git.js.map +0 -1
- package/dist/src/runner/mission-publication.d.ts +0 -192
- package/dist/src/runner/mission-publication.d.ts.map +0 -1
- package/dist/src/runner/mission-publication.js +0 -1001
- package/dist/src/runner/mission-publication.js.map +0 -1
- package/dist/src/runner/mission-quarantine-patch-executor.d.ts +0 -29
- package/dist/src/runner/mission-quarantine-patch-executor.d.ts.map +0 -1
- package/dist/src/runner/mission-quarantine-patch-executor.js +0 -121
- package/dist/src/runner/mission-quarantine-patch-executor.js.map +0 -1
- package/dist/src/runner/mission-repository-executor.d.ts +0 -54
- package/dist/src/runner/mission-repository-executor.d.ts.map +0 -1
- package/dist/src/runner/mission-repository-executor.js +0 -192
- package/dist/src/runner/mission-repository-executor.js.map +0 -1
- package/dist/src/runner/mission-repository-observer.d.ts +0 -8
- package/dist/src/runner/mission-repository-observer.d.ts.map +0 -1
- package/dist/src/runner/mission-repository-observer.js +0 -24
- package/dist/src/runner/mission-repository-observer.js.map +0 -1
- package/dist/src/runner/mission-reservations.d.ts +0 -15
- package/dist/src/runner/mission-reservations.d.ts.map +0 -1
- package/dist/src/runner/mission-reservations.js +0 -116
- package/dist/src/runner/mission-reservations.js.map +0 -1
- package/dist/src/runner/mission-resolution-loop.d.ts +0 -172
- package/dist/src/runner/mission-resolution-loop.d.ts.map +0 -1
- package/dist/src/runner/mission-resolution-loop.js +0 -318
- package/dist/src/runner/mission-resolution-loop.js.map +0 -1
- package/dist/src/runner/mission-runtime-owner.d.ts +0 -36
- package/dist/src/runner/mission-runtime-owner.d.ts.map +0 -1
- package/dist/src/runner/mission-runtime-owner.js +0 -174
- package/dist/src/runner/mission-runtime-owner.js.map +0 -1
- package/dist/src/runner/mission-safe-executor.d.ts +0 -96
- package/dist/src/runner/mission-safe-executor.d.ts.map +0 -1
- package/dist/src/runner/mission-safe-executor.js +0 -288
- package/dist/src/runner/mission-safe-executor.js.map +0 -1
- package/dist/src/runner/mission-sandbox.d.ts +0 -16
- package/dist/src/runner/mission-sandbox.d.ts.map +0 -1
- package/dist/src/runner/mission-sandbox.js +0 -91
- package/dist/src/runner/mission-sandbox.js.map +0 -1
- package/dist/src/runner/mission-scheduler.d.ts +0 -57
- package/dist/src/runner/mission-scheduler.d.ts.map +0 -1
- package/dist/src/runner/mission-scheduler.js +0 -205
- package/dist/src/runner/mission-scheduler.js.map +0 -1
- package/dist/src/runner/mission-scope-expansion.d.ts +0 -47
- package/dist/src/runner/mission-scope-expansion.d.ts.map +0 -1
- package/dist/src/runner/mission-scope-expansion.js +0 -147
- package/dist/src/runner/mission-scope-expansion.js.map +0 -1
- package/dist/src/runner/mission-state-machine.d.ts +0 -118
- package/dist/src/runner/mission-state-machine.d.ts.map +0 -1
- package/dist/src/runner/mission-state-machine.js +0 -316
- package/dist/src/runner/mission-state-machine.js.map +0 -1
- package/dist/src/runner/mission-state-store.d.ts +0 -70
- package/dist/src/runner/mission-state-store.d.ts.map +0 -1
- package/dist/src/runner/mission-state-store.js +0 -916
- package/dist/src/runner/mission-state-store.js.map +0 -1
- package/dist/src/runner/mobile-device-lease.d.ts +0 -11
- package/dist/src/runner/mobile-device-lease.d.ts.map +0 -1
- package/dist/src/runner/mobile-device-lease.js +0 -121
- package/dist/src/runner/mobile-device-lease.js.map +0 -1
- package/dist/src/runner/mobile-visual-proof-command.d.ts +0 -17
- package/dist/src/runner/mobile-visual-proof-command.d.ts.map +0 -1
- package/dist/src/runner/mobile-visual-proof-command.js +0 -168
- package/dist/src/runner/mobile-visual-proof-command.js.map +0 -1
- package/dist/src/runner/plan-auto-command.d.ts +0 -35
- package/dist/src/runner/plan-auto-command.d.ts.map +0 -1
- package/dist/src/runner/plan-auto-command.js +0 -918
- package/dist/src/runner/plan-auto-command.js.map +0 -1
- package/dist/src/runner/plan-auto-recovery.d.ts +0 -83
- package/dist/src/runner/plan-auto-recovery.d.ts.map +0 -1
- package/dist/src/runner/plan-auto-recovery.js +0 -303
- package/dist/src/runner/plan-auto-recovery.js.map +0 -1
- package/dist/src/runner/prompt.d.ts +0 -68
- package/dist/src/runner/prompt.d.ts.map +0 -1
- package/dist/src/runner/prompt.js +0 -202
- package/dist/src/runner/prompt.js.map +0 -1
- package/dist/src/runner/proof-routing.d.ts +0 -73
- package/dist/src/runner/proof-routing.d.ts.map +0 -1
- package/dist/src/runner/proof-routing.js +0 -182
- package/dist/src/runner/proof-routing.js.map +0 -1
- package/dist/src/runner/proof-strategy.d.ts +0 -21
- package/dist/src/runner/proof-strategy.d.ts.map +0 -1
- package/dist/src/runner/proof-strategy.js +0 -26
- package/dist/src/runner/proof-strategy.js.map +0 -1
- package/dist/src/runner/recovery.d.ts +0 -25
- package/dist/src/runner/recovery.d.ts.map +0 -1
- package/dist/src/runner/recovery.js +0 -89
- package/dist/src/runner/recovery.js.map +0 -1
- package/dist/src/runner/review-gate-policy.d.ts +0 -13
- package/dist/src/runner/review-gate-policy.d.ts.map +0 -1
- package/dist/src/runner/review-gate-policy.js +0 -241
- package/dist/src/runner/review-gate-policy.js.map +0 -1
- package/dist/src/runner/review-gates.d.ts +0 -28
- package/dist/src/runner/review-gates.d.ts.map +0 -1
- package/dist/src/runner/review-gates.js +0 -328
- package/dist/src/runner/review-gates.js.map +0 -1
- package/dist/src/runner/rework-policy.d.ts +0 -48
- package/dist/src/runner/rework-policy.d.ts.map +0 -1
- package/dist/src/runner/rework-policy.js +0 -150
- package/dist/src/runner/rework-policy.js.map +0 -1
- package/dist/src/runner/run-log.d.ts +0 -18
- package/dist/src/runner/run-log.d.ts.map +0 -1
- package/dist/src/runner/run-log.js +0 -53
- package/dist/src/runner/run-log.js.map +0 -1
- package/dist/src/runner/runner-handoff-decision.d.ts +0 -48
- package/dist/src/runner/runner-handoff-decision.d.ts.map +0 -1
- package/dist/src/runner/runner-handoff-decision.js +0 -93
- package/dist/src/runner/runner-handoff-decision.js.map +0 -1
- package/dist/src/runner/safety.d.ts +0 -14
- package/dist/src/runner/safety.d.ts.map +0 -1
- package/dist/src/runner/safety.js +0 -31
- package/dist/src/runner/safety.js.map +0 -1
- package/dist/src/runner/scope-isolation-policy.d.ts +0 -17
- package/dist/src/runner/scope-isolation-policy.d.ts.map +0 -1
- package/dist/src/runner/scope-isolation-policy.js +0 -82
- package/dist/src/runner/scope-isolation-policy.js.map +0 -1
- package/dist/src/runner/scoped-auto-command.d.ts +0 -90
- package/dist/src/runner/scoped-auto-command.d.ts.map +0 -1
- package/dist/src/runner/scoped-auto-command.js +0 -561
- package/dist/src/runner/scoped-auto-command.js.map +0 -1
- package/dist/src/runner/scoped-recovery.d.ts +0 -78
- package/dist/src/runner/scoped-recovery.d.ts.map +0 -1
- package/dist/src/runner/scoped-recovery.js +0 -601
- package/dist/src/runner/scoped-recovery.js.map +0 -1
- package/dist/src/runner/session-home.d.ts +0 -8
- package/dist/src/runner/session-home.d.ts.map +0 -1
- package/dist/src/runner/session-home.js +0 -18
- package/dist/src/runner/session-home.js.map +0 -1
- package/dist/src/runner/status-command.d.ts +0 -38
- package/dist/src/runner/status-command.d.ts.map +0 -1
- package/dist/src/runner/status-command.js +0 -97
- package/dist/src/runner/status-command.js.map +0 -1
- package/dist/src/runner/target-activity-fence.d.ts.map +0 -1
- package/dist/src/runner/target-activity-fence.js.map +0 -1
- package/dist/src/runner/terminal-outcome.d.ts +0 -58
- package/dist/src/runner/terminal-outcome.d.ts.map +0 -1
- package/dist/src/runner/terminal-outcome.js +0 -73
- package/dist/src/runner/terminal-outcome.js.map +0 -1
- package/dist/src/runner/visual-proof-runner.d.ts +0 -27
- package/dist/src/runner/visual-proof-runner.d.ts.map +0 -1
- package/dist/src/runner/visual-proof-runner.js +0 -379
- package/dist/src/runner/visual-proof-runner.js.map +0 -1
- package/dist/src/runner/worktree-cleanup.d.ts +0 -27
- package/dist/src/runner/worktree-cleanup.d.ts.map +0 -1
- package/dist/src/runner/worktree-cleanup.js +0 -63
- package/dist/src/runner/worktree-cleanup.js.map +0 -1
- package/dist/src/setup/codex-command-resolver.d.ts +0 -10
- package/dist/src/setup/codex-command-resolver.d.ts.map +0 -1
- package/dist/src/setup/codex-command-resolver.js +0 -91
- package/dist/src/setup/codex-command-resolver.js.map +0 -1
- package/dist/src/setup/github-label-adapter.d.ts +0 -13
- package/dist/src/setup/github-label-adapter.d.ts.map +0 -1
- package/dist/src/setup/github-label-adapter.js +0 -28
- package/dist/src/setup/github-label-adapter.js.map +0 -1
- package/dist/src/setup/labels.d.ts +0 -27
- package/dist/src/setup/labels.d.ts.map +0 -1
- package/dist/src/setup/labels.js +0 -42
- package/dist/src/setup/labels.js.map +0 -1
- package/dist/src/setup/project-config.d.ts +0 -24
- package/dist/src/setup/project-config.d.ts.map +0 -1
- package/dist/src/setup/project-config.js +0 -678
- package/dist/src/setup/project-config.js.map +0 -1
- package/dist/src/setup/prompt-sync.d.ts +0 -14
- package/dist/src/setup/prompt-sync.d.ts.map +0 -1
- package/dist/src/setup/prompt-sync.js +0 -228
- package/dist/src/setup/prompt-sync.js.map +0 -1
- package/dist/src/setup/setup-command.d.ts +0 -29
- package/dist/src/setup/setup-command.d.ts.map +0 -1
- package/dist/src/setup/setup-command.js +0 -304
- package/dist/src/setup/setup-command.js.map +0 -1
- package/dist/src/setup/skill-runtime-v2-preparation.d.ts +0 -56
- package/dist/src/setup/skill-runtime-v2-preparation.d.ts.map +0 -1
- package/dist/src/setup/skill-runtime-v2-preparation.js +0 -304
- package/dist/src/setup/skill-runtime-v2-preparation.js.map +0 -1
- package/dist/src/setup/workflows.d.ts +0 -10
- package/dist/src/setup/workflows.d.ts.map +0 -1
- package/dist/src/setup/workflows.js +0 -41
- package/dist/src/setup/workflows.js.map +0 -1
- package/prompts/setup-skill.md +0 -12
- package/prompts/workflows/acceptance-proof.md +0 -29
- package/prompts/workflows/breakdown-review.md +0 -48
- package/prompts/workflows/issue-breakdown.md +0 -155
- package/prompts/workflows/issue-tree-orchestration.md +0 -163
- package/prompts/workflows/prd.md +0 -80
- package/prompts/workflows/scoped-implementation.md +0 -129
- package/prompts/workflows/triage.md +0 -149
- /package/dist/src/{process → v2/adapters}/command.d.ts +0 -0
- /package/dist/src/{process → v2/adapters}/command.js +0 -0
- /package/dist/src/{fs → v2/adapters}/durable-atomic-file.d.ts +0 -0
- /package/dist/src/{fs → v2/adapters}/durable-atomic-file.js +0 -0
- /package/dist/src/{github → v2/adapters}/gh-cli.d.ts +0 -0
- /package/dist/src/{github → v2/adapters}/gh-cli.js +0 -0
- /package/dist/src/{github → v2/adapters}/gh-issue-adapter.d.ts +0 -0
- /package/dist/src/{github → v2/adapters}/gh-issue-adapter.js +0 -0
- /package/dist/src/{github → v2/adapters}/gh-pull-request-adapter.d.ts +0 -0
- /package/dist/src/{github → v2/adapters}/gh-pull-request-adapter.js +0 -0
- /package/dist/src/{github → v2/adapters}/issues.d.ts +0 -0
- /package/dist/src/{github → v2/adapters}/issues.js +0 -0
- /package/dist/src/{runner → v2/adapters}/mission-coordinator-lock.d.ts +0 -0
- /package/dist/src/{runner → v2/adapters}/mission-coordinator-lock.js +0 -0
- /package/dist/src/{path-policy.d.ts → v2/adapters/path-policy.d.ts} +0 -0
- /package/dist/src/{path-policy.js → v2/adapters/path-policy.js} +0 -0
- /package/dist/src/{github → v2/adapters}/pull-requests.d.ts +0 -0
- /package/dist/src/{github → v2/adapters}/pull-requests.js +0 -0
- /package/dist/src/{runner → v2/adapters}/target-activity-fence.d.ts +0 -0
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
# Issue Breakdown Workflow
|
|
2
|
-
|
|
3
|
-
Break an approved PRD, plan, or parent issue into independently grabbable implementation issues using vertical tracer-bullet slices.
|
|
4
|
-
|
|
5
|
-
Work from the current context first. If an issue number, URL, or path is provided, fetch and read the full source material and comments before drafting child issues. Use repository glossary terms and respect ADRs.
|
|
6
|
-
|
|
7
|
-
## Core Rule
|
|
8
|
-
|
|
9
|
-
Each child issue must deliver a narrow, complete, verifiable behavior path. Do not create horizontal tickets like "add database table", "add API", or "add UI" unless the issue also proves an end-to-end user-visible or system-visible behavior through that layer.
|
|
10
|
-
|
|
11
|
-
## Slice Rules
|
|
12
|
-
|
|
13
|
-
- Each slice cuts through all necessary layers for one behavior.
|
|
14
|
-
- A completed slice is demoable or verifiable on its own.
|
|
15
|
-
- Prefer many thin slices over a few thick slices.
|
|
16
|
-
- Use explicit discovery or contract issues when a dependency, API, license, fixture, credential, or external behavior is not machine-confirmed.
|
|
17
|
-
- Do not create issues whose only outcome is "create module X" unless the issue proves behavior through that module interface.
|
|
18
|
-
- If the slice mainly explores a better module, interface, or seam, make it an architecture discovery/refactor issue with verification for leverage, locality, and testability.
|
|
19
|
-
|
|
20
|
-
## AFK / HITL
|
|
21
|
-
|
|
22
|
-
Classify each slice:
|
|
23
|
-
|
|
24
|
-
- `AFK`: can be implemented by an agent with deterministic acceptance criteria and available context.
|
|
25
|
-
- `HITL`: requires a human decision, design review, external access, missing credentials, product judgment, or manual validation that cannot be delegated.
|
|
26
|
-
|
|
27
|
-
Prefer AFK when the contract is clear, but do not mark ambiguous work as AFK.
|
|
28
|
-
|
|
29
|
-
## Spec Gates
|
|
30
|
-
|
|
31
|
-
Do not write implementation specs during issue breakdown. Mark where a future worker or orchestrator must remove ambiguity before coding.
|
|
32
|
-
|
|
33
|
-
Use:
|
|
34
|
-
|
|
35
|
-
- `Spec required: none` for small, low-risk slices with a clear existing pattern and narrow ownership.
|
|
36
|
-
- `Spec required: issue-level` for one complex issue whose implementation details must be deterministic before a worker starts.
|
|
37
|
-
- `Spec required: wave-level` for related issues sharing contracts, source-of-truth files, schemas, generated artifacts, background jobs, external systems, fixtures, or final live validation.
|
|
38
|
-
|
|
39
|
-
Consider a spec gate when the slice involves:
|
|
40
|
-
|
|
41
|
-
- external APIs, credentials, scraping, rate limits, licenses, downloads, or third-party terms;
|
|
42
|
-
- database, schema, persistence, migrations, queues, background jobs, caching, auth, billing, permissions, or shared state;
|
|
43
|
-
- shared DTOs, API contracts, generated types, source-of-truth configuration, or cross-app contracts;
|
|
44
|
-
- multiple services, apps, or modules that must agree on behavior;
|
|
45
|
-
- AI-powered behavior, prompt contracts, deterministic fixtures, or live-AI smoke tests;
|
|
46
|
-
- required browser, mobile, manual, or live smoke validation;
|
|
47
|
-
- known rejected approaches or unresolved product or technical decisions.
|
|
48
|
-
|
|
49
|
-
## Size / Risk
|
|
50
|
-
|
|
51
|
-
Each child issue must declare the intended implementation path:
|
|
52
|
-
|
|
53
|
-
- `Small / low risk`: use `small-task-implementer`; keep the issue narrow, deterministic, and directly verifiable.
|
|
54
|
-
- `Medium`: use scoped implementation with TDD and configured review gates.
|
|
55
|
-
- `High risk`: require issue-level or wave-level spec gates before implementation.
|
|
56
|
-
|
|
57
|
-
Do not split a small issue into a parent orchestration tree just to satisfy process. Do not mark risky shared-contract work as small to avoid review.
|
|
58
|
-
|
|
59
|
-
## Review Gate
|
|
60
|
-
|
|
61
|
-
Before publishing child issues, run an issue-breakdown-review pass over the proposed breakdown. The review must check tracer-bullet quality, dependency correctness, AFK readiness, acceptance criteria, scope control, source-of-truth risk, spec proportionality, and orchestration risk.
|
|
62
|
-
|
|
63
|
-
Apply all high-confidence review feedback before publishing. If feedback changes product scope or reveals an unconfirmed contract, ask a targeted question instead of guessing.
|
|
64
|
-
|
|
65
|
-
## Draft Output
|
|
66
|
-
|
|
67
|
-
Present the proposed breakdown as a numbered list. For each slice include:
|
|
68
|
-
|
|
69
|
-
- **Title**
|
|
70
|
-
- **Type**: AFK or HITL
|
|
71
|
-
- **Size / Risk**: small / medium / high, with intended path (`small-task-implementer`, scoped implementation, issue-level spec, or wave-level spec)
|
|
72
|
-
- **Blocked by**
|
|
73
|
-
- **User stories covered** when available
|
|
74
|
-
- **Spec required**: none / issue-level / wave-level, with one short reason
|
|
75
|
-
- **External contract status**: confirmed / needs proof / not applicable
|
|
76
|
-
- **Live/manual prerequisites**
|
|
77
|
-
|
|
78
|
-
Ask whether the granularity, dependencies, AFK/HITL classification, spec gates, and external contract statuses are correct before publishing when the user has not already approved them.
|
|
79
|
-
|
|
80
|
-
## Published Issue Template
|
|
81
|
-
|
|
82
|
-
Use this structure for each child issue:
|
|
83
|
-
|
|
84
|
-
```markdown
|
|
85
|
-
## Parent
|
|
86
|
-
|
|
87
|
-
Reference the parent issue, PRD, or source plan.
|
|
88
|
-
|
|
89
|
-
## What to build
|
|
90
|
-
|
|
91
|
-
Describe the vertical behavior slice end-to-end. Avoid brittle file paths and line numbers.
|
|
92
|
-
|
|
93
|
-
## Acceptance criteria
|
|
94
|
-
|
|
95
|
-
- [ ] Concrete, testable criterion
|
|
96
|
-
- [ ] Concrete, testable criterion
|
|
97
|
-
- [ ] Concrete, testable criterion
|
|
98
|
-
|
|
99
|
-
## Spec gate
|
|
100
|
-
|
|
101
|
-
Spec required: none / issue-level / wave-level
|
|
102
|
-
|
|
103
|
-
Reason:
|
|
104
|
-
|
|
105
|
-
- One concise reason, or "None - straightforward implementation with existing local patterns."
|
|
106
|
-
|
|
107
|
-
## Size / risk
|
|
108
|
-
|
|
109
|
-
Size: small / medium / high
|
|
110
|
-
|
|
111
|
-
Intended path: small-task-implementer / scoped implementation / issue-level spec / wave-level spec
|
|
112
|
-
|
|
113
|
-
Reason:
|
|
114
|
-
|
|
115
|
-
- One concise reason tied to ownership, contracts, and validation.
|
|
116
|
-
|
|
117
|
-
## External contracts
|
|
118
|
-
|
|
119
|
-
Status: confirmed / needs proof / not applicable
|
|
120
|
-
|
|
121
|
-
- API/source:
|
|
122
|
-
- Auth/secret source:
|
|
123
|
-
- License/terms constraints:
|
|
124
|
-
- Rejected approaches:
|
|
125
|
-
|
|
126
|
-
## Verification
|
|
127
|
-
|
|
128
|
-
- Proof Strategy: auto / visual / browser-visual / mobile-visual / non-visual-smoke / none
|
|
129
|
-
- Automated:
|
|
130
|
-
- Architecture:
|
|
131
|
-
- Manual/live:
|
|
132
|
-
- Required fixtures or files:
|
|
133
|
-
|
|
134
|
-
Choose a concrete proof strategy for every AFK issue:
|
|
135
|
-
|
|
136
|
-
- `non-visual-smoke` for backend, CLI, telemetry, analytics, event dispatch, data, logging, or workflow behavior where tests, command output, logs, API responses, or machine-readable artifacts are the proof surface.
|
|
137
|
-
- `browser-visual` for web UI/layout/copy/responsive behavior.
|
|
138
|
-
- `mobile-visual` for Android/iOS/Flutter UI behavior where device-backed launch, screenshot, UI dump, or logs are the proof surface.
|
|
139
|
-
- `visual` when visual proof is required but browser vs mobile should be selected from changed paths.
|
|
140
|
-
- `none` only when normal tests/checks are sufficient and no extra acceptance proof artifacts are required.
|
|
141
|
-
- `auto` when no stronger explicit choice is known.
|
|
142
|
-
|
|
143
|
-
## codex-orchestrator metadata
|
|
144
|
-
|
|
145
|
-
Ownership:
|
|
146
|
-
|
|
147
|
-
- List the narrow files, directories, modules, or glob scopes this issue is expected to own.
|
|
148
|
-
- Use scopes precise enough that non-overlapping AFK issues can run in parallel.
|
|
149
|
-
|
|
150
|
-
## Blocked by
|
|
151
|
-
|
|
152
|
-
Blocking issue references, or "None - can start immediately."
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
Do not close or modify the parent issue while publishing child issues.
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
# Issue Tree Orchestration Workflow / Issue Orchestrator
|
|
2
|
-
|
|
3
|
-
Coordinate a parent issue or PRD with child implementation issues through dependency-aware waves, integration review, phase-gated handoff, and final verification.
|
|
4
|
-
|
|
5
|
-
Use orchestration only when the work is explicitly a parent/child issue tree or the caller asks for coordination, delegation, parallel agent work, or waves. Do not implement the parent issue directly when child implementation issues exist.
|
|
6
|
-
|
|
7
|
-
## Required Inputs
|
|
8
|
-
|
|
9
|
-
- Parent issue, PRD, or plan.
|
|
10
|
-
- Child issue references, or permission to discover linked child issues from the issue tracker.
|
|
11
|
-
- Repo instructions, including `AGENTS.md`, domain docs, ADRs, and issue-tracker label policy.
|
|
12
|
-
- Current git status and branch.
|
|
13
|
-
|
|
14
|
-
## Core Rules
|
|
15
|
-
|
|
16
|
-
1. Treat the dependency graph and active wave plan as the live orchestration ledger.
|
|
17
|
-
2. Do not start a child issue until blockers and preconditions are satisfied or explicitly cleared.
|
|
18
|
-
3. Keep one integrator responsible for merge sequencing, handoff checks, validation, and final reconciliation.
|
|
19
|
-
4. Use parallel workers only for disjoint write scopes.
|
|
20
|
-
5. Never let two workers edit the same file, generated artifact, source-of-truth rule, schema, or shared contract at the same time.
|
|
21
|
-
6. Do not broaden scope, add cleanup, or redesign the parent unless a blocker is proven.
|
|
22
|
-
7. If repo reality contradicts the issue, parent PRD, or wave plan, stop and ask for clarification.
|
|
23
|
-
8. Use TDD for behavior-changing child issues.
|
|
24
|
-
9. Honor issue-level and wave-level spec gates before coding.
|
|
25
|
-
|
|
26
|
-
## Verification Contract
|
|
27
|
-
|
|
28
|
-
A child issue is not complete until every acceptance criterion has proof.
|
|
29
|
-
|
|
30
|
-
Allowed proof includes test result, smoke result, command output, API or browser check, mobile proof, log evidence, DB inspection, or an explicit skipped-verification reason with risk. No proof means the issue remains incomplete, blocked, or explicitly deferred in the wave ledger.
|
|
31
|
-
|
|
32
|
-
## Orient
|
|
33
|
-
|
|
34
|
-
1. Read repo instructions and issue-tracker config.
|
|
35
|
-
2. Fetch the parent and child issues.
|
|
36
|
-
3. Extract acceptance criteria, blockers, out-of-scope items, rejected approaches, preconditions, and validation expectations.
|
|
37
|
-
4. Build a dependency graph: ready, blocked, final integration/regression.
|
|
38
|
-
5. Identify protected paths, likely source-of-truth owners, and files that must not be edited concurrently.
|
|
39
|
-
6. Extract each issue's spec gate metadata.
|
|
40
|
-
7. Extract each issue's size/risk and intended path (`small-task-implementer`, scoped implementation, issue-level spec, or wave-level spec).
|
|
41
|
-
8. Mark unresolved external contracts, credentials, live fixtures, or human-only decisions as blocked until proven or cleared.
|
|
42
|
-
|
|
43
|
-
## Plan Waves
|
|
44
|
-
|
|
45
|
-
Create the smallest safe parallel wave first:
|
|
46
|
-
|
|
47
|
-
- start only issues with no unresolved blockers;
|
|
48
|
-
- prefer independent vertical slices over horizontal layer splits;
|
|
49
|
-
- avoid parallel writes to the same owner files unless scopes are truly disjoint;
|
|
50
|
-
- keep final cross-cutting regression or cleanup issues for the last wave;
|
|
51
|
-
- define each wave exit gate: worker reports, integration diff review, combined validation, and blocker reconciliation;
|
|
52
|
-
- decide whether the wave requires a spec gate.
|
|
53
|
-
- keep small low-risk children on the compact `small-task-implementer` path when their ownership and validation are genuinely narrow.
|
|
54
|
-
|
|
55
|
-
## Spec Gates
|
|
56
|
-
|
|
57
|
-
Run a spec gate when an active issue says `Spec required: issue-level` or `Spec required: wave-level`, or when implementation would otherwise require guessing about contracts, state, ownership, external dependencies, validation, or rejected approaches.
|
|
58
|
-
|
|
59
|
-
Use an issue-level spec for one complex isolated child. Use a wave-level spec when several child issues share contracts, source-of-truth files, runtime flow, fixtures, or validation. If multiple active issues are marked issue-level but clearly share the same source-of-truth files or execution flow, coalesce them into one wave spec.
|
|
60
|
-
|
|
61
|
-
Default to a compact execution checklist. Expand to a full spec only when compact mode would leave safety, contract, ownership, or validation ambiguity.
|
|
62
|
-
|
|
63
|
-
Accepted spec gate output must identify:
|
|
64
|
-
|
|
65
|
-
- active child issues covered;
|
|
66
|
-
- source-of-truth contracts and ownership;
|
|
67
|
-
- protected paths and rejected approaches;
|
|
68
|
-
- exact implementation phases;
|
|
69
|
-
- first behavior proof or Contract Test Ledger rows when needed;
|
|
70
|
-
- validation gates;
|
|
71
|
-
- stop conditions.
|
|
72
|
-
|
|
73
|
-
Only after the spec gate is accepted should implementation workers start.
|
|
74
|
-
|
|
75
|
-
## Delegate
|
|
76
|
-
|
|
77
|
-
For each issue in the active wave, assign one worker with a narrow ownership scope. Worker instructions must include:
|
|
78
|
-
|
|
79
|
-
- parent and child issue references;
|
|
80
|
-
- accepted implementation spec reference when a spec gate was run;
|
|
81
|
-
- repo policy and relevant docs to read;
|
|
82
|
-
- instruction to use TDD for behavior changes;
|
|
83
|
-
- instruction to use `$small-task-implementer` only for child issues explicitly classified as small/low-risk, and to escalate if hidden risk appears;
|
|
84
|
-
- exact ownership boundaries;
|
|
85
|
-
- warning that other agents may be editing the repo;
|
|
86
|
-
- instruction not to revert or overwrite user or worker changes;
|
|
87
|
-
- protected paths, rejected approaches, and out-of-scope items;
|
|
88
|
-
- required preconditions and verification commands;
|
|
89
|
-
- stop conditions;
|
|
90
|
-
- required final report: changed files, proof per acceptance criterion, tests run, skipped checks, risks, blockers, and unresolved acceptance criteria.
|
|
91
|
-
- required `reviewHandoff`: flow used, risk level, implemented contract, proof by acceptance criterion, review focus, agent-verified checks, and maintainer-only checks with reasons the agent could not verify them.
|
|
92
|
-
|
|
93
|
-
While workers run, the integrator should do non-overlapping work: read docs, inspect ownership, map integration points, and prepare validation. Do not duplicate a worker's implementation.
|
|
94
|
-
|
|
95
|
-
## Integrate Each Wave
|
|
96
|
-
|
|
97
|
-
Treat each wave as a hard execution gate:
|
|
98
|
-
|
|
99
|
-
1. Review worker reports before touching code.
|
|
100
|
-
2. Review diffs and verify scope boundaries.
|
|
101
|
-
3. Resolve conflicts without discarding user or worker changes.
|
|
102
|
-
4. Remove duplicated logic, competing source-of-truth changes, and workaround-shaped code.
|
|
103
|
-
5. Check for architecture drift: shallow modules, one-adapter seams, duplicated rules, or tests coupled to implementation details.
|
|
104
|
-
6. Reconcile every active child issue as complete, blocked with evidence, or deferred.
|
|
105
|
-
7. Verify each child's declared path: small-task-implementer stayed compact, and medium/high-risk work satisfied spec/review/proof expectations.
|
|
106
|
-
8. Verify TDD evidence for behavior-changing issues.
|
|
107
|
-
9. Run the smallest meaningful combined validation for the wave.
|
|
108
|
-
10. Run repo architecture checks when available and applicable.
|
|
109
|
-
11. Verify implementation stayed inside the accepted spec, or document why a spec amendment was required.
|
|
110
|
-
12. Run cleanup-review and code-review when repo policy or change size requires them.
|
|
111
|
-
13. Fix high-confidence review findings and rerun validation.
|
|
112
|
-
14. Create focused commits for completed child issues, or one documented wave commit when safe separation is impossible.
|
|
113
|
-
15. Update the dependency graph before starting the next wave.
|
|
114
|
-
|
|
115
|
-
If a worker reports an ambiguous or risky decision, pause and ask the user a targeted question.
|
|
116
|
-
|
|
117
|
-
## Finish And Delivery
|
|
118
|
-
|
|
119
|
-
After all child issues are implemented, blocked, or deferred:
|
|
120
|
-
|
|
121
|
-
1. Run final integration or regression issues last.
|
|
122
|
-
2. Reconcile all child acceptance criteria, skipped checks, blockers, and out-of-scope protections.
|
|
123
|
-
3. Run cleanup-review before final code-review when repo policy requires it.
|
|
124
|
-
4. Fix grounded findings and rerun relevant checks.
|
|
125
|
-
5. Write a Parent Risk/Proof Mini-Report summarizing child outcomes, flow used per child, risk levels, proof coverage, skipped checks, and the exact human review focus.
|
|
126
|
-
6. Summarize completed issues, verification, skipped checks, and follow-up risks.
|
|
127
|
-
7. Comment on completed child issues with result summaries and verification.
|
|
128
|
-
8. Close completed child issues only after completion evidence is posted.
|
|
129
|
-
9. Comment on the parent with completed children, validation, Parent Risk/Proof Mini-Report, out-of-scope items preserved, and residual risks.
|
|
130
|
-
10. Open or prepare a pull request when requested or expected by repo workflow.
|
|
131
|
-
11. Stop before any human-only action such as PR approval, merge, product decision, manual validation, missing access, or secrets.
|
|
132
|
-
|
|
133
|
-
## Stop Conditions
|
|
134
|
-
|
|
135
|
-
Stop immediately if:
|
|
136
|
-
|
|
137
|
-
- a required precondition cannot be satisfied exactly;
|
|
138
|
-
- a required file, symbol, command, issue, or dependency is missing;
|
|
139
|
-
- a child issue cannot be validated with available repo context;
|
|
140
|
-
- a required spec gate cannot produce an accepted spec;
|
|
141
|
-
- an external contract is not machine-confirmed;
|
|
142
|
-
- completing a child would touch protected or out-of-scope areas;
|
|
143
|
-
- two active workers need the same write target or source-of-truth owner;
|
|
144
|
-
- a worker introduces duplicate business rules, dispatch builders, normalization, persistence accounting, or compatibility layers;
|
|
145
|
-
- implementation would use a rejected approach;
|
|
146
|
-
- review exposes ambiguity that cannot be resolved from code, docs, or issues;
|
|
147
|
-
- the next wave depends on unverified, blocked, or ambiguous work.
|
|
148
|
-
|
|
149
|
-
## Completion Standard
|
|
150
|
-
|
|
151
|
-
Do not claim orchestration is complete until:
|
|
152
|
-
|
|
153
|
-
- every child issue is complete, blocked with evidence, or explicitly deferred;
|
|
154
|
-
- every reached wave exit gate has passed;
|
|
155
|
-
- every required spec gate was completed and accepted;
|
|
156
|
-
- integration diffs have been reviewed and remediated;
|
|
157
|
-
- protected paths and rejected approaches were respected;
|
|
158
|
-
- source-of-truth ownership remains singular;
|
|
159
|
-
- behavior-changing child issues used TDD or documented a no-seam testing gap;
|
|
160
|
-
- required validation ran, or skipped checks have concrete reasons;
|
|
161
|
-
- required cleanup-review and code-review gates completed;
|
|
162
|
-
- completed child issues have focused commits or documented wave commits;
|
|
163
|
-
- completed children and the parent have been updated unless delivery was explicitly skipped.
|
package/prompts/workflows/prd.md
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
# PRD Workflow
|
|
2
|
-
|
|
3
|
-
Turn the current parent issue, conversation context, and repository context into a Product Requirements Document. Do not interview the user by default; synthesize what is already known, and record open questions instead of inventing product or technical decisions.
|
|
4
|
-
|
|
5
|
-
Use the repository's issue tracker and triage label vocabulary from repo instructions when available. Use the project's domain glossary vocabulary throughout the PRD, and respect ADRs in the area being changed.
|
|
6
|
-
|
|
7
|
-
## Process
|
|
8
|
-
|
|
9
|
-
1. Explore the repository enough to understand the current product and codebase state.
|
|
10
|
-
2. Identify the major modules, interfaces, contracts, or flows likely to change.
|
|
11
|
-
3. Actively look for opportunities to define deep modules: small, testable interfaces that encapsulate meaningful behavior.
|
|
12
|
-
4. Capture unresolved product, contract, external dependency, or validation questions explicitly.
|
|
13
|
-
5. Write the PRD using the template below.
|
|
14
|
-
6. If the execution environment has issue-tracker access and the caller requested publication, publish the PRD to the configured tracker and apply the triage entry label.
|
|
15
|
-
|
|
16
|
-
## PRD Template
|
|
17
|
-
|
|
18
|
-
### Problem Statement
|
|
19
|
-
|
|
20
|
-
Describe the problem from the user's perspective. Name the pain, missing capability, or operational risk without assuming an implementation.
|
|
21
|
-
|
|
22
|
-
### Solution
|
|
23
|
-
|
|
24
|
-
Describe the desired solution from the user's perspective. Focus on outcomes and observable behavior.
|
|
25
|
-
|
|
26
|
-
### User Stories
|
|
27
|
-
|
|
28
|
-
Provide a numbered list of user stories in this format:
|
|
29
|
-
|
|
30
|
-
1. As an `<actor>`, I want `<feature>`, so that `<benefit>`.
|
|
31
|
-
|
|
32
|
-
Cover the important actors, workflows, edge cases, and operational scenarios.
|
|
33
|
-
|
|
34
|
-
### Implementation Decisions
|
|
35
|
-
|
|
36
|
-
List implementation decisions already known or confirmed. Include:
|
|
37
|
-
|
|
38
|
-
- modules, contracts, or interfaces expected to change;
|
|
39
|
-
- schema, DTO, API, or persistence decisions;
|
|
40
|
-
- state machine, background job, auth, permission, caching, or integration decisions;
|
|
41
|
-
- specific interactions between systems;
|
|
42
|
-
- rejected approaches and why they are rejected.
|
|
43
|
-
|
|
44
|
-
Do not include brittle file paths or line numbers. If a prototype produced a snippet that captures a decision more precisely than prose, include only the decision-rich part and note that it came from a prototype.
|
|
45
|
-
|
|
46
|
-
### Testing Decisions
|
|
47
|
-
|
|
48
|
-
List testing decisions. Include:
|
|
49
|
-
|
|
50
|
-
- what behavior must be proven through public interfaces;
|
|
51
|
-
- which modules or flows need tests;
|
|
52
|
-
- existing prior art in the repository;
|
|
53
|
-
- required smoke, browser, mobile, API, or live validation;
|
|
54
|
-
- cases where a deterministic test seam is missing and must be created or explicitly accepted as risk.
|
|
55
|
-
|
|
56
|
-
### Risk And Proof
|
|
57
|
-
|
|
58
|
-
Classify the initiative so downstream automation can choose the right implementation path:
|
|
59
|
-
|
|
60
|
-
- small low-risk work that should stay on the Small Task Implementer path;
|
|
61
|
-
- medium scoped implementation work that needs TDD and review gates;
|
|
62
|
-
- high-risk contracts that need issue-level or wave-level spec gates before coding.
|
|
63
|
-
|
|
64
|
-
List the proof strategy a maintainer should expect after implementation: tests, smoke checks, artifacts, review focus, and any proof that cannot be automated locally.
|
|
65
|
-
|
|
66
|
-
### Out of Scope
|
|
67
|
-
|
|
68
|
-
List adjacent behavior that should not be included in this PRD.
|
|
69
|
-
|
|
70
|
-
### Further Notes
|
|
71
|
-
|
|
72
|
-
Record open questions, migration notes, rollout notes, compatibility concerns, and follow-up ideas.
|
|
73
|
-
|
|
74
|
-
## Quality Bar
|
|
75
|
-
|
|
76
|
-
- The PRD must be durable: useful even if files move.
|
|
77
|
-
- The PRD must be specific enough to break into vertical implementation issues.
|
|
78
|
-
- The PRD must make risk and proof expectations explicit enough that small tasks are not over-orchestrated and risky work is not under-specified.
|
|
79
|
-
- Do not hide unresolved decisions inside implementation work.
|
|
80
|
-
- Do not mark work as agent-ready when the PRD still depends on unconfirmed external contracts, credentials, manual design decisions, or ambiguous acceptance criteria.
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
# Scoped Implementation Workflow / Spec Implementer
|
|
2
|
-
|
|
3
|
-
Implement one scoped issue or approved implementation spec. Follow the issue, repo policy, and runner completion contract exactly. Do not redesign the work unless repo reality proves a blocker.
|
|
4
|
-
|
|
5
|
-
## Core Rules
|
|
6
|
-
|
|
7
|
-
1. Keep scope narrow. Do not broaden the issue, add unrelated cleanup, or invent adjacent features.
|
|
8
|
-
2. Treat protected paths, rejected approaches, out-of-scope items, and repo instructions as hard constraints.
|
|
9
|
-
3. Confirm required services, env vars, fixtures, commands, and repo state before editing.
|
|
10
|
-
4. Stop if exact execution would require guessing about contracts, state, ownership, credentials, or validation.
|
|
11
|
-
5. Prefer existing local patterns and deep module boundaries over new abstractions.
|
|
12
|
-
6. Do not add pass-through modules, one-adapter seams, or test-only helpers unless they improve real locality or leverage.
|
|
13
|
-
7. Add comments only where they clarify non-obvious behavior.
|
|
14
|
-
|
|
15
|
-
## Task Sizing
|
|
16
|
-
|
|
17
|
-
Before editing, classify the issue:
|
|
18
|
-
|
|
19
|
-
- `Small / low risk`: clear behavior, narrow ownership, no schema/persistence/auth/background/shared-contract change, and a targeted validation path exists. Use the Small Task Implementer path (`$small-task-implementer`): compact contract, smallest edit, targeted proof, explicit escalation if hidden risk appears.
|
|
20
|
-
- `Medium`: behavior-changing runtime work that touches shared flow, multiple files, or meaningful tests, but does not require a parent issue tree. Use this scoped implementation workflow with TDD and the configured review gates.
|
|
21
|
-
- `High risk`: schemas, persistence, queues, retries, idempotency, auth, permissions, billing, caching, external contracts, multi-service work, or broad source-of-truth changes. Use the scoped/spec path only if the issue already provides deterministic contracts; otherwise return `needs-promotion` with evidence.
|
|
22
|
-
|
|
23
|
-
Do not run a heavy plan/spec process for a genuinely small task. Do not force a small task path when the change reveals hidden shared-contract or validation risk.
|
|
24
|
-
|
|
25
|
-
## TDD And Behavior Proof
|
|
26
|
-
|
|
27
|
-
For runtime behavior changes, use strict TDD red-to-green:
|
|
28
|
-
|
|
29
|
-
1. Choose one observable behavior.
|
|
30
|
-
2. Write one focused behavior test first.
|
|
31
|
-
3. Prove the test fails before implementation.
|
|
32
|
-
4. Implement the smallest correct change.
|
|
33
|
-
5. Prove the test passes after implementation.
|
|
34
|
-
6. Repeat vertically for the next behavior.
|
|
35
|
-
7. Refactor only while green.
|
|
36
|
-
|
|
37
|
-
Report the failing/red and passing/green evidence in validation. Do not batch many imagined tests before implementing. If no correct test seam exists, report why the available seams would give false confidence and provide the strongest alternate proof.
|
|
38
|
-
|
|
39
|
-
## Execution Flow
|
|
40
|
-
|
|
41
|
-
1. Read the issue, comments, repo instructions, and relevant docs.
|
|
42
|
-
2. Identify acceptance criteria, blockers, out-of-scope items, validation expectations, and likely source-of-truth owners.
|
|
43
|
-
3. Inspect current git status and avoid reverting user changes.
|
|
44
|
-
4. Implement the smallest complete solution.
|
|
45
|
-
5. Keep validation proportional to risk and blast radius.
|
|
46
|
-
6. Preserve runner-owned publication boundaries: do not push, open PRs, merge, publish, deploy, or mutate GitHub labels/comments.
|
|
47
|
-
7. Produce the structured completion report required by the runner.
|
|
48
|
-
|
|
49
|
-
## Review Gates
|
|
50
|
-
|
|
51
|
-
Run cleanup-review before code-review for medium or large runtime changes, or when repo policy requires it. Fix high-confidence cleanup findings and rerun relevant validation.
|
|
52
|
-
|
|
53
|
-
Run code-review before completion when the issue or repo policy requires it, or when the change touches shared behavior, APIs, persistence, auth, permissions, caching, concurrency, background jobs, navigation, middleware, or multiple runtime files. Fix grounded findings or report blockers with evidence.
|
|
54
|
-
|
|
55
|
-
For compact low-risk changes, focused validation plus a clear completion report is enough unless repo policy says otherwise.
|
|
56
|
-
|
|
57
|
-
## Review Handoff
|
|
58
|
-
|
|
59
|
-
For completed work, include `reviewHandoff` in the runner JSON report:
|
|
60
|
-
|
|
61
|
-
- `flowUsed`: `small-task-implementer`, `scoped-implementation`, `spec-implementer`, `issue-tree-child`, or `other`;
|
|
62
|
-
- `riskLevel`: `low`, `medium`, or `high`;
|
|
63
|
-
- `implementedContract`: what behavior or invariant changed;
|
|
64
|
-
- `proofByAcceptanceCriteria`: acceptance criteria mapped to test/smoke/artifact evidence;
|
|
65
|
-
- `reviewFocus`: the exact files, states, contracts, or edge cases a human should inspect;
|
|
66
|
-
- `agentVerifiedChecks`: checks, commands, code searches, import/path confirmations, or fallback-path confirmations the agent completed before handoff;
|
|
67
|
-
- `maintainerOnlyChecks`: objects with `check` and `reasonAgentCouldNotVerify`, only for actions the agent cannot honestly complete itself, such as product decisions, approvals, credentials, external access, deploy/release decisions, or stakeholder judgment. Do not put runnable commands, code-search checks, import checks, or generic "confirm" tasks here.
|
|
68
|
-
|
|
69
|
-
## Acceptance Proof
|
|
70
|
-
|
|
71
|
-
Declare the proof mode in the runner completion report `proofPlan`. Choose the
|
|
72
|
-
narrowest mode that proves the issue: `none`, `non-visual-smoke`, `cli`, `api`,
|
|
73
|
-
`worker`, `browser-visual`, or `mobile-visual`. Do not choose non-visual modes
|
|
74
|
-
for UI or mobile behavior, and do not choose `none` when acceptance criteria need
|
|
75
|
-
observable proof. The runner validates `proofPlan` before publication.
|
|
76
|
-
|
|
77
|
-
Prepare runner-owned acceptance proof artifacts when configured. For visual work,
|
|
78
|
-
screenshots must be tied back to the acceptance criteria; for non-visual work,
|
|
79
|
-
use smoke outputs, logs, or other observable artifacts. Let the runner execute
|
|
80
|
-
configured proof commands when the prompt says so, and keep proof script repair
|
|
81
|
-
inside proof-owned paths.
|
|
82
|
-
|
|
83
|
-
For web UI work, prepare a proof-owned browser proof scenario when the runner
|
|
84
|
-
uses `visual-proof auto` or `visual-proof browser`. Use explicit base URLs,
|
|
85
|
-
ordered actions/assertions, named screenshot and DOM checkpoints, and criteria
|
|
86
|
-
refs. Do not run or claim the final runner-owned proof command yourself.
|
|
87
|
-
|
|
88
|
-
For Android mobile app UI work, use device-backed proof instead of Playwright:
|
|
89
|
-
|
|
90
|
-
1. Run `adb devices -l`.
|
|
91
|
-
2. Prefer a connected non-emulator device serial and set `export ANDROID_SERIAL=<serial>`.
|
|
92
|
-
3. If no device exists, run `emulator -list-avds`, start an AVD in a separate shell with `emulator -avd <avd-name>`, and wait with `adb wait-for-device`.
|
|
93
|
-
4. After selecting the adb target, use Test Android Apps skills when available.
|
|
94
|
-
5. For native Android projects, use the project Gradle wrapper (`./gradlew`) with a writable `GRADLE_USER_HOME`, build the relevant debug APK, then install and launch it through adb on the selected target.
|
|
95
|
-
6. For Flutter Android projects only, start Flutter rebuild/install with the detected Flutter SDK and writable `PUB_CACHE` and `GRADLE_USER_HOME` directories. If rebuild/install fails because the SDK cache is read-only, retry only when `CODEX_ORCHESTRATOR_FLUTTER_ROOT` points to a preconfigured writable Flutter SDK: set `FLUTTER_ROOT` to that path, prepend `$FLUTTER_ROOT/bin` to `PATH`, run `flutter precache --android`, then rebuild/install again. If no writable Flutter SDK is configured, report the concrete SDK cache permission error.
|
|
96
|
-
7. Do not use Playwright as the primary proof path for Android mobile app verification.
|
|
97
|
-
8. If Test Android Apps cannot be enabled, or no usable Android device or emulator is available, report a warning/skipped check with the concrete plugin or adb/emulator reason and proceed only if repo policy allows it.
|
|
98
|
-
|
|
99
|
-
For native iOS app UI work, use simulator- or device-backed proof instead of Playwright:
|
|
100
|
-
|
|
101
|
-
1. Run `xcrun simctl list devices available`.
|
|
102
|
-
2. Choose an available simulator when no physical device is provided.
|
|
103
|
-
3. Build with `xcodebuild` using a writable `-derivedDataPath`.
|
|
104
|
-
4. Install and launch with `xcrun simctl install` and `xcrun simctl launch`.
|
|
105
|
-
5. Do not use Android or Flutter proof steps for native iOS projects unless the repository is explicitly a Flutter project targeting iOS.
|
|
106
|
-
6. If no usable iOS simulator/device or Xcode tooling is available, report a warning/skipped check with the concrete xcodebuild/simctl reason and proceed only if repo policy allows it.
|
|
107
|
-
|
|
108
|
-
## Stop Conditions
|
|
109
|
-
|
|
110
|
-
Stop and report a blocker if:
|
|
111
|
-
|
|
112
|
-
- a required file, symbol, command, dependency, or interface differs from the issue/spec;
|
|
113
|
-
- a required precondition cannot be satisfied;
|
|
114
|
-
- validation cannot prove the intended behavior with available repo context;
|
|
115
|
-
- completing the work requires touching protected paths or using rejected approaches;
|
|
116
|
-
- the change would require unapproved migration, compatibility logic, external access, or product decisions;
|
|
117
|
-
- review exposes ambiguity that cannot be resolved from code, docs, or the issue;
|
|
118
|
-
- the runner completion contract cannot be satisfied safely.
|
|
119
|
-
|
|
120
|
-
## Completion Standard
|
|
121
|
-
|
|
122
|
-
Do not mark the issue complete until:
|
|
123
|
-
|
|
124
|
-
- every acceptance criterion is implemented, blocked with evidence, or explicitly out of scope;
|
|
125
|
-
- validation commands and behavior proof have run, or skipped checks have concrete reasons;
|
|
126
|
-
- applicable cleanup-review and code-review gates have run;
|
|
127
|
-
- protected paths stayed untouched and rejected approaches were avoided;
|
|
128
|
-
- changed files, validation, review handoff, skipped checks, residual risks, and blockers are reported;
|
|
129
|
-
- the structured completion report is written exactly where the runner requested it.
|