Prove agent lane session lifecycle end to end#470
Merged
NagyVikt merged 1 commit intoApr 29, 2026
Merged
Conversation
The start path created branch/worktree state without writing the canonical session store, while finish already resolved sessions from .guardex/agents/sessions. The lifecycle test now locks start, status, inspect, and finish resolution to one session identity without launching real agents. Constraint: Must not call real Codex, Claude, gh, or network from the test Rejected: Exercise real branch start and finish scripts | they would launch broader Guardex side effects and make the test depend on gh/network availability Confidence: high Scope-risk: narrow Directive: Keep gx agents start/status/finish on the same .guardex/agents/sessions store unless a migration updates all three together Tested: node --test test/agents-lifecycle.test.js test/agents-start-claims.test.js test/agents-finish.test.js test/agents-inspect.test.js Not-tested: npm test remains red on pre-existing agents-launch and cli-args-dispatch expectation drift
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.
Automated by gx branch finish (PR flow).