Mechanism 4 of 4 · Memory & the learning loop

A model that repeats itself is not a model that is right.

The absence this makes loud: a lesson nobody vouched for.

Agent-written memory is telemetry, not truth. Left alone it becomes a pile of confident assertions that the next agent will read as established fact — and the cheapest way to get a wrong one promoted is simply to say it twice.

What memory is →

Ingest

It reads what already happened.

You don't write these lessons. The loop reads harness transcripts — Claude Code's JSONL today, behind an adapter protocol so other harnesses plug in — scrubs them at extraction time, and turns episodes into candidate memory shards.

More of the work here than you'd expect is refusing to learn from noise. Harness-injected pseudo-user records — system reminders, hook output, compaction summaries — look exactly like things a person said; in the real corpus they were 19 of the 42 surviving messages. A malformed line is a warning and a skip, never a dead run, and the watermark that tracks progress is owned by the adapter and opaque to everything else.

The unit is the episode, not the event. What's worth remembering is almost never a single message — it's a thing that was tried, went wrong, and got corrected.

Promotion

The reasons to say no are counted before the reasons to say yes.

A candidate shard climbs a ladder to become a published lesson. The ordering of that ladder is the mechanism, not an implementation detail: vetoes are evaluated first, and a veto is not outvoted by evidence.

Candidate shards pass two vetoes before any acceptance condition is considered, then need either recurrence across distinct candidates or corroboration from an already-vetted shard. transcript (JSONL) scrub candidate shard vetoes — evaluated first resembles a shard you already rejected ≥ 0.85 → rejected near-duplicate of a published shard ≥ 0.95 → rejected a veto is not outvoted by evidence accept if either holds recurs across ≥ 2 candidates from distinct sources — or — corroborated ≥ 0.88 by an already-VETTED shard published lesson
The cheap way to get a lie promoted is to say it twice — so the ladder counts the reasons to say no before it counts the reasons to say yes. The corroboration pool deliberately excludes unvetted shards, or two candidates from the same bad run vouch for each other.
publish_memory(shard_id) submits a candidate for independent adjudication — it does not publish it. The judge decides, and kept: false is a normal outcome. reject_memory needs no judge at all — removing your own candidate takes nothing out of the trusted pool.

The distinct-source rule

Saying it three times in one session is saying it once.

Recurrence is the strongest signal available for whether a lesson is real. It is also trivially faked by a single confused run repeating itself — so the counter counts sources, not occurrences.

Three identical shards from one session count as one distinct source and are refused; three shards from three sessions count as three and pass. one session same lesson same lesson same lesson distinct_sources = 1 not evidence three sessions distinct_sources = 3 ✓ corroboration pool — vetted only unvetted — outside the pool otherwise months of unreviewed shards become the pool that new junk corroborates against.
Repetition is not independence; the system counts sources, not occurrences. Two recurrences across too few distinct sources drop back to review rather than promoting.

Artifacts

The recommendation is the file, not a description of the file.

A published lesson that stays in a memory store is a lesson somebody has to remember to search for. The loop's last step turns recurring lessons into the actual infrastructure that would shape the next run — and it drafts the real file, rendered, ready to read as a diff.

A published lesson is classified into one of eight artifact tiers, coloured by whether it creates a new file or edits a shared one. published lesson classify fact hook rule skill allowlist agent update delete blue — edits a shared file purple — creates a new one
.claude/skills/two-engine-check/SKILL.md
---
name: two-engine-check
description: Run the suite on SQLite AND Postgres
  before calling a change done.
---

SQLite and Postgres have separate vector-search
implementations. Only the Postgres run executes the
real <=> SQL and the migration chain from empty.

A change is not done until both pass.

Classification is batched, and scope is normalised before anything is created — so "migration guard" and "the migration guards" don't become two competing recommendations. Drafting is keyed on a hash of the lesson text, so re-running the loop is free. A scheduled job that bills you for re-deriving yesterday's answers is a scheduled job somebody turns off.

The boundary

Approving a shared-file recommendation writes nothing.

This is the one place in the whole loop where a person is not optional. Everything to the left of the line is machinery. Nothing crosses it.

The machine pipeline ends at a boundary; approving a recommendation terminates at that boundary writing zero bytes, and only a human carries the drafted change into the repository. the human boundary review_recommendation transcripts candidate shards classify draft the real file approve → wrote: 0 bytes AGENTS.md .claude/settings.json CLAUDE.md you, with the drafted diff in hand "a machine editing AGENTS.md is the move that loses trust once and keeps it lost."
Approval here means "this is worth doing", never "do it" — and the proof is that the successful path writes zero bytes. The arrow ends in a flat bar, not an arrowhead; the repo files have no inbound edge at all.

Recommendations that create a new private file — a skill, a hook, a subagent definition — can be installed additively, because nothing of yours is being overwritten. Anything that would edit a file you own is returned as contents for you to apply. And before recommending anything, the loop inventories the artifacts it didn't write, so it resolves against what you already have rather than proposing a fourth version of it.

Telemetry

uses is NULL, never 0.

Artifacts are tracked after they land, and retired when they stop earning their place. Which raises the question this whole site is about: what do you render for a thing whose use you cannot observe?

