Skip to content

[spec] prevent overlapping top-level pools - #128

Merged
matt-FFFFFF merged 2 commits into
mainfrom
spec/spec-draft-req-000017-prevent-overlapping-top-level-pools-ce44f86a9744af07
Dec 1, 2026
Merged

matt-FFFFFF merged 2 commits into
mainfrom
spec/spec-draft-req-000017-prevent-overlapping-top-level-pools-ce44f86a9744af07

Conversation

@appvia-agentic-writer

@appvia-agentic-writer appvia-agentic-writer Bot commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Adds the draft functional specification for preventing overlapping root pools in the same store and address family. The spec covers create-time rejection, concurrent creates, caller-visible outcomes, legacy diagnostics and documentation, with measurable acceptance criteria and an explicit scope boundary. A redraft correction now requires legacy stores with existing roots but no overlap-protection state to establish that state when updated without disturbing usable roots.

Requirement: #17

Decisions to confirm

  • ASM-1: Reject overlapping root-pool creation rather than relying only on ipam doctor.
  • ASM-2: For concurrent overlapping creates, allow at most one proposed pool to become usable.
  • ASM-3: Treat equal, nested, enclosing and partial canonical CIDR intersections as overlap; adjacent CIDRs are not overlap.
  • ASM-4: Compare only root pools in the same store and address family.
  • ASM-5: Expose overlap rejection as a stable, caller-distinguishable conflict separate from unrelated conflicts.
  • ASM-6: ipam doctor reports pre-existing overlap and protection-state inconsistency without modifying data.
  • Accepted correction R3: When a legacy store with usable roots and no overlap-protection state is updated, create that state from the existing roots and preserve their usability.
  • Open blockers: None.

Open questions

None.

Verification

  • The specification is 106 lines.
  • All 16 acceptance criteria use testable Given/When/Then form with stable AC-n identifiers.
  • All 4 non-functional requirements include a number and unit.
  • The change is limited to specs/**.

Merging this pull request confirms the assumptions above.

Generated by spec-draft · copilot · mai20 · ~14 AIC · ⌖ ~1 AIC · ⊞ 33.8K · ◷

Agentic-Link: spec #17

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@appvia-agentic-writer
appvia-agentic-writer Bot requested review from a team as code owners December 1, 2026 17:59
@appvia-agentic-writer appvia-agentic-writer Bot added the origin:agent Marks issues that an agent created, for audit and metrics. label Dec 1, 2026

@matt-FFFFFF matt-FFFFFF left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When an existing store that contains existing root pools, but does not have a root document, is updated. The root index document is created.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@appvia-agentic-writer

Copy link
Copy Markdown
Contributor Author

Commit pushed: 0671a87

Generated by spec-draft · copilot · mai20 · ~14 AIC · ⌖ ~1 AIC · ⊞ 33.8K

@matt-FFFFFF
matt-FFFFFF merged commit 791b707 into main Dec 1, 2026
7 checks passed
@matt-FFFFFF
matt-FFFFFF deleted the spec/spec-draft-req-000017-prevent-overlapping-top-level-pools-ce44f86a9744af07 branch December 1, 2026 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

origin:agent Marks issues that an agent created, for audit and metrics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant