Plan explainer · ASB team ledger · draft for Brian and Thino · 12 Nov 2026, updated 14 Nov
Today every person's agent keeps its own ledger on its own laptop. This plan moves the Merit records to one shared store. Every agent reads and writes the same records. Quality comes from the record's owner, not from a reviewer in front of every change.
The idea is two weeks old. The architecture is written. The decisions that unblock the build are still open.
Postgres with an event log on Merit infra. Agents propose, a named person confirms. Laptops keep a read copy. Five phases, Docker deploy.
Thino wants the Data Warehouse as the single home for data, backed up to GCS. No paid seats, no tool lock-in. Machines read through an API. He took the task to research Outline, Obsidian and SilverBullet.
Figure 1 Today. The example records are illustrative. One real obligation lives twice, once as Brian's WAIT and once as Thino's COM, and the two copies drift apart.
One store on Merit infra holds the records. Each laptop keeps a copy for speed and offline work. People without ASB use the Sheet or Slack.
Figure 2 Target. Every arrow is a read and a write through the same API. Agents still run on each person's laptop. The store runs no AI.
Obligations, decisions, the Merit part of the work tree, people. Visible to the team.
Priority, watch flags, chase approvals, private notes, anything outside Merit (Brobri, HSI).
Skills, hooks, agent rules. These change weekly and PR review fits them. Records do not go through PRs.
COM and WAIT stop being two ledgers. They become one record with an owner and a requester. Your COM list and my WAIT list are filters on the same rows.
Figure 3 Thino closes it once, and Brian's WAIT closes with it. The duplicate in Figure 1 cannot happen any more.
One sequence per type. Old numbers keep their ids; new ones start above Brian's highest (COM 1700, WAIT 1300, DEC 700). Offline, the agent uses a temporary id and swaps it on sync. Old links keep working through an alias.
Each event names the person, the surface (agent, CLI, Sheet, Slack), the evidence link and the version it started from. The visible row is rebuilt from the events, so any change can be undone.
No PR and no central reviewer. A write lands, gets checked, and gets flagged if something looks wrong. Only changes to someone else's record wait for that person.
Figure 4 A failed check never blocks a write. It adds a flag that one named person sees.
| Confidence | Meaning | Who sees it |
|---|---|---|
human | A person typed or confirmed it | Everyone's briefings and chases |
high | Agent, with a source link and a quote found in that source | Everyone's briefings and chases |
medium | Agent inference | The creator only, until a person raises it |
low | Sweep heuristic | The creator only |
An agent cannot put a team-visible obligation on another person without a source link. No link, the record stays personal.
| Tier 2 change | If the owner stays silent |
|---|---|
| Close with dated evidence | Accepted after 72 hours |
| Owner change or merge | Nothing changes, the flag stays |
| Supersede a decision you did not make | The newer one stands as provisional, marked contested |
Flag, never block. Never delete silently. Every flag goes to one named person, with a time limit and a fallback.
Figure 5 The same four steps for every type below. Brian is never the reviewer by default; the person closest to the record is.
| Discrepancy | How it is caught | Automatic rule | Who gets asked |
|---|---|---|---|
| Stale copy or two edits at once | Each write carries the version it started from | Untouched fields apply. Same field: status keeps the more advanced value; text keeps both; owner keeps the current one | Owner sees both values, 24 h |
| Same obligation written twice | Same source link, or same owner, requester and node with very similar text | Very close: merge into the older id. Unclear: keep both, flag as possible duplicate | Either author answers "same" or "different". 7 days of silence: kept apart, never asked again |
| Mirror pair (his WAIT, her COM) | Not needed | Cannot happen: one row, two views | Nobody |
| Wrong owner | Named owner says "not mine", or the owner is not in the people list | Never reassign silently. Chases pause | Requester names the owner in 48 h, then the node lead |
| Decision overtaken or contradicted | Nightly consistency job on the shared table | Same decider: newer supersedes. Different deciders: newer stands, marked contested | Both deciders, 72 h |
| Closed here, evidence says still open | Nightly check against Linear and Slack | Agent close with newer contrary evidence: reopen. Person's close: never reopen | Owner, next update |
| Agent invented a record | No source, quote not in the source, or the other person does not recognise it | Hidden from others, dropped after 14 days with no human touch | The creator only, never the other person |
| Unknown node | Node not in the shared tree | Filed as unfiled under the Merit root, with a reason | Creator; count shows in Brian's weekly review |
| Sheet row breaks the format | Mirror worker | Normalise values, add flags, comment on the cell | The person who edited the row, by DM |
| Live record missing from a copy | Same rule as today's deletion guard | Never infer a delete. Mark it missing | Owner, 24 h |
The ledger commands do not change. Only where they store records changes. Everything that reads the local files keeps working.
Figure 6 A local write never waits for the network. The store's timestamp wins over a laptop clock.
Start with two people. Grow only when the exit test passes.
Thino carries LiveOps, the Metabase outage and the markets work right now. Phase 0 needs about a week of his time. Agree that before the build starts.
Most of the 1 Nov architecture stays. Three things change, all toward "flexible and current".
| Topic | 1 Nov ASB Hub | 12 Nov plan | Why |
|---|---|---|---|
| Agent writes | Every agent write is proposed until a person confirms | Agent writes land with checks and flags; only changes to someone else's record wait | You asked for fewer checks. Confirming every agent write is the PR queue again, one record at a time |
| COM and WAIT | Two record types, as today | One obligation with owner and requester | With many users, the mirror pair is the biggest source of duplicates |
| Where the store runs | A new Docker Hub stack on a Merit VM | Postgres on Merit infra, ideally next to Thino's Data Warehouse | Thino (3 Nov) wants one data home and no lock-in. The Hub web app and artifact store can come later |
| Kept as is | Event log and undo, a named human owner per record, evidence links, autonomy levels L0 to L3, laptop copies with an outbox, rules in git, Linear for tickets, Sheet as a bridge | ||
Four calls before Phase 0 starts. The first two need Thino.
Outline replaces Confluence for narrative. Linear stays the home of execution. The ledger holds records with a lifecycle. The work tree node id joins all three.
| System | Source of truth for | Never holds |
|---|---|---|
| Outline (replaces Confluence) | PRDs, BRDs, specs, runbooks, handbook, the "why" behind a decision | Status of anything |
| Linear | Issues, projects, cycles, milestones, project updates | Long specs, decisions |
| Team ledger | Obligations and decisions: owner, decider, date, status, superseded by | Prose |
| Work tree | Node ids, carried by every record, page and project | Content |
Figure 8 Illustrative example. The decision status lives in the ledger only; the Outline page explains why. A nightly job renders a "Decisions by node" page in Outline, marked generated, so nobody hand-keeps a decision log.
| Sync | Trigger | What happens |
|---|---|---|
| Linear to ledger | Issue moves to Done and has a linked obligation | Obligation closes, checked and flagged, Linear link as evidence |
| Outline to ledger | A page with a DEC id or node tag changes | DEC sources refresh; a stale DEC gets a flag |
| Ledger to Linear | Obligation closed, or a DEC decided on a linked project | One comment or project update |
| Ledger to Outline | Nightly | Generated pages: decisions and open obligations per node |
| Outline to git | Nightly (already in the Confluence plan) | Markdown export; check that every DEC source URL still opens |
Paste a Linear link in the Outline page. Outline's Linear integration shows it as a live card.
No equivalent in Outline. Link a saved Linear view, or let the nightly job render the table.
The agent does it: point at the text in Outline, ask, and it files the Linear issue through the Linear MCP.
Linear link cards work on self-hosted Outline (needs a Linear OAuth app), and whether projects show as cards too. Linear has no Outline integration: check that an API attachment gives a titled card for an Outline URL. Outline's built-in MCP works self-hosted, and how it signs users in. Every webhook into the ledger API checks a signature; no open endpoints after the 1 Nov GCP incident.
The Outline go/no-go is 27 Nov and staging is not up yet. Both tracks need Thino and Platform time, so run them as one Phase 0.
10Your two comments, answered
Updated 14 Nov after a Fable architecture consult. Short version: keep Postgres, and yes to MCP, but as the door on top of the store, not in place of it.
"Does it have to be Postgres? Maybe NoSQL is better?"
Keep Postgres, with JSONB for the flexible part. Three reasons decide it.
What would change this: Thino moves the warehouse to BigQuery and refuses Postgres. Even then, run Cloud SQL Postgres and stream events to BigQuery nightly. The scale (about 1,100 records, 140 writes a day) never needs NoSQL.
"Or just build an MCP that connects ASB to the ledger, Sheet, Slack, Linear and the rest?"
Yes, build the MCP, but on top of the store. MCP is a protocol: an agent calls tools on a server. It stores nothing and settles nothing. When two agents close the same record, one thing must own the version, the id and the dedupe check. That is the store plus its API. The MCP is the door agents use to reach it.
The rules must sit in the API, not in each agent. Today the write rules live in Brian's hooks and CLAUDE.md. Thino's agent, or a teammate on Cursor, has none of them. If the rules sit on the client, a write from Cursor skips them. In the API, every door gets the same rules.
One remote MCP on Merit infra, Google sign-in, one token per person. The token names the author, so the audit trail is real. Not a local MCP per laptop: that means N copies of the rules and N tokens. The offline outbox stays in the ledger commands; MCP has no offline mode.
Figure 7 Every door calls the same API, so every door gets the same rules. The agent is the integrator: it calls the ledger MCP, the Linear MCP and the Outline MCP in one task. The ledger never proxies the other systems.