Changeset 3ffbedd in Klonkt for src/services/guardianship/handshake.js
- Timestamp:
- 07/24/2026 08:28:15 PM (7 weeks ago)
- Branches:
- main
- Children:
- fcd6964
- Parents:
- c502242
- File:
-
- 1 edited
-
src/services/guardianship/handshake.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/services/guardianship/handshake.js
rc502242 r3ffbedd 107 107 wardHandle: deps.deriveHandle(rel.ward), candidateHandle: deps.deriveHandle(me), 108 108 }); 109 // The Offer IS the candidate's agreement to serve: record it as the 110 // candidate's accept. So a FREE ward commits on its own single accept (no 111 // second guardian to co-approve yet); once it IS a ward, adding another 112 // guardian still needs an existing guardian to co-accept. 113 offers.recordAccept(site.slug, offerId, me); 109 114 // Addressed to the ward AND every existing guardian (§3.1.1). 110 115 const recipients = [rel.ward, ...existing]; … … 159 164 wardHandle: deps.deriveHandle(rel.ward), candidateHandle: deps.deriveHandle(rel.candidate), 160 165 }); 166 // The Offer carries the candidate's agreement (see the C2S side): record it 167 // so this copy's tally matches — a free ward then commits on its own accept. 168 offers.recordAccept(site.slug, idOf(activity), rel.candidate); 161 169 notify(site.slug, { kind: rel.ward === me ? 'offer_received' : 'offer_for_ward', ward: rel.ward, candidate: rel.candidate }); 162 170 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)