TierUsesWhat the number means
hook14Observed firing fourteen times. It is doing something.
rule0A real zero, and it is information — you shipped a rule nothing has hit.
factNULLThis tier's use cannot be observed. 0 would be a claim we can't make.

Zero is a result. Unknown is not. Only one of them is safe to render as a number — and a dashboard that prints 0 for both is a dashboard that will eventually get an artifact retired for being unused when nobody ever checked.

The same rule now applies to lessons. Observe has a catalog; reach and outcomes are computed. Publishing something the next agent never found is a miss, not a silent success that looks like the lesson landed.

The decider

A fast model sorts the queue. A person decides the middle.

Memory candidates arrive faster than anyone reviews them. A project can opt in to a decider: a small, fast "System One" model that grades each candidate on whether it is grounded, whether it is ready, and whether it contradicts a lesson already published.

  • Calibrated against your own decisions. The keep and reject thresholds were set against human-published and human-rejected memory. Clear cases are handled, and everything between the thresholds stays in the human queue.
  • A decider that can't answer says so. On the row and on the page. The queue falls back to similarity scoring, and an answer from a substituted model is not counted as a verdict.
  • The human part is fast. Triage queues, a sweep, canonical wording, and keyboard navigation through the review.

Why this matters to a team

A published lesson reaches every agent on the next wave, whichever developer launched it. That is how one person's hard-won fix becomes everyone's default, and why what gets published is guarded this carefully.

What's new

latest 2026-11-10
run

The playbook pack, applied with gban update

A deployment publishes the playbook pack at GET /api/playbooks. gban update applies that pack to the checkout. The fleet supervisor still holds no authority of its own.

fleet

Harness capacity is a routing mode beside the grades

Cheap or frontier still comes from measured sign-offs, and a cell under five samples stays unmeasured. The Harness Capacity tab is the other mode: entitlements, a subscription hierarchy you set, and a forecast of spend. A routing verdict the router never recorded is null, with a note. It is not zero.

run

First run is a checklist, not an empty form

After the stack starts, first run is a checklist, a setup-status card that stays until the first job is proven, and a one-time tour. Finish later with no project and the shell keeps the setup chip. It does not drop you into an empty create form.

run

Specs is a library, and a canvas finding stays open

The Specs list is the PRD, its preamble, and the design-set documents, plus the folder they sync to. search_docs searches baselined PRD bodies; drafts and design rows stay out until the call opts in. A design set compiles a prompt, stores the canvas, and can file a finding with a canvas check. That finding stays open until the bound canvas for the latest compiled prompt passes it.

honesty

An unloaded rule pack is not off

Build → Rules draws each rule at a strength: enforced, checked, external, advisory, unmeasured, or not used. library_loaded: false means no pack is loaded. It does not mean every rule is off, and it does not mean nothing was adopted. Turning a rule on or off is a person's REST action. get_rule_toggles has no MCP write.

run

The tracker board has a Blocked column

The tracker defaults to a board. The columns are Backlog, Next, In progress, Review, Blocked, and Done. Blocked sits beside Review, so a card that cannot move is its own column.

graph

Dead code and test results join the Stack overlay

Two new code-health categories on every component. Dead code reads vulture, knip and ts-prune. Tests reads pytest, vitest, jest or any JUnit report, with passed, failed and skipped counts, and each failing test becomes a finding you can Defrag into a card. A run that executed zero tests is recorded as a finding, not a pass, and a suite that hasn't run at the current commit shows as stale or never run.

graph

The Stack view: an architecture map nobody has to draw

Build → Stack maps the running system from the topology the API reports: your deployables grouped by host, the infrastructure you run, and the external services you depend on, in three nested rings. A code-health overlay records scan findings per component and colours each box by its worst severity. A box that was never scanned reads as never scanned, not as clean.

graph

The code graph groups by area

Nodes now cluster by area and draw their kind as their shape, so the map reads at a glance before you open a single label.

fleet

Gemini and DeepSeek join the fleet

Two new named adapters, agy for Google's Antigravity CLI and dsh for DeepSeek, bring the fleet to seven harnesses alongside Claude Code, Cursor, Grok, Qwen Code and local models through gbagent. Each is version-checked before a child starts. Codex still connects over MCP but has no fleet adapter.

honesty

Hand-merged work can be closed without faking a sign-off

Work merged outside the fleet used to sit open forever, or get a sign-off it never had. A project owner can now close it as merged, and the record says that is what happened.

honesty

A check that did not run is not a pass

Sign-off now refuses evidence that denies an acceptance clause, counts only the reviewer's own tests, and treats a skipped check as missing rather than green. A refusal names the word it matched and the rule behind it.

memory

The decider sorts the memory queue

A project can opt in to a fast System One model that grades each memory candidate: grounded, ready, and whether it contradicts a published lesson. Thresholds are calibrated against human decisions, the uncertain middle stays with a person, and a decider that cannot answer says so on the page.

fleet

Review-only seats, and branches published at review

