Repository navigation
Surface machine posture (hostname, hub reachability) in agent context (#780) - #788
aarontrowbridge wants to merge 1 commit into
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
88a8484 to
1680fb0
Compare
88fb5da to
ea68825
Compare
|
Closing proactively: stale base (450 commits behind main) — the clobber class JJ's agent is repairing; merging would silently revert newer fixes on shared files. The branch is preserved; the work re-lands fresh off current main (#1465 slice doctrine) if still wanted. The fleet-boundary ADR's territory (#793) is meanwhile covered live by amicissimo PR #475 + the entitlement architecture in amicissimo #476. |
Closes #780.
What
The extension now writes
~/.amico/ops/fleet/attach-state.jsonon every attach-state transition (atomic tmp+rename, single writer): hostname, mode, hub name/URL, reachability, RTT, last-ok, updated-at. The context plugin's fleet section reads that file (file reads only — no network) and renders an honest posture block: machine name, mode, hub identity + reachability, last-verified age (10-min TTL, stated in the rendered line). Falls back to the legacy role line when the file is absent; degraded-but-honest when stale or corrupt — never a false "healthy", never a crash. Standalone fallback time survives extension restarts.Gates (director-run)
pnpm --filter amicode test: 2198 passed / 30 skipped / 0 failed (full suite, own run)tsc --noEmit -p packages/extension: cleanNotes
sessions/session-20260903-fleet-improvements-brainstorm.md§6.