Repository navigation
docs(adr): record operator safety obligations at onboarding (#825) - #1023
Conversation
Resolve the missing-decision in #825 by recording an operator-safety duty in ADR 019 rather than leaving CSAM/illegal-content screening wholly discretionary — without adding any on-chain content gate. - ADR 019: new § Operator Safety Obligations. Acknowledged duty accepted at registration via an in-binary terms clickwrap; the accepted termsHash is carried in the registration signature and recorded by a TermsAccepted event. currentTermsHash is a DAO-controlled parameter (DecdnGovernor + timelock), enforced at registration, registration-time-only for cache nodes. Terms are globally applicable via three layers (acknowledge applicable law / region-route via regionHint / universal knowledge-triggered floor); mechanism specifics stay out of the hashed text. Two compliance paths (cache nodes + optional pull_through_require_authorized_origin; DAO origins + optional continued-compliance). Record is assent, not proof of compliance. - ADR 011: the perceptual-hashing off-protocol note now points at ADR 019 instead of dead-ending. - ADR 037: name the authorized-origin gate as the recognized cache-operator compliance posture. The terms text itself, the contract surface (termsHash in the EIP-712 BindNodeId struct, TermsAccepted event, governance setter), and the CLI consent flow land in follow-up PRs. Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
✅ Files skipped from review due to trivial changes (2)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughThree ADRs are updated to formalize operator safety obligations. ADR 019 adds a new "Operator Safety Obligations" section specifying ChangesOperator Safety Obligations across ADRs
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Code Review
This pull request updates several Architecture Decision Records (ADRs) to introduce and define 'Operator Safety Obligations' during node onboarding, establishing an on-chain record of operator assent to terms without introducing content primitives to the protocol. Feedback on these changes highlights a broken Markdown link in the proxy warming ADR and suggests addressing potential compliance drift by incorporating a change of terms clause and clarifying the DAO's authority to eject operators who fail to comply with updated terms.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
There was a problem hiding this comment.
Pull request overview
This PR updates the ADR documentation to record operator safety obligations as part of node onboarding, while keeping the underlying protocol content-agnostic (no on-chain content gate). It adds a new decision section to the onboarding ADR and connects related ADRs to that decision for cross-ADR consistency.
Changes:
- Add ADR 019 § Operator Safety Obligations, describing registration-time terms acceptance (hash-recorded assent) and governance-controlled terms versioning.
- Update ADR 011 to point the off-protocol perceptual hashing/operator-duty note to ADR 019 instead of leaving it discretionary.
- Update ADR 037 to explicitly recognize the authorized-origin pull-through gate as a compliance posture referenced by ADR 019.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| adr/019-node-onboarding.md | Adds a new “Operator Safety Obligations” section and references terms acceptance as part of registration. |
| adr/011-content-takedown.md | Updates perceptual-hashing note to reference onboarding-recorded operator duties. |
| adr/037-regional-proxy-warming.md | Extends the pull-through authorized-origin gate discussion to reference ADR 019’s compliance posture. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@adr/011-content-takedown.md`:
- Line 345: The operator-obligation paragraph in the perceptual hashing section
conflates CSAM and NCII references. Update the sentence near the perceptual hash
discussion to split the off-chain database examples: use the appropriate CSAM
program for NCMEC, and mention StopNCII separately only for NCII, keeping the
reference in ADR 019’s operator safety obligations context.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: b1c63fd4-7374-47c2-b23b-48e7718e4610
📒 Files selected for processing (3)
adr/011-content-takedown.mdadr/019-node-onboarding.mdadr/037-regional-proxy-warming.md
- ADR 037 / ADR 011: fix broken ContentBlacklist anchor (#adr-011-content-takedown-and-hash-blacklisting) and stop conflating CSAM (NCMEC) with NCII (StopNCII) in the perceptual-hashing note. - ADR 019: clarify that registration-time-only on-chain enforcement does not freeze obligations — operators are bound to governance-adopted terms revisions and governance may act on breach of the current terms regardless of the recorded termsHash. - ADR 019 Step 2.3: signpost that the BindNodeId termsHash extension and TermsAccepted event are specified with the contract change (ADR 003); this step shows the pre-extension surface. Co-Authored-By: Claude Opus 4.8 <[email protected]>
Resolves #825 — records the missing decision rather than leaving operator CSAM/illegal-content screening wholly discretionary, while keeping the protocol content-agnostic (no on-chain content gate).
What this PR does (ADR decision only)
termsHash = keccak256(termsText)is carried in the registration signature and recorded by aTermsAcceptedevent.currentTermsHashis a DAO-controlled parameter (DecdnGovernor+ timelock, no owner path), enforced at registration, registration-time-only for cache nodes (a later hash bump binds new registrants; prior assent stands). Terms are globally applicable via three layers — acknowledge applicable law / region-route viaregionHint/ universal knowledge-triggered floor — with jurisdiction-specific mechanism guidance kept out of the hashed text. Two compliance paths: cache nodes (+ optionalpull_through_require_authorized_origin) and DAO-authorized origins (+ optional continued-compliance). The on-chain record is assent, not proof of compliance.Decisions recorded
termsHashat registration;currentTermsHashDAO-controlled (no[floor,ceiling]rail — the rail is the governance norm that each proposal references the document + its review record).Deliberately out of scope (follow-ups)
TERMS.mdv1 draft) — separate PR, routed to counsel viainternalafter merge.termsHashin the EIP-712BindNodeIdstruct (typehash bump),TermsAcceptedevent,setCurrentTermsHashgovernance setter — lands with companion edits to ADR 003 / ADR 016 / ADR 019 Step 2.3 so the canonical surface stays consistent.decdn node register/decdn setupdisplay + explicit approval + submit.OriginAssignmentauthorization on acceptance.Open decision still pending: tier-1-only vs. building tier-2 origin teeth (does not block this ADR).
🤖 Generated with Claude Code
Summary by CodeRabbit