codex-orchestrator 0.1.31 → 0.1.36
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 +84 -0
- package/README.md +150 -174
- package/dist/src/cli.js +88 -0
- package/dist/src/cli.js.map +1 -1
- package/dist/src/codex/command-adapter.d.ts +2 -1
- package/dist/src/codex/command-adapter.d.ts.map +1 -1
- package/dist/src/codex/command-adapter.js +13 -2
- package/dist/src/codex/command-adapter.js.map +1 -1
- package/dist/src/codex/mobile-device-guard.d.ts +7 -0
- package/dist/src/codex/mobile-device-guard.d.ts.map +1 -0
- package/dist/src/codex/mobile-device-guard.js +63 -0
- package/dist/src/codex/mobile-device-guard.js.map +1 -0
- package/dist/src/config/constants.d.ts +1 -1
- package/dist/src/config/constants.d.ts.map +1 -1
- package/dist/src/config/constants.js +1 -0
- package/dist/src/config/constants.js.map +1 -1
- package/dist/src/config/schema.d.ts +21 -2
- package/dist/src/config/schema.d.ts.map +1 -1
- package/dist/src/config/schema.js +41 -0
- package/dist/src/config/schema.js.map +1 -1
- package/dist/src/github/gh-pull-request-adapter.d.ts +1 -0
- package/dist/src/github/gh-pull-request-adapter.d.ts.map +1 -1
- package/dist/src/github/gh-pull-request-adapter.js +20 -0
- package/dist/src/github/gh-pull-request-adapter.js.map +1 -1
- package/dist/src/github/pull-requests.d.ts +2 -0
- package/dist/src/github/pull-requests.d.ts.map +1 -1
- package/dist/src/github/pull-requests.js +9 -0
- package/dist/src/github/pull-requests.js.map +1 -1
- package/dist/src/runner/acceptance-proof-runner.d.ts +54 -0
- package/dist/src/runner/acceptance-proof-runner.d.ts.map +1 -0
- package/dist/src/runner/acceptance-proof-runner.js +229 -0
- package/dist/src/runner/acceptance-proof-runner.js.map +1 -0
- package/dist/src/runner/acceptance-proof.d.ts +121 -0
- package/dist/src/runner/acceptance-proof.d.ts.map +1 -0
- package/dist/src/runner/acceptance-proof.js +405 -0
- package/dist/src/runner/acceptance-proof.js.map +1 -0
- package/dist/src/runner/android-visual-proof-command.d.ts +26 -0
- package/dist/src/runner/android-visual-proof-command.d.ts.map +1 -0
- package/dist/src/runner/android-visual-proof-command.js +598 -0
- package/dist/src/runner/android-visual-proof-command.js.map +1 -0
- package/dist/src/runner/auto-visual-proof-command.d.ts +15 -0
- package/dist/src/runner/auto-visual-proof-command.d.ts.map +1 -0
- package/dist/src/runner/auto-visual-proof-command.js +41 -0
- package/dist/src/runner/auto-visual-proof-command.js.map +1 -0
- package/dist/src/runner/browser-proof-contract.d.ts +134 -0
- package/dist/src/runner/browser-proof-contract.d.ts.map +1 -0
- package/dist/src/runner/browser-proof-contract.js +400 -0
- package/dist/src/runner/browser-proof-contract.js.map +1 -0
- package/dist/src/runner/browser-visual-proof-command.d.ts +101 -0
- package/dist/src/runner/browser-visual-proof-command.d.ts.map +1 -0
- package/dist/src/runner/browser-visual-proof-command.js +532 -0
- package/dist/src/runner/browser-visual-proof-command.js.map +1 -0
- package/dist/src/runner/command-utils.d.ts.map +1 -1
- package/dist/src/runner/command-utils.js +55 -6
- package/dist/src/runner/command-utils.js.map +1 -1
- package/dist/src/runner/completion-report.d.ts +3 -1
- package/dist/src/runner/completion-report.d.ts.map +1 -1
- package/dist/src/runner/completion-report.js +2 -1
- package/dist/src/runner/completion-report.js.map +1 -1
- package/dist/src/runner/daemon-command.d.ts.map +1 -1
- package/dist/src/runner/daemon-command.js +20 -0
- package/dist/src/runner/daemon-command.js.map +1 -1
- package/dist/src/runner/doctor-command.js +3 -3
- package/dist/src/runner/doctor-command.js.map +1 -1
- package/dist/src/runner/durable-run-summary.d.ts +3 -0
- package/dist/src/runner/durable-run-summary.d.ts.map +1 -1
- package/dist/src/runner/durable-run-summary.js +2 -0
- package/dist/src/runner/durable-run-summary.js.map +1 -1
- package/dist/src/runner/handoff-evidence.d.ts +5 -0
- package/dist/src/runner/handoff-evidence.d.ts.map +1 -1
- package/dist/src/runner/handoff-evidence.js +22 -0
- package/dist/src/runner/handoff-evidence.js.map +1 -1
- package/dist/src/runner/ios-visual-proof-command.d.ts +25 -0
- package/dist/src/runner/ios-visual-proof-command.d.ts.map +1 -0
- package/dist/src/runner/ios-visual-proof-command.js +355 -0
- package/dist/src/runner/ios-visual-proof-command.js.map +1 -0
- package/dist/src/runner/lifecycle-events.d.ts +1 -1
- package/dist/src/runner/lifecycle-events.d.ts.map +1 -1
- package/dist/src/runner/local-execution-session.d.ts +19 -6
- package/dist/src/runner/local-execution-session.d.ts.map +1 -1
- package/dist/src/runner/local-execution-session.js +93 -11
- package/dist/src/runner/local-execution-session.js.map +1 -1
- package/dist/src/runner/local-state.d.ts +6 -0
- package/dist/src/runner/local-state.d.ts.map +1 -1
- package/dist/src/runner/local-state.js +14 -0
- package/dist/src/runner/local-state.js.map +1 -1
- package/dist/src/runner/mobile-device-lease.d.ts +11 -0
- package/dist/src/runner/mobile-device-lease.d.ts.map +1 -0
- package/dist/src/runner/mobile-device-lease.js +121 -0
- package/dist/src/runner/mobile-device-lease.js.map +1 -0
- package/dist/src/runner/mobile-visual-proof-command.d.ts +17 -0
- package/dist/src/runner/mobile-visual-proof-command.d.ts.map +1 -0
- package/dist/src/runner/mobile-visual-proof-command.js +168 -0
- package/dist/src/runner/mobile-visual-proof-command.js.map +1 -0
- package/dist/src/runner/plan-auto-command.d.ts.map +1 -1
- package/dist/src/runner/plan-auto-command.js +57 -6
- package/dist/src/runner/plan-auto-command.js.map +1 -1
- package/dist/src/runner/prompt.js +2 -2
- package/dist/src/runner/prompt.js.map +1 -1
- package/dist/src/runner/recovery.d.ts +2 -1
- package/dist/src/runner/recovery.d.ts.map +1 -1
- package/dist/src/runner/recovery.js +24 -0
- package/dist/src/runner/recovery.js.map +1 -1
- package/dist/src/runner/review-gate-policy.d.ts +19 -0
- package/dist/src/runner/review-gate-policy.d.ts.map +1 -1
- package/dist/src/runner/review-gate-policy.js +116 -20
- package/dist/src/runner/review-gate-policy.js.map +1 -1
- package/dist/src/runner/review-gates.d.ts.map +1 -1
- package/dist/src/runner/review-gates.js +44 -11
- package/dist/src/runner/review-gates.js.map +1 -1
- package/dist/src/runner/rework-policy.d.ts +1 -0
- package/dist/src/runner/rework-policy.d.ts.map +1 -1
- package/dist/src/runner/rework-policy.js +7 -0
- package/dist/src/runner/rework-policy.js.map +1 -1
- package/dist/src/runner/scoped-auto-command.d.ts +46 -1
- package/dist/src/runner/scoped-auto-command.d.ts.map +1 -1
- package/dist/src/runner/scoped-auto-command.js +147 -47
- package/dist/src/runner/scoped-auto-command.js.map +1 -1
- package/dist/src/runner/scoped-recovery.d.ts +65 -0
- package/dist/src/runner/scoped-recovery.d.ts.map +1 -0
- package/dist/src/runner/scoped-recovery.js +484 -0
- package/dist/src/runner/scoped-recovery.js.map +1 -0
- package/dist/src/runner/status-command.d.ts.map +1 -1
- package/dist/src/runner/status-command.js +1 -0
- package/dist/src/runner/status-command.js.map +1 -1
- package/dist/src/runner/visual-proof-runner.d.ts +1 -0
- package/dist/src/runner/visual-proof-runner.d.ts.map +1 -1
- package/dist/src/runner/visual-proof-runner.js +158 -19
- package/dist/src/runner/visual-proof-runner.js.map +1 -1
- package/dist/src/setup/project-config.d.ts +5 -0
- package/dist/src/setup/project-config.d.ts.map +1 -1
- package/dist/src/setup/project-config.js +146 -9
- package/dist/src/setup/project-config.js.map +1 -1
- package/dist/src/setup/setup-command.d.ts.map +1 -1
- package/dist/src/setup/setup-command.js +2 -2
- package/dist/src/setup/setup-command.js.map +1 -1
- package/dist/src/setup/workflows.d.ts.map +1 -1
- package/dist/src/setup/workflows.js +5 -0
- package/dist/src/setup/workflows.js.map +1 -1
- package/docs/deep-dive.md +239 -28
- package/package.json +4 -1
- package/prompts/workflows/acceptance-proof.md +29 -0
- package/prompts/workflows/scoped-implementation.md +12 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup-command.js","sourceRoot":"","sources":["../../../src/setup/setup-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,oB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AAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,SAAS,kBAAkB,
|
|
1
|
+
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../../src/setup/workflows.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEtE,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,UAAU,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,mBAAmB,EAAE,SAAS,kBAAkB,EA4BnD,CAAC;AAEX,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,UAAU,EAAE,cAAc,CAAC,CAAC;AAEnE,wBAAsB,sBAAsB,IAAI,OAAO,CAAC,iBAAiB,CAAC,CAYzE"}
|
|
@@ -21,6 +21,11 @@ export const workflowDefinitions = [
|
|
|
21
21
|
skillName: 'issue-orchestrator',
|
|
22
22
|
promptPath: '.codex-orchestrator/prompts/workflows/issue-tree-orchestration.md',
|
|
23
23
|
},
|
|
24
|
+
{
|
|
25
|
+
id: 'acceptanceProof',
|
|
26
|
+
skillName: 'spec-implementer',
|
|
27
|
+
promptPath: '.codex-orchestrator/prompts/workflows/acceptance-proof.md',
|
|
28
|
+
},
|
|
24
29
|
];
|
|
25
30
|
export async function resolveWorkflowConfigs() {
|
|
26
31
|
const entries = workflowDefinitions.map((definition) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflows.js","sourceRoot":"","sources":["../../../src/setup/workflows.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,mBAAmB,GAAkC;IAChE,EAAE,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,UAAU,EAAE,8CAA8C,EAAE;IAC9F;QACE,EAAE,EAAE,gBAAgB;QACpB,SAAS,EAAE,WAAW;QACtB,UAAU,EAAE,0DAA0D;KACvE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AU,EAAE,iDAAiD,EAAE;IACpG;QACE,EAAE,EAAE,sBAAsB;QAC1B,SAAS,EAAE,kBAAkB;QAC7B,UAAU,EAAE,gEAAgE;KAC7E;IACD;QACE,EAAE,EAAE,wBAAwB;QAC5B,SAAS,EAAE,oBAAoB;QAC/B,UAAU,EAAE,mEAAmE;KAChF;IACD;QACE,EAAE,EAAE,iBAAiB;QACrB,SAAS,EAAE,kBAAkB;QAC7B,UAAU,EAAE,2DAA2D;KACxE;CACO,CAAC;AAIX,MAAM,CAAC,KAAK,UAAU,sBAAsB;IAC1C,MAAM,OAAO,GAAG,mBAAmB,CAAC,GAAG,CAAC,CAAC,UAAU,EAAE,EAAE;QACrD,MAAM,MAAM,GAAmB;YAC7B,SAAS,EAAE,UAAU,CAAC,SAAS;YAC/B,MAAM,EAAE,wBAAwB;YAChC,UAAU,EAAE,UAAU,CAAC,UAAU;SAClC,CAAC;QAEF,OAAO,CAAC,UAAU,CAAC,EAAE,EAAE,MAAM,CAAU,CAAC;IAC1C,CAAC,CAAC,CAAC;IAEH,OAAO,MAAM,CAAC,WAAW,CAAC,OAAO,CAAsB,CAAC;AAC1D,CAAC"}
|
package/docs/deep-dive.md
CHANGED
|
@@ -137,7 +137,7 @@ For an `agent:auto` issue, the runner follows this lifecycle:
|
|
|
137
137
|
8. Read the Codex completion report.
|
|
138
138
|
9. Collect the full local change set.
|
|
139
139
|
10. Run configured validation checks.
|
|
140
|
-
11. Run
|
|
140
|
+
11. Run acceptance proof when required.
|
|
141
141
|
12. Evaluate quality gates and deny rules.
|
|
142
142
|
13. Optionally run bounded rework for machine-checkable blockers.
|
|
143
143
|
14. Optionally run Fresh-Context Review.
|
|
@@ -210,8 +210,10 @@ Typical checks include commands such as:
|
|
|
210
210
|
}
|
|
211
211
|
```
|
|
212
212
|
|
|
213
|
-
|
|
214
|
-
|
|
213
|
+
Setup and runtime config loading adapt package-owned default `npm run <script>`
|
|
214
|
+
checks to the target `package.json`: unsupported default npm checks are omitted
|
|
215
|
+
when `checksPolicy.missingNpmScript` is `skip`, while custom checks are
|
|
216
|
+
preserved. Repositories can make missing scripts fail with
|
|
215
217
|
`checksPolicy.missingNpmScript`.
|
|
216
218
|
|
|
217
219
|
For repositories with existing lint debt, `checksPolicy.lintBaseline.mode` can
|
|
@@ -235,36 +237,175 @@ Runtime and test paths are configurable through:
|
|
|
235
237
|
- `reviewGates.quality.runtimeChangedPathGlobs`;
|
|
236
238
|
- `reviewGates.quality.testChangedPathGlobs`.
|
|
237
239
|
|
|
238
|
-
The
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
240
|
+
The acceptance proof gate can require runner-owned proof artifacts when issue
|
|
241
|
+
text or changed paths indicate UI, API, worker, CLI, or smoke-verifiable work.
|
|
242
|
+
`reviewGates.acceptanceProof` is canonical; `reviewGates.visualProof` remains a
|
|
243
|
+
configuration migration adapter for existing screenshot and mobile proof policy.
|
|
244
|
+
|
|
245
|
+
## Acceptance Proof
|
|
246
|
+
|
|
247
|
+
Acceptance proof is intentionally runner-owned. Codex can implement product
|
|
248
|
+
behavior, but the runner decides whether proof is required, starts the proof
|
|
249
|
+
phase after implementation, validates the proof report, and makes the final
|
|
250
|
+
publishability decision. Runtime config loading still preserves package-owned
|
|
251
|
+
visual proof behavior for older configs where visual proof is enabled but no
|
|
252
|
+
runner command is set, but screenshot-only command success is not sufficient for
|
|
253
|
+
Acceptance Proof.
|
|
254
|
+
|
|
255
|
+
Adaptive Acceptance Proof is the canonical proof model. Instead of treating a
|
|
256
|
+
screenshot or a final agent sentence as enough evidence, the runner can launch a
|
|
257
|
+
separate `acceptance-proof` Codex phase with the issue, changed files,
|
|
258
|
+
implementation evidence, and repository proof policy. Repositories opt into that
|
|
259
|
+
adaptive Codex proof session by configuring `codex.profiles.acceptance-proof`;
|
|
260
|
+
existing runner-owned visual/mobile proof commands remain evidence producers, not
|
|
261
|
+
standalone pass conditions. The adaptive phase can navigate a browser, inspect
|
|
262
|
+
mobile UI state, run API or CLI checks, inspect logs, or create a focused
|
|
263
|
+
live-smoke check for observable product behavior. The proof phase writes
|
|
264
|
+
artifacts under the runner-owned proof directory and writes a machine-readable
|
|
265
|
+
`acceptance-proof-report.json`.
|
|
266
|
+
|
|
267
|
+
The gate is selected when `reviewGates.acceptanceProof.enabled` is true and
|
|
268
|
+
either:
|
|
269
|
+
|
|
270
|
+
- the issue title or body matches `reviewGates.acceptanceProof.issueTextPatterns`;
|
|
271
|
+
or
|
|
272
|
+
- the implementation changed a path matched by
|
|
273
|
+
`reviewGates.acceptanceProof.changedPathGlobs`.
|
|
274
|
+
|
|
275
|
+
The proof phase is not an implementation phase. It has no publication authority
|
|
276
|
+
and must not edit GitHub issues, labels, comments, branches, pull requests,
|
|
277
|
+
releases, or deployments. If a proof script needs repair, edits must stay inside
|
|
278
|
+
`reviewGates.acceptanceProof.proofOwnedPathGlobs`. Product-code changes during
|
|
279
|
+
proof are blockers, even when the proof report claims success.
|
|
280
|
+
|
|
281
|
+
The proof report has three top-level outcomes:
|
|
282
|
+
|
|
283
|
+
- `passed` means every required acceptance criterion has `status: "passed"`,
|
|
284
|
+
`confidence: "high"`, and at least one artifact reference.
|
|
285
|
+
- `needs-rework` means proof found missing or uncertain product behavior and
|
|
286
|
+
returns a concrete rework request for the next implementation attempt.
|
|
287
|
+
- `blocked` means proof could not continue safely, for example because the
|
|
288
|
+
environment is missing required credentials or tooling.
|
|
289
|
+
|
|
290
|
+
The runner validates the report independently. It rejects malformed JSON, empty
|
|
291
|
+
criteria, low or medium confidence, failed or unknown criteria, missing artifact
|
|
292
|
+
references, artifact paths that do not exist, and forbidden product-code diffs
|
|
293
|
+
from the proof phase.
|
|
294
|
+
|
|
295
|
+
For UI proof, the proof report must satisfy the UI Evidence Contract. Screenshot
|
|
296
|
+
or UI-dump artifacts must be mapped to:
|
|
297
|
+
|
|
298
|
+
- the exact user workflow under test, including the relevant entrypoint and
|
|
299
|
+
create/edit/detail context;
|
|
300
|
+
- viewport coverage, with wide desktop required for web layout proof and mobile
|
|
301
|
+
required when the issue or acceptance criteria mention responsive or mobile
|
|
302
|
+
behavior;
|
|
303
|
+
- artifact freshness, so the report identifies the current post-run artifact
|
|
304
|
+
rather than an old or intermediate screenshot;
|
|
305
|
+
- visual layout review for spacing, padding, clipping, overlap, alignment, and
|
|
306
|
+
the specific visual complaint being verified;
|
|
307
|
+
- user-facing copy review, including absence of rejected implementation terms
|
|
308
|
+
when copy is part of the acceptance path;
|
|
309
|
+
- source inputs that show how the proof derived task-specific checks from issue
|
|
310
|
+
criteria, implementation evidence, reproduction signals, runtime validation,
|
|
311
|
+
and any Manual QA Plan content.
|
|
312
|
+
|
|
313
|
+
If authentication is required and smoke or admin credentials are available
|
|
314
|
+
through configured environment variables, UI proof should use the real sign-in
|
|
315
|
+
flow. Session or cookie seeding is allowed only when the report records why the
|
|
316
|
+
normal UI login path is unavailable or irrelevant to the acceptance criteria.
|
|
317
|
+
|
|
318
|
+
This borrows workflow discipline from UI proof systems such as Symphony:
|
|
319
|
+
user-facing changes should have an end-to-end UI walkthrough, a reproduction
|
|
320
|
+
signal when one exists, runtime/media evidence for app-touching work, and Manual
|
|
321
|
+
QA Plan expectations when provided. Codex Orchestrator enforces those inputs
|
|
322
|
+
through the runner-validated Proof Report rather than requiring Symphony's
|
|
323
|
+
Linear workpad or PR media workflow.
|
|
324
|
+
|
|
325
|
+
When proof returns `needs-rework`, the runner feeds the rework request back into
|
|
326
|
+
the bounded implementation loop. The maximum number of implementation-plus-proof
|
|
327
|
+
iterations is controlled by `reviewGates.acceptanceProof.maxIterations`; the
|
|
328
|
+
runner keeps the issue claimed while the loop continues. A successful proof can
|
|
329
|
+
continue to the normal publishability gates and draft PR handoff. A terminal
|
|
330
|
+
proof blocker marks the issue blocked and preserves the proof prompt, report
|
|
331
|
+
path, artifact directory, validation line, residual risks, and blocker summary in
|
|
332
|
+
runner evidence.
|
|
333
|
+
|
|
334
|
+
Child Codex processes receive a mobile-device guard directory at the front of
|
|
335
|
+
`PATH`. The guard blocks direct device/emulator control through `adb`,
|
|
336
|
+
`emulator`, Flutter device-control subcommands, and `xcrun simctl`. Adaptive
|
|
337
|
+
proof Codex phases keep that guard, so they can inspect and verify behavior
|
|
338
|
+
without independently owning shared devices. Runner-owned mobile proof commands
|
|
339
|
+
use the shared mobile lease described below.
|
|
340
|
+
|
|
341
|
+
The proof phase often runs browser automation, such as Playwright, but the same
|
|
342
|
+
contract applies to non-visual proof. A live-smoke proof can exercise an API,
|
|
343
|
+
worker, CLI, or other observable behavior and save the command output as a
|
|
344
|
+
`smoke-output` artifact. The runner provides environment variables for:
|
|
249
345
|
|
|
250
346
|
- issue number;
|
|
251
347
|
- artifact directory;
|
|
252
348
|
- proof directory;
|
|
253
349
|
- Playwright profile directory;
|
|
254
350
|
- worktree path;
|
|
255
|
-
- changed files
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
the
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
351
|
+
- changed files;
|
|
352
|
+
- target root and shared state directory when the runner knows them;
|
|
353
|
+
- mobile device lock directory for runner-owned Android proof.
|
|
354
|
+
|
|
355
|
+
Proof artifacts created under the proof directory are attached to the PR and
|
|
356
|
+
issue review report. Supported artifact types include screenshots, UI dumps,
|
|
357
|
+
logs, smoke outputs, and other explicit artifacts. Screenshots remain supported
|
|
358
|
+
for visual proof, but screenshot existence alone is not sufficient: each required
|
|
359
|
+
criterion must map to high-confidence artifact evidence in the proof report, and
|
|
360
|
+
UI artifacts must satisfy the UI Evidence Contract.
|
|
361
|
+
|
|
362
|
+
Visual proof reporting separates desire from capability. UI-like issue text or
|
|
363
|
+
changed frontend paths can make visual proof desirable, but the runner only emits
|
|
364
|
+
missing-screenshot artifact warnings when a runner-owned provider is configured
|
|
365
|
+
and has not reported a tooling/provider capability gap. If proof is desirable
|
|
366
|
+
but no command, device, emulator, or platform tooling is available, the review
|
|
367
|
+
report records a capability note instead of an actionable-looking artifact
|
|
368
|
+
warning. Repositories that intentionally want visual-desirable work to block
|
|
369
|
+
review-ready publication until proof is produced can set
|
|
370
|
+
`reviewGates.visualProof.requireWhenDesirable` to `true`.
|
|
371
|
+
|
|
372
|
+
Setup now uses the package-owned
|
|
373
|
+
`codex-orchestrator visual-proof auto --issue ${issueNumber}` command. Auto
|
|
374
|
+
dispatch uses one shared policy owner: web/frontend paths route to browser
|
|
375
|
+
proof, while Android, iOS, Flutter, and mobile app paths remain device-backed.
|
|
376
|
+
Explicit legacy proof command overrides are preserved.
|
|
377
|
+
|
|
378
|
+
For web UI work, `codex-orchestrator visual-proof browser` reads a proof-owned
|
|
379
|
+
browser scenario, drives Playwright Core against an explicit base URL, and
|
|
380
|
+
writes screenshots, DOM snapshots, console logs, network failure logs, a run
|
|
381
|
+
summary, and `acceptance-proof-report.json` under the runner proof directory.
|
|
382
|
+
Before downloading a browser, the command first uses an explicit
|
|
383
|
+
`CODEX_ORCHESTRATOR_BROWSER_EXECUTABLE_PATH` when provided, then looks for an
|
|
384
|
+
installed Chrome, Chromium, or Edge executable. If no installed browser is
|
|
385
|
+
available, Playwright's existing browser cache is tried; only a missing-browser
|
|
386
|
+
launch failure triggers `playwright-core install chromium` and one retry.
|
|
387
|
+
Scenarios are versioned and must map criteria to named screenshot or DOM
|
|
388
|
+
checkpoints. Missing scenarios, malformed scenarios, missing Playwright/browser
|
|
389
|
+
runtime, blocked auth metadata, or browser launch failures produce blocked
|
|
390
|
+
proof. Assertion failures produce `needs-rework`. Console and network failures
|
|
391
|
+
are always recorded and can be configured as blockers through
|
|
392
|
+
`reviewGates.acceptanceProof.browserProof`.
|
|
393
|
+
|
|
394
|
+
For mobile UI work, the auto command selects the package-owned mobile proof
|
|
395
|
+
path. The mobile command detects Flutter, native Android, and native iOS
|
|
396
|
+
projects. It tries
|
|
397
|
+
Android first when an Android target exists, resolving SDK tools from
|
|
398
|
+
environment variables, `PATH`, and the default macOS, Linux, and Windows SDK
|
|
399
|
+
locations. Android proof takes a runner-owned mobile device lease under the
|
|
400
|
+
shared state directory before selecting a connected device, starting an AVD, or
|
|
401
|
+
using adb, so parallel issue work cannot race over one emulator. If Android
|
|
402
|
+
tooling or devices are unavailable on macOS and an iOS target exists, it falls
|
|
403
|
+
back to the iOS simulator. Native iOS projects go directly through Xcode
|
|
404
|
+
simulator tooling with a writable DerivedData path. Repos that need a specific
|
|
405
|
+
Flutter launch config, flavor, Gradle install task, package name, iOS scheme, or
|
|
406
|
+
bundle id pass that through command flags or `CODEX_ORCHESTRATOR_*` environment
|
|
407
|
+
variables. Missing mobile tooling or no usable device is reported as a concrete
|
|
408
|
+
warning instead of a release blocker by itself.
|
|
268
409
|
|
|
269
410
|
## Loop Policy
|
|
270
411
|
|
|
@@ -327,6 +468,76 @@ Durable evidence can include:
|
|
|
327
468
|
The runner preserves worktrees when deleting them would hide useful evidence,
|
|
328
469
|
for example when they are dirty, blocked, active, or unpublished.
|
|
329
470
|
|
|
471
|
+
### Interrupted Scoped Handoff Recovery
|
|
472
|
+
|
|
473
|
+
The main recovery case is an interrupted scoped issue run. This can happen when
|
|
474
|
+
Codex already wrote a completed report and left valid local changes in the
|
|
475
|
+
issue worktree, but the outer runner stopped before it pushed the branch,
|
|
476
|
+
opened the draft PR, posted the review report, and moved the issue from
|
|
477
|
+
`agent:running` to `agent:review`.
|
|
478
|
+
|
|
479
|
+
Recovery is runner-owned. It does not ask Codex to implement the issue again.
|
|
480
|
+
Instead, the runner treats the preserved worktree and completion report as the
|
|
481
|
+
candidate output, then runs the same publication gates used by a normal scoped
|
|
482
|
+
handoff.
|
|
483
|
+
|
|
484
|
+
```mermaid
|
|
485
|
+
flowchart TD
|
|
486
|
+
A["status / daemon / targeted run --issue"] --> B["Read runner-state.json"]
|
|
487
|
+
B --> C["Fetch matching GitHub issue"]
|
|
488
|
+
C --> D{"Local metadata proves ownership?"}
|
|
489
|
+
D -- "no" --> E["unknown-or-foreign: report only"]
|
|
490
|
+
D -- "yes" --> F{"Live runner still plausible?"}
|
|
491
|
+
F -- "yes" --> G["active: do not mutate"]
|
|
492
|
+
F -- "no" --> H{"Completed report + base evidence?"}
|
|
493
|
+
H -- "yes" --> I["completed-pending-handoff"]
|
|
494
|
+
I --> J["Reuse worktree and completed report"]
|
|
495
|
+
J --> K["Run normal publishability gates"]
|
|
496
|
+
K --> L{"Gates pass?"}
|
|
497
|
+
L -- "yes" --> M["Push branch, create/reuse draft PR"]
|
|
498
|
+
M --> N["agent:running -> agent:review, post report, clear local run"]
|
|
499
|
+
L -- "no" --> O["agent:blocked with recovery evidence"]
|
|
500
|
+
H -- "no" --> P{"Stale runner-owned failure?"}
|
|
501
|
+
P -- "yes" --> O
|
|
502
|
+
P -- "no" --> E
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
The local run metadata must match the GitHub issue and the preserved workspace:
|
|
506
|
+
issue number, mode, branch, worktree path, report path, session id, and base
|
|
507
|
+
evidence. New scoped runs also record a runner lease with host, process id, and
|
|
508
|
+
timestamps. Daemon recovery mutates GitHub only when that lease is stale and the
|
|
509
|
+
same-host process is gone. If the process still looks alive, the host is
|
|
510
|
+
unknown, or the metadata is incomplete, recovery stays read-only.
|
|
511
|
+
|
|
512
|
+
Targeted `run --issue <number>` can recover a legacy interrupted run when the
|
|
513
|
+
local context snapshot contains the base SHA and the operator explicitly picked
|
|
514
|
+
that issue. This is how old runs that predate lease metadata can still be
|
|
515
|
+
finished without allowing the daemon to mutate them automatically.
|
|
516
|
+
|
|
517
|
+
Recoverable runs are classified with explicit states:
|
|
518
|
+
|
|
519
|
+
- `active` means a live runner may still own the issue, so nothing changes.
|
|
520
|
+
- `completed-pending-handoff` means the completed report, worktree, branch, and
|
|
521
|
+
base evidence are sufficient to retry runner-owned publication.
|
|
522
|
+
- `failed-pending-block` means the stale runner-owned run cannot satisfy
|
|
523
|
+
publication preconditions and should be moved to `agent:blocked` with
|
|
524
|
+
concrete evidence.
|
|
525
|
+
- `unknown-or-foreign` means ownership or safety cannot be proven, so the runner
|
|
526
|
+
does not mutate GitHub.
|
|
527
|
+
|
|
528
|
+
When a matching open draft PR already exists for the branch and base, recovery
|
|
529
|
+
verifies those refs and completes the remaining label, comment, lifecycle, and
|
|
530
|
+
local-state cleanup instead of creating a duplicate PR. Blocked recovery uses a
|
|
531
|
+
stable marker in the GitHub comment so repeated recovery attempts do not post
|
|
532
|
+
the same blocked report again.
|
|
533
|
+
|
|
534
|
+
Recovery is intentionally narrow. It does not scan every `agent:running` issue
|
|
535
|
+
blindly, does not recover runs from another repository, does not recover
|
|
536
|
+
plan-parent or tree-child publication in the scoped path, does not auto-merge,
|
|
537
|
+
and does not rerun Codex just to finish a handoff. The package live-smoke suite
|
|
538
|
+
is not part of the default recovery gate because it creates or updates real
|
|
539
|
+
GitHub issues and pull requests.
|
|
540
|
+
|
|
330
541
|
## Prompt and Workflow System
|
|
331
542
|
|
|
332
543
|
Workflows are configured in `config.json`.
|
|
@@ -355,7 +566,7 @@ The top-level config areas are:
|
|
|
355
566
|
- `project` for config and prompt directories;
|
|
356
567
|
- `workflows` for prompt or skill routing;
|
|
357
568
|
- `checks` and `checksPolicy` for validation commands;
|
|
358
|
-
- `reviewGates` for quality and
|
|
569
|
+
- `reviewGates` for quality and acceptance proof requirements;
|
|
359
570
|
- `loopPolicy` for issue selection, rework, review, summaries, and suggestions;
|
|
360
571
|
- `deny` for secret and unsafe-action protection;
|
|
361
572
|
- `branches` for branch templates;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codex-orchestrator",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.36",
|
|
4
4
|
"description": "Reusable GitHub Issues runner for Codex.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -51,5 +51,8 @@
|
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/node": "^24.0.0",
|
|
53
53
|
"typescript": "^5.9.0"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"playwright-core": "^1.60.0"
|
|
54
57
|
}
|
|
55
58
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Adaptive Acceptance Proof
|
|
2
|
+
|
|
3
|
+
You are the Adaptive Proof Agent. Your job is verification, not implementation.
|
|
4
|
+
|
|
5
|
+
## Responsibilities
|
|
6
|
+
|
|
7
|
+
- Inspect the issue, changed files, and acceptance criteria.
|
|
8
|
+
- Run focused proof steps that exercise observable behavior.
|
|
9
|
+
- Save artifacts under the runner-provided proof artifact directory.
|
|
10
|
+
- Write only the machine-readable Acceptance Proof Report requested by the runner.
|
|
11
|
+
- If proof scripts need repair, change only runner-declared proof-owned paths.
|
|
12
|
+
|
|
13
|
+
## Boundaries
|
|
14
|
+
|
|
15
|
+
- Do not edit product code. Product fixes belong to the implementation phase.
|
|
16
|
+
- Do not create commits, push branches, open pull requests, merge, publish, or deploy.
|
|
17
|
+
- Do not edit GitHub issues, labels, comments, projects, milestones, or releases.
|
|
18
|
+
- Do not read or modify configured secret files.
|
|
19
|
+
- Do not start Android emulators or own mobile devices independently; use runner-provided device context when available.
|
|
20
|
+
|
|
21
|
+
## Proof Standard
|
|
22
|
+
|
|
23
|
+
Every required criterion must have status `passed`, confidence `high`, and at least one artifact reference. If proof is incomplete, return `needs-rework` with a concrete Proof Rework Request. If the environment is blocked, return `blocked` with the exact blocker and any artifacts already produced.
|
|
24
|
+
|
|
25
|
+
For UI proof, screenshot or UI-dump artifacts require `uiEvidence`. Derive task-specific checks from issue acceptance criteria, implementation evidence, reproduction signals, validation sections, Manual QA Plan content when present, and runtime/media artifacts. Record exact workflow scope, viewport coverage, artifact freshness, layout review, copy review, and source inputs. Prefer real UI login when configured credentials exist; explain any seeded session or cookie shortcut. The runner validates this contract and blocks screenshot-only proof.
|
|
26
|
+
|
|
27
|
+
For web UI work, prepare a proof-owned browser scenario for the runner-owned `visual-proof browser` or `visual-proof auto` command when configured. The scenario should use an explicit base URL, ordered navigation/action/assertion steps, named screenshot and DOM checkpoints, and criterion refs. Do not run or claim final runner proof success yourself; the runner executes the package-owned command, records console/network diagnostics, and evaluates the generated Acceptance Proof Report.
|
|
28
|
+
|
|
29
|
+
For Android, iOS, Flutter, or mobile app work, keep proof device-backed through the mobile proof path. Do not replace native/mobile verification with browser proof.
|
|
@@ -44,9 +44,18 @@ Run code-review before completion when the issue or repo policy requires it, or
|
|
|
44
44
|
|
|
45
45
|
For compact low-risk changes, focused validation plus a clear completion report is enough unless repo policy says otherwise.
|
|
46
46
|
|
|
47
|
-
##
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
## Acceptance Proof
|
|
48
|
+
|
|
49
|
+
Prepare runner-owned acceptance proof artifacts when configured. For visual work,
|
|
50
|
+
screenshots must be tied back to the acceptance criteria; for non-visual work,
|
|
51
|
+
use smoke outputs, logs, or other observable artifacts. Let the runner execute
|
|
52
|
+
configured proof commands when the prompt says so, and keep proof script repair
|
|
53
|
+
inside proof-owned paths.
|
|
54
|
+
|
|
55
|
+
For web UI work, prepare a proof-owned browser proof scenario when the runner
|
|
56
|
+
uses `visual-proof auto` or `visual-proof browser`. Use explicit base URLs,
|
|
57
|
+
ordered actions/assertions, named screenshot and DOM checkpoints, and criteria
|
|
58
|
+
refs. Do not run or claim the final runner-owned proof command yourself.
|
|
50
59
|
|
|
51
60
|
For Android mobile app UI work, use device-backed proof instead of Playwright:
|
|
52
61
|
|