AAnvio
Reference ArchiveSource Docs

Soul Gate (Phase G)

Enforces harness policy from Hermes/slaude-style **SOUL.md** — trust boundaries, approvers, allowed channels.

1 min read

This is a migrated reference document from the original Anvio source repo. Content is preserved as-is; canonical documentation lives in the sections above in the sidebar.

Original path: docs/42-soul-gate.md

Enforces harness policy from Hermes/slaude-style SOUL.md — trust boundaries, approvers, allowed channels.

Import & validate

anvio soul import path/to/SOUL.md
anvio soul validate-policy path/to/SOUL.md

parseSoulMd (regex-first) extracts policy fields:

SectionPolicy field
Identityname, role, voice
Reportingmanager, backup
Allowed channelsallowedZones
Trusted channelstrustedZones
BlockedblockedUsers
Approversapprovers
RedactionredactPatterns
Mandatemandate

Verified policies are cached under workspace/souls/_cache/.

Soul identity vs policy

FilePurpose
souls/<slug>/SOUL.mdIdentity layer (values, personality, goals) — Hermes-style
Root or channel SOUL.mdPolicy gate for harness (slaude-style)

Both formats are markdown. YAML souls remain supported for legacy workspaces.

Edit on GitHub

Last updated on

On this page