Watch
1
0
Fork
You've already forked SouveraineOS
0

federation: instance awareness live half landed (hosted_agents in announce)

This commit is contained in:
Fimeg 2026-07-16 11:18:25 -04:00
commit 7bc6d4fa82
2 changed files with 11 additions and 6 deletions

View file

@ -129,10 +129,12 @@ commission time.
## Instance awareness — the design
- `device_announce` payload grows `hosted_agents: [agent_pubkey, ...]`
(the lite listener already computes this list; the full server should too).
- `DeviceRegistry` records it; `souveraine peers` shows which agents live
where; the agent-facing surface is a tool answer to "where am I live?".
- ~~`device_announce` payload grows `hosted_agents`~~ — done: the bridge
announces the hosted-agent pubkeys (read fresh per reconnect, shared
loader in `server/federation/mod.rs`), `DeviceRegistry` records them,
`souveraine peers` prints a `hosts:` line per peer.
- Still open: the agent-facing surface — a tool answer to "where am I
live?" (registry data exists; no tool reads it yet).
- The memfs itself carries a self-describing instance log (e.g.
`system/instances.md`, one line per checkout, stamped at provision) so the
roster survives offline and travels with the memory — Casey's