The hosted Hermes path (inject-core auto-routes offline coding dispatches →
scripts/hosted-runner.ts → runHermesTask, drained by fleetcrown-hosted-runner.timer)
ran with zero Activity visibility: successes went only to console + the project
dev log, failures went to console ALONE. 'Is Hermes being used' required DB
archaeology.
- Instrument the path into orchestration_events (the SSOT Activity already reads):
producer marks the offline→hosted routing (source=hosted-runner, adapter=hermes,
deduped by command id); consumer emits task_started/task_completed/task_failed
for both hosted_dispatch (Hermes) and hosted_analyze, attributing the real
executor. Adapter recorded via a localized "hermes" as AdapterId cast — the same
pattern close-sweep already uses for adapters outside ORCHESTRATION_ADAPTER_IDS.
- Fix failure-invisibility: hosted failures now also append to the project dev log,
not just console.
- Reconcile the stale agents/index.ts comment: it claimed runHermesTask is unwired
and the CLI 'isn't installed anywhere' — both false. Interactive adapter is parked
(out of ALL_ADAPTERS by design); the HOSTED executor is wired + installed (box
v0.17.0). Distinguish the two clearly.
- deploy: sync scripts/hosted-runner.ts to the runner dir (the timer runs it there;
it was never being updated on deploy).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>