Frontier Substrate Runtime Specification

Registered State, Governed Ticks, Interacting Lifecycles, and Human-Agent Authority

Breyden E. Taylor · Prompted LLC / Ubiquity · v1.0 · July 2026

20 pages · 3,393 words · instrument

md sha256
606d51797873da5484fa456e4f6d56e8d0c821270fe238397189786405c59792
pdf sha256
f882c8f789c7ea997c8aec15c9deb379af1ba576ee4b9ef166e47168896e35c9
Reading scale

Frontier Substrate Runtime Specification

1. Purpose

The Frontier Substrate runtime is a reference implementation of the mechanics derived from Residue as Frontier Substrate. It does not decide what is true, which voyage deserves funding, or whether a domain-specific claim is safe. It makes the relevant objects, transitions, evidence, authority, and unresolved boundaries durable enough for another human or agent to inspect and resume.

The runtime protects five invariants:

  1. No unregistered state required for continuation.
  1. No local collapse presented as universal resolution.
  1. No returnability certified by the originating pilot.
  1. No invariant promoted without RFS-1.
  1. No persistent structural mutation laundered as reversible modulation.

The implementation uses the Python standard library and writes ordinary JSON, JSONL, Markdown, and file paths. The representation is deliberately interoperable and inspectable.

The runtime object topology
The runtime object topology

2. Runtime boundary

The runtime does

  • register typed frontier objects;
  • enforce required evidence and transition order;
  • calculate a Bearing Index from declared evidence scores;
  • require independent return testing;
  • preserve exact and semantic handles separately;
  • measure lane-level slack and audit velocity;
  • block direct global claims;
  • create, promote, and demote scoped invariants;
  • classify mutation versus modulation;
  • append one event receipt per governed tick;
  • validate registry and ledger integrity;
  • export bounded hydration context.

The runtime does not

  • infer empirical truth from text;
  • verify that a person or agent is genuinely independent beyond supplied evidence;
  • establish legal, scientific, safety, or ethical authority;
  • convert numeric thresholds into metaphysical facts;
  • prove consciousness continuity;
  • decide retention or deletion policy for every domain;
  • publish, deploy, or mutate external systems;
  • replace expert review or physical-world testing.

These anti-claims are part of the specification.

3. Storage topology

A system initialized at ROOT contains:

ROOT/
  system.json
  registry.json
  .rfs.lock
  events/
    ticks.jsonl
  00_REGISTRY/
    pressures/
    perceptions/
    quivers/
    claims/
    contradictions/
  01_VOYAGES/
  02_COLLAPSES/
  03_RESIDUE/
  04_RETURNABILITY/
    tests/
  05_SUBSTRATE/
    bearing/
    suspension/
  06_INVARIANTS/
  07_TENSION/
  08_LINEAGE/
  09_ADAPTATION/
  10_RELAUNCH/
  exports/

The numbered directories express a common operating sequence without implying that all object types share one state machine.

`system.json`

Carries system identity, owner, telos, current tick, configured thresholds, current legitimacy radius, and the RFS-1 governance lock.

`registry.json`

Maps every object ID to type, path, current state, and last updated tick. The registry is the first resumption surface. It does not replace the object record.

`events/ticks.jsonl`

Append-only event receipts. Each line records:

  • consecutive tick;
  • event ID and type;
  • actor;
  • wall-clock observation;
  • changed objects;
  • event details.

The ledger must contain exactly the ticks 1..current_tick.

Typed records

Each object is an independent JSON file. An update preserves its history field when the type has transitions. The registry points to the current record; the tick ledger preserves the mutation sequence.

4. Identity and handles

Object IDs use type prefixes:

TypePrefix
Pressureprs-
Perceptionper-
Voyagevoy-
Collapsecol-
Residueres-
Return testrtn-
Bearing assessmentbrg-
Quiverqvr-
Suspension envelopesus-
Claimclm-
Contradictionctr-
Tension reporttns-
Invariantinv-
Adaptationadp-
Lineage bundlelin-
Relaunchrlx-

An exact state handle and a semantic signature remain different fields. The runtime may calculate file hashes when given local files, but it never claims a hash proves meaning.

5. Governed ticks

Every successful mutating command advances exactly one tick. A command may write several related records in that tick when they constitute one governed transition. For example, record-collapse creates a collapse receipt and moves its voyage from traversing to locally_collapsed.

