Skip to content

feat(source): tags in the typed persona schema and selection corpus#19

Merged
Ghost-Frame merged 1 commit into
mainfrom
feat/persona-toml-tags
Jul 6, 2026
Merged

feat(source): tags in the typed persona schema and selection corpus#19
Ghost-Frame merged 1 commit into
mainfrom
feat/persona-toml-tags

Conversation

@Ghost-Frame

Copy link
Copy Markdown
Owner

persona.toml gains an optional tags list mirroring pack.toml, and PersonaProfile::from_source folds it into the selection keyword corpus -- typed-source personas now get the same tag-biased selection as the pack.toml/AGENTS.md path.

  • Additive schema change: old persona.toml files parse unchanged (serde default), empty tags serialize to nothing.
  • Canonical pack hashes unaffected (hashing is over raw file bytes).
  • Covered by the enriched serialization roundtrip and a new from_source keyword test.

🤖 Generated with Claude Code

persona.toml gains an optional tags list mirroring pack.toml. from_source
folds tags into the PersonaProfile keyword corpus so typed-source personas
get the same tag-biased selection as pack.toml/AGENTS.md personas. Old
files without tags parse unchanged; canonical pack hashes are unaffected
(hashing is over raw file bytes).
@Ghost-Frame
Ghost-Frame merged commit b9b20cd into main Jul 6, 2026
5 checks passed
@Ghost-Frame
Ghost-Frame deleted the feat/persona-toml-tags branch July 6, 2026 16:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant