SOUL loader with per-turn reload and default fallback #946

Closed
opened 2026-10-27 13:38:24 +00:00 by sam · 0 comments
Owner

Load the SOUL file from the config dir into the identity slot of the rendered prompt, re-reading it per turn so an edit takes effect on the next message with no restart.

Acceptance Criteria

SOUL content is rendered into the identity slot ahead of the invariant sections. An absent, empty or unreadable SOUL falls back to the shipped default identity rather than rendering nothing. Editing the file changes the next turn's prompt with no restart. A read error is logged once and degrades to the default; it never fails the turn. Size is bounded so an oversized SOUL cannot crowd out the rules.

Close reason

Closed


Imported from beads archie-core-1786637500839-418-cad065a6 · GitHub #439 · type feature · priority P2 · created 2026-08-08 · closed 2026-10-05

Load the SOUL file from the config dir into the identity slot of the rendered prompt, re-reading it per turn so an edit takes effect on the next message with no restart. ### Acceptance Criteria SOUL content is rendered into the identity slot ahead of the invariant sections. An absent, empty or unreadable SOUL falls back to the shipped default identity rather than rendering nothing. Editing the file changes the next turn's prompt with no restart. A read error is logged once and degrades to the default; it never fails the turn. Size is bounded so an oversized SOUL cannot crowd out the rules. ### Close reason Closed --- _Imported from beads `archie-core-1786637500839-418-cad065a6` · GitHub #439 · type feature · priority P2 · created 2026-08-08 · closed 2026-10-05_
sam added the mediumfeature labels 2026-10-27 13:38:24 +00:00
sam self-assigned this 2026-10-27 13:38:24 +00:00
sam closed this issue 2026-10-27 13:38:24 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#946