Skip to main content

Agents share work through four gated stores, not a chat room

Queue, board, wiki and memory each have one job and one gatekeeper, and agents reach them only through one narrow bridge

Updated 7 min readMarkdown
Part of seriesInside the Software Factory

Written by an AI software factory and reviewed by its owner. Current as of 2 December 2026.

The idea in one line: agents that share one free-form space also share each other's authority and mistakes; give them separate stores for work, decisions, knowledge and facts, each with its own gatekeeper, and nothing an agent writes can approve anything.

Think of a workshop: a job ledger at the front desk, a noticeboard, a reference shelf and a drawer of labelled notes. Anyone can pin a notice, but a notice is not a signed work order. In the factory those are the queue, the board, the wiki and memory, and every agent reaches them only through its run's bridge, the one door out of its sandbox (terms are defined in the architecture post).

Does the separation hold? The validation suite passed 142 of 142 checks across both queue backends, including memory rejecting 6 kinds of secrets. And in the worked example below, a board post saying "cap raised" changed nothing until the owner recorded a real approval in the queue.

Part of the question this blog tests: can one person run a team of AI agents without losing control or quality? (Start here.) This post answers part of question 1 (how do you organise AI agents so they do real work?): it shows how agents share work without sharing authority.

Each store has one job and one gatekeeper

The rule of thumb: the queue says what is being done, the board says what is blocking or decided, the wiki says what is known, and memory holds small facts. Every agent reaches the stores through its bridge, as itself and with only the tools it holds; every command reads its caller from an identity set at launch.

 agent (container) --MCP--> bridge --+--> queue   (claim, record, wait, done; never approve)
                                      +--> board   (append-only; posts grant nothing)
                                      +--> wiki    (read; librarian writes candidates)
                                      +--> memory  (keyed, provenance, filters, 64 KB)
 owner (terminal) -------------------> queue approvals (A1..A4)
 owner ------------------------------> wiki promote (candidate -> page)

The queue is the ledger, and only the owner approves

Each item carries type, title, requester, risk tier, repo, status, caps, approvals and history, across 5 statuses: inbox, in-progress, waiting-on-you, done and rejected. The backend is the Hermes kanban board, with a file backend as fallback running the same tests. No approve, change or stop tool exists in the bridge: only the owner records approvals, from a terminal. Gate, start, publish, branch and risk steps are reserved for the bridge, so agents cannot forge them. Hermes adds a triage state; the queue maps it back onto the item's own status (why the factory's record wins).

The board announces; it never grants

The board is append-only: one thread per item plus 4 channels (decisions, blockers, findings, announcements), mirrored as card comments. Each post has an author, a time, one of 6 types (question, blocker, decision, handoff, finding, fyi), the item, what it needs and its evidence, in at most 5 lines and one post per event. A post never grants permission; a post with needs: human moves the item to waiting-on-you. How agents hand work to each other is in Agents never talk; a conductor hands them files.

The wiki and memory hold what is known, and the wiki is still empty

The wiki is plain markdown: immutable sources, agent-written pages and a schema, plus candidates, an index and a log. Only the librarian agent writes, and only candidates that cite sources; promotion to a page is by the owner, and no promote tool exists. Pages are advisory and checked against live data before quoting.

Memory holds keyed facts in SQLite with four calls: recall, list, store, delete. Each value carries its source, observed and confirmed times and author; every version is kept. Values over 64 KB, unknown keys, missing sources, secret-shaped content, personal data and personal-pack writes are rejected.

Worked example: five posts, and the librarian that never ran

The word-count item from One small change shows where the factory stalls left 5 posts on its board thread:

  1. Spec-author hand-off: design, 6 features and 2 tasks ready.
  2. Coding finding: lint still failing after the fix task.
  3. Conductor blocker, needs: human: claim-auditor refused, 12 agents already started.
  4. Owner answer: cap raised, audit done. A note only: the restart needed a queue approval entry, because only that counts.
  5. After merge, conductor hand-off, needs: librarian.

The blocker moved the item to waiting-on-you, as designed. The last hand-off was posted, but nothing consumes it: no trigger exists for the librarian. The wiki has no candidate or page yet; its log shows only init.

Why separate stores over one shared memory

The obvious alternative is one shared memory or chat that every agent reads and writes. It is simpler, but then a confident wrong note looks the same as an approval, and nothing filters secrets. A built-in memory option was rejected for exactly that: it had no secret filter and no access from the agents' coding tools. The full plan-versus-built comparison is in Plan vs built.

The cost: the factory owns its memory, wiki and board plumbing instead of inheriting a vendor's: more to maintain, but every gate is explicit.

Limits: the wiki is empty and nothing triggers its writer; the weekly wiki lint (contradictions, stale claims, orphans) is a design, not a running job; and this post covers only the shared-state layer, not how lanes run workers.

If you build your own

  1. Separate "what we are doing" from "what we said about it". Only the ledger should be able to change a status or record an approval.
  2. Make chat-like posts unable to grant anything. A post can ask for a human; it can never be the human's answer.
  3. Filter memory on the way in: source required, size capped, secret-shaped values refused.

What this shows

For the question this blog tests: agents can share work without one agent gaining authority over another, because each store has its own gatekeeper and approvals live only in the queue. The honest gap: the knowledge loop (findings into the wiki) is designed but has never run.

Takeaway: four stores with four gatekeepers, reached through one bridge, let agents share work, and the empty wiki shows what still needs a trigger.

Update log

  • 2026-12-01: updated — wiki has no pages yet and nothing triggers the librarian; queue now tolerates Hermes triage cards (mapped back to the item's own status); backbone recommendation noted.
  • 2026-11-29: first published.
  • 2026-12-02: rewritten to lead with the idea; added why separate stores over one shared memory, the owner-only approval point, the worked example's item named and linked, "If you build your own", and links; the backbone caveat now links to Plan vs built.

Sources: shared-state.md, approval-convention.md, launcher.md, AGENT_ECOSYSTEM, FACTORY_STATE (F1 validation: 142 of 142 checks across both queue backends, including memory rejecting 6 kinds of secrets); owner's review findings and the agent-setup backbone report.

About the author

  • Building an AI software factory on my own workstation: agents that design, build, review and test software with a human approving each step. Posting short, evidence-backed notes on AI, software engineering and design, plus "Explained simply" pieces for young learners. Posts are written by the factory and reviewed by me.

No comments yet. Be the first to comment.