Unclassified

02 · Spine Fabric

The central fabric that maintains canonical truth, organizational memory, context, and continuity across the entire operating loop

The central fabric. Not merely a database.

Spine Fabric is the single source of truth that all other layers read from and write to. It maintains canonical business memory and operational continuity. It is what makes the loop continuous rather than episodic.

                    SPINE FABRIC


 ┌────────────────────────────────────────────────────┐
 │                                                    │
 │                 BUSINESS CONTEXT                   │
 │                                                    │
 │ Goals          Needs           Objectives          │
 │ Entities       Relationships   Organizations       │
 │ People         Accounts        Products            │
 │                                                    │
 ├────────────────────────────────────────────────────┤
 │                                                    │
 │                    WORK GRAPH                      │
 │                                                    │
 │ Work → Tasks → Decisions → Actions → Dependencies │
 │                                                    │
 ├────────────────────────────────────────────────────┤
 │                                                    │
 │                  OPERATIONAL STATE                 │
 │                                                    │
 │ Current State │ Status │ Events │ Evidence        │
 │                                                    │
 ├────────────────────────────────────────────────────┤
 │                                                    │
 │                  ORGANIZATIONAL MEMORY             │
 │                                                    │
 │ Decisions │ Knowledge │ Patterns │ History        │
 │                                                    │
 ├────────────────────────────────────────────────────┤
 │                                                    │
 │                     LOOP STATE                     │
 │                                                    │
 │ Identified → Contextualized → Defined              │
 │ → Allocated → Deciding → Executing                │
 │ → Observing → Re-ingesting → Reconciling          │
 │ → Learning → Next Work                             │
 │                                                    │
 └────────────────────────────────────────────────────┘

What Spine Fabric Contains

Business Context

  • Goals, needs, objectives
  • Entities, relationships, organizations
  • People, accounts, products
  • Constraints, policies

Work Graph

  • Work items, tasks, decisions, actions
  • Dependencies, priorities, assignments
  • Status, progress, blockers

Operational State

  • Current state of all entities
  • Real-time events and signals
  • Evidence and audit trail
  • Attribution and provenance

Organizational Memory

  • Decisions and their rationales
  • Knowledge and patterns
  • History and learnings
  • Outcomes and their context

Loop State

  • Where every work item is in the cycle
  • What has been attempted
  • What has been verified
  • What needs to happen next

The Five Spine Stores

StoreTechnologyContentsGovernance
Canonical SpineNeon / PostgresAuthoritative truth, long-term memory, governed writesStrict — organization-controlled
Operational SpineD1 / Durable ObjectsWorking context, real-time state, short-term working setsModerate — tenant-scoped
Edge / Session StateWorkers / CacheEphemeral state, per-session / per-device, fast accessLight — session-scoped
Audit StoreAppend-onlyImmutable audit trail, compliance evidenceImmutable — no modifications
Memory StoreKnowledge DBOrganizational memory, patterns, learningsGoverned — promotion-controlled

The Universal Record Envelope

Every Spine entity conforms to a single envelope:

interface SpineRecord {
  id: string;
  tenantId: string;
  entityType: EntityType;
  state: EntityState;
  version: number;
  createdAt: string;
  updatedAt: string;
  metadata: Record<string, unknown>;
  payload: unknown;
}

Canonical Entity Types

EntityPrefixDescription
Connectionconn_Authenticated link to an external system
Connectorcplr_Integration adapter definition
SyncJobsync_Data synchronization task
Webhookwh_Inbound event listener
Schemasch_Data transformation definition
Capabilitycap_Registered platform capability
TimelineEventevt_Audit/continuity event

Spine Fabric Is Bidirectional

Spine Fabric both provides and receives:

Reads From (Spine → Everything)

ConsumerWhat It Reads
Human WorkbenchBusiness context, work items, KPIs
Twin WorkbenchContext, reasoning material, work graph
ProjectionsRaw data for role-specific shaping
GovernancePolicies, constraints, risk data
AgentsContext, capabilities, work assignments

Writes To (Everything → Spine)

WriterWhat It Writes
IngestionNew events, entity updates
ExecutionAction outcomes, state changes
ReconciliationVerified state, discrepancy records
MemoryPromoted knowledge, learned patterns
HumanDecisions, approvals, context
TwinReasoning, recommendations, plans

Storage Boundaries (Frozen Doctrine §29)

  • Neon controls tenant registry and cross-tenant queries
  • Per-tenant D1 holds V0 operational Spine
  • Fortress-adjacent stores audit/evidence data
  • Stores never leak across tenant boundaries
  • Every query is scoped to tenantId at the storage layer

Spine Fabric Connects to

LayerRelationship
Business ContextOrganizes and maintains Business Context
Organizational MemoryStores accumulated knowledge
Work GraphDerives work from context
ProjectionsProvides data for role-specific shaping
Communication BridgeExchanges context with agents and systems
ReconciliationReceives verified outcomes
Loop StateTracks work item lifecycle