LinkLab
LL-DOS-009 — LinkLab Research Record
● Core — Reference Implementation
LinkLab

● Core — Reference Implementation

LinkLab · LL-DOS-009 · November 24, 2026
Experimental systems engineering · Initial executable prototype · Validation: preliminary automated testing
Formalization version 0.6 · Software prototype version 0.1
Predecessor: LL-DOS-008 — Sentinel Tunnel
Classification: Experimental Prototype · Publication: summary published; source code retained privately

Human purpose. Machine continuity.

Central Proposition

The intelligence may change. The operational reality must persist.

This progression marks the transition of the Doctrine of Operational Singularity from theoretical architecture to experimental computational implementation. The preceding records defined the doctrine, its mathematics, its computational theory, its cognitive architecture, and its transport specification. This record describes a first working artifact built against them.

● Core is an initial local-first reference implementation of persistent operational state: a small program that records operational events in a durable ledger, reconstructs current state from that ledger, and permits state changes only through authorized, verified transitions.

● Core is not demonstrated artificial general intelligence, not a production operating system, and not a completed Sentinel Tunnel. It is an experimental prototype whose purpose is to test whether the architecture described in the earlier records can be executed at all, and where it breaks.

Reference Implementation Architecture

The implementation is organized around a persistent ● at the center, with six mechanisms acting on it:

Capture
Operational events enter the ledger as structured records.
Guardian
Authorization: every mutation is checked against the caller's role before it is committed.
Resolve
State transitions are computed by replaying committed events under the transition rules.
Verify
Resolution requires submitted evidence and reviewer approval.
Memory
Persistent event storage holds the ledger durably across restarts.
Gateway
Authorized context access: roles read the reconstructed state through a local interface.
● ● Core Capture Guardian Resolve Verify Memory Gateway

Text alternative: Capture, Guardian, Resolve, Verify, Memory, and Gateway each connect to the ● Core at the center of the diagram. Capture admits operational events; Guardian authorizes mutations; Resolve computes state transitions; Verify checks evidence and reviewer approval; Memory stores the event ledger persistently; Gateway provides authorized context access.

Implementation technologies

  • Python.
  • SQLite.
  • JSON event representation.
  • SHA-256 event hash chaining.
  • Local HTTP API.
  • Standard-library dependencies only.

Python was selected to reduce initial engineering complexity: the research questions concern state, authorization, and reconstruction, and a widely read language keeps the prototype inspectable. Rust and other technologies remain possible future implementation choices; nothing in the doctrine depends on the implementation language.

Implemented Capabilities

Implemented prototype features

  • Persistent SQLite event storage.
  • Deterministic state reconstruction.
  • Operational obligation lifecycle.
  • Role-based API authorization.
  • Evidence submission and reviewer approval.
  • Stale revision rejection.
  • SHA-256 event hash chaining.
  • Database backup and restoration.
  • Local read-only context access for reader roles.

Implemented workflow verification is distinct from independent factual verification. The prototype validates the presence of evidence and that a transition is permitted; it does not independently establish the factual correctness of submitted evidence. Evidence in the prototype is text supplied by a participant, and the system records who supplied it — it does not confirm that the text is true.

Operational Event Ledger

Current operational state is not stored as a mutable record. It is reconstructed from committed operational events:

St = Replay(S0, E1:t)

Each event is serialized into a canonical JSON representation and digested:

ht = SHA256(Serialize(et))

Each event record also contains the previous event's digest, so the ledger forms a hash chain: altering an earlier event changes its digest and breaks the chain at every subsequent link.

Create Start Submit Verify hash h₁ · prev h₀ hash h₂ · prev h₁ hash h₃ · prev h₂ hash h₄ · prev h₃

Text alternative: Four events are chained in order — Create (hash h₁, previous h₀), Start (hash h₂, previous h₁), Submit (hash h₃, previous h₂), Verify (hash h₄, previous h₃). Each event's record carries the digest of the event before it. The h labels are symbolic; no actual digests are shown.

Limits of the chain

Hash chaining provides limited tamper detection: it detects alteration of an event when the later links are left intact. The current implementation does not prevent an unrestricted database administrator from rewriting the complete chain, recomputing every digest, or truncating the tail of the ledger. No claim is made of absolute immutability, blockchain security, or independently authenticated event history.

Operational Resolution Machine

Obligations move through a defined lifecycle. The prototype prohibits a direct transition from Open to Resolved: an outcome must be submitted with evidence from Active, and a reviewer must verify it, before resolution is committed.

Open Active Verification pending Resolved Cancelled rejected verification authorized cancellation Operator role: capture, start, submit, cancel. Reviewer role: verify or reject.

Text alternative: Open → Active → Verification pending → Resolved. Rejected verification returns the obligation from Verification pending to Active. Authorized cancellation moves an obligation from Open to Cancelled. The operator and reviewer are distinct roles: the operator captures, starts, submits, and cancels; the reviewer verifies or rejects.

Resolution requires evidence submission and a reviewer role acting on it; the operator who submitted an outcome cannot resolve it through the operator path. The experimental roles are shared role identities used to test the workflow. They are not production-grade individual user identities.

Research Test Results

Initial automated implementation tests. This is a permanent record of two runs of the same test suite.

Tests executed11
Tests passed11
Tests failed0
Recorded environmentPython 3.13.5 — result recorded in TEST_RESULTS.txt, supplied with the prototype
Review re-runPython 3.12.3 — independently re-run during LinkLab review: 11 executed, 11 passed, 0 failed

