Repository navigation
fix: register issue sessions across Claude Code, pi, and Codex - #82
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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-idorARC_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.
primepreserves 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. Tracksarc-0d80.06jg2kand the earlier registration taskarc-0d80.01f3ua.Validation on
30c6b7: independently reranTMPDIR=/var/tmp task test(race detection and coverage),task lint(0 issues),task build:quick, integration-suite compilation, andgit 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 verified30c6b7revision. The PR targetsmain, so GitHub CI can run on the reconciled branch.Fresh CI at
79f551f: lint, unit tests, integration tests, and Playwright E2E all passed.