Skip to content

fix(examples): supervise example router URL needs /v1#400

Merged
drewstone merged 1 commit into
mainfrom
fix/supervise-example-router-url
Jun 27, 2026
Merged

fix(examples): supervise example router URL needs /v1#400
drewstone merged 1 commit into
mainfrom
fix/supervise-example-router-url

Conversation

@drewstone

Copy link
Copy Markdown
Contributor

The canonical supervise() example defaulted the router URL to the bare host, which 404s (the chat endpoint is under /v1) → empty brain response → silent no-winner. Default to /v1.

Surfaced while empirically confirming #399 (the supervisor default prompt). Two deeper bugs found in that run, flagged for focused follow-up, NOT fixed here: (1) the supervisor loop silently swallows the brain's router error and degrades to no-winner — routerChatWithTools throws on non-2xx, but the coordination driver catches it (violates no-silent-zeros); (2) no delivery even when workers spawn (the deliverable oracle isn't satisfied on a trivial task).

…ost 404s)

The canonical supervise() example defaulted TANGLE_ROUTER_URL to https://router.tangle.tools —
the chat endpoint lives under /v1, so the bare host returns a 404 HTML page, the supervisor
brain gets an empty response, and the run silently ends no-winner. Default to .../v1.
@drewstone drewstone merged commit 4bc03b4 into main Jun 27, 2026
1 check failed
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