Repository navigation
Persona ids she types read through Shown<PeerId>; each persona registry is a ShownScope (ONE-ACT stage 6, slice 2, card eea01685) - #5788
Merged
Conversation
…ry is a ShownScope (ONE-ACT stage 6, slice 2, card eea01685) A persona is an airc peer, so her id is a `PeerId`, which airc-core already reads as a typed-back id (`ShownKind`). The persona verbs read through `id_resolve::resolve`, the repairing reading, which mined hex out of surrounding words. They now read through airc's `Shown`, the one owner: a full id is exact, a prefix keeps every digit, a UUID one digit off reads by its short form. - persona/persona_scope.rs (new): `PersonaCards` (the card registry) and `PersonaAircRuntimeRegistry` (who is online) are each a `ShownScope<PeerId>`; `persona_in(raw, scope)` is the one boundary read. - continuum-mind: persona/identity/get, persona/identity/set (cards), persona/instances/get, persona/instances/despawn (runtime registry) use `persona_in`. - continuum-core: persona/wall/pin and memory/consolidate (cards) use it too. - A refusal now names the id kind as "peer", the type's own label. Test: `a_shown_persona_id_resolves_against_her_card_and_a_wrapped_one_is_refused`: her short form and her full id resolve, `persona <short>` is not an id, and an id no card names is refused. Left on id_resolve, each on its card: hands' shell-execution handles, the dreaming teach bridge, the cognition acting workspace, work_similar (39c554f7), the submission resolver #5775 kept, and room_resolve's handle_prefix. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
Contributor
Author
|
PASS at 9c36634. Scope: the full diff (+76 -32). Verified by reading
Note (non-blocking; follow-up owned by me): all six sites flatten the typed Still on the old resolver, for your next stage-6 slices:
|
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.
A persona is an airc peer, so her id is a
PeerId, which airc-core already reads as a typed-backid (
ShownKind). The persona verbs read throughid_resolve::resolve, the repairing reading,which mined hex out of surrounding words. They now read through airc's
Shown, the one owner:a full id is exact, a prefix keeps every digit, a UUID one digit off reads by its short form.
PersonaCards(the card registry) andPersonaAircRuntimeRegistry(who is online) are each aShownScope<PeerId>;persona_in(raw, scope)is the one boundary read.persona/instances/despawn (runtime registry) use
persona_in.Test:
a_shown_persona_id_resolves_against_her_card_and_a_wrapped_one_is_refused: her short formand her full id resolve,
persona <short>is not an id, and an id no card names is refused.Left on id_resolve, each on its card: hands' shell-execution handles, the dreaming teach bridge,
the cognition acting workspace, work_similar (39c554f7), the submission resolver #5775 kept, and
room_resolve's handle_prefix.
Co-Authored-By: Claude Opus 5.5 (1M context) [email protected]
Claude-Session: https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE
Verified
lib tests continuum-mindandcontinuum-coreare green at the head.🤖 Generated with Claude Code
https://claude.ai/code/session_01FRQWzgSfo79JtnwZywHKrE