feat(persona): who holds an old value, where an edit landed, what a context may call a face - #264
Merged
Merged
Conversation
…ontext may call a face Uses the persona lifecycle members published in @openvtc/trust-tasks 0.19.13 (trustoverip/dtgwg-trust-tasks-tf#533), served by the agent from OpenVTC/verifiable-trust-infrastructure#1597. Released view: each disclosed claim says whether it is still current (claimCurrency). Above the table, the parties holding a value the holder has since changed -- grouped by verifier, context and persona, and decided by the latest disclosure to each, so a party already sent the new value is not listed. `removed` is kept apart from `changed`: there is nothing newer to send. `unknown` (an older agent, or a record from before fingerprints) is never read as current. disclosure-currency.ts holds the model; the pane only draws. Attribute save: says where the edit landed -- places and contexts refreshed, and faces that pin the earlier value -- from the agent's refreshed / heldByPin. An older agent's answer claims nothing. Wearing a face: a field for what the context may call it, with copy that the context never sees the holder's own name for the face. The form loads the existing label, because binding/set replaces and a face change would otherwise clear it; a rendered test pins that and fails without it. personaBindingSet gains `label`. @openvtc/trust-tasks requirement raised to ^0.19.13 at the root and in core so one copy is installed. The lockfile is edited for that one package only; a local npm re-resolve dropped the libc fields of the native optional dependencies, which Linux CI relies on. Signed-off-by: Glenn Gore <glenn.g@affinidi.com>
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.
Adds UI for the persona lifecycle fields published in
@openvtc/trust-tasks0.19.13 (trustoverip/dtgwg-trust-tasks-tf#533). The agent side is OpenVTC/verifiable-trust-infrastructure#1597. Against an agent without that change, the new fields are simply absent and every screen falls back to saying nothing new.Released
removedis kept separate fromchanged. There's nothing newer to send, and the verifier keeps what it received.unknownis never shown as current. It comes from an older agent or a record made before fingerprints existed.manager/disclosure-currency.ts. The pane only draws.Attribute save
refreshed/heldByPin: how many places and contexts now show the new value, and how many faces pin the earlier one.accentunless it also carries a correlation warning.Wearing a face
binding/setreplaces the whole binding, so a face change would otherwise wipe the label. A rendered test pins this; I checked it fails with the load removed.personaBindingSetgainslabel.Dependency
@openvtc/trust-tasksis raised to^0.19.13at the root and in core, so only one copy is installed. The lockfile changes that one package and nothing else. A local npm re-resolve had dropped thelibcfields on native optional dependencies, which Linux installs use to pick the right native package, so I edited it by hand and checked it withnpm ci.Checks
npm run lintnpm test: 1536 passed, 0 failed. New:manager-disclosure-currency.test.mts(5 tests)labelpayload testnpm run build