SRAT-20

Speak, and be known.

This record is a confidence. Accept it, and the door will listen for your voice.

STAGGERED RESIDUAL-ADAPTIVE TRANSPORT · C++20 · MONSTERS INK LLC

The Engine

SRAT-20 is a single-header C++20 lock-free queue: a Michael–Scott queue whose nodes and packets are reclaimed through 3-slot hazard pointers, in which every packet carries a residual certificate, admission at the gate is fail-closed, and an execution genome adjusts the engine's own spin and damping parameters through fitness-gated atomic updates.

It is the concurrent realization of the house admission rule: a thing is admitted only if it fits inside what is measured to be there — and what does not fit is refused, without side effects.

Governing invariant · S_H = S_solv ∧ R_H ⇔ (C ≼ I(t)) ∧ (|r_H| ≤ ε_H)
Residual validity · a packet is residual-valid at epoch E when e_p + 1 ≥ E ∧ |r_H| ≤ ε_H — checked before resource ceilings
Resource ceilings · each packet's resource vector (c, m, p, q) must fit under the ceiling packet, component by component
Diagnostic · Φ_H is diagnostic only — it never authorizes admission

Design Invariants

Hazard pointers — 3 slots
Each thread protects the pointers it is using in three hazard slots (MaxHP = 3). Reclamation scans every live slot and frees only what no slot references; the retire threshold is 6.
A residual certificate on every packet
Every OmniPacket carries its certificate — residual_H, epsilon_H, residual_epoch — as first-class fields. The certificate travels with the packet; it is not a side table.
Fail-closed gate
Enqueue stage 1 refuses any packet whose resources exceed the ceiling or whose certificate is stale or out of tolerance. A refused packet is rejected without side effects — nothing is linked, nothing is owed.
Epoch-scoped validity
A single atomic residual epoch modulates all traffic. Once a certificate is invalid at an epoch it remains invalid at every later epoch, so helping that refuses an invalid node can never be wrong later.
Digest binding
On admission, the packet's digest is bound to its resource vector, its kinematics, and its residual before the node is linked into the queue — the commitment and the certificate are one act.
Execution genome
An execution genome (spin_limit, damping, generation) is installed only by a compare-and-swap that carries strictly higher measured fitness. The tuning path cannot bypass the residual gate; mutation happens off the admission decision.

Canonical Evidence

The canonical record of SRAT-20 is the frozen evidence package SRAT20_CANONICAL_PROOF_2026-08-10 (10 August 2026): 28 files, whose core is 00_MANIFEST.md, PROGRESS_ARGUMENT.md, README.md, and the engine header srat20.hpp. The package's progress argument asserts joint lock-freedom for residual-compliant operations; wait-freedom, and progress for residual-invalid operations, are expressly not claimed.

Engine header · srat20.hpp · 14,531 bytes
SHA-256 · c270c546304d0792cde565e42512397ecb0d8442d3a3661a1b5231dfb730673e
#pragma once
// =============================================================================
// SRAT-20 — Staggered Residual-Adaptive Transport
// Absolute canonical C++20 engine
// Aligns with GR-21 / Chimera / Monsters Ink seal: S_H = S_solv ∧ R_H
// 3-slot hazard pointers • residual certificates • self-tuning genome
// =============================================================================


// ─────────────────────────────────────────────────────────────────────────────
// Packet — residual certificate is first-class
// ─────────────────────────────────────────────────────────────────────────────
struct alignas(32) OmniPacket {
    uint32_t c = 0, m = 0, p = 0, q = 0;       // GR-21 resource vector
    float    x = 0, y = 0, z = 0, psi = 0;      // kinematics
    uint64_t digest = 0;

    float    residual_H = 0.0f;
    float    epsilon_H  = 0.01f;
    uint64_t residual_epoch = 0;

    bool residual_ok(uint64_t epoch) const noexcept {
        return residual_epoch + 1 >= epoch &&
               std::abs(residual_H) <= epsilon_H;
    }
    bool resources_ok(const OmniPacket& ceil) const noexcept {
        return c <= ceil.c && m <= ceil.m && p <= ceil.p && q <= ceil.q;
    }
    uint64_t bind(uint64_t prev) const noexcept {
        return prev ^ (uint64_t(c) * p) ^ uint64_t(psi * 1e4f)
                    ^ uint64_t(residual_H * 1e6f);
    }
};

Specimen, verbatim: the header banner and the packet definition from the canonical srat20.hpp — the residual certificate fields and the admission predicate residual_ok are the code's own.

Measurements

Version lineage, kept straight: the canonical proof package above is the frozen record of August 2026. Taylor's v1.0 package (October 2026) is a later, separate artifact. The measurements below are labeled by the artifact they belong to.

Independent house rebuild — 16 October 2026 (Taylor's v1.0 package). Rebuilt from source on a 2-core virtual machine (g++ 13.3; -Wall -Wextra -Wpedantic -Werror, clean). A reduced stress run passed with exact accounting — 395,876 accepted = 395,876 dequeued + 0 discarded — with zero duplicates, zero invalid returns, and zero bad digests. A frozen-tuner benchmark measured 1,575,497 operations per second over 800,000 operations.

The v1.0 package's own test logs report: 1,000,000-operation runs with exact accounting, clean under AddressSanitizer, UBSan, and ThreadSanitizer (zero reports), at 3.3–3.6M operations per second on an 8-core machine. These are the package's figures; the rebuild above is the independent measurement.

Standing

SRAT-20 is the reduction-to-practice backbone of Monsters Ink's umbrella patent application — the concurrent embodiment of the residual gate — and is separately a standalone licensable asset.

This page states only what has been verified against the canonical package and independent rebuilds. No further performance, readiness, or certification claims are made.

THE WALK

These chambers are one site, made to be seen in this order: The Vault — the dossier · Open Data — the public proof · The Floor — the workshop · Matrixx — the counted matrix · SRAT-20 — the transport engine · you are here · RFF-1 — the refusal format · The Forge — held work · The Djinn — the site's AI · The Organism — the living site · The Record — the register, mirrored · The Total Index — everything held, findable · The Corpus — the curated record.
Your pass is the map; every chamber stands on its own door.

THE FRONTIER

THE FRONTIER — the newer chambers, in the order they were cut: The Demo Stage · Seraphim — the full map · Value, Measured · The Measured Mind · The Kimberling Observatory · Every Walk · The Crossings · The Decoder Bench · The GENESIS Census · My Lattice on Earth. One site, one walk — the frontier is part of it.