You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore(persona): take trust-tasks 0.17.1, where a resolved entry is a projection
`@openvtc/trust-tasks` 0.16.11 -> 0.17.1, and `task-surface.json` resynced to
vta-sdk 0.33.0.
The change that reaches a caller is `persona/profile/get`'s `resolved` array,
retyped from the pool `Attribute` to `ResolvedClaim` (dtgwg-trust-tasks-tf#370).
`attributeId`, `version` and `updatedAt` are OPTIONAL on a resolved entry, and
their absence is the whole distinction: it says the value is `inline`, held in
one profile with no pool record behind it. Under the old type all three were
required, so a conforming agent could not describe such a profile at all — it
had to choose between synthesising an `attributeId`, a false claim about where
a value lives, and omitting the entry, which returns a profile that appears to
present less than it does.
No source change was needed. `personaProfileGet` returns the generated response
type, and the console's `ResolvedProfile` was already written against the
corrected shape — it renders "held only here" on `claim.attributeId ===
undefined`, a branch the old type made unreachable by construction.
So the test keys on the generated schema, not on this library's behaviour: it
asserts `resolved.items` is `#/$defs/ResolvedClaim` and that the three pool
members are absent from its `required`. Checked against 0.16.11, where both
assertions fail. Asserting the console's rendering instead would have passed
against either version, which is the shape VTI#1258 got wrong.
The surface itself did not move: the same 226 URIs at vta-sdk 0.33.0 as at
0.32.3, 24 of them `persona/*`, all 24 implemented here. VTI's breaking ACL
change in that window (#1279) narrows what an entry may do without adding a
task or a schema member — capabilities travel in `ext` as
`org.openvtc.capabilities`, which this library does not yet set, and which the
surface check cannot see.
Copy file name to clipboardExpand all lines: packages/core/task-surface.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
"$comment": "Generated by scripts/sync-task-surface.mjs from a vta-sdk checkout. Do not hand-edit: re-run the script. Checked by tests/task-surface.mjs.",
0 commit comments