[claude] SOUL.md Framework — template, authoring guide, versioning (#854) #1327
Reference in New Issue
Block a user
Delete Branch "claude/issue-854"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #854
What this PR does
Formalizes the SOUL.md framework that defines agent identity, values, and prime directive.
New files
docs/soul/SOUL_TEMPLATE.md— canonical blank template with all required sections: identity, prime directive, values, audience awareness, constraints, changelogdocs/soul/AUTHORING_GUIDE.md— section-by-section authoring guide with conflict-test methodology, review checklist, community agent rules, and soul-gap filing instructionsdocs/soul/VERSIONING.md— semver versioning scheme (MAJOR/MINOR/PATCH rules), lineage tracking viaextendsfield, identity snapshots on MAJOR version bumpsdocs/soul/extensions/seer.md— research/cartography specialist souldocs/soul/extensions/mace.md— security/threat-intel specialist souldocs/soul/extensions/forge.md— software engineering specialist souldocs/soul/extensions/quill.md— documentation/writing specialist souldocs/soul/extensions/echo.md— memory recall specialist souldocs/soul/extensions/helm.md— workflow orchestration specialist soulscripts/validate_soul.py— validator: required sections, semver format, frontmatter completeness, constraint/value counts, changelog presence, placeholder detection, contradiction heuristicsUpdated files
memory/self/soul.md— bumped to v1.1.0; added versioning frontmatter; restructured into the canonical SOUL.md section formatValidation
All 7 soul files pass
python3 scripts/validate_soul.py. 678 unit tests green.- Add docs/soul/SOUL_TEMPLATE.md: canonical blank template with all required sections (identity, prime directive, values, audience awareness, constraints, changelog) and inline authoring guidance - Add docs/soul/AUTHORING_GUIDE.md: section-by-section guide, conflict test, review checklist, community agent rules, and soul-gap filing instructions - Add docs/soul/VERSIONING.md: semver scheme (MAJOR/MINOR/PATCH rules), lineage via 'extends' field, identity snapshots on MAJOR bumps - Add docs/soul/extensions/{seer,mace,forge,quill,echo,helm}.md: role-specific soul extensions for all six primary swarm specialists - Add scripts/validate_soul.py: validator that checks required sections, frontmatter completeness, semver format, constraint count, value count, changelog presence, placeholder detection, and contradiction heuristics - Update memory/self/soul.md: add versioning frontmatter (v1.1.0), restructure into the canonical SOUL.md section format All 7 soul files pass validate_soul.py. 678 unit tests green. Fixes #854 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>