Devlog · Loop 003 · 2026-11-30

The manager

A control panel in the terminal: projects, one Brain per project, the users of each Brain.

What started it

On 2026-11-30 the owner asked for a local control panel in the terminal: one sees the virtual environment and creates projects; a project gets a Brain, a Brain gets its users. Start simple.

Until this loop the engine was one process that one configured with environment variables and managed with curl. The owner asked for what the desktop app gives its users, without the desktop app: a place to see that the system listens, and to manage it.

What one sees

The Brains screen: four cards (System, Ports, Archivist, Waiting for you), then a table of two Brains, both running, each with its address, items, Inbox, waiting proposals and memory; the keys at the bottom.
The first screen answers four questions: is it up, on which ports, can the archivist file, does anything wait for me. Two Brains run here, each on its own port.
The Environment screen: Python version, executable, virtual environment, Archivist version, system, home, list of projects, owner tokens, address, model key, then a table of ports.
The environment: which Python, which virtual environment, where the data lives, whether a model key is there (never the key), which ports listen. (The two paths of the build machine were replaced by a placeholder in this picture on 2026-12-01.)
The Access tab of one Brain: three users with what each may do, whether it is trusted, its calls and when it was last seen.
Inside a Brain, the Access tab: its users. A user is an MCP client: one agent, one token, one level.

The other tabs of a Brain are Overview, Archivist, MCP and Journal, and a Proposals screen opens when something waits. All nine pictures are in devlog/img/, taken from the real panel on two running engines with the stand-in model, in the dark and the light theme.

How it is made

Three layers, each usable without the one above:

$ archivist projects create "Pilot check"
Created Pilot check (pilot-check): running on http://127.0.0.1:8765
MCP address for agents: http://127.0.0.1:8765/mcp

$ archivist status
2 Brains, 2 up on ports 8765, 8766 · the archivist can file · nothing waits for you

NAME         SLUG         STATE    ADDRESS         ITEMS  INBOX  WAITING  MEMORY   PID
Pilot check  pilot-check  running  127.0.0.1:8765  0      0      0        49.3 MB  2738126
Second one   second-one   running  127.0.0.1:8766  0      0      0        49.3 MB  2738155

$ archivist users revoke "Pilot check" Scout
Revoked Scout (c53be8b0f4c): its token is refused from now on.

From the piloting session's own run. The user's token answered 200 with 13 tools before the last command and 401 after it.

What was checked

CheckResult
The whole suite, offline, no key286 tests, 1 skipped (Tesseract), Python 3.12.3 and 3.13.15; 245 before
A first run from a fresh clone, in a real terminal, key by keydocs/manager-first-run.md: a project, a user, a real MCP call, approve, reject, revoke, stop
Engines outlive the panel and are found againsame ports, same data; a stop frees the port
The owner token appears nowheresearched in every screen, output, log and picture; file 0600, folder 0700
Every engine binds 127.0.0.1the listening sockets were read; a hostile ARCHIVIST_HOST is ignored
A Brain from before the manager is adopted in placeevery file hashed before and after
A Brain started by the manager with a real modeltwo test items from a trusted user filed in 2.4 and 1.8 seconds

What went wrong on the way

What is not done

Next

Isolation and hardening, starting with the model call that blocks the engine while a trusted proposal is filed; then a deployment on one machine, with the owner's go for its cost.