Skip to content

fix(core): classify agent/<name>/... session ids as that IDE#53

Merged
NagyVikt merged 1 commit intomainfrom
agent/claude/extend-infer-ide-agent-branch-prefix-2026-04-24-21-41
Apr 24, 2026
Merged

fix(core): classify agent/<name>/... session ids as that IDE#53
NagyVikt merged 1 commit intomainfrom
agent/claude/extend-infer-ide-agent-branch-prefix-2026-04-24-21-41

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

Some agents persist their Guardex branch name as the session id
(`agent/codex/make-openspec-lighter-with-colony-spec-m-2026-04-24-21-32`,
`agent/claude/...`). The previous inferrer only inspected the leading
segment, which was the literal `agent`, so every such row landed in
storage as `unknown` and the worker viewer could not tag the owner.

Peel the `agent/<name>/...` form before the prefix match so the second
segment drives classification, and extend the unit test accordingly.
Unknown second segments (e.g. `agent/telemetry/...`) still fall through
without inventing an owner.
@NagyVikt NagyVikt merged commit ed5a0b0 into main Apr 24, 2026
@NagyVikt NagyVikt deleted the agent/claude/extend-infer-ide-agent-branch-prefix-2026-04-24-21-41 branch April 24, 2026 19:49
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