GNU AGPLv3 • MODAL BOX ATTESTED (&Box;) • ZERO-DEPENDENCY PYTHON CORE

Sweetbrier Node (sweetbrier-node)

Deterministic Augmented Intelligence (AuI), Categorical Modal Verification (&Box;), Real-Asset Fiduciary Clearing, and the NF-11 Francotrope cross-border ledger engine. Built on a simple premise: Dignity requires structural teethβ€”so every proposition, delegation mandate, and transaction must pass three deterministic gates before commitment to state.

Node 0 β€” Human Dignity

Primary invariant. Enforces non-coercion, explicit mutual consent, and a strict Zero-PII safety floor (ObbSafetyFloor). The machine serves the person in perpetuity.

Node 1 β€” Phenomenological Truth

Epistemic invariant. Rejects phantom invoices, synthetic claims, and unbacked compounding usury via SHA-256 provenance (ObbLibraryLedger) and tangible collateral proofs.

Node 2 β€” Subsidiarity & Reversibility

Operational invariant. Runs at the most local charter scope possible and guarantees 100% bilateral atomic rollback (ObbUndoEngine.undo()).

0. Plain-English Guide (No Math PhD Required)

Nobody knows terms like "Scott-sober meet-continuous product lattice" off the top of their headβ€”and the underlying engineering idea is actually super simple: you solve computer programming problems by having clear, non-leaky standards for computer programs.

0.5. The Flowchart Mandate: Live Mermaid Blueprints (Public Good)

Every substantial module in sweetbrier-node starts as a Mermaid.js flowchart before a single line of implementation code is written. Below are two live architectural diagrams (rendered cleanly as zero-JS SVG) along with their copy-pasteable Mermaid source for GitHub, Obsidian, or mermaid.live:

Diagram A β€” The Sweetbrier Master DAG (3-Gate Pipeline)

Raw Proposal (P) Node 0: Dignity Consent & Zero-PII Node 1: Truth SHA-256 Provenance Node 2: Undo Local & Reversible Verified β–‘P State
πŸ“‹ Show Copy-Paste Mermaid Source (Diagram A)
flowchart LR
    P["Raw Proposal (P)"] --> N0["Node 0: Human Dignity<br/>Consent & Zero-PII"]
    N0 --> N1["Node 1: Truth<br/>SHA-256 Provenance"]
    N1 --> N2["Node 2: Reversibility<br/>Local & 1-Click Undo"]
    N2 --> BOX["Verified State (β–‘P)"]

Diagram B β€” Lattice Diamond (Why Modules Compose Without Ghost States)

Unique Merge (A ∨ B) Agent A State (β–‘A) Agent B State (β–‘B) Common Ground (A ∧ B)
πŸ“‹ Show Copy-Paste Mermaid Source (Diagram B)
flowchart TD
    JOIN["Unique Merge (A ∨ B)"] --- A["Agent A State (β–‘A)"]
    JOIN --- B["Agent B State (β–‘B)"]
    A --- MEET["Common Ground (A ∧ B)"]
    B --- MEET

1. Foundations Lab: ZFC vs. Morse-Kelley (MK) + (A = A) vs. ZFC + 1 Inaccessible Cardinal

How do different formal set-theoretic foundations affect LLM coding agents, RLVR (Reinforcement Learning with Verifiable Rewards), implicit state machines, and epistemic guardrails (DO NOT LIE) under adversarial pressure? RLVR breaks whenever a verifier leaves ghost states or unpinned definitions that an RL policy can reward-hack. Below are the live deterministic results from sweetbrier_repo/benchmarks/foundations_benchmark.py (SHA-256 Seal: d841043f7ad635ae4ae27a24...):

Foundation Core Axiom Posture Benchmark Pass Rate Ghost-State Leaks Extra Math Baggage
(1 = Leanest, 3 = Heaviest)
ZFC Sets only; Axiom of Foundation + non-constructive Axiom of Choice. 0 / 5 (0.0%) 3 leaks 2.0 / 3.0
Morse-Kelley (MK) + (A = A) Proper classes with impredicative comprehension + pinned reflexive identity (A = A). Leanest minimal-assumption winner. 5 / 5 (100.0%) 0 leaks 1.0 / 3.0
ZFC + 1 Inaccessible Cardinal Grothendieck universe V_κ (strictly stronger consistency strength: proves Con(MK)), but inherits non-constructive Choice unless stripped. 4 / 5 (80.0%) 0 leaks 3.0 / 3.0