Skip to content

Keep Codex lanes from losing owner identity#59

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/fix-codex-unknown-label-2026-04-25-00-09
Apr 24, 2026
Merged

Keep Codex lanes from losing owner identity#59
NagyVikt merged 1 commit intomainfrom
agent/codex/fix-codex-unknown-label-2026-04-25-00-09

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

Active-session telemetry can arrive with agentName and cliName recorded as unknown even when the Guardex branch/session key still carries agent/codex. Hivemind now treats unknown as missing and derives owner fields from concrete branch, session, or CLI signals before falling back.

Constraint: Viewer and MCP consumers use normalized HivemindSession.agent/cli values directly.

Rejected: Patch only the viewer label | other consumers would still receive unknown owners.

Confidence: high

Scope-risk: narrow

Directive: Do not pass literal unknown owner fields through when branch or session identity is concrete.

Tested: node /home/deadpool/Documents/recodee/agents-hivemind/node_modules/.pnpm/vitest@2.1.9_@types+node@22.19.17/node_modules/vitest/vitest.mjs run

Tested: node /home/deadpool/Documents/recodee/agents-hivemind/node_modules/.pnpm/@biomejs+biome@1.9.4/node_modules/@biomejs/biome/bin/biome check packages/core/src/hivemind.ts packages/core/test/hivemind.test.ts

Not-tested: pnpm --filter @colony/core typecheck; baseline missing @types/better-sqlite3 in this workspace
@NagyVikt NagyVikt merged commit 7a5a0fa into main Apr 24, 2026
@NagyVikt NagyVikt deleted the agent/codex/fix-codex-unknown-label-2026-04-25-00-09 branch April 24, 2026 22:18
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