Skip to content

Make agent status read canonical sessions#466

Merged
NagyVikt merged 1 commit into
mainfrom
agent/codex/harden-gx-agents-status-canonical-sessio-2026-04-29-22-06
Apr 29, 2026
Merged

Make agent status read canonical sessions#466
NagyVikt merged 1 commit into
mainfrom
agent/codex/harden-gx-agents-status-canonical-sessio-2026-04-29-22-06

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

gx agents status should be the stable readout for started agent lanes, so it now renders the canonical .guardex session records instead of the old review/cleanup bot process state. The JSON payload is shaped for cockpit and includes worktree existence plus branch-owned lock counts.

Constraint: User requested edits only in agents status, CLI wiring, args parsing, and focused status tests.

Rejected: Include legacy .omx active sessions | canonical sessions.js has no compatibility reader in this branch, so mixing stores would make status less reliable.

Confidence: high

Scope-risk: narrow

Directive: Keep gx agents status backed by src/agents/sessions.js; add legacy compatibility only in the session store first.

Tested: node --test test/agents-status.test.js test/agents-sessions.test.js test/agents-finish.test.js

Tested: openspec validate --specs

Not-tested: test/cli-args-dispatch.test.js has a pre-existing stale deep-equal expectation for parseAgentsArgs fields on this branch.
@NagyVikt NagyVikt merged commit 5ab9b04 into main Apr 29, 2026
@NagyVikt NagyVikt deleted the agent/codex/harden-gx-agents-status-canonical-sessio-2026-04-29-22-06 branch April 29, 2026 20:09
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