HANDOFF
HandoffA personal project by Oussama AnsalMulti-agent orchestration

Two agents. Zero conversations. One .md between them.

This is how I run a small team of AI agents on my own projects. A planner thinks. Claude Code executes. They never talk to each other: everything that passes between them is a plain markdown file in a vault, and nothing counts as done until the file says how it was checked.

  • 08 Task Queue/
  • pending/3
  • parked/1
  • done/34
  • 07 Execution Log/56
  • 01 Methods/20
File counts in the vault on 1 Dec 2026. Nothing on this page is mocked up.
01 / Replay

Fifteen handoffs, replayed from the files.

Each card is a real task file from done/, dated 15 and 16 September 2026. Watch it go from the planner, through the vault, to the executor and back. Click any card or filename to open the actual markdown and the lines from its log entry.

Plannerchat model · plans, never runs

Vaultplain markdown · the only shared state
08 Task Queue/pending/0 files
    08 Task Queue/done/0 of 14 shown
      ExecutorClaude Code · runs, never plans

        queue order, not clock time

        A selection: 15 of the 24 files in done/ dated 15–16 September, chosen because they can be published as written. The task files carry dates and queue numbers, not timestamps, so the replay runs in queue order. One file, task 09, had a section trimmed; the trim is marked inside it.

        • ✓ met, per the log
        • ~ met, with a caveat the log names
        • ○ not met, or not recorded
        02 / Protocol

        The vault is the protocol.

        The planner has no terminal. The executor has no memory of the planning conversation. Neither has a live line to the other. What one leaves in the vault is all the other one knows, so the files are written to be enough on their own.

        1. Planner → VaultWrites pending/NN-name.md with What to do, Done means, Do NOT.
        2. Executor ← VaultReads it fully.
        3. ExecutorExecutes exactly what it asks, nothing beyond scope.
        4. ExecutorVerifies against each "Done means" line; live-tests if that is what it asks for.
        5. Executor → VaultWrites the result to 07 Execution Log.
        6. Executor → VaultMoves the file to done/ with the date prefixed.
        7. Executor → PersonIf a "Do NOT" line would have to be crossed, stops and writes a note in the file instead.
        8. Planner ← VaultThe next session starts from what the log says, not from memory.

        The executor gets one standing instruction, once, and keeps the terminal running. This is the text from the queue's own convention file, unedited apart from the folder path.

        Watch 08 Task Queue\pending\ for new files. When one appears:
        1. Read it fully.
        2. Execute exactly what it asks — nothing beyond scope, no unrequested extras.
        3. Verify against its "Done means" section — live-test if that's what it asks for,
           don't just assume the code looks right.
        4. Log the result to 07 Execution Log per the usual convention.
        5. Move the task file to 08 Task Queue\done\ with today's date prefixed.
        6. If anything in "Do NOT" would be required to finish, STOP and write a note
           in the task file explaining why, instead of doing it.
        Keep watching after each task — don't stop after one.

        Filesystem connector, scoped

        The planner reads and writes through an MCP filesystem connector granted to named folders, not the whole disk: the vault, the projects folder and four others, six in all when last checked on 15 September.

        The granted list lives in a settings screen outside the vault, so the vault's copy can drift. It did: the inventory table listed four folders and was missing one added the same day.

        Browser, used to check, not to trust

        A deploy log saying "success" is not evidence that the page works. A browser-automation connector opens the live page and checks the thing itself.

        Gateway frontend, 16 Sep: a MutationObserver on the output recorded text length 0→2→7→9 at t=60180–60302 ms, proof that tokens streamed in rather than landing at once.

        Model routing

        Each job goes to the cheapest model that can do it well.

        • Small, fastchecks: does it load, does it match, did it move
        • Midroutine builds against a clear task file
        • Topdesign, review, anything ambiguous

        A routing rule, not a benchmark. Cost and quality per tier have not been measured, so this page gives no numbers for them.

        03 / Rules

        Five rules, each with one real catch.

        Agents are confident by default. These rules live in the vault's 01 Methods/ folder and are written into the task files. Each example below is quoted from the log entry where it happened.

        1. 01

          Verify before calling it done.

          Reading the code and feeling sure is not a check. A fix works when it has been watched working.

          Caught · invoice reminders

          A reminder sweep had its date arithmetic reversed. The executor didn't just re-read the fix: it ran all four cases through the corrected logic.

          an invoice due in 3 days would incorrectly get the "overdue" email … an invoice 10 days overdue would get no email at all
          Fixed: swapped the call to daysBetween(invoice.dueDate, today).
          Verified with a local unit test (not just re-reading the fixed code)
          07 Execution Log/2026-09-15 - Owed Built From Spec, Blocked on Secrets.md
        2. 02

          One open thread.

          Before starting something new, name what is still unverified in the current thing. Finish it, or park it in writing with the reason.

          Parked, not dropped · timeout path

          A new research thread was about to start while one check on a live tool was still unproven. It was parked as its own task file, with the honest reason attached.

          Honestly timeout-abort path verification (task 08 Task Queue/pending/02-prove-timeout-abort-fires.md), parked 2026-09-15, blocked on: nothing blocking it technically — explicitly deprioritized
          01 Methods/One Open Thread Rule.md
        3. 03

          Check for duplicates before trusting a file.

          A folder is not proof that the file in it is the right one. Search for the filename everywhere before deploying.

          Caught · the fix was in the wrong copy

          A finished fix was about to ship. The executor grepped the deploy source first, found nothing, and found the code in a second copy of the file in another folder. It refused to deploy.

          grepped for unlock-status: not present anywhere in the file (521 lines total).
          found the actual persistent-badge code in a different file … (544 lines)
          Did not deploy. The fix is real and complete, but it's sitting in the wrong file/folder
          07 Execution Log/2026-09-15 - Persistent Unlock Badge Missing From Deploy Source.md
        4. 04

          One claim per line.

          A fix with two code paths gets two verification lines. A single "confirmed working" lets the untested path ride along inside the tested one.

          Split · timeout fix

          A request-timeout fix was first summarised as "confirmed working". Only the fast path had been watched. The log now says so, line by line.

          Confirms: the timeout code doesn't interfere with normal fast requests.
          Does NOT confirm: the abort actually fires correctly on a genuine 25s+ hang
          07 Execution Log/2026-09-15 - Timeout Fix Verified Live, Normal Path Confirmed Working.md
        5. 05

          Launch is not the last check.

          Verifying something works on launch day and watching it keep working are different jobs, and the second one needs a schedule.

          Gap found in my own process · usage stats

          A stats endpoint went live, was checked, and its key was confirmed to gate access. Then nobody was assigned to read it. The fix in the method is a recurring weekly task in the same queue, not a good intention.

          GET /stats?key=<real secret> returns {"totals":{"checks_started":0, …}} · GET /stats?key=wrongvalue returns 401
          nobody has committed to actually checking it on any schedule
          07 Execution Log/2026-09-15 - Stats Endpoint Added and Deployed.md · 01 Methods/Named Owner for Post-Production Monitoring.md
        04 / Schema

        A schema shaped by the data it met.

        From an e-commerce data-consolidation project: orders, listings, shipments and returns from several sales platforms in one Postgres model. Structure only. The client stays anonymous and no business figures appear here.

        Swipe sideways to pan · 14 tables, 1 view, 15 foreign keys

        05 / Scope

        What the queue doesn't do.

        It speeds up the mechanical part of a build: edit, deploy, log. It does not replace judgment.

        The method buys stability of process, not completeness of outcome. A well-run queue can still fail at a hard task. What it buys is catching that failure fast and in writing.

        • A person still decides what "done" means for each task.
        • Anything that touches money, secrets or public content gets a human review.
        • Only the person can authorise secrets, payments and anything irreversible.
        • Work that needs a live back-and-forth, like payments or an ambiguous product call, stays in conversation and never goes through the queue.