Skip to content

feat(codex): select safe homes and support explicit inactive queueing - #39

Merged
abruption merged 2 commits into
mainfrom
feat/17-codex-home-selection
Sep 28, 2026
Merged

abruption merged 2 commits into
mainfrom
feat/17-codex-home-selection

Conversation

@abruption

@abruption abruption commented Sep 28, 2026 •

Copy link
Copy Markdown
Owner

Summary

Closes #17. Target: 0.2.0 — Core usability (source development; package remains 0.1.0 until a separate release).

  • Select the unique stable live Codex writer across bounded known homes when no home is supplied; keep explicit-home conflict and unknown-owner refusals.
  • Add explicit --allow-inactive-codex-home for saved inactive threads, with no wake/resume. Revalidate all inventory, saved rows, DB identity and native lock/owner evidence before one queue call.
  • Return sanitized codexHomeResolution and optional native queueId; preserve dry-run zero submissions and unknown/no-retry semantics locally and over SSH.
  • Align configured-home parsing with feat(discovery): list all supported agents across known Codex homes #16: unset/[] accepted; set-empty invalid; missing named DBs refuse. Document migration and intentional stricter-than-Python boundaries in PARITY and all four READMEs.
  • Expand portable configuration/revalidation/metadata contracts, POSIX real-lock scenarios and Windows native/PowerShell SSH scenarios.

Validation

  • macOS arm64 Node 22.14.0: npm test 47 pass / 3 Windows-only skip.
  • npm run test:package, repository checker, audit (0 vulnerabilities), diff check passed.
  • Latest head ee564ae94a2340df071a4bdbb6265325e4390872: CI 36368527657 passed macOS/Linux and Windows x64 Node 22/24, package smoke, repository policy and aggregate release gate.
  • Bounded read-only independent review: gemini-3.1-pro-high reported no actionable defect; Codex checked the conclusions against source, Python reference and tests. Review and acceptance follow-up. No additional issue was needed.

All transport tests use isolated fixtures. No live-recipient ACK claim, native DB writes, Python/Relay operation changes, npm publication or dist-tag changes.

@abruption abruption added this to the 0.2.0 — Core usability milestone Sep 28, 2026
@abruption

Copy link
Copy Markdown
Owner Author

Independent review and follow-up

Bounded read-only antigravity-cli review using gemini-3.1-pro-high completed with no actionable defect reported. Codex checked the conclusions against the implementation, the pinned Python resolver, and fixture results. This is advisory review, not proof of race freedom or live-recipient consumption.

Confirmed boundaries:

  • Named missing homes and malformed/empty extra-home configuration refuse even with an explicit destination; migration is documented.
  • Unsaved competing locks are inspected. Explicit selection never bypasses competing known homes.
  • Inactive queueing requires a saved explicit destination and verified inactive candidates. If a valid live writer exists, the ordinary live-selection/conflict rules still apply even when the flag is present.
  • Private native owner evidence stays internal; optional output diagnostics and queue IDs do not imply ACK.

Additional tests cover destination-side SSH selection, queue/unknown/refused metadata, inactive flag forwarding, unsaved competitors and EACCES/ELOOP inventory failures with zero queue calls. No separate issue is needed for these completed #17 acceptance items.

Initial cross-platform CI 36368300629 passed all jobs. Local final test result: 47 passed / 3 Windows-only skipped, with package smoke, repository policy and audit (0 vulnerabilities) also passed. Latest-head CI 36368527657 is in progress; the PR remains draft until that gate completes.

@abruption
abruption marked this pull request as ready for review September 28, 2026 02:09
@abruption
abruption merged commit 8289da7 into main Sep 28, 2026
9 checks passed
@abruption
abruption deleted the feat/17-codex-home-selection branch September 28, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(codex): expose safe implicit home selection and opt-in inactive queueing

1 participant