Skip to content

Unify gx agent session storage#468

Merged
NagyVikt merged 1 commit into
mainfrom
agent/codex/canonical-agent-session-store-2026-04-29-22-05
Apr 29, 2026
Merged

Unify gx agent session storage#468
NagyVikt merged 1 commit into
mainfrom
agent/codex/canonical-agent-session-store-2026-04-29-22-05

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

gx agents start, cockpit, and finish need one durable session source so started lanes can be observed and finished consistently. This routes start through the canonical .guardex agent session helper, keeps claim-failed starts in the same store, and makes cockpit read canonical sessions before legacy .omx active-session records.

Constraint: Existing .omx/state/active-sessions records must remain visible while live older sessions age out.

Rejected: Keep writing claim failures to .omx only | finish cannot resolve those sessions through the gx agents session store

Confidence: high

Scope-risk: moderate

Directive: Do not add a second gx agents session writer; use src/agents/sessions.js for command-owned sessions.

Tested: node --check src/agents/start.js; node --test test/agents-start-claims.test.js test/cockpit-render.test.js test/agents-finish.test.js

Not-tested: full npm test suite
@NagyVikt NagyVikt merged commit a2af765 into main Apr 29, 2026
@NagyVikt NagyVikt deleted the agent/codex/canonical-agent-session-store-2026-04-29-22-05 branch April 29, 2026 20:10
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