Skip to content

Record gx agent starts as canonical sessions#469

Merged
NagyVikt merged 1 commit into
mainfrom
agent/codex/agents-start-session-record-2026-04-29-22-06
Apr 29, 2026
Merged

Record gx agent starts as canonical sessions#469
NagyVikt merged 1 commit into
mainfrom
agent/codex/agents-start-session-record-2026-04-29-22-06

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

gx agents start now writes the same session store used by the agents session API after branch/worktree creation succeeds. The CLI prints the session id, avoids records on branch-start failure, and marks the canonical session claim-failed when post-start lock claiming fails.

Constraint: Cockpit preparation needs durable start metadata without adding cockpit UI

Rejected: Continue writing only .omx active-session records | that bypasses src/agents/sessions.js and leaves gx agents consumers without canonical records

Confidence: high

Scope-risk: narrow

Directive: Keep gx agents start session metadata in src/agents/sessions.js; do not add another session store for start results

Tested: node --test test/agents-start.test.js test/agents-start-claims.test.js test/agents-sessions.test.js

Tested: openspec validate --specs

Not-tested: Live cockpit integration; cockpit UI is intentionally out of scope
@NagyVikt NagyVikt merged commit ea73dd4 into main Apr 29, 2026
2 of 5 checks passed
@NagyVikt NagyVikt deleted the agent/codex/agents-start-session-record-2026-04-29-22-06 branch April 29, 2026 20:16
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