Enforce the boundary that makes SOUL safe to hand to users: it supplies identity and style, and cannot reach the instruction hierarchy, core rules, tool inventory or env block.
Acceptance Criteria
A test renders a hostile SOUL that attempts to countermand core_rules and asserts the invariant sections are still present and intact. The boundary is documented where the layering rule already lives so the next person editing the template does not quietly relax it.
Close reason
Wrapped SOUL/Persona in an XML-escaped, trust=data block rendered before the invariant tags; added TestBuildSystemPromptSoulCannotOverrideInvariants; documented the enforcement in identity.md
Imported from beads archie-core-1786637490097-12-bf415ffb · GitHub #33 · type task · priority P2 · created 2026-08-08 · closed 2026-09-02
Enforce the boundary that makes SOUL safe to hand to users: it supplies identity and style, and cannot reach the instruction hierarchy, core rules, tool inventory or env block.
### Acceptance Criteria
A test renders a hostile SOUL that attempts to countermand core_rules and asserts the invariant sections are still present and intact. The boundary is documented where the layering rule already lives so the next person editing the template does not quietly relax it.
### Close reason
Wrapped SOUL/Persona in an XML-escaped, trust=data <soul> block rendered before the invariant tags; added TestBuildSystemPromptSoulCannotOverrideInvariants; documented the enforcement in identity.md
---
_Imported from beads `archie-core-1786637490097-12-bf415ffb` · GitHub #33 · type task · priority P2 · created 2026-08-08 · closed 2026-09-02_
sam
added the mediumtask labels 2026-10-27 13:36:43 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Enforce the boundary that makes SOUL safe to hand to users: it supplies identity and style, and cannot reach the instruction hierarchy, core rules, tool inventory or env block.
Acceptance Criteria
A test renders a hostile SOUL that attempts to countermand core_rules and asserts the invariant sections are still present and intact. The boundary is documented where the layering rule already lives so the next person editing the template does not quietly relax it.
Close reason
Wrapped SOUL/Persona in an XML-escaped, trust=data block rendered before the invariant tags; added TestBuildSystemPromptSoulCannotOverrideInvariants; documented the enforcement in identity.md
Imported from beads
archie-core-1786637490097-12-bf415ffb· GitHub #33 · type task · priority P2 · created 2026-08-08 · closed 2026-09-02