Files
hermes-agent/website/docs/reference
alt-glitch 54dae26e58 fix(gateway): attach leaves its caller's environment alone; one ticket_unavailable verdict
Review of the attach command:

- attach_gateway no longer pops the launch-policy variables from os.environ: an in-process
  caller would have lost HERMES_CWD and friends. scrub_client_launch_env() runs in the two
  processes that exist to attach (the CLI command and Ink's bootstrap), before the attach.
- Every failed mint after an attachable discovery raises TicketUnavailable (a RuntimeError, so
  Ink's bootstrap still prints one bounded line and retries). The CLI reports it as
  inaccessible/ticket_unavailable with the cause in `detail`, instead of a DiscoveryError's own
  code or a bare reason.
- --start and --recover are mutually exclusive; --timeout is documented as the start deadline,
  with discovery and the mint adding at most 5 s each.
- Docs: only an unmanaged gateway that attach spawns has the idle exit; a mint failure is
  answered by running attach again, not by --recover.
- The CLI test keeps the suite's isolation variables in the child, and the no-owner verdict test
  runs on every host.
2026-11-06 10:38:43 -05:00
..
…