Passing tests

  1. Persistent state after restart.
  2. Unauthorized mutation rejection.
  3. Stale revision rejection.
  4. Complete obligation resolution.
  5. Invalid lifecycle transition rejection.
  6. Self-review identity rejection.
  7. Backup and restoration.
  8. Basic event tampering detection.
  9. Missing evidence rejection.
  10. Rejected outcome returning to active work.
  11. Authenticated local HTTP gateway.

Passing these tests does not constitute comprehensive security certification, scientific validation, production readiness, or proven reductions in coordination entropy. The tests exercise the workflow and its stated guards on a single local machine; they are implementation tests, not experiments on human coordination.

● Core Laboratory

● Core Laboratory — simulation

This is a client-side educational simulation. It is not connected to the ● Core prototype, and no data leaves this page. Nothing you enter is stored or transmitted.

Status: No obligation captured Committed revision: 0 Objective: —

Operator

Reviewer

Event history

    The laboratory applies the same transition rules as the prototype's lifecycle: no resolution without evidence and reviewer verification, no cancellation after work has started, and no transition that the lifecycle does not define. Invalid actions are rejected with an explanation and change nothing.

    Computational Invariant Assessment

    Current implementation assessment against the invariant registry of LL-DOS-006.

    DOS-C01 — Canonical authority
    Implemented within one local database.
    DOS-C02 — Authorized mutation
    Initial role-based API enforcement.
    DOS-C03 — Traceability
    Recorded events and actor roles.
    DOS-C04 — Reconstruction
    Tested deterministic state replay.
    DOS-C05 — Resolution integrity
    Workflow and reviewer approval.
    DOS-C06 — Domain isolation
    Single-domain implementation only.
    DOS-C07 — Intelligence independence
    Model-neutral API; live AI integration untested.
    DOS-C08 — Human sovereignty
    Partial implementation; further controls required.

    This assessment does not claim complete fulfillment of the eight computational invariants. Several are met only within the narrow boundary of a single local prototype, and DOS-C08 is explicitly partial.

    Software Archive

    Software name● Core
    Version0.1
    Associated research recordLL-DOS-009
    Release classificationExperimental reference implementation

    Archive contents

    • core.py
    • server.py
    • test_core.py
    • test_api.py
    • README.md
    • TEST_RESULTS.txt

    The source archive was supplied to LinkLab and is held privately. No download is offered. The software remains private until BuildLink Analytics Corporation approves public source distribution and its intellectual property strategy.

    Implementation Limitations

    The prototype does not currently provide:

    • Production-grade individual identity management.
    • Encrypted database storage.
    • Externally anchored integrity checkpoints.
    • Complete data retention and deletion mechanisms.
    • Live AI model integration.
    • MCP connectivity.
    • Sentinel Tunnel.
    • External information capture.
    • Persistent adaptive human interface.
    • Distributed replication.
    • Quantum communication.
    • Independent security auditing.
    • Validated performance or coordination-cost improvements.

    The local HTTP API is intended for loopback experimentation only. It binds to the local machine and must not be exposed to the public internet. Research use is limited to synthetic or explicitly authorized non-sensitive research data.

    Experimental Registry

    LL-DOS-EXP-002 — Continuity Under Participant Replacement

    Status: Experimental infrastructure development underway; controlled study not conducted.

    The prototype in this record is infrastructure for that experiment: a persistent core whose state is meant to survive the replacement of the operator or the model working through it. Building the infrastructure is not the experiment, and no continuity results are reported.

    The automated software tests recorded on this page are registered separately from the scientific experiment registry. Automated implementation testing and empirical validation remain distinct activities, and neither is reported as the other.

    Archive

    RecordTitleStatus
    LL-DOS-001Foundational Doctrinev0.1, November 24, 2026 — current
    LL-DOS-002Operational Methodology
    LL-DOS-003First Graphical Representation
    LL-DOS-004Formalization v0.1
    LL-DOS-005Mathematical Foundations v0.2drafted, pending validation
    LL-DOS-006Computational Theory and Reference State Architecturedrafted, pending validation
    LL-DOS-007Human-Machine Cognitive Architecturedrafted, pending validation
    LL-DOS-008Sentinel Tunnel: Universal Intelligence Transport Protocoldrafted, pending implementation
    LL-DOS-009● Core Reference ImplementationInitial executable prototype created; preliminary automated tests passed
    LL-DOS-010Empirical Validation and Experimental MethodologyPreliminary computational benchmark completed; controlled empirical validation pending
    LL-DOS-011Quantum-Ready Intelligence InfrastructureQuantum-ready architectural specification drafted; implementation and validation pending
    LL-DOS-012Independent Review, Scientific Consolidation, and PublicationEdition I canonical consolidated working paper drafted; prepared for review; not independently reviewed

    LL-DOS-006 title revised Nov 24, 2026 per Implementation 002; earlier title preserved in v0.1 record.

    LL-DOS-007 title revised Nov 24, 2026 per Implementation 003; 'Experimental Validation' was the planned title in the v0.1 ledger and is preserved there in the historical record.

    Historical versions are preserved rather than silently overwritten.

    Foundational Declaration

    Intent is captured.
    State persists.
    History remains attributable.
    Resolution requires verification.
    Intelligence remains interchangeable.
    Humanity remains sovereign.

    Human purpose. Machine continuity.

    BuildLink Analytics Corporation — LinkLab