codex-orchestrator 0.1.44 → 0.1.45
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 +12 -0
- package/dist/src/runner/acceptance-proof-loop.d.ts +22 -2
- package/dist/src/runner/acceptance-proof-loop.d.ts.map +1 -1
- package/dist/src/runner/acceptance-proof-loop.js +189 -31
- package/dist/src/runner/acceptance-proof-loop.js.map +1 -1
- package/dist/src/runner/completion-report.d.ts +11 -0
- package/dist/src/runner/completion-report.d.ts.map +1 -1
- package/dist/src/runner/completion-report.js +37 -1
- package/dist/src/runner/completion-report.js.map +1 -1
- package/dist/src/runner/local-execution-session.d.ts.map +1 -1
- package/dist/src/runner/local-execution-session.js +1 -0
- package/dist/src/runner/local-execution-session.js.map +1 -1
- package/dist/src/runner/prompt.d.ts.map +1 -1
- package/dist/src/runner/prompt.js +17 -2
- package/dist/src/runner/prompt.js.map +1 -1
- package/dist/src/runner/review-gate-policy.d.ts.map +1 -1
- package/dist/src/runner/review-gate-policy.js +8 -0
- package/dist/src/runner/review-gate-policy.js.map +1 -1
- package/dist/src/setup/project-config.d.ts.map +1 -1
- package/dist/src/setup/project-config.js +3 -12
- package/dist/src/setup/project-config.js.map +1 -1
- package/docs/deep-dive.md +34 -4
- package/package.json +1 -1
- package/prompts/workflows/scoped-implementation.md +6 -0
package/docs/deep-dive.md
CHANGED
|
@@ -391,7 +391,36 @@ use the shared mobile lease described below.
|
|
|
391
391
|
The proof phase often runs browser automation, such as Playwright, but the same
|
|
392
392
|
contract applies to non-visual proof. A live-smoke proof can exercise an API,
|
|
393
393
|
worker, CLI, or other observable behavior and save the command output as a
|
|
394
|
-
`smoke-output` artifact.
|
|
394
|
+
`smoke-output` artifact.
|
|
395
|
+
|
|
396
|
+
Implementation agents declare the intended proof mode in the scoped completion
|
|
397
|
+
report `proofPlan`. Supported modes are `none`, `non-visual-smoke`, `cli`,
|
|
398
|
+
`api`, `worker`, `browser-visual`, and `mobile-visual`. The child agent must
|
|
399
|
+
choose the narrowest mode that proves the issue; this is an implementation
|
|
400
|
+
intent signal, not proof by itself. The runner remains the authority and
|
|
401
|
+
validates that plan against the issue `Proof Strategy`, changed files, and
|
|
402
|
+
visual/mobile routing signals before publication.
|
|
403
|
+
|
|
404
|
+
For accepted non-visual modes, the runner uses a report-validation proof path
|
|
405
|
+
instead of dispatching browser or mobile proof. Report validation checks the
|
|
406
|
+
completion report itself:
|
|
407
|
+
|
|
408
|
+
- `proofPlan.validationCommands` must contain non-empty command strings, and
|
|
409
|
+
each command must exactly match a passed `validation[].command`;
|
|
410
|
+
- `proofPlan.requiredArtifacts` must contain non-empty artifact targets, and
|
|
411
|
+
each target must exactly match a reported artifact `path` or `url`;
|
|
412
|
+
- `reviewHandoff.proofByAcceptanceCriteria` must map the evidence to the
|
|
413
|
+
acceptance criteria.
|
|
414
|
+
|
|
415
|
+
If those checks pass, the acceptance proof evidence records
|
|
416
|
+
`completion-report:proofPlan` and `completion-report:artifacts` as the proof
|
|
417
|
+
source. If they fail, publication blocks and the next implementation attempt must
|
|
418
|
+
repair the report or provide real evidence. A non-visual `proofPlan` cannot
|
|
419
|
+
downgrade explicit or inferred browser/mobile work: visual/mobile issue strategy
|
|
420
|
+
or changed visual/mobile paths still require visual proof.
|
|
421
|
+
|
|
422
|
+
For browser, mobile, and adaptive proof phases, the runner provides environment
|
|
423
|
+
variables for:
|
|
395
424
|
|
|
396
425
|
- issue number;
|
|
397
426
|
- artifact directory;
|
|
@@ -431,9 +460,10 @@ dispatch uses one shared policy owner: web/frontend paths route to browser
|
|
|
431
460
|
proof, while Android, iOS, Flutter, and mobile app paths remain device-backed.
|
|
432
461
|
When acceptance proof is required but the changed paths are backend/API/CLI-only
|
|
433
462
|
and visual proof is not desirable, auto proof does not force a browser or mobile
|
|
434
|
-
target; the runner
|
|
435
|
-
|
|
436
|
-
|
|
463
|
+
target; the runner validates the child completion report `proofPlan`, validation
|
|
464
|
+
lines, artifacts, and review handoff instead. Acceptance-proof command selection
|
|
465
|
+
uses only the canonical acceptance-proof policy; `visualProof` command settings
|
|
466
|
+
are not treated as Acceptance Proof compatibility input.
|
|
437
467
|
|
|
438
468
|
For web UI work, `codex-orchestrator visual-proof browser` reads a proof-owned
|
|
439
469
|
browser scenario, drives Playwright Core against an explicit base URL, and
|
package/package.json
CHANGED
|
@@ -67,6 +67,12 @@ For completed work, include `reviewHandoff` in the runner JSON report:
|
|
|
67
67
|
|
|
68
68
|
## Acceptance Proof
|
|
69
69
|
|
|
70
|
+
Declare the proof mode in the runner completion report `proofPlan`. Choose the
|
|
71
|
+
narrowest mode that proves the issue: `none`, `non-visual-smoke`, `cli`, `api`,
|
|
72
|
+
`worker`, `browser-visual`, or `mobile-visual`. Do not choose non-visual modes
|
|
73
|
+
for UI or mobile behavior, and do not choose `none` when acceptance criteria need
|
|
74
|
+
observable proof. The runner validates `proofPlan` before publication.
|
|
75
|
+
|
|
70
76
|
Prepare runner-owned acceptance proof artifacts when configured. For visual work,
|
|
71
77
|
screenshots must be tied back to the acceptance criteria; for non-visual work,
|
|
72
78
|
use smoke outputs, logs, or other observable artifacts. Let the runner execute
|