Wave 2 · The opening · record #19domain.factservice.request
#19 · the planner's request crosses
CellSpace indexes it; the membrane hands it to the admission's controller; the package enters the log as #20.
Came fromthe machineThe machine wrote it while the engine took #17: the planner acted — and its act is a request. step 101
when the engine took #19
106The engine takes #19ENGINE.CURSOR · propagate
a wave is settlingengine: working on #19membrane: waiting at #15
The log - #0a listener
- #1a doer
- #2listener: the charter
- #3doer: the author
- #4listener: charter seen
- #5listener: blueprint seen
- #6doer: the planner
- #7listener: assess · charter
- #8listener: assess · result
- #9doer: the evaluator
- #10the charter wanted
- #11the blueprint
- #12readiness
- #13readiness
- #14a request: a charter
- #15the charter proposed
- #16the charter defined
- #17readiness
- #18readiness
- #19a request: a Cell
- end of the log
The engine What before after pointer — the next record to take #19 #20 The engine moves on to #19 — the planner's request for a Cell.
Where it happens
takeNextTuple()Vol. 02 §4.1The engine's step: take the record under its pointer and move the pointer on — or stop, if the pointer has reached the end.
- Specification
- Vol. 02 §4.1
- Code
takeNextTuple()incore/registers/take-next-tuple.ts, line 15: at the end of the log, the engine stops- Journal
- #19 ·
ENGINE.CURSOR · propagate· offset: 19 · by engine - Picture
- pointer — the next record to take: #19 → #20
core/registers/take-next-tuple.ts· build 043cc8b// ENGINE.CURSOR advance (Vol. 02 §4.1) — the machine's instruction pointer:// returns the tuple at the cursor and moves it forward exactly once, or null// at quiescence. Advancing IS the context switch: the ambient wave context// moves to the propagated tuple in the same movement, so every transition// journalled during its propagation is attributed to it — the cube's spine.// The cursor never rewinds.import type { WaveTuple } from "../wave/gate";import type { RegisterFile } from "./register-file";import { recordTransition } from "./record-transition";import { setDriver, setWaveContext } from "./set-wave-context";export function takeNextTuple(file: RegisterFile): WaveTuple | null {const engine = file.registers.engine;if (engine.cursor >= engine.base + engine.window.length) return null;↑ at the end of the log, the engine stopsconst tuple = engine.window[engine.cursor - engine.base];engine.cursor += 1;↑ the engine's pointer moves on by onesetWaveContext(file, { offset: tuple.offset, phase: "propagate" });setDriver(file, "engine");recordTransition(file, "engine", "ENGINE.CURSOR", "propagate", { offset: tuple.offset });↑ the change is written into the journalreturn tuple;}
AGPL-3.0-onlyThe Lab's demonstration environment, as this fragment ran it (build 043cc8b). The code may change, and may differ from the code of a working machine.
Nest VM core, incubated in the CoAgnes garden · build 043cc8b (2026-09-21) · this file last changed in 6730f58 (2026-09-13)
107The request is indexed under its nameREQUESTS · index-request
a wave is settlingengine: working on #19membrane: waiting at #15
The log - #0a listener
- #1a doer
- #2listener: the charter
- #3doer: the author
- #4listener: charter seen
- #5listener: blueprint seen
- #6doer: the planner
- #7listener: assess · charter
- #8listener: assess · result
- #9doer: the evaluator
- #10the charter wanted
- #11the blueprint
- #12readiness
- #13readiness
- #14a request: a charter
- #15the charter proposed
- #16the charter defined
- #17readiness
- #18readiness
- #19a request: a Cell
- end of the log
CellSpace What before after requests admit.note.gate--l1.seeking.charter.author#1admit.note.gate--l1.seeking.charter.author#1,admit.note.gate--l1.seeking.planner#1CellSpace keeps the planner's request under its intention's name. A Cell's seed must answer a request CellSpace knows; a seed without one is refused.
Where it happens
indexCausalRequest()Vol. 12 §5.1Indexes a request the moment it is written, under its intention's name — so that whatever answers it later finds the doer it belongs to.
- Specification
- Vol. 12 §5.1
- Code
indexCausalRequest()incore/registers/index-causal-request.ts, line 12: the request is kept under its name- Journal
- #19 ·
REQUESTS · index-request· uid: admit.note.gate--l1.seeking.planner#1, bindId: admit.note.gate--l1.seeking.planner · by cellspace - Picture
- requests:
admit.note.gate--l1.seeking.charter.author#1→admit.note.gate--l1.seeking.charter.author#1,admit.note.gate--l1.seeking.planner#1
core/registers/index-causal-request.ts· build 043cc8b// REQUESTS write (Vol. 12 §5.1): every committed service intention is// indexed by uid so later proposals prove their causal authority against a// real, unconsumed, same-key request — admission is an act, not a lookup// (KEY_ARCHITECTURE §5).import type { CausalRequest } from "../cells/gate";import type { RegisterFile } from "./register-file";import { cellsRegion } from "./cells-region";import { recordTransition } from "./record-transition";export function indexCausalRequest(file: RegisterFile, request: CausalRequest): void {cellsRegion(file).requests.set(request.uid, request);↑ the request is kept under its namerecordTransition(file, "cellspace", "REQUESTS", "index-request", {↑ the change is written into the journaluid: request.uid,bindId: request.bindId});}
AGPL-3.0-onlyThe Lab's demonstration environment, as this fragment ran it (build 043cc8b). The code may change, and may differ from the code of a working machine.
Nest VM core, incubated in the CoAgnes garden · build 043cc8b (2026-09-21) · this file last changed in f36e70d (2026-08-18)
when the membrane passed #19
112The membrane passes #19MEMBRANE.CURSOR · sweep
a wave is settlingengine: at the endmembrane: passing #19
The log - #0a listener
- #1a doer
- #2listener: the charter
- #3doer: the author
- #4listener: charter seen
- #5listener: blueprint seen
- #6doer: the planner
- #7listener: assess · charter
- #8listener: assess · result
- #9doer: the evaluator
- #10the charter wanted
- #11the blueprint
- #12readiness
- #13readiness
- #14a request: a charter
- #15the charter proposed
- #16the charter defined
- #17readiness
- #18readiness
- #19a request: a Cell
- end of the log
The membrane What before after pointer — the next record to pass #19 #20 #19 is a request: the membrane's pointer moves past it, and the membrane looks for someone in the world who will take it.
Where it happens
sweepNextTuple()Vol. 02 §4.6 · Vol. 07 §3The membrane's step: pass over the record under its pointer and move the pointer on — exactly once per record.
- Specification
- Vol. 02 §4.6 · Vol. 07 §3
- Code
sweepNextTuple()incore/registers/sweep-next-tuple.ts, line 16: the membrane's pointer moves on by one- Journal
- #19 ·
MEMBRANE.CURSOR · sweep· offset: 19 · by membrane - Picture
- pointer — the next record to pass: #19 → #20
core/registers/sweep-next-tuple.ts· build 043cc8b// MEMBRANE.CURSOR advance (Vol. 02 §4.6, Vol. 07 §3): the membrane's own// reading of the one log — the second reception of one publication, never a// second truth. The cursor advances exactly once per offset per machine:// the exactly-once discharge guarantee lives in this movement.import type { WaveTuple } from "../wave/gate";import type { RegisterFile } from "./register-file";import { recordTransition } from "./record-transition";import { setDriver, setWaveContext } from "./set-wave-context";export function sweepNextTuple(file: RegisterFile): WaveTuple | null {const engine = file.registers.engine;const membrane = file.registers.membrane;if (membrane.cursor >= engine.base + engine.window.length) return null;const tuple = engine.window[membrane.cursor - engine.base];membrane.cursor += 1;↑ the membrane's pointer moves on by onesetWaveContext(file, { offset: tuple.offset, phase: "sweep" });setDriver(file, "membrane");recordTransition(file, "membrane", "MEMBRANE.CURSOR", "sweep", { offset: tuple.offset });↑ the change is written into the journalreturn tuple;}
AGPL-3.0-onlyThe Lab's demonstration environment, as this fragment ran it (build 043cc8b). The code may change, and may differ from the code of a working machine.
Nest VM core, incubated in the CoAgnes garden · build 043cc8b (2026-09-21) · this file last changed in 6730f58 (2026-09-13)
113The request is handed to the worldDISCHARGE.TABLE · track-discharge
a wave is settlingengine: at the endmembrane: passing #19
The log - #0a listener
- #1a doer
- #2listener: the charter
- #3doer: the author
- #4listener: charter seen
- #5listener: blueprint seen
- #6doer: the planner
- #7listener: assess · charter
- #8listener: assess · result
- #9doer: the evaluator
- #10the charter wanted
- #11the blueprint
- #12readiness
- #13readiness
- #14a request: a charter
- #15the charter proposed
- #16the charter defined
- #17readiness
- #18readiness
- #19a request: a Cell
- end of the log
The runtime No register changed its value.
Admission's controller claims #19 by its shape; the runtime notes the hand-out as discharge 2 and waits.
Where it happens
trackDischarge()Vol. 02 §4.6 · Vol. 08 §3Notes, at the membrane, that a record has been handed to the world, and keeps it among those the machine still waits on.
- Specification
- Vol. 02 §4.6 · Vol. 08 §3
- Code
trackDischarge()incore/registers/track-discharge.ts, line 19: the hand-out gets the next number- Journal
- #19 ·
DISCHARGE.TABLE · track-discharge· id: 2, controller: controller.ceremony.local, offset: 19 · by runtime - Picture
- no register changed its value
core/registers/track-discharge.ts· build 043cc8b// DISCHARGE.TABLE entry (Vol. 02 §4.6, Vol. 08 §3): an in-flight discharge// joins the table under a fresh slot id. The defect path is part of the// entry's own movement: a rejected discharge leaves the table as the// rejection propagates, so the machine stays usable for the next wave// (refimpl 06 §1; host ADR-011 finding 2).import type { WaveEmission } from "../wave/gate";import type { RegisterFile } from "./register-file";import { recordTransition } from "./record-transition";import { setDriver, setWaveContext } from "./set-wave-context";export function trackDischarge(file: RegisterFile,claim: { controller: string; offset: number },discharge: Promise<readonly WaveEmission[]>): void {setWaveContext(file, { offset: claim.offset, phase: "sweep" }); // attribute to the claimed tuplesetDriver(file, "runtime");file.ephemeral.nextDischargeId += 1;↑ the hand-out gets the next numberconst id = file.ephemeral.nextDischargeId;file.ephemeral.inFlight.set(↑ it is kept among those still out in the worldid,discharge.then((emissions) => ({ id, controller: claim.controller, offset: claim.offset, emissions }),(defect: unknown) => {file.ephemeral.inFlight.delete(id);recordTransition(file, "runtime", "DISCHARGE.TABLE", "discharge-defect", { id, ...claim });↑ the change is written into the journalthrow defect;}));recordTransition(file, "runtime", "DISCHARGE.TABLE", "track-discharge", { id, ...claim });↑ the change is written into the journal}
AGPL-3.0-onlyThe Lab's demonstration environment, as this fragment ran it (build 043cc8b). The code may change, and may differ from the code of a working machine.
Nest VM core, incubated in the CoAgnes garden · build 043cc8b (2026-09-21) · this file last changed in 6730f58 (2026-09-13)
when the world answered
114The world answers with a packageDISCHARGE.TABLE · resolve-discharge
a wave is settlingengine: at the endmembrane: passing #19
The log - #0a listener
- #1a doer
- #2listener: the charter
- #3doer: the author
- #4listener: charter seen
- #5listener: blueprint seen
- #6doer: the planner
- #7listener: assess · charter
- #8listener: assess · result
- #9doer: the evaluator
- #10the charter wanted
- #11the blueprint
- #12readiness
- #13readiness
- #14a request: a charter
- #15the charter proposed
- #16the charter defined
- #17readiness
- #18readiness
- #19a request: a Cell
- end of the log
The runtime No register changed its value.
The controller returns one answer — a Cell package: the charter by reference and digest, the blueprint, a policy, the context, and what it answers. Discharge 2 closes.
Where it happens
resolveDischarge()Vol. 08 §3 · Vol. 03 §3.3Notes that the world has answered: the hand-out is closed, and what came back is ready to enter the log.
- Specification
- Vol. 08 §3 · Vol. 03 §3.3
- Code
resolveDischarge()incore/registers/resolve-discharge.ts, line 14: no longer waiting on the world- Journal
- #19 ·
DISCHARGE.TABLE · resolve-discharge· id: 2, emissions: 1, controller: controller.ceremony.local, offset: 19 · by runtime - Picture
- no register changed its value
core/registers/resolve-discharge.ts· build 043cc8b// DISCHARGE.TABLE settlement (Vol. 08 §3): the earliest completed discharge// leaves the table and its answers re-enter the wave as the next run's// seeds. Earliest completion wins; consumers rely on correlation, never// adjacency (Vol. 03 §3.3).import type { RegisterFile } from "./register-file";import { recordTransition } from "./record-transition";// The resolution names the claim it answers (controller · the swept tuple)// and is journaled under THAT tuple's wave context, so the tuple's own// journal states which discharge answered it (ADR-004 d17); the answer's// emissions are then appended under the same attribution.export function resolveDischarge(file: RegisterFile, id: number, emissionCount: number, claim?: { controller: string; offset: number }): void {file.ephemeral.inFlight.delete(id);↑ no longer waiting on the worldrecordTransition(file, "runtime", "DISCHARGE.TABLE", "resolve-discharge", { id, emissions: emissionCount, ...(claim ?? {}) });↑ the change is written into the journal}
AGPL-3.0-onlyThe Lab's demonstration environment, as this fragment ran it (build 043cc8b). The code may change, and may differ from the code of a working machine.
Nest VM core, incubated in the CoAgnes garden · build 043cc8b (2026-09-21) · this file last changed in de79653 (2026-09-11)
115The package enters the log as #20LOG · append
a wave is settlingengine: next: #20membrane: waiting at #20
The log - #0a listener
- #1a doer
- #2listener: the charter
- #3doer: the author
- #4listener: charter seen
- #5listener: blueprint seen
- #6doer: the planner
- #7listener: assess · charter
- #8listener: assess · result
- #9doer: the evaluator
- #10the charter wanted
- #11the blueprint
- #12readiness
- #13readiness
- #14a request: a charter
- #15the charter proposed
- #16the charter defined
- #17readiness
- #18readiness
- #19a request: a Cell
- #20the seednew
- end of the log
The log What before after records in the log 20 21 #20 — the seed · cell.seedThe package is written at the end of the log as #20,
cell.seed— attributed to the controller. Its place in the log will be the Cell's name.Where it happens
appendEmissions()Vol. 02 §4.1 · Vol. 03 §1The only function that adds records to the log. Each new record gets the next free number, at the end.
- Specification
- Vol. 02 §4.1 · Vol. 03 §1
- Code
appendEmissions()incore/registers/append-emissions.ts, line 14: the new record gets the next free number- Journal
- #19 ·
LOG · append· offset: 20, kind: domain.fact · by engine - Picture
- records in the log: 20 → 21
core/registers/append-emissions.ts· build 043cc8b// The one LOG writer (Vol. 02 §4.1, Vol. 03 §1): emissions become tuples by// receiving the next dense absolute offset — `base + window.length` — and// nothing else ever grows the log. Each append is journalled under the// ambient context, so a batch born of a propagated tuple carries that// tuple's offset as its cause — the cube's provenance line (ADR-002).import type { WaveEmission, WaveTuple } from "../wave/gate";import type { RegisterFile } from "./register-file";import { recordTransition } from "./record-transition";export function appendEmissions(file: RegisterFile, emissions: readonly WaveEmission[]): void {const engine = file.registers.engine;for (const emission of emissions) {const tuple: WaveTuple = { ...emission, offset: engine.base + engine.window.length };↑ the new record gets the next free numberengine.window.push(tuple);↑ it is added at the end of the logrecordTransition(file, "engine", "LOG", "append", {↑ the change is written into the journaloffset: tuple.offset,kind: tuple.kind});}}
AGPL-3.0-onlyThe Lab's demonstration environment, as this fragment ran it (build 043cc8b). The code may change, and may differ from the code of a working machine.
Nest VM core, incubated in the CoAgnes garden · build 043cc8b (2026-09-21) · this file last changed in f36e70d (2026-08-18)
Step 113: The request is handed to the world
113 The request is handed to the world
a wave is settlingengine: at the endmembrane: passing #19
- #0a listener
- #1a doer
- #2listener: the charter
- #3doer: the author
- #4listener: charter seen
- #5listener: blueprint seen
- #6doer: the planner
- #7listener: assess · charter
- #8listener: assess · result
- #9doer: the evaluator
- #10the charter wanted
- #11the blueprint
- #12readiness
- #13readiness
- #14a request: a charter
- #15the charter proposed
- #16the charter defined
- #17readiness
- #18readiness
- #19a request: a Cell
- end of the log
No register changed its value.
Admission's controller claims #19 by its shape; the runtime notes the hand-out as discharge 2 and waits.
Where it happens · trackDischarge()
Notes, at the membrane, that a record has been handed to the world, and keeps it among those the machine still waits on.
- Specification
- Vol. 02 §4.6 · Vol. 08 §3
- Code
trackDischarge()incore/registers/track-discharge.ts, line 19: the hand-out gets the next number- Journal
- #19 ·
DISCHARGE.TABLE · track-discharge· id: 2, controller: controller.ceremony.local, offset: 19 · by runtime - Picture
- no register changed its value
core/registers/track-discharge.ts · build 043cc8b// DISCHARGE.TABLE entry (Vol. 02 §4.6, Vol. 08 §3): an in-flight discharge// joins the table under a fresh slot id. The defect path is part of the// entry's own movement: a rejected discharge leaves the table as the// rejection propagates, so the machine stays usable for the next wave// (refimpl 06 §1; host ADR-011 finding 2).import type { WaveEmission } from "../wave/gate";import type { RegisterFile } from "./register-file";import { recordTransition } from "./record-transition";import { setDriver, setWaveContext } from "./set-wave-context";export function trackDischarge(file: RegisterFile,claim: { controller: string; offset: number },discharge: Promise<readonly WaveEmission[]>): void {setWaveContext(file, { offset: claim.offset, phase: "sweep" }); // attribute to the claimed tuplesetDriver(file, "runtime");file.ephemeral.nextDischargeId += 1;↑ the hand-out gets the next numberconst id = file.ephemeral.nextDischargeId;file.ephemeral.inFlight.set(↑ it is kept among those still out in the worldid,discharge.then((emissions) => ({ id, controller: claim.controller, offset: claim.offset, emissions }),(defect: unknown) => {file.ephemeral.inFlight.delete(id);recordTransition(file, "runtime", "DISCHARGE.TABLE", "discharge-defect", { id, ...claim });↑ the change is written into the journalthrow defect;}));recordTransition(file, "runtime", "DISCHARGE.TABLE", "track-discharge", { id, ...claim });↑ the change is written into the journal}
AGPL-3.0-onlyThe Lab's demonstration environment, as this fragment ran it (build 043cc8b). The code may change, and may differ from the code of a working machine.
Nest VM core, incubated in the CoAgnes garden · build 043cc8b (2026-09-21) · this file last changed in 6730f58 (2026-09-13)
A fact: a request to the world
What a doer writes when it needs the world — complete in itself: what to do, about what, in which shape the answer must come, and as what. Admission makes three: write the charter, build the Cell's package, assess its result.
#19domain.factservice.request the machine
| envelope | |
|---|---|
offset | 19Its place in the log — the only address a record has. The engine gives it when the record is added, the next free number, and it never changes. |
kind | domain.factWhich of the four kinds of record the machine knows. The kind decides what the payload holds. |
key | fragment-one-cellThe lane it is asked on; the answer comes back on the same lane. |
| payload | |
factType | service.requestThe fact type, service.request — the shape a controller claims. |
| payload.data | |
bindId | admit.note.gate--l1.seeking.plannerThe doer that asks. |
uid | admit.note.gate--l1.seeking.planner#1The intention's name: the doer's name and a number. The answer must carry it back. |
instruction | «Seed the admitted figure as a Cell.»What the world is asked to do. |
scope | blueprint · charterWhat it is about: the doer's scope when it acted — the charter wanted; the charter and the blueprint; or the charter and the result. |
schema | typeThe shape the answer must have. |
| payload.data.emit | |
cell | mode · isolation · raw_input · accepts ×1 · capabilities ×1 · budget · publish · charter_from · seed_from ×2Instead of a type, a Cell: the ceiling of what the package may ask for. |
end · #19
In the specificationVol. 03 §1Vol. 03 §4Vol. 03 §5Vol. 04 §5.1Vol. 06 §3Vol. 07 §4.2Vol. 12 §3
Names it shares with other records
admit.note.gate--l1.seeking.planner— also on #6 doer: the planneradmit.note.gate--l1.seeking.planner#1— also on #22 inner listener, #23 inner doer
The record as the machine keeps it
{
"offset": 19,
"kind": "domain.fact",
"key": "fragment-one-cell",
"payload": {
"factType": "service.request",
"data": {
"bindId": "admit.note.gate--l1.seeking.planner",
"uid": "admit.note.gate--l1.seeking.planner#1",
"instruction": "Seed the admitted figure as a Cell.",
"scope": {
"blueprint": {
"blueprint": {
"version": 1,
"topology": {
"knots": [
{
"id": "l1.seeking.gate",
"strategy": "deterministic",
"config": {
"meta": {
"title": "Seeking",
"gloss": "What are we seeking to understand, and for whom does it matter?",
"fields": [
{
"name": "text",
"label": "What is this material about, and what exactly are we seeking to understand in it?",
"kind": "text"
}
]
},
"wind": {
"collect": [
{
"as": "text",
"match_type": "context.given",
"reduce": "latest",
"field": "text",
"where": [
{
"field": "level",
"equals": "l1.seeking"
}
]
}
]
},
"condition": "text != null"
}
}
],
"descriptors": [
{
"id": "l1.seeking.release",
"operator": {
"on": "l1.seeking.gate",
"demands": [],
"service": {
"instruction": "Release the seat's answer as knowledge.l1.",
"schema": {
"type": "object"
},
"emit": {
"writes": "knowledge.l1"
},
"action": "release@1"
}
}
}
]
},
"result": {
"local_fact_type": "knowledge.l1",
"producer_bind": "l1.seeking.release",
"data_field": "result"
},
"schemas": {}
}
},
"charter": {
"definition": {
"ref": "charter@15",
"digest": "sha256:d697d7f3224e3a44a0888949eb98ee5ecf54aa09b2fc4aba2addca763458ec1b",
"value": {
"title": "Seeking",
"purpose": "What are we seeking to understand, and for whom does it matter?",
"question": "What is a Cell, and why does the machine open one instead of answering in place?",
"criteria": [
{
"id": "q1",
"question": "What is this material about, and what exactly are we seeking to understand in it?",
"weight": 1,
"minimum": 0.6
},
{
"id": "q2",
"question": "Whose problem does it address, and why does it exist?",
"weight": 1,
"minimum": 0.6
}
]
}
}
}
},
"schema": {
"type": "object"
},
"emit": {
"cell": {
"mode": "trial",
"isolation": "subscribed",
"raw_input": "deny",
"accepts": [
{
"match_type": "context.given"
}
],
"capabilities": [
"inference"
],
"budget": {
"max_records": 2,
"max_emissions": 120,
"max_inference_calls": 12
},
"publish": {
"candidate": "knowledge.l1",
"accepted": "knowledge.l1.accepted"
},
"charter_from": {
"scope": "charter",
"field": "definition"
},
"seed_from": [
{
"as": "charter",
"scope": "charter",
"field": "definition"
},
{
"as": "blueprint",
"scope": "blueprint",
"field": "blueprint"
}
]
}
}
}
}
}