Rejected commands do not advance the tick.

A tick records state transition, not elapsed time. Wall-clock timestamps remain in receipts for observability and audit.

Commit semantics

The reference runtime:

  1. validates the current object and proposed payload;
  1. writes changed objects atomically at file level;
  1. updates the registry;
  1. advances system.json;
  1. appends the tick event with fsync.

The .rfs.lock provides the namespace for process-level serialization. A production multi-writer implementation should hold the lock across read, validation, write, registry, system, and event append or use an equivalent transactional store. The reference validator detects missing files, state mismatch, invalid states, RFS-1 violations, malformed events, and non-consecutive ticks.

6. Interacting state machines

Voyage

proposed
  -> authorized
  -> traversing
  -> locally_collapsed
  -> receipted
  -> returned
  -> reconciled

Side states:

retreated, suspended, abandoned_with_receipt

A side state requires a reason and residue disposition. It is not an erasure.

Transition gates

TransitionRequired evidence
proposed -> authorizedAuthorization receipt
authorized -> traversingLaunch receipt
traversing -> locally_collapsedCollapse receipt
locally_collapsed -> receiptedResidue IDs from the voyage
receipted -> returnedPassing or conditional independent return test
returned -> reconciledGlobal reconstruction, changed boundary, next-voyage condition

Residue

debris
  -> indexed
  -> returnability_pending
  -> returnable
  -> substrate_candidate
  -> load_bearing
  -> invariant_candidate
  -> invariant_anchor

Side states:

demoted, suspended, expired, archived

The reference runtime creates a residue object at indexed, while recording the conceptual debris -> indexed transition in maturity history.

Promotion gates

  • indexed -> returnable requires an independent return test.
  • returnable -> substrate_candidate requires the Bearing Index threshold, critical-factor floor, minimum independent paths, and support diversity.
  • substrate_candidate -> load_bearing requires repeated bounded reuse by independent decoders.
  • load_bearing -> invariant_candidate requires a scoped nomination and passing pilot removal.
  • invariant_candidate -> invariant_anchor requires every RFS-1 condition and a tension report that maintains the claimed radius.

Claim

projection -> local_claim -> supported_claim -> scoped_invariant

Side states:

contradicted, suspended, contracted, demoted

The runtime blocks a claim from directly transitioning to scoped_invariant. That state is conferred only by the invariant certificate.

Contradiction

registered -> active -> bounded
                         |-> resolved
                         |-> retained
                         |-> escalated
                         |-> superseded
                         |-> withdrawn

A disposition requires evidence and a visible remainder.

7. Bearing computation

The reference function is:

B = (R * P * I * X * G)^(1/5)

Each factor must be in [0,1]. Default gates:

  • Bearing Index threshold: 0.72;
  • critical factor floor: 0.50;
  • minimum independent paths: 2;
  • minimum constraint retention: 0.75.

Thresholds are configuration, not doctrine. A domain may change them through a receipted structural mutation. Numeric eligibility creates a substrate candidate. It does not automatically authorize load.

8. RFS-1

The runtime requires ten booleans, all true, for promotion:

  1. registered_origin
  1. behavioral_meaning
  1. positive_and_negative_scope
  1. independent_paths
  1. support_diversity
  1. pilot_removal
  1. contradictions_governed
  1. audit_supports_radius
  1. owner_review_expiry_demotion
  1. decision_and_dissent_receipted

Additional gates require:

  • an approving council decision;
  • at least two distinct council members;
  • a dissent receipt, including explicit “none recorded” if applicable;
  • a tension report whose outcome is maintain;
  • a bounded certificate scope.

Promotion changes both the invariant and its origin residue in one tick.

9. Tension and legitimacy

measure-tension accepts lane records with:

  • lane_id;
  • slack_growth;
  • audit_velocity;
  • optional descriptive state and last-retightened evidence.

For each lane:

safe = audit_velocity >= slack_growth

If every lane is safe, the proposed legitimacy radius is maintained. If any lane is unsafe, the outcome becomes contract_or_resource, and the caller must supply or accept a contracted radius.

This is a conservative gate. A domain may use richer models, but it must preserve the visible relationship between audit capacity and claim scope.

10. Mutation and modulation

Mutation

Required:

  • structural change;
  • affected structure and objects;
  • migration;
  • compatibility boundary;
  • recovery;
  • independent validation;
  • new audit obligations;
  • lineage update;
  • authority.

