Skip to content

Support isolated local issue-to-review installations - #86

Merged
alex-engvall merged 2 commits into
mainfrom
codex/isolated-local-installations
Nov 26, 2026
Merged

alex-engvall merged 2 commits into
mainfrom
codex/isolated-local-installations

Conversation

@alex-engvall

@alex-engvall alex-engvall commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Add opt-in named bootstrap layouts with separate state, accounts, SSH enrollment, workspaces and bridge sockets. Reuse the existing release and Codex backend, and retain the default layout.
  • Enroll an optional protected source credential file for private checkouts.
  • Verify the native thread against its checkout before allowing it to bind report routing. A rejected observation previously caused the next acknowledged report to be written against the wrong run.

Verification

  • The bridge regression creates two local Git checkouts and protected receipts, rejects the wrong binding and verifies the report survives reopening the journal.
  • The coordinator regression publishes two commits through a local Git remote, reopens the same SQLite state and waits for CI on the new head before returning the issue to review. One session and one PR are retained.
  • The installer regression uses a disposable filesystem and system command doubles. It checks that a second installation preserves the first and leaves the named services stopped.
  • Targeted Node tests, type checks, documentation validation and Python tests passed. A live installation and shared-backend desktop canary remain operator checks.

Existing checkout profile

A named, single-run installation can enrol an existing checkout for the native coding session. Labstride pins the checkout and Git directory identities, validates the repository, selects the run-owned branch and projects the actual working path after readback. The protected source receipt still supplies the pinned revision. The enrolled branch holds the reservation through review, and the operator returns the directory to the base branch after the prior run and its session are resolved. No checkout data is reset or removed by the service.

The additional regressions exercise a rejected second run, preservation of untracked data, stale-session rejection at the same path after reopening the bridge, and recovery of the exact preparation after a lost acknowledgement and a coordinator restart. The recovered run opens Codex in the existing directory and publishes one PR. Local validation passed 73 targeted Node tests, eight Python tests, type checks and documentation checks.

Refs #30.

@alex-engvall
alex-engvall merged commit 5f525a9 into main Nov 26, 2026
1 check passed
@alex-engvall
alex-engvall deleted the codex/isolated-local-installations branch November 26, 2026 08:50
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.

1 participant