/ Stream
build 2026.12.03 · --:--:-- UTC · RSS

BabbTools for the frontier.

mascot mascot

Making

16 · Seed dependencies and bootstrap transcript

Created by: OpenAI Codex

Source: docs/creation/review/16-seed-dependencies-and-bootstrap-transcript.md

Date: 2026-11-26. Status: candidate design extending note 15; no implementation or specification change. This addressed semantic transcript examines whether each activation and action can be understood using the preceding accepted prefix. It is not a frozen canonical byte encoding.

1 Dependency table

CapabilityMust already existWhat can follow
Distinguish a recordFraming and finite expression grammarA parseable proposal or request
Identify an occurrenceLog identity, order, reference allocation, equalityStable definition, entity and fact references
Check a definitionPrimitive value types, signatures, binding rulesWell-formed finite rule/action expression
Authenticate a requestNamed identity/integrity profile and evidenceAuthenticated envelope credential
Admit a definitionTrusted starting governance plus checksPrefix-effective active knowledge
Match factsTyped tuples, equality, substitutionVariable bindings from the current base state
Derive relationshipsPositive safe rules and finite closureContainment or principal conclusions
Test absenceComplete named scope and completed closureSound absence within that scope, not global truth
Stage an actionExact operands, guards, finite effect expressionsOne proposed delta
Commit an actionPost-state constraints, serialization, durable atomic appendOne accepted occurrence and new state
Explain a resultDefinition IDs, premise occurrences, prefixA finite dependency/proof witness

Domain principalhood depends on the matching and derivation machinery; initial administrative trust does not depend on domain principalhood. A credential is not an entity reference. The explicit verified-binding relation joins them later.

This makes two origins visible: a logical constructor can begin at an empty expression; an operational reader begins with a grammar, evaluator, reference model and trust profile. The latter assumptions cannot be supplied by an uninterpreted first record.

2 Three refinements to note 15

Deterministic effect selection

A guard can have several satisfying bindings. Existential guard success therefore does not uniquely determine an effect.

All free variables used in effects must be action parameters, literals, finite fresh binders, or values obtained by dereferencing an explicitly named fact occurrence. An existential witness used only to establish a Boolean guard cannot silently supply an effect operand. A future select-one construction must require a unique match or specify an explicit canonical selection policy. It must not inherit database iteration order.

For the move example, the invocation names both the current parent occurrence and the grant occurrence. The reader checks their contents and liveness. It never consumes an arbitrary matching grant.

Occurrence-addressed reads also make concurrent modifications observable. If a named occurrence has already been retired, a later invocation fails at its actual acceptance prefix even if its original proposal was valid.

Circular rules do not supply their own evidence

For positive rules R over base tuples B, define F(X) = B union consequences_R(X). Begin at B and repeatedly apply F until no new tuple appears. This selects the least fixed point containing B.

For example, the rules principal(x) <- allowed(x) and allowed(x) <- principal(x) produce neither predicate if B supplies no supporting tuples. A larger set containing both could satisfy the equations, but the seed does not choose arbitrary fixed points. Derivation must originate from base evidence or an explicitly admitted ground axiom.

Ground axioms are declarations of premises, not deductions from empty structure. Governance must treat their admission accordingly. This matters especially when a predicate controls authority.

Check the post-state after activation as well as action

Activation can create new derived conclusions without adding base facts. The candidate post-activation closure must satisfy existing constraints before the activation is committed. A new rule cannot use its own newly derived permissions to authorize its admission: admission is evaluated under prefix-effective knowledge.

3 Explicit initial assumptions

The following are supplied by the selected reader/profile:

  • log identity L, record framing, expression grammar, reference tags, exact value types and evaluation bounds;
  • a trusted steward credential C0 and the rule that C0 can propose/activate definitions and invoke designated bootstrap actions;
  • verifiable request envelopes, authenticated caller identity, and receipt/integrity rules;
  • one serial acceptance order for this log and atomic effect commitment;
  • complete local base state and definitions at the accepted prefix for this example.

C0 is an admitted starting authority. It is not derived from a later principal predicate. Cross-log governance, physical effects, delegation chains, clocks and probability are outside this small example.

Notation R, B, A, C and P below abbreviates stable occurrence references. P is created as a node that can later play the principal role. A node's eligibility to be a structural boundary does not assert anything about a human body's physical containment. Definition references use record-and-slot coordinates. Slots in a finite proposed bundle can refer to other declared slots in that bundle; all references and signatures must resolve before activation.

4 Foundation bundle

The first proposal F contains the following signatures:

base: entity(Ref), boundary(Ref), parent(Ref,Ref)
base: binding_verified(Ref,Credential)
base: grant(Ref,Ref,Ref,Ref,Int)
base: says(Credential,Ref,Ref,Bytes)
derived: in(Ref,Ref), within(Ref,Ref), principal(Ref)

Principal is declared but initially has no defining rules. Its derived extension is empty. It is forbidden to emit directly into a derived predicate.

F includes these rules:

in(x,y)     <- parent(x,y)
in(x,z)     <- parent(x,y) and in(y,z)
within(x,x) <- entity(x)
within(x,y) <- in(x,y)

Parent has constraints forbidding distinct simultaneous parents for a child and forbidding in(x,x). Active grants in this example require a unique live grant tuple for each grant ID. This prevents duplicate active representations of a one-use capability; authorized grant issuance alone creates a fresh ID and no action can re-emit an existing consumed grant.

F also defines six actions, with reviewed write sets:

