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
{{ message }}
Repository navigation
profile: emit LWS-CID-shaped @context and controller (#386 Phase A) #387
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
No verificationMethod triples (Phase B app populates these per-key)
No migration of existing pods (their profiles stay byte-identical; users opt in via Phase B)
Activity
profile: emit CID v1 controller + prep verificationMethod context (#386…