🐛 Runtime fixes: endpoint persistence, Codex detection, label resolution, tail journals#194
Merged
Conversation
Route both the agent.endpoint.upsert control command and POST /v1/endpoints through a single persistEndpoint path so endpoints survive restarts consistently.
areHarnessBinariesAvailable now consults resolveCodexExecutableInventory instead of only `command -v codex`, so Codex agents installed outside PATH are no longer marked unavailable. Factor out isShellCommandAvailable and export the helper.
Qualified reserved product identities (with node/workspace qualifier, profile, harness, or model) now resolve to their label instead of collapsing to unknown.
Workflow journal.jsonl files under workflows/**/subagents/** are orchestration logs, not sessions, so exclude them from tail discovery walks.
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
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.
Four independent runtime fixes, split out of the
feat/web-design-systemworking tree.agent.endpoint.upsertcommand andPOST /v1/endpointsthrough a singlepersistEndpointpath.areHarnessBinariesAvailableconsultsresolveCodexExecutableInventoryso Codex agents installed outside PATH aren't marked unavailable.unknown; qualified ones (node/workspace qualifier, profile, harness, model) keep their label.workflows/**/subagents/**/journal.jsonlorchestration logs from tail discovery.Verification
bun test— broker-daemon, local-agents, scout-dispatcher, tail-sources: 104 pass / 0 failnpm --prefix packages/runtime run check(agent-sessions build +tsc --noEmit): clean