First concrete step for #386 (LWS-aligned profile-to-key linking).
Phase A is the smallest possible delta: make new pod profiles structurally LWS-CID conformant, with no keys yet. Keys are added separately via a Phase B standalone app that PATCHes the profile after authentication.
Scope
src/webid/profile.js only. ~15–25 LOC.
| # |
Change |
| 1 |
@context switches from {} to array form [..., {}] with https://www.w3.org/ns/cid/v1 as the first entry. Existing inline prefix object stays — all current predicates parse identically. |
| 2 |
Emit "controller": "<webId>" triple — declares self-control per CID v1, even with no keys yet. |
| 3 |
Add 2 assertions to existing profile-generation tests. |
Explicitly out of scope
Refs
First concrete step for #386 (LWS-aligned profile-to-key linking).
Phase A is the smallest possible delta: make new pod profiles structurally LWS-CID conformant, with no keys yet. Keys are added separately via a Phase B standalone app that PATCHes the profile after authentication.
Scope
src/webid/profile.jsonly. ~15–25 LOC.@contextswitches from{}to array form[..., {}]withhttps://www.w3.org/ns/cid/v1as the first entry. Existing inline prefix object stays — all current predicates parse identically."controller": "<webId>"triple — declares self-control per CID v1, even with no keys yet.Explicitly out of scope
verificationMethodtriples (Phase B app populates these per-key)Refs