Uh oh!
There was an error while loading. Please reload this page.
Manual attach without an endpoint: probe disk instead of leaking localEndpoint() error - #271
Conversation
…or the two daemon-managed exits The daemon-managed attach branch reported an already-attached no-op with a --json shape but left the not-attached failure emitting only plain stderr, and neither exit emitted any span or log. Add a matching --json failure object (status:failed, error_kind:no_endpoint) and a structured log line at each exit. Adds a test for the JSON failure shape.
platypii
commented
Jul 7, 2026
ReviewVerdict: solid, ready to merge. Well-scoped, follows repo conventions (no semicolons, no em dashes, a real What it does: When
The configured- Minor, non-blocking notes
Test coverageGood: already-attached (text + json), not-attached (text + json), and the configured- |
Under a central-managed install the gateway binds an ephemeral port only the daemon knows, so manual
hyp attach claudefailed with the internal error:Now, when the gateway is not bound in the CLI process and no ai-gateway
listenis configured, attach probes the client's on-disk attach state via itsattach_probe:--jsonshapehyp startor pinninglistenThe configured-
listenfallback and the daemon's proven-bound path are unchanged (LLP 0045; doc updated in the same commit). Adds tests for both branches, the--jsonshape, and the existing config fallback.