Plan

Rewritten 11 November 2026. The first plan was written on 1 October 2026 for a developer weekend on 10 and 11 October, and grew into a register of milestones. That register is kept as a record in spikes/plan-2026-10; where another document cites a milestone by number (M4b, M5, M9), it means that register. This file now says where to find what is built, what the paper asks for that the code does not have, and in what order that gets built.

What this is

The reference implementation of Durable Memory for Disposable Agents. The paper designs shared memory and coordination for fleets of agents that outlive every component they are built from. This repository builds the smallest complete deployment of it: one person's memory, one process, runnable on a laptop. It then grows toward the stack in docs/reference-stack.md without changing the surface.

The one piece of code that matters most is the wrapper: a per-session memory server that sits beside an agent harness, holds every credential and every policy check, and is the only thing the agent talks to. On a laptop it is a native binary that a harness reaches over MCP. In an institution the same binary runs as a sidecar the platform launches per workload. Same surface, same stores, different process boundary.

Decisions already made

DecisionChoiceWhy
LanguageRust, one workspaceOne core library compiles native for Windows and Linux, to wasm for a browser reader, and to WASI for sandboxed plugins. The Apache libraries involved (OpenDAL, DataFusion, Arrow, Iceberg) are Rust-native
The recordMarkdown files with frontmatter, versioned, never edited in placeThe paper's first principle: data outlives tooling, and a person with a text editor can read it
The engineNot chosen. Local files through OpenDAL now; S3-compatible laterThe paper names no engine, only seven guarantees (§3)
Partition keyThe domain, everywhereRecord prefix, index shard, log partition, ledger schema. One writer per domain falls out of it
Local index and ledgerSQLite with FTS5, one fileNothing to operate; BM25 ranking built in; rebuildable from the record
Agent bindingMCP over stdio first, HTTP secondEvery harness speaks it; the surface in the paper's Appendix A is the contract
PolicyA grants file the owner edits; one principalIdentity is the serving layer's concern and a local server authenticates nobody (§6)
InterchangeA directory of entries plus a manifest with digestsAligns with where the Open Memory Protocol work converges
review_by on diskA calendar date, review_by: 2027-04-01. A binary reads that and the year-and-day list that binaries before this change wrote; it writes only the date. The bundle format stayed durable-memory/bundle/0 for this change; the cites row below made it bundle/1The date is the shape the paper always gave, and the list was time's default, not a choice. Every record on disk still reads. An older binary cannot read an entry a newer one wrote with a review_by, so upgrade every binary that shares a record or takes its bundles. amem log materialize compares the log with the stored text, not a re-render, so a record written in the old shape is not reported behind
cites, curator, auditorThe frontmatter field source is cites, as the paper's Appendix A names it; amem librarian is amem curator, amem check is amem audit, and task origins are curator:<kind> and auditor:<kind>. The bundle format is durable-memory/bundle/1. No alias: a binary refuses an entry that carries source, and refuses a bundle/0The paper settled on these words, and a demo that says librarian where the paper says curator reads as a different design. There are no users yet, so a clean break costs a reseed (make demo-ready RESET=1). A silent read of the old field would drop an entry's citations, so the parser refuses it in words
Build speedCargo stays the developer loop and the source of truth for dependencies. Remote execution over the Remote Execution API is the direction for CI and shared caching, in preference to sccache, which is the interim: Bazel with rules_rust and crate_universe generated from the Cargo manifests, against a REAPI service (BuildBuddy, Buildbarn or NativeLink, the last written in Rust). Measured here: a clean build is 104 s cold and 39 s with a warm sccache; the dev target went from 27 GB to 2.2 GB on line-table debug infoA remote-execution build is content-addressed and shared across machines and CI, which a local compile cache is not. The cost is a second build description: generated, so it stays in step, but the native bits (bundled SQLite, ring) need toolchains declared. Spike before adopting: build the workspace under rules_rust against a local Buildbarn and compare
The gatewayLiteLLM‘s OpenAI-compatible API is the contract; llmao (apache/tooling-llmao) is the control plane in front of it, identity, PATs and project governance, and nothing of it is reimplemented here. --auth gateway speaks to any LiteLLM with a key: locally the compose stack with the master key, at the Foundation llm.apache.org with a PAT llmao issued. The egress’s metering is per session and destination and sits beside LiteLLM's per-key spend, not instead of itDuplicating a control plane would be the mistake; speaking its proxy's API is not. The local compose stands in for identity, which a laptop does not have
ContainmentThe harness runs with no network. Its only egress is the wrapper, over a unix socket relayed to loopback inside. The wrapper forwards model calls (to a gateway or a provider), checks the session label against the destination's ceiling first, reads token usage out of every response, and serves memory over MCP on the same socket. Linux: native namespaces, unprivileged. macOS: Seatbelt, dry-coded and not yet run on a Mac. Windows: WSL2Containment is the launcher's job and does not depend on how the harness authenticates. Metering and the model-class check come for free from being in the path, which is what a subscription login would otherwise lose
Handling by egressA session's handling is capped at the ceiling of the destination its model calls go to, set at launchA session whose calls go to a public-ceiling destination reads only public entries, so nothing it reads can leave above that ceiling
CredentialsThe wrapper holds and injects them; the harness gets a placeholder. The one exception is a subscription login, which the harness must hold itself and the wrapper passes throughAnthropic requires the subscription be used by Claude Code itself. Codex with a ChatGPT login is not supported yet, since Codex routes that to chatgpt.com
The wrapper's reachA confined process. It reads and writes only what is mounted into it: the record, its own state, its grants file. Nothing else on the host. Store and index roots are the mount points, and no name may become a path outside themThe agent beside it holds no credentials and the wrapper holds no ambient access. What is mounted is deliberate, as a container's mounts are, whether or not a container runtime is doing the confining
Proof of concept, and the production shape (M2)Everything built so far proves the contracts on the simplest stores that hold them on one laptop: files, SQLite, JSONL, one process, one host. It stays that way as the reference, and production backends go in behind the same crates, one store at a time, each proven against the unchanged conformance suite and measured with the evaluation harness and amem savings before it is preferred. The targets are the reference stack‘s: the ledger in PostgreSQL, one schema per domain, a claim as one row-locked statement, first, since it is the contended path; telemetry as OpenTelemetry spans from the egress (model calls), the server (reads) and the ledger (task transitions) into a collector, beside the SQLite tables until the librarian’s signals are computed from the stream, then instead of them; the index in Solr sharded by domain; the record in an object store with versioning through OpenDAL; the curation cycle event-driven off the log. A backend is selected by configuration in the root, never by a build flag, so one binary is the laptop and the sidecarA proof of concept that is honest about being one can be judged on the contracts, and a production move that has to pass the same suite cannot quietly change them. The ledger first because ten thousand committers and a fleet claiming around the clock contend there and nowhere else on the hot path. OpenTelemetry because the librarian's signals, cost per task and the watch on the watchers are analytics, and the reference stack already puts them on a stream rather than in the record
Policy and the perimeter (M12)The checkable perimeter is Rego from the first day: the built-in policy ships in the policy crate and runs in process through regorus with the grants file as data, a root may replace it under policy/*.rego, and at scale the same files run in OPA as a sidecar with partial evaluation compiling the read filter into the index query. Its scope is the paper‘s: access, admission, spend and blast-radius gates, irreversibility; judgement is never encoded. Admission scales with what a task asks for: the system’s own filings and a session‘s filings from a held task within that task’s requirements are admitted where the domain admits its own, inflated requirements and filings on a session‘s own account stay proposed. Writes are scanned for what is not knowledge, instructions to the reader, broadcast to agents, tool syntax, hidden text, payloads, secrets, and from anyone but the owner such a body is quarantined for the owner, never served; a verified entry is replaced by no one but the owner; an agent session past the supersede count in [gates] is stopped. Every decision is logged with the policy version. Detection reads the logs, not the record: a write log beside the read log, amem taint for an entry’s reach, and write-rate and relay alarms in the librarian's telemetryShared memory is an injection surface and a channel, and the paper's defence is structural: data is not authorization, the perimeter is outside the loop, and gates scale with blast radius. Rego from the start means the laptop and the fleet check the same rules, and a policy that is text in the record can be reviewed, versioned and cited by a decision log
Tasks and their relations (M5d)The model stays tasks, leases, handoffs and depends_on; relations are expressed in fields that exist, no coordinator process. A subagent task the board files carries origin: task:<parent>, so a child knows its parent and the tree is a query. When the board refuses a spawn it also files a continuation, “resume <parent> with what the children found”, with depends_on naming the children and origin: continues:<parent>; the parent‘s run ends with its handoff as today, and the parent waits on the board, claimable by nobody while a continuation of it is open (decided 12 October, after act 4 of the demo showed it claimable and so done twice); the continuation’s completion completes the parent with the same handoff, and its parent in turn, up the chain, unless a holder with a live lease has it; a continuation invalidated without a successor leaves the parent claimable again; and the continuation becomes claimable when the last child completes, with every child handoff and the parent‘s own in its prompt, which the prompt builder already does for depends_on. Fan-in is therefore the existing dependency rule; fan-out is filing; a chain is a sequence of continuations, each a task on the board, held by no process. Dedup at filing is origin plus a hash of the prompt, so the same spawn asked twice is one task. Admission is by rule: a domain grant admits tasks a session files from its own task, and the human stays in the loop for tasks from outside, a tap’s say. No depth cap: a tree may be as deep as the work needs, and a step that only a person can take, a task whose requirements match a human principal, is a node like any other, so a human‘s answer sits in the chain and adds to its depth as a matter of course. Invalidation is recursive: deprecating a task deprecates its subtree, the children still open and the continuations that depend on them, each marked superseded_by the invalidation, and a dead end re-admits the root with the chain’s handoffs attached as lessons, as M5d‘s register row says. Artifacts are entries, typed and labelled, written by the task that produced them and cited by its handoff; no new table. Memory written by a child is visible to the parent as it is to any session, through search, recall and T0; no push to a running agent, since no harness takes one and a run that needed a child’s result before finishing should have been a continuation. The board is visible: the web terminal gets a page of tasks by status with their tree, where a human claims the tasks addressed to themA task is a promise and a handoff is a report; a continuation is a new promise made from a report. Keeping them separate objects keeps intent and history legible, and keeping relations in origin and depends_on means nothing new has to be invented, only named. A depth cap would have been a guess at how work decomposes; the paper's answer is solvability, every leaf matches someone, and humans are claimants
Bundle records and highest_labelA bundle's highest_label counts its promotion records with its entries, and manifest::FORMAT stayed bundle/0 for this change; the cites row made it bundle/1There are no users yet, so the meaning of a field may change without a version bump. A reader from before the records refuses only a bundle whose records sit above all of its entries, which is the safe side: it never accepts more than before
Positions on diskA position is an entry of a new type, position, whose body holds one fenced position pos-<name> block: the charter and the authority envelope, in TOML. The name in the block is the position‘s identifier and the entry’s id is its version. A task record gains position and pin_reason. No frontmatter field is added, and manifest::FORMAT stays durable-memory/bundle/1Both are additions: every entry and every task on disk still reads. A reader from before refuses an entry of the new type, in an import as on disk, which is the safe side: it never takes a position for some other kind of entry. A block in the body keeps the frontmatter as it is, the way a task definition and a rule are held, and puts a change of authority through the same review gate as any verified entry
session on diskAn entry carries session: <session id>@<offset>, as the paper‘s Appendix A gives it. The offset is the sequence number of the entry’s own write event in the log of its domain. The field is optional; only write sets it, and a promotion, a flag or a release from quarantine re-puts the entry and keeps it. The bundle format stays durable-memory/bundle/1The session and the offset recover the read set: the reads of that session below the offset, which the log now holds. Every record on disk still reads, since an entry without the field parses and is written again without it. An older binary reads an entry that has the field and does not see it, so a version that binary writes of the entry loses the field; nothing else in the entry changes. An imported entry keeps the session of the root that wrote it, which names a log this root does not hold
status: withheld on diskA fourth value of status, beside demoted, superseded and erased: an entry that an erasure reached by lineage. The body and every other field stay; nothing in retrieval serves it; the security role reads it from the archive. It ends when a new entry names it in supersedes (the record leaves the withheld one as it is), when the owner releases it, or when it is erased in turn. The bundle format stays durable-memory/bundle/1, and an export leaves a withheld entry outThe paper's Erasure section says affected entries are withheld while they are re-derived or erased in turn. The status is in the frontmatter so the record alone shows it and a rebuild from the record keeps it. Every record on disk still reads. An older binary fails to parse an entry with this status, which is the safe side: it serves nothing it cannot read. Only one hop of lineage is withheld, because the informed-by edge is coarse (a session that loaded T0 read everything T0 listed) and the whole closure would hide most of a busy domain; entries further downstream are listed on the receipt. The hop is followed after the erasure too: a write by a session that read the entry before its erasure, or a turn of a transcript erased since, lands withheld and is added to that receipt. A verified policy rule is the one exception, listed and left in force, because a rule only refuses and withholding it would fail open; an exception to a rule permits, so it is withheld and leaves force
The stub of an erased entryA stub keeps id, type, domain, created, classification, supersedes, session and status: erased. Its author is erased and its tier raw. The title, the summary, the citations, the origin, the confidence, the review date and the policy context go with the body, for every reason class. This replaces the rule that a stub kept its title, author and citations when the reason was mistaken or legalThe paper's stub holds an opaque id, an erased marker and an access label, and repeats no text, title or URL: a citation or an origin can be a link with a credential in it, and a title says what the body said. A stub written under the old rule still reads and is left as it is. An erased entry that an import had landed no longer carries its origin, so another version of it in a later bundle is known by its digests alone
The receipt of an erasureThree optional lists beside what a receipt held: withheld (the entries this erasure withheld), further (entries downstream that it listed and did not withhold: two hops or more away, or one hop away and already out of the active set, or one hop away and a verified policy rule) and sends (every send event in the forward lineage, at any depth, as domain, destination, session, count and first and last offset). flagged is still read from a receipt on disk and is written by no erasure now. An empty list is not writtenThe paper‘s receipt lists the external sends that need follow-up, since a copy outside the operator’s control cannot be recalled. A receipt from before reads as it did, and a receipt with none of the new lists is byte for byte what the code before wrote, apart from an empty flagged

Where the code stands

The contracts of the read path, the ledger's first rules, the perimeter and the evaluation tools are built and run end to end on ten harnesses; README.md lists them, with what is missing and what works only at demo scale. Each backend is the simplest one that holds its contract on one laptop.

The paper moved after most of that code was written. In the first ten days of November 2026 it gained positions, task definitions, a rule lifecycle, approvals as events, autonomy levels, the measures against a fleet that turns inward (upkeep share, induced work, a landing queue), a “Measured by” column on every evidence row (Appendix G), and an inventory of its own size (Appendix H). Appendix H‘s “Described only” column is the paper’s own list of what has no code. The table below is that list, widened by a read of every section against the code on 11 November, and put in build order.

Bringing the code up to the paper

One package is one branch and one pull request. A package that adds a mechanism is done when the mechanism is in the library, the command line and the memory server both reach it, a demo act shows it, and the item for it is gone from README‘s list of what is not built. This file’s table then marks the package as landed, with its pull request. The numbers are the order the work is taken in. Only the “Needs” column binds: a package may start once the packages it names there have landed, and the rest of the order is preference. The historian is the paper's name for the event log.

#PackageNeedsPaperWhat gets builtThe demo shows
0DependenciesThe locked dependencies with advisories upgraded, so CI's dependencies job passes
1The paper's words§5, Appendix Acites for source; curator and auditor for librarian and checker, in commands, task origins and documents; bundle format 1Every act, in the paper's vocabulary
2The task record and its claims1§8 A task's life, Leases; Appendix CStates open, blocked, done; a generation on every claim, carried by every mutation made under it; an attempt key on every operation; a holder that is one session, not one harness; refused claims recorded; a handoff appended after a lost lease; an uncertain external effect blocks reassignment until reconciled; invalidation with one of three reasons, and dependents re-triaged; waiting on an outside event as a state a tap event ends; the record's remaining fields (parent, scores, requires, implements, reversibility, artifacts_touched, policy_context)Act 4: a stale holder's write refused by its generation; a blocked task and what unblocks it
3Task definitions2§6 Turns cost more than transport; §8 Admission, Matching; §10A task-definition artifact in the platform domain, versioned; a task names one and stays proposed without it; acceptance criteria, inherited or per task; the claimant's tools and grant derived from the definition, a few at boot and the rest by searchAct 7: a task refused admission for want of a definition; a session that has only the tools its definition names
4Positions2§8 Positions; Appendix CThe position entry type: charter, authority envelope, commitments, a handoff cache; a task pinned to a position with a reason; matching that honours the pin; filling, waking, secondment and retirementAct 4: a pinned task waits for its position; a fresh session fills the position from its cache
5Approvals and controlled flow2§3 Erasure; §4 Promotion, Labels and flow; §8 Decomposition; Appendix C ApprovalsAn approval as an event on the ledger, and in the domain‘s log once package 7 puts the ledger’s events there: the person, the action, the version, a scope, an expiry; the perimeter checks it when the action runs and not before; declassify to a named guard, landing a new entry that cites the old; erasure through the same gateAct 3: an irreversible action refused, approved for one version, run, and refused again once the version moves; a restricted entry declassified through the guard
6The rule lifecycle§7A rule's owner is a person; status of proposed, advisory, enforced or retired; review_by acted on; a ceiling on enforced rules per domain; the reset that keeps rules with a person in their lineage; an unused rule queued to its owner; a denial that names the rule, a reason code and a remedy; check_policy, file_exception and propose_amendment as memory tools; a marked L0 coreAct 3: a rule moving from advisory to enforced; a denial an agent can act on; the reset
7The historian and lineage2§3 The write path, The historian and lineage, Erasure; Appendix E Screeningsession: <id>@<offset> on every entry; write, read and send events in the domain‘s log, each with a label; the ledger’s events in the same log; the index fed from the log as it grows, with a published bound on freshness; a write appended and then screened, with a failed one kept in the log at the highest label for a security role; informed-by edges both ways, over sends too; an erasure stub of id, marker and label; entries downstream of an erasure withheld until re-derived; the receipt lists the sendsAct 3: lineage read from the log, backward from a bad outcome; act 10: an erasure with its receipt
8Raw reach7§4 Promotion, Poisoning; Appendix E Raw reachA reach on every raw entry (task chain, fleet, or tap rows); the session's record of having read outside content; a write after that lands with tap reach; the read filter carries reachAct 9: tap content visible to the task chain that pulled it and to nobody else until it is curated
9The curator‘s and the auditor’s duties6, 7§5Demotion of dead material; convention checks for freshness, ownership and cross-links, each failure a task to the owner; policy curation; corrections as outcome events; work on superseded-derived entries first. The auditor on a different model where one qualifies on planted faults, and otherwise on the curators' model in a fresh session with more sampled human review; judging a curation against what it cites; sampling handoffs; testing entries togetherAct 2: a demotion with its tombstone; the auditor's qualification on planted faults, and which of the two modes it then runs in
10Access freshness§6 Access control; Appendix E Access freshnessA filter that is valid only while policy, grants and scope are at the version it was built from; refusal when that cannot be shown; revocation that stops a session; the recall deputy re-checking before the briefAct 3: a grant withdrawn mid-session
11Autonomy and the improvement loop3, 5§10An autonomy level on each task definition, earned on a held-out suite and lowered by reverts; an evaluator tuned apart from the worker; the loop's performance, safety and review gates, scaled by reach; a candidate that widens permission refused; repeated denials raised as probingAct 7: a definition's level rising on a passed suite, and a candidate refused for adding a tool
12Measurement and limits2, 5§9; §12 Cost and throughputThe paper's metrics that the logs can already answer, then the rest; the time of a task from claim to completion; upkeep share and induced work; self-filed work counted as upkeep; a landing queue with a throughput share; the five limits, spend in money from a versioned price vector; published targetsAct 5: the metric table against the paper's list; a fleet that files its own work shown as upkeep
13Evaluation§11The five arms, paired across seeds, with a margin set beforehand; scorecards kept in the platform domain; a replay manifest on each decision context; the off switches; drift that freezes distillation; the replay trapsAct 6: the arms side by side; act 8: a re-execution that says where it left the tape
14The surface of Appendix A5, 7Appendix Aget by anchor and by version, with related and its weights; search with filters and snippets; recall with context_tokens and answer_kind; approve, erase, export and declassify as memory toolsAct 1
15Long timescales2, 7§7 Keeping strategy in touch with the world; §9 outage; §12; Appendix E RecoveryThe identity form human:<authority>,<date>:<id>; an ownership registry that flags a domain without an owner; personal domains; recovery bundles with a claim epoch, and a restore drill; work from T0 during an outage; a scheduled task that gathers evidence for the horizon scanner, who is a personAct 10: a restore drill

Landed so far:

#Pull requestWhat is still open in the package
0#69Nothing
1#71Nothing
2#73, attempt keys for a claim and a completion in #77, and waiting, unsettled effects and the remaining fields in #81An attempt key on the other operations; a connector that serialises external actions and reconciles them; taps that report the events tasks wait on; rules that read scores, implements, reversibility and artifacts_touched; the hold of an unsettled effect follows a task‘s origin only, so the same work filed anew under no origin is not held; a task’s classification does not rise to its holder's label, so a session that has read above its task records no effect and no wait on it; a task held under a live lease when its continuation finishes is left to its holder, and is on offer again if that lease runs out
3#74A suite that gates a version of a definition; the data scope enforced; a definition required by default, once the system's own filings name one; tools offered a few at boot and the rest by search
4#83The platform‘s standing roles as positions made when a domain is registered; a curator’s proposal of a position, and an unused position queued to its owner; a session started by the service when a pinned task is admitted (today a launcher run with --wake starts it, and not on the wslc backend); a session that is live apart from a lease it holds, and one occupant at a time; the position in the principal chain and in the policy‘s input; a tap that posts for a position; a check that a separation pin names another position than the author’s; the envelope‘s data scope; a next version of a position that waits for review while the old one stays in force; a retirement approved by a second person; the pin carried to a retry; a helper’s writes kept out of its parent‘s position; entries that an import brings with a pos- citation; who admits a pinned task as a decision of the policy (today the library holds it: a person, or the occupant under the charter’s agent definition); a session whose position changed that can still close the task it holds (today it writes its handoff, and the lease runs out); a count of pinned tasks in the listing that leaves out the proposed ones
6#78check_policy selecting rules by the action; the unused-rule check over one review period; the approver of an exception checked against the layer breached; a new version of a rule keeping its place under the ceiling; a decision that survives an enforced module that fails; the author and the date of an imported rule not trusted; a verified rule that stays in force while its next version waits for review; a denial that names no policy counted for the module that made it, in the rates and the lint
7#84The ledger still writes its own table first, and the log takes a copy that can be late; a model call that fails or goes through a tunnel is no send event; a tool‘s request to an outside host is no send event; the log is not rewritten at an erasure, so the author and the session of an erased entry’s events stay; entries two hops or more downstream of an erasure are listed and not withheld; a verified rule of the policy one hop downstream is listed and not withheld, since withholding a rule would allow what it refused, so its text stays served until the owner erases or replaces it; a release from quarantine does not look at what the held write‘s session had read; a write by a session that read an erased entry is withheld by a check after the record took it, so it is served for the moment between the two; on PostgreSQL every append of a domain now waits for the one before it, which is what makes the copy of the ledger’s events complete, and costs the concurrency of claims within a domain; no task is filed for a withheld entry; no reader feeds the index, so what a stopped writer left waits for the next write or amem log feed; a read event names ids, and the version is the last put before it; the reads of a helper session count only through what the helper wrote; curation events are not in the log; erasure does not go through an approval
10#79A stop for only the sessions that a change to the grants affects; rendered files removed when a session stops; the harness of a stopped session stopped; an expiry on a grant; an expiry that reaches a read filter from a root policy, and the advisory rules

What stays unbuilt after these, and stays on README's list: federation across domains, authentication of people, logprob-based drift, and accelerator time, which only a gateway can count. So do the items on that list that need another machine or an outside service more than they need code: the limits on re-enactment, harness settings and decomposition templates in the platform domain, bytes stored and resource limits on the sandbox, the authoring of agent definitions, the search tool against its live provider, a harness under Seatbelt on a Mac, and the Gofannon bridge against a live deployment, whose agents make model calls that the egress does not meter.

Toward the production shape

Nothing above changes a backend. docs/reference-stack.md says what each one becomes; this is the order, each step behind the trait or seam that exists today.

  1. The ledger on PostgreSQL with a pool, as a projection of the log. The schema per domain and the SKIP LOCKED claim are built.
  2. Telemetry as OpenTelemetry spans into a collector and analytics tables. The spans are built; the metrics of package 12 then read tables, not whole files.
  3. The index in a search engine sharded by domain, with the read filter compiled into its query.
  4. The record in a versioned object store, through OpenDAL.
  5. The event log on a broker, a partition per domain, with the feed of the index and the materializer as its consumers and the ledger written from the log. The ledger's events as copies, the feed and the published bound are built on the file log (package 7).
  6. Curation driven by log events, not by a survey of the whole record.
  7. The policy engine as a sidecar with partial evaluation.
  8. The memory server apart from the egress, with a network binding upstream.
  9. Identity: principals that authenticate, and the principal chain in a short-lived token.
  10. Hosted tools registered in the gateway.
  11. The recall deputy, the curators and the auditors as agents on the platform that already runs agents.
  12. A reference compose file for the whole stack.

The paper adds a condition on every step here: each package above has to hold on the production backend too. Appendix G names a metric or a drill as the measure for 51 of its rows; amem computes a few of those metrics today, and no drill runs.

The demo

make demo-all HARNESS=<harness> plays eleven acts on one record: the read path; curation and the trust tiers; the perimeter; the task fabric; watching it; memory against no memory; the platform; running a session again; from outside; the record moves; and what this is not, yet. docs/demo-narrative.md narrates them. Act 11 prints README's two lists, so the demo cannot claim more than the code has. Each package above ends with its line removed from those lists and a step in an act.

Working agreements

  • Entries are the contract. Any change to the frontmatter is a change to core and gets a row in “Decisions already made”.
  • Every crate has a test that round-trips its data through the record and back.
  • The command line and the memory server call the same library functions; nothing lives only in the binary.
  • No engine-specific vocabulary in docs or code outside the backend that needs it.
  • A package changes the code, its demo step, README‘s lists and this file’s table in one pull request.