Repository navigation
[design] Prevent overlapping top-level pools - #129
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
matt-FFFFFF
approved these changes
Dec 1, 2026
matt-FFFFFF
deleted the
design/req-000017-root-overlap-09b89f7c4275f690
branch
December 1, 2026 20:03
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.
Summary
Design for Requirement 17: serialize root-pool overlap decisions in a versioned CAS registry under the existing
pools/storage prefix, integrate reservation lifecycle withCreatePoolandDeletePool, lazily bootstrap existing stores, add read-only doctor diagnostics, and document the publicoverlapconflict.The design retains the exact-pinned Go 1.27.3/Cobra stack and existing pool/allocation document schemas. The threat model rates the overall design medium risk; no authentication, authorisation, credential, dependency or backend change is introduced.
Artifacts
plan.md: CAS create/delete protocols, component boundaries, rollout and AC-to-proof map.research.md: code evidence, alternatives, adapted analyze passes A-D/F and design assumptions.data-model.md: root registry schema andpending/active/deletingtransitions.contracts/: public conflict, registry, lifecycle and doctor reporting contracts.decisions/: stack, root registry and lifecycle/migration ADRs.threat-model.md: authentication, authorisation, data exposure, input, secrets, audit and residual risk coverage.Decisions to confirm
CreatePoolorDeletePool; read-only operations and doctor never create it.activeroot.pendingthroughdeleting; only CAS-owned removal releases them.overlapfor an established same-family intersection.pending/deletingsnapshots as diagnostic uncertainty, while reporting confirmed active mismatch, missing membership and usable-root overlap as failures.pools/.root-registry.jsonas internal storage; its leading-dot basename cannot be a valid pool ID and retains the existingpools/*permission boundary.Open questions
No blocking questions.
Review focus
Confirm the registry lifecycle and rollout assumption, especially the requirement to quiesce older root-mutating clients. No product code or approved spec file is changed by this PR.
Agentic-Link: design #17