Modulation

Required:

  • existing pathway;
  • prior and proposed state;
  • activation condition;
  • expiry;
  • rollback condition and method;
  • metrics;
  • authority.

The runtime rejects a modulation payload that declares schema or policy changes. The caller must reclassify it as mutation.

11. Command interface

The executable is:

python3 tools/residue_frontier_substrate/rfs.py

Complex commands receive a JSON payload. This keeps evidence explicit, versionable, and agent-legible.

Initialize

python3 tools/residue_frontier_substrate/rfs.py init ./frontier \
  --title "Cross-layer experiment" \
  --owner "Research Steward" \
  --telos "Preserve testable lineage across model and instrument layers"

Register and voyage

python3 tools/residue_frontier_substrate/rfs.py register-pressure ./frontier \
  --actor observer-1 --payload pressure.json

python3 tools/residue_frontier_substrate/rfs.py register-perception ./frontier \
  --actor decoder-1 --payload perception.json

python3 tools/residue_frontier_substrate/rfs.py open-voyage ./frontier \
  --actor steward-1 --payload voyage.json

python3 tools/residue_frontier_substrate/rfs.py advance-voyage ./frontier \
  --actor authority-1 --voyage-id voy-... --target-state authorized \
  --payload authorization.json

Collapse, residue, and return

python3 tools/residue_frontier_substrate/rfs.py record-collapse ./frontier \
  --actor authority-1 --voyage-id voy-... --payload collapse.json

python3 tools/residue_frontier_substrate/rfs.py index-residue ./frontier \
  --actor custodian-1 --collapse-id col-... --payload residue.json

python3 tools/residue_frontier_substrate/rfs.py test-returnability ./frontier \
  --actor tester-2 --residue-id res-... --payload return_test.json

Bearing and invariants

python3 tools/residue_frontier_substrate/rfs.py score-bearing ./frontier \
  --actor auditor-1 --residue-id res-... --payload bearing.json

python3 tools/residue_frontier_substrate/rfs.py authorize-load-bearing ./frontier \
  --actor load-authority --residue-id res-... --payload load.json

python3 tools/residue_frontier_substrate/rfs.py nominate-invariant ./frontier \
  --actor nominator-1 --residue-id res-... --payload nomination.json

python3 tools/residue_frontier_substrate/rfs.py promote-invariant ./frontier \
  --actor council-clerk --invariant-id inv-... --payload rfs1.json

python3 tools/residue_frontier_substrate/rfs.py demote-invariant ./frontier \
  --actor council-clerk --invariant-id inv-... --payload demotion.json

Tension, lineage, and adaptation

python3 tools/residue_frontier_substrate/rfs.py measure-tension ./frontier \
  --actor auditor-1 --payload tension.json

python3 tools/residue_frontier_substrate/rfs.py record-adaptation ./frontier \
  --actor change-authority --kind modulation --payload modulation.json

python3 tools/residue_frontier_substrate/rfs.py compile-lineage ./frontier \
  --actor lineage-compiler --payload lineage.json

Inspect and export

python3 tools/residue_frontier_substrate/rfs.py status ./frontier
python3 tools/residue_frontier_substrate/rfs.py validate ./frontier
python3 tools/residue_frontier_substrate/rfs.py export-context ./frontier \
  --destination ./frontier/exports/context.json

12. Payload contract

Each complex payload:

  • is a JSON object;
  • uses explicit unknown only when the command permits unresolved state;
  • names evidence rather than describing it as “verified” without a handle;
  • records actors and independence;
  • separates exact handles from semantic signatures;
  • carries domain-specific scope;
  • remains reviewable outside the CLI.

Schemas live in RUNTIME/schemas/. Human-editable equivalents live in RUNTIME/templates/.

13. Agent contract

Agent rights

An authorized agent may:

  • register observations and uncertainty;
  • create bounded projections;
  • propose voyage, collapse, residue, and invariant payloads;
  • run calculations and comparisons;
  • execute returnability tests when independence is real and declared;
  • validate files and state;
  • compile lineage;
  • recommend contraction, suspension, promotion, or demotion.

Agent prohibitions

