Skip to content

groove: adopt the Ranked-Ownership Cleave spec (B2 cleave) — closes #386#481

Merged
hyperpolymath merged 2 commits into
mainfrom
groove/ranked-ownership-cleave-spec
Jul 11, 2026
Merged

groove: adopt the Ranked-Ownership Cleave spec (B2 cleave) — closes #386#481
hyperpolymath merged 2 commits into
mainfrom
groove/ranked-ownership-cleave-spec

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

What

Adopts the canonical Groove Ranked-Ownership Cleave spec — the discipline by which a groove connection closes cleanly and provably leaves zero residue (). Closes the gap #386 identified (standards had no canonical groove teardown spec, only the T2-high harness template).

  • groove-protocol/spec/GROOVE-RANKED-OWNERSHIP-CLEAVE-SPEC.adoc — v0.2.0-draft.1, Internet-Draft style, covering the B2 (live-governance / lifecycle-residue) layer only.
  • groove-protocol/README.adoc — the cleave-surface layering (A / B1 / B2 / C1 / C2) + spec index.
  • Pointer added from the superseded groove-browser-harness.md.

The spec (per #386's outline)

  • Two well-founded measuresoccupancy (renewable lease, down-on-connect) and discharge (down-on-release, = zero residue).
  • Cycle-freedom from well-foundedness of the owns relation itself → ownership cycles unrepresentable → underwrites no-GC/no-refcount.
  • Edge classificationowns=linear let! / borrow=affine let / observe|peer=unrestricted; only owns enters the residue proof.
  • Partial-order fidelity (children-before-parent; Dershowitz–Manna multiset, LIFO only the degenerate case), ordinals only static-at-connect (ε₀+ forbidden), joint completion + survivor-owns-the-wipe rupture policy.
  • 13 normative invariants RC-1RC-13, each with a falsifier — drops into the RC-N/falsifier respec idiom for a contractile/k9 checker.

Provenance corrections folded in (verified against the gossamer tree)

  • Host proof = ResourceCleanup.idr (not GrooveTermination.idr — that's connect-side bounded-length).
  • owns is linear, not affine.
  • Graph invariants (RC-1/RC-9/RC-12) are vacuously satisfied today (flat groove array, no owns graph) — the caveat is retained in §10 so a green checker isn't mistaken for a real guarantee.

Addresses hyperpolymath/gossamer#82 item 6 (B-layer normative doc). Closes #386.

🤖 Generated with Claude Code

hyperpolymath and others added 2 commits July 11, 2026 09:34
…s#386

Canonical normative spec for groove teardown: the discipline by which a groove
connection closes cleanly and provably leaves zero residue (⊥). Covers the B2
(live-governance / lifecycle-residue) layer only.

- groove-protocol/spec/GROOVE-RANKED-OWNERSHIP-CLEAVE-SPEC.adoc — v0.2.0-draft.1:
  two well-founded measures (occupancy = renewable lease; discharge = residue→⊥),
  cycle-freedom from well-foundedness of `owns`, edge classification
  (owns=linear / borrow=affine / observe|peer=unrestricted), partial-order
  fidelity (children-before-parent; Dershowitz–Manna multiset), ordinals only
  static-at-connect (ε₀+ forbidden), joint completion + survivor-owns-the-wipe
  rupture policy, and 13 normative invariants RC-1…RC-13 each with a falsifier.
- groove-protocol/README.adoc — cleave-surface layering (A/B1/B2/C1/C2) + index.
- Pointer from the superseded groove-browser-harness template.

Provenance corrections folded in (verified against the gossamer tree): host proof
is ResourceCleanup.idr (not GrooveTermination.idr); `owns` is linear not affine;
the graph invariants are VACUOUSLY satisfied today (flat groove array, no owns
graph) — a green checker is not yet a real guarantee. Addresses gossamer#82 item 6.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@hyperpolymath hyperpolymath merged commit 9167d54 into main Jul 11, 2026
17 checks passed
@hyperpolymath hyperpolymath deleted the groove/ranked-ownership-cleave-spec branch July 11, 2026 09:41
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adopt canonical Groove 'Ranked-Ownership Cleave' (B-layer cleave) spec

1 participant