docs(adr): define decentralization roadmap and trust boundaries - #65
Merged
Conversation
Add ADR-012, the accepted architecture record that issue #32 asks for: role vocabulary, per-role trust and threat model, a per-class data classification with a target placement column, cross-cutting guarantees (finality, conflict resolution, replay, data availability, erasure, key recovery), a five-stage migration mapped onto the v3.0-v6.0 milestones, and the table of follow-up ADR gates each stage still requires. ADR-012 authorizes no implementation by itself. Its purpose is to make milestones v3.0 through v6.0 plannable: every issue there was silently blocked by AGENTS.md's absolute prohibition list with no ADR to point at. AGENTS.md now separates prohibitions that no ADR lifts (hard-coded secrets, contract changes without consumer analysis, detailed metrics or tenant data on-chain) from those gated on a named follow-up ADR. No rule is weakened; the security, contract, and runtime rules are unchanged. ROADMAP.md is extended from v1.0 to v6.0 so it matches the GitHub milestones, and states that it and the milestones are the source of truth over architecture.md and architecture_review.md. Refs #32 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
ROADMAP.md said "Leases and Rewards End-to-End" while the milestone is "v0.3 — Leases and Rewards E2E". Every other heading in the file now matches its milestone verbatim; this was the last one that did not. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This was referenced Aug 6, 2026
…alization-roadmap
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Milestones v3.0 → v6.0 describe the decentralized P2P cloud this project is aiming at, but none of it was implementable.
AGENTS.md's "Prohibited Changes" section bans "another database, direct Agent-to-chain access, runtime orchestration" in absolute terms — which is exactly what #50, #53, #56, #33, #58 and #59 require. The stated escape hatch is "every architecture change requires an ADR", and there was no ADR to point at. Issue #32 asks for that ADR and states that no architecture implementation starts before it is accepted.Behavior
Documentation only. No code, origin, storage item, or contract changes.
docs/adr/012-decentralization-roadmap-and-trust-boundaries.md(new) — follows the structure of ADR-011:LastProofSequence+ deadline pattern rather than inventing a new one), data availability, erasure/GDPR, key rotation and recovery.AGENTS.md— adds a short Staged Architecture section pointing at ADR-012, and splits the prohibition list into prohibitions no ADR lifts (hard-coded secrets, contract changes without consumer analysis, detailed metrics or tenant data on-chain) and prohibitions gated on a named ADR. No rule is weakened: the Security, Integration and Contract, and Working Method sections are byte-identical, and the frozen architecture stays frozen — it just has documented doors.ROADMAP.md— extended from v1.0 to v6.0 to match the ten GitHub milestones, each with its issues and its ADR gate. States that ROADMAP.md and the milestones are the source of truth overarchitecture.md/architecture_review.md, which carry an older conflicting numbering.Affected components
None at build time. This constrains future work in
blockchain/,control-plane/,provider-agent/, andprotocol/.Relationship to existing ADRs
Rollback
Revert the commit. No migration, no storage change, no generated code.
Verification
file:linecitation in the ADR was read and confirmed against the source:AGENTS.md:15,19,23,35;blockchain/runtime/src/lib.rs:160-161,208,219,241,316;blockchain/pallets/availability/src/lib.rs:102-105,308,350,373;control-plane/migrations/000004_workloads.sql;control-plane/internal/wireguard/wireguard.go;control-plane/internal/dashboard.gh api repos/:owner/:repo/milestones(one pre-existing cosmetic difference left alone: ROADMAP says "v0.3 — Leases and Rewards End-to-End", the milestone says "E2E").git show --statconfirms no source file is in the diff.Refs #32
🤖 Generated with Claude Code