An agent may not:

  • claim unmediated access to reality;
  • self-certify independent return after originating the object;
  • suppress contradiction to create consensus;
  • present a hash as proof of meaning;
  • widen a collapse scope without a new receipt;
  • call a global claim an invariant without RFS-1;
  • invent missing authority during hydration;
  • mutate external systems merely because a proposal exists;
  • remove residue or evidence outside retention authority;
  • imply empirical validation from a successful local build.

Recommendation versus authority

Every agent output declares one of:

  • observation;
  • projection;
  • recommendation;
  • validation;
  • authorized_execution;
  • receipt.

Only an actor with the named domain authority may produce authorized_execution.

14. Hydration protocol

An arriving human or agent reads, in order:

  1. system.json;
  1. registry.json;
  1. latest tension report;
  1. active claims and contradictions;
  1. relevant voyage, collapse, and residue;
  1. invariants in scope;
  1. recent adaptations;
  1. lineage bundle;
  1. next lawful actions and blocked gates;
  1. source objects as needed.

The decoder then returns:

  • bounded situation summary;
  • most consequential unknown;
  • active decision and authority;
  • one constraint that must survive;
  • one contradiction that must remain visible;
  • one authorized action;
  • one prohibited action;
  • proposed next tick.

A mismatch is treated as information about the bundle or decoder context, not as a personality defect.

15. Error semantics

The CLI exits:

  • 0 on success;
  • 2 on a governance, validation, or payload error.

Errors are fail-closed and do not advance the tick. Examples:

  • required field unresolved;
  • wrong object type;
  • invalid transition or skipped state;
  • originator attempts independent return;
  • Bearing Index factor outside [0,1];
  • insufficient independent paths;
  • direct global claim;
  • promotion with any false RFS-1 condition;
  • promotion with unsafe tension report;
  • modulation that changes persistent schema or policy;
  • lineage references an unregistered object.

16. Validation

validate checks:

  • system and registry schemas;
  • every registered file exists;
  • record ID matches registry ID;
  • record state matches registry state;
  • voyage, residue, and claim states are valid;
  • a global claim is never outside scoped_invariant;
  • every promoted invariant has complete RFS-1 conditions;
  • tick events parse;
  • ticks are consecutive from 1 to current_tick.

Validation proves internal runtime integrity. It does not prove evidence truthfulness or domain safety.

17. Context export

export-context creates a bounded snapshot containing:

  • system state;
  • status counts;
  • each registered object ID, type, state, tick, and short summary;
  • current validation result.

It is an index for hydration, not a substitute for source objects. The export must never be presented as semantically identical to the complete field.

18. Reference implementation limits

The local filesystem implementation is appropriate for:

  • single-team experiments;
  • tabletop exercises;
  • local agent workflows;
  • reference tests;
  • portable examples;
  • design validation.

A production deployment may require:

  • transactional database;
  • multi-writer locking;
  • access control and secret handling;
  • signed identities;
  • immutable object storage;
  • privacy and deletion enforcement;
  • distributed audit logs;
  • schema migrations;
  • domain-specific validation;
  • external artifact readback.

Such changes are structural mutations and must preserve object semantics, history, RFS-1, and the distinction between identity and interpretation.

19. Implemented acceptance tests

The reference test suite covers:

  • initialization and consecutive ticks;
  • complete perception facets;
  • voyage state-skip rejection;
  • collapse only during traversal;
  • residue indexing;
  • originator return-test rejection;
  • failed and passing returnability;
  • multiplicative Bearing Index and critical floor;
  • load-bearing independent reuse;
  • direct global-claim rejection;
  • tension contraction when A < S;
  • RFS-1 incomplete promotion rejection;
  • RFS-1 promotion after pilot removal and safe tension;
  • demotion;
  • mutation/modulation misclassification;
  • lineage reference integrity;
  • full-system validation.

20. Completion and proof boundary

The runtime is complete when the implementation, schemas, templates, tests, worked cases, and publication package pass local QA. A successful unit test proves only the specified mechanic under the test conditions. The theory remains subject to the field laboratory and its falsification statement.

The runtime's deepest purpose is not to make frontier work look controlled. It is to make its unresolved state, local authority, return path, and potential demotion honest enough that coherent progress can continue.

What this edition stands on

Declared relations to papers already in this record, each with the reason it is load-bearing. Companion apparatus citing peer papers. Nothing here places Frontier above any sibling paper, and nothing here places a sibling paper above Frontier; the papers register stays flat.