Skip to content

🐛 Runtime fixes: endpoint persistence, Codex detection, label resolution, tail journals#194

Merged
arach merged 4 commits into
mainfrom
fix/runtime-fixes
Jun 5, 2026
Merged

🐛 Runtime fixes: endpoint persistence, Codex detection, label resolution, tail journals#194
arach merged 4 commits into
mainfrom
fix/runtime-fixes

Conversation

@arach
Copy link
Copy Markdown
Owner

@arach arach commented Jun 5, 2026

Four independent runtime fixes, split out of the feat/web-design-system working tree.

  • Persist agent endpoints durably — route the agent.endpoint.upsert command and POST /v1/endpoints through a single persistEndpoint path.
  • Detect Codex executable beyond PATHareHarnessBinariesAvailable consults resolveCodexExecutableInventory so Codex agents installed outside PATH aren't marked unavailable.
  • Resolve qualified reserved-identity labels — only bare reserved product identities collapse to unknown; qualified ones (node/workspace qualifier, profile, harness, model) keep their label.
  • Skip workflow subagent journals in tail — exclude workflows/**/subagents/**/journal.jsonl orchestration logs from tail discovery.

Verification

  • bun test — broker-daemon, local-agents, scout-dispatcher, tail-sources: 104 pass / 0 fail
  • npm --prefix packages/runtime run check (agent-sessions build + tsc --noEmit): clean

arach added 4 commits June 5, 2026 13:31
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.
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
openscout Skipped Skipped Jun 5, 2026 5:31pm

@arach arach merged commit c50c987 into main Jun 5, 2026
3 checks passed
@arach arach deleted the fix/runtime-fixes branch June 5, 2026 18:02
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