Skip to content

fix: register issue sessions across Claude Code, pi, and Codex - #82

Merged
bfirestone merged 5 commits into
mainfrom
fix/runtime-session-registration
Sep 6, 2026
Merged

bfirestone merged 5 commits into
mainfrom
fix/runtime-session-registration

Conversation

@bfirestone

@bfirestone bfirestone commented Sep 6, 2026 •

Copy link
Copy Markdown
Contributor

A spawned worker could claim an issue with an unregistered session ID, and duplicate registration could return a session from another project.

Before a claim, reuse an existing same-project session or register the exact ID selected through --session-id or ARC_SESSION_ID. Resolve the issue's actual project, retain existing session metadata, validate registration responses, and stop before issue mutation on failure. Reject cross-project duplicate session registration. New registration requires a cwd recognized by the target project; a session already registered there can be reused from another cwd.

Incorporates #81's provider-neutral interface: harness skills supply their current session explicitly; the core does not read Codex/Pi-specific environment variables. Explicit empty input fails before registration. prime preserves its explicit/hook/generic identity and hook-only persistence contract without registering sessions.

Registration and assignment remain separate operations; this does not introduce exclusive acquisition.

#81 is squash-merged into main. Pi adapter companion: SentioLabs/pi-nexus#15. Tracks arc-0d80.06jg2k and the earlier registration task arc-0d80.01f3ua.

Validation on 30c6b7: independently reran TMPDIR=/var/tmp task test (race detection and coverage), task lint (0 issues), task build:quick, integration-suite compilation, and git diff --check. Regressions cover explicit/empty/missing bindings, all three harness identities, registration/metadata reuse, bad responses, project mismatch, and prime persistence without registration.

Independent code and spec reviews are clean. An isolated-server evaluator passed 21 public-boundary checks, including failure-before-mutation, exact IDs, project routing, metadata reuse, and prime non-registration.

The branch now incorporates squash-merged main. The reconciliation changes commit ancestry only: its file tree is identical to the verified 30c6b7 revision. The PR targets main, so GitHub CI can run on the reconciled branch.

Fresh CI at 79f551f: lint, unit tests, integration tests, and Playwright E2E all passed.

@bfirestone bfirestone changed the title fix: register issue sessions across supported runtimes fix: register issue sessions across Claude Code, pi, and Codex Sep 6, 2026
Base automatically changed from fix/codex-session-identity to main September 6, 2026 04:26
@bfirestone
bfirestone marked this pull request as ready for review September 6, 2026 04:35
@bfirestone
bfirestone merged commit 36655ec into main Sep 6, 2026
4 checks passed
@bfirestone
bfirestone deleted the fix/runtime-session-registration branch September 6, 2026 04:36
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