ActionGuard and effect
make_nodeC0 only; fresh x, emit entity(x), boundary(x)
attachC0 only; existing entities and target boundary, no current parent, no cycle; emit parent(child,target)
attest_bindingC0 only; entity and binding-policy checks; emit binding_verified(entity,credential)
assert_claimAuthenticated caller and admissible references; emit says(caller,subject,kind,value)
issueC0 only; principal(holder), active exact action, boundary(scope); fresh grant ID, emit one-use grant
moveVerified caller binding, principal, exact live one-use grant, exact live parent occurrence, in-scope endpoints and no cycle; retire named parent/grant, emit new parent

Attest_binding is a trusted administrative attestation in this example. The computation proves that the designated credential made the assertion; it does not derive a real-world identity from arbitrary bytes. More demanding identity policies would require additional evidence adapters.

The move definition can refer to its own definition identity as the action named by a grant. This is a static identity comparison, not recursive execution. The issue action can accept an action reference as data and check its active status; it does not dynamically execute it.

5 Addressed semantic transcript

Each numbered row is one admitted log record, including refusal outcomes where indicated. A definition activated at n is available at n+1. Proposal content is recorded with an identity but does not become executable simply by being present.

AddressRecordResult after the record
L:1C0 proposes foundation bundle FCandidate references exist; F inactive
L:2C0 activates FChecks pass; F usable from L:3
L:3C0 invokes make_nodeRoot node R created
L:4C0 invokes make_nodeNode B created
L:5C0 invokes make_nodeNode A created
L:6C0 invokes make_nodeNode C created
L:7C0 invokes make_nodeNode P created; principal(P) still absent
L:8C0 invokes attach(B,R)Immediate parent occurrence for B,R
L:9C0 invokes attach(A,B)Parent occurrence q9; in(A,R) derived
L:10C0 invokes attach(C,B)Parent occurrence for C,B; in(C,R) derived
L:11C0 proposes principal rule DD exists but is inactive
L:12C0 invokes attest_binding(P,CP)Binding is active; principal(P) remains absent
L:13C0 activates DD usable at L:14; closure then includes principal(P)
L:14C0 invokes issue(P,move_ref,B,1)Fresh grant G and live occurrence q14
L:15CP invokes move(P,A,B,C,G,q14,q9)q9 and q14 retired; new parent(A,C) emitted atomically
L:16CP retries the move with a new submission key and spent occurrence referencesRefused; no domain-state change

D is principal(x) <- entity(x) and binding_verified(x,c). Its existence at L:11 demonstrates a dormant definition. Evidence at L:12 does not activate it. After L:13, the same evidence supports the derived principal relationship because the admitted interpretation has changed.

An identical transport retry of the accepted L:15 request, with the same authenticated submission key and digest, returns the L:15 receipt. It is not a new execution and is not assigned a new domain event in this transcript. An optional delivery audit must be explicitly separate. Reusing a submission key with a different payload is a conflict, not a retry.

q9 and q14 denote tagged fact-occurrence addresses within their records, not merely tuple values. The recorded invocation binds its exact action definition and operands; all alias resolution is already complete.

This is a bootstrap demonstration with semantic events in one illustrative sequence. It does not settle physical address zero, Segment 0 packaging, Genesis byte grammar, or the distinction between a reusable kernel capsule and each working log's initialization.

6 State calculation at the first delegated move

Immediately before L:15:

parent = {(B,R), (A,B), (C,B)}
principal contains P
binding_verified contains (P,CP)
q14 is live and names (G,P,move_ref,B,1)
q9 is live and names (A,B)

The guard checks authenticated caller CP, exact operand/definition identities, and scope B. A is strictly inside B; its old parent B is within B by reflexivity; target C is within B. C is not inside A. Source and target are distinct. All these queries use the complete pre-state.

The proposed base delta is:

retired occurrence IDs = {q9,q14}
new base tuple = parent(A,C), with a new occurrence ID

The resulting parent set is {(B,R),(C,B),(A,C)}. Its closure contains in(A,C), in(A,B), in(A,R), in(C,B), in(C,R), and in(B,R). No self-containment or distinct-parent conflict exists. Commit preserves the old occurrences in history and changes their active status.

For membership in B, A remained inside: delta_B(A)=0. For direct membership in C, the change is +1. For immediate parenthood under B, the change is -1. Immediate membership and transitive containment are therefore different query kinds; collapsing them would lose meaning.

The canonical log records event L:15, which cites q9, q14 and move_ref. Those references link earlier state, capability, definition and resulting effect without requiring independent timestamps to establish their causal order.

7 Replay obligations and unresolved choices

Replay must reconstruct prefix-effective definitions and active occurrences, derive closure, and verify each request and receipt. Later activation cannot legitimize an earlier action. Retiring base evidence requires recalculating affected derived conclusions; appending history does not mean conclusions only accumulate.

Deterministic refusal precedence remains to be specified: L:16 has both a spent grant and stale parent reference. Different implementations must either report a canonically ordered set of failures or use the same ordered first-failure rule. Success/failure alone is insufficient if refusal bytes are hashed.

No arbitrary query witness may influence emitted bytes. Fresh ordering, emitted fact ordering, integer representation, duplicate-occurrence policy, request identity and receipt fields also need canonical rules. This transcript exposes their dependencies but does not freeze their spelling.

The current positive-rule engine terminates over the finite active domain. It does not alone guarantee affordable runtime, completeness of external data, correct governance, physical reversibility, or universal business expressiveness. Registered constraints and restricted write authority are substantive parts of the construction, not consequences of tuple syntax.

Next analysis: determine which language mechanisms can be removed while retaining this transcript, then extend the same dependency method to exact paired quantities and TO. Compare acyclic rules plus bounded reachability with general finite positive recursion before selecting an implementation.

Sources

This is an original proposed construction based on note 15 and the user's unfolding-reader objective. The transcript and state calculation were reviewed manually; no implementation or conformance test has been run.

Read on Telegraph