Skip to main content

Module sheaf

Module sheaf 

Source
Expand description

Sheaves, stalks, simplex, and topological tears (T47–T50).

These are the geometric structures for agent context isolation and consistency. They map topological concepts to the VibeScript runtime:

  • Stalk (T47): An isolated snapshot of agent context — a pointer, not a copied transcript. Contains a PoetSnapshot reference, a capability lease, and a pulse topic prefix.
  • Sheaf condition (T48): A Pure predicate checked at commit of staged deltas. Failure is a diagnostic, not an exception unwind.
  • Simplex (T49): A named record of jointly-required cells/graph shapes. Missing a member ⇒ load or commit reject.
  • Topological tear (T50): A diagnostic + evidential (μ, λ) on a sealed receipt. Quarantine context is a host routing decision.

Reference: docs/vibescript-full-impl-PLAN.md §8.10 T47–T50.

Structs§

CechCover
An open cover consisting of local sections.
LocalSection
A local section of a sheaf over open set / simplex U_i.
SheafCondition
A sheaf condition — a Pure predicate checked at commit (T48).
Simplex
A simplex — a named record of jointly-required cells/graph shapes (T49).
Stalk
A stalk — an isolated agent context (T47).
TopologicalTear
A topological tear — a diagnostic + evidential (μ, λ) on a sealed receipt (T50).

Enums§

SheafResult
Result of checking a sheaf condition at commit.