Watch
1
0
Fork
You've already forked souveraine
0
souveraine/saf/update-agent-request-souveraine.md
Fimeg 3ff6ffaa7f license: relicense AGPL-3.0; bring SAF docs online; keep CLAUDE.md + docs/ local
SAF (souveraine architecture files) is now the in-repo doc set. working notes
(CLAUDE.md, docs/) stay on disk, gitignored.
2026-06-19 10:17:56 -04:00

714 B

Carry _souveraine block through UpdateAgentRequest API

Status: pending

UpdateAgentRequest (the API endpoint for live agent edits) doesn't carry the _souveraine block. So provider, subconscious_model, reflection_model, and archivist_model can't be set via the API — only via hand-editing agent.json and restarting the server.

What needs doing

  • Add _souveraine fields to UpdateAgentRequest in src/api/models.rs
  • Wire them through AgentInventory::update() so they write to both agent.json and database.sqlite3 config_json
  • The existing update path already skips config_json rewrites (src/server/agent_inventory.rs:459-469) — that gap needs filling regardless