A review-only seat can review but never build, so a reviewer cannot quietly take a slice. When a card reaches review the supervisor pushes its branch and opens a draft PR, one card per PR. With --merge it enables auto-merge after sign-off; without it, a person merges.

run

Usage, Activity and OTLP log export

A deployment-wide Usage page with model usage, an Activity view rebuilt around lenses and facets, and log export over OTLP to the observability stack you already run.

run

The app, reorganised: Plan, Build, Observe

The redesign groups every surface into three sections: Plan (tracker, requests, PRDs, roadmap), Build (code graph, stack, MCP tools, fleet, outposts) and Observe (memory review, lessons, activity, live, harness). The same in self-host and hosted.

run

Feedback Kit: public boards, votes and a roadmap

Collect feedback through an ingest API or the embeddable widget, publish boards people can vote on, and show a public roadmap. Submissions land in triage and become cards.

fleet

Outposts and the harness mix

The Fleet view is rebuilt around a catalog of harnesses, a mix that sets each vendor's share of launches, and outposts: the macOS, Linux and Windows machines your fleets run on.

fleet

A capability matrix built from real sign-offs

Models are graded per function set from reviewed work and probes, learned across users. Ask for a tier and the resolver picks from what has been measured. A cell with under five samples says unmeasured instead of guessing.

honesty

Done cannot be minted at the door

Two ways around the completion gate existed: create an item already marked done, or release a claimed one into done. Both now refuse. Signing work off still requires an attestation — the status is not a field you get to set because the form accepted it.

honesty

Agents are told the git process, or told it is unmeasured

Nothing used to name a base branch, so agents opened PRs against main because that is what models do. The org — or the local project — now stores a sparse delivery contract: base branch, whether they may push to it, optional naming. get_context returns it. An unset field stays unmeasured, not a silent main. Graphban still does not open PRs, merge, or rebase.

fleet

until is a planner loop, not a thicker supervisor

gbfleet up is still one wave: spawn, wait, reap. until sits around it — keep going while there is work, spawn reviewers when review appears, and on restart adopt the children that are already running rather than launching a second set beside them. The supervisor still holds no authority of its own.

fleet

A wait for a human is a blocked item

When an agent needs a person, that wait is a blocked item on the same tracker rather than a side channel nobody will look at. The work stays visible, and the reason is on the record.

memory

A published lesson that nobody retrieved is a miss

Observe now has a Lessons catalog. Reach and outcomes are computed rather than assumed, and publishing something the next agent never found is recorded as a miss — not as a silent success that looks like the lesson landed.

run

Install without Docker, as a system service

Compose is still the default. A Mac or Linux box can now run Graphban as launchd or systemd, with one CLI for install, upgrade and uninstall. Postgres with pgvector is required and verified, never installed for you. There is no .app.

fleet

The caller picks the model a child runs

Every spawned child used to run whatever its vendor CLI defaulted to, with no way to say otherwise — the cost lever the whole fleet idea rests on, missing. The supervisor now passes a model through, along with the two knobs one vendor each exposes. Pass-through, not selection: the supervisor still does not choose models on your behalf, and a knob the chosen vendor does not have is refused rather than quietly ignored.

graph

The living graph answers back

Hubs, shortest path and two-hop reach reach the UI rather than staying in the API. Paths say which way each edge points, and the whole graph is one tab stop — arrows move real focus, so it is navigable without a mouse.

honesty

The reference docs cannot silently fall behind

Three documents presented themselves as complete inventories and were not: the API reference covered 87 of 160 routes, configuration 19 of 51 settings, the data model 15 of 48 tables. A ratchet now records the known gap and fails on any new one, in both directions — documenting something and leaving it listed as missing fails too.

fleet

The fleet supervisor

gbfleet runs one wave: a child per seat, spawned in its own worktree, waited on, reaped. It is a separate distribution that depends on httpx and nothing else, and it holds no authority of its own — it can only launch a process holding a seat the server issued. Delete it and every invariant still holds; the fleet just needs a human to open terminals again.

fleet

Vendor adapters, named and version-checked

claude, cursor-agent, grok and codex, each resolved by name rather than guessed at, with the supported version asserted before a child is spawned. The credential is written to the child's config file and never to argv, because argv is world-readable on a shared box.

fleet

Mint, list and retire became one capability

A planner can retire the seats it minted and only those, scoped by minted_by. Ending a wave expires seats, never credentials — no client config is touched and nothing has to reconnect.

proof

The supervisor walk, run against a real server

Sixteen steps passed, one is blocked on a decision rather than a budget, and it found nothing in the supervisor. The walk refuses to run unless pointed at a real instance and refuses any project it did not create itself — a walk that quietly passed by not running would be the worst possible version of it.

fix

A closed PRD no longer blanks the PRD page

The status map covered three states and the server sends four. One closed PRD threw during render and took the whole list and editor with it. An unrecognised status now costs one oddly-labelled chip instead of a white screen, and a test compares the two lists across the stack.

fix

Linking a request to an item works on a renamed project

Item ids are frozen at issue time while the key you see is rendered from the project's current tag. The link stored the key you sent instead of the id it resolved to, so on any renamed project it violated a foreign key and returned a 500.

Every entry is work that merged. The full history is on GitHub.