Repository navigation
feat(persona): PersonaSpec projection aggregator + pronouns — coherence made explicit (genesis convergence slice) - #1864
Merged
Conversation
…ce made explicit (genesis convergence slice) Third slice of PROCEDURAL-PERSONA-GENESIS (#1861), after the avatar (#1862) + voice (#1863) coherence fixes. Until now each facet re-derived gender independently at its consumption site — coherence held only because every call happened to use the same `"gender"` salt. This makes it EXPLICIT + converges it: - `persona/projection.rs`: `project_persona(persona_id) -> PersonaSpec` draws gender ONCE and threads it as the spine, emitting one coherent bundle `{persona_id, agent_name, gender, pronouns, avatar_id, voice_seed}`. Pure + deterministic — same id → identical spec forever (the Tamagotchi property: unique per user, stable per persona). The single seam the scattered `*_from_identity` calls can migrate onto. - `live/avatar/gender.rs`: `PronounSet` + `pronouns_for_gender` — the anticipated task #142 facet, derived FROM gender so pronouns always agree (she/her, he/him; they/them a universal alias). Binary today (the catalog is Male/Female); Neutral is a future slice needing neutral avatars/voices/names. Verified: `persona_spec_is_coherent_and_deterministic` — 500 personas, avatar gender == spec gender, pronouns match gender, voice seeded on identity, spec identical across repeated calls. Next slices: migrate consumers onto PersonaSpec, cache into a PersonaSeedFile::V2 (stability + human override), then the model-provisioning SSoT + gender-tagged avatar-download catalog. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Third slice of PROCEDURAL-PERSONA-GENESIS (#1861), after the avatar (#1862) + voice (#1863) coherence fixes.
Until now each facet re-derived gender independently at its consumption site — coherence held only because
every call happened to use the same
"gender"salt. This makes it EXPLICIT + converges it:persona/projection.rs:project_persona(persona_id) -> PersonaSpecdraws gender ONCE and threads it asthe spine, emitting one coherent bundle
{persona_id, agent_name, gender, pronouns, avatar_id, voice_seed}.Pure + deterministic — same id → identical spec forever (the Tamagotchi property: unique per user, stable
per persona). The single seam the scattered
*_from_identitycalls can migrate onto.live/avatar/gender.rs:PronounSet+pronouns_for_gender— the anticipated task Build(deps-dev): Bump @typescript-eslint/parser from 8.29.1 to 8.46.1 #142 facet, derivedFROM gender so pronouns always agree (she/her, he/him; they/them a universal alias). Binary today (the
catalog is Male/Female); Neutral is a future slice needing neutral avatars/voices/names.
Verified:
persona_spec_is_coherent_and_deterministic— 500 personas, avatar gender == spec gender, pronounsmatch gender, voice seeded on identity, spec identical across repeated calls. Next slices: migrate consumers
onto PersonaSpec, cache into a PersonaSeedFile::V2 (stability + human override), then the model-provisioning
SSoT + gender-tagged avatar-download catalog.
Co-Authored-By: Claude Opus 4.8 [email protected]
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo