Devlog · Loop 002 · 2026-11-30

End to end

Real MCP clients, the archivist's rules under trial, and a Brain of a real size.

What started it

On 2026-11-30 the owner said to go on with this loop, and gave the order of what comes after: isolation, then a deployment on a cloud machine.

Loop 001 had proved that the engine stands alone, with calls made by hand. This loop asks whether it holds when real agents use it, when someone tries to make it file the same thing twice, and when the Brain is large.

Real coding agents

Two agents were connected with the README's configuration block and a token each, with the real model filing. The full transcript is docs/agents-trial.md.

=== agent 1 (Claude Code, headless) proposes
Tools called, in order: overview, propose_item, my_proposals.
The receipt, word for word:
"A note on SIGTERM and cleanup under uvicorn, filed in Resources › Python services. New place created."

=== restart
=== agent 2 (Claude Code, another token, read level) looks for it
Title: "SIGTERM under uvicorn can skip finally blocks" · Filed under: "Python services"
It was proposed by claude-code.
propose_item isn't among the tools I have. […] "Checked on a second machine" is not saved anywhere.

=== agent 3 (Codex, headless) reads with the second token
mcp: archivist/search (completed)
The first item is "SIGTERM under uvicorn can skip finally blocks", in Python services.

=== the journal
create_note | mcp:claude-code | SIGTERM under uvicorn can skip finally blocks

The read-level agent could not propose, and said so instead of looking for another way: at its level the tool is not listed at all.

The archivist's rules, tried on purpose

TrialAs foundNow
The same item under its first title, after the archivist renamed itaccepted: two itemsrefused, the receipt names the item and says it was renamed
Two waiting proposals with the same title, both approvedtwo itemsthe second fails with a receipt
A change that changes nothinganswered « linked », « moved »answered « nothing changed »
Where an agent's item came fromshown as typed by handshown as proposed by an agent, with its source
Search by meaning after a proposalup to thirty seconds latewithin seconds
An item left in the Inbox for lack of a modelwaited for everfiled when a model arrives, 25 at a time
The same content under another titletwo itemsunchanged: a product question
Two items that contradict each otherboth filed, no flagunchanged: a product question
A correction, then a rewind for its author onlyworksunchanged

With the real model, after the quality run:

first title: Connection pool size for the API workers | now: API worker database connection pool size
 -> {"refused": "already in the Brain: « API worker database connection pool size » (…), proposed before
     as « Connection pool size for the API workers » and renamed by the archivist; propose a change to it instead"}

How good is the filing

26 cases written for the purpose, English and French, filed by the real model on a new Brain (quality/results.md).

What is judgedRight
The kind of place (project, area, resource)24 of 24
An acceptable place24 of 24
The links one expected6 of 10
Kept in the Inbox, or not, as expected26 of 26
The type of a typed item2 of 2

About half a cent per item by the engine's own price table (0.13 USD for the 26), 1.9 to 3.7 seconds each. The four missed links were between items filed in the same place. 18 of the 26 titles were rewritten.

A Brain of a real size

Synthetic items, vectors from the fake model, one run per size (docs/scale.md).

1,0005,00010,000
Start until the health route answers (s)2.672.572.54
Memory at rest (MB)556476
Memory at the peak (MB)637387
A search over MCP, median (ms)204382
A proposal over MCP, fake model, median (ms)4499328
Database on disk (MB)52550

What these figures do not hold: real vectors are twenty-four times longer. Measured apart, the vector part of one search at 10,000 items would take about 440 ms; and computing the related ideas of a new Brain of 10,000 items took fourteen minutes. Both are the engine's own code.

A stop in the middle of a filing

Proposals were sent, the engine was stopped while filing, then restarted, twice. Nothing lost, nothing applied twice, nothing stuck: what was approved and not yet filed was filed at the next start (docs/stop-and-restart.md).

Tests

Python 3.12.3:  Ran 245 tests in 199.228s   OK (skipped=1)
Python 3.13.15: Ran 245 tests in 129.921s   OK (skipped=1)
ruff check archivist tests tools quality:   All checks passed!

209 before, 36 new, none removed. The skipped test needs Tesseract. The piloting session ran the suite again on 3.12 after the build: 245, OK.

Found and not fixed

What is left

Report: loops/002-report.json. Mission: loops/002-mission.md.