Load SOUL into the chat prompt per turn #375

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

Goal

Editing SOUL changes the next turn's prompt without restart, and it is editable from the dashboard.

Evidence

bootstrap.go:319 seeds the SOUL file; nothing reads it; internal/gateway/templates/archie.md.tpl fills from .Persona.

Rules

Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run task check once at the end; if it fails twice on the same problem, comment on this bead and stop.

Stop when

  • Per-turn loader with shipped fallback.
  • Control-plane resource + editor.
  • Persona removal stays archie-core-7ftt.
    Then commit (Conventional Commits, scoped by package), bd close this bead and stop.

Close reason

Landed: a per-turn SOUL source feeds the prompt identity slot (stored soul resource wins once saved, else the SOUL file, else the shipped default; read errors degrade to the default and log once). The soul kind is a live control-plane resource with a dashboard editor that reloads the running gateway over its watch, no restart. The persona prompt plumbing is replaced by the SOUL source; the persona surface stays for archie-core-7ftt. Gate clean, committed.


Imported from beads archie-core-mqti.2 · GitHub #1401 · type feature · priority P1 · created 2026-10-05 · closed 2026-10-05

## Goal Editing SOUL changes the next turn's prompt without restart, and it is editable from the dashboard. ## Evidence bootstrap.go:319 seeds the SOUL file; nothing reads it; internal/gateway/templates/archie.md.tpl fills <soul> from .Persona. ## Rules Read CLAUDE.md. Do only what the Goal and Stop when need. File anything else you notice as a bead; do not fix it. Run `task check` once at the end; if it fails twice on the same problem, comment on this bead and stop. ## Stop when - [ ] Per-turn loader with shipped fallback. - [ ] Control-plane resource + editor. - [ ] Persona removal stays archie-core-7ftt. Then commit (Conventional Commits, scoped by package), `bd close` this bead and stop. ### Close reason Landed: a per-turn SOUL source feeds the prompt identity slot (stored soul resource wins once saved, else the SOUL file, else the shipped default; read errors degrade to the default and log once). The soul kind is a live control-plane resource with a dashboard editor that reloads the running gateway over its watch, no restart. The persona prompt plumbing is replaced by the SOUL source; the persona surface stays for archie-core-7ftt. Gate clean, committed. --- _Imported from beads `archie-core-mqti.2` · GitHub #1401 · type feature · priority P1 · created 2026-10-05 · closed 2026-10-05_
sam added the highfeature labels 2026-10-27 13:36:04 +00:00
sam self-assigned this 2026-10-27 13:36:04 +00:00
sam closed this issue 2026-10-27 13:36:05 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#375