Devlog · Loop 004 · 2026-11-30

A Brain one can use from the panel

The model key, the content, the data.

What started it

On 2026-11-30 the owner started a first Brain and said what was missing: the panel showed that the Brain was there and little more, nothing about its databases, and the Brain had been given no model key.

The owner tried the panel of Loop 003 on a first Brain. It started, and then there was nothing to see and no way to give it a model key without leaving the panel. This loop closes that gap.

What one sees

The Overview of a new Brain: five counters at zero, then three numbered steps: give it a model key, create a user for your agent, connect the agent to its address.
A new Brain says what it is and what to do next, with the keys to press.
The model key dialog over the Archivist tab: a field where the key shows as dots, and a paragraph saying the provider checks it before it is kept and that it is never shown again.
The model key: typed as dots, checked by the provider before it is kept, never shown again.
The Library tab: places grouped by kind (Inbox, Projects, Areas, Resources, Archives) with the number of items in each.
The Library: the places by kind. Enter opens a place, then an item; Escape goes back one level.
The Data tab: the data folder, the database with its size and schema version, the counts, where backups go, and a table of backups with the time, kind, size and whether each was verified.
The Data tab: where the Brain lives on disk, how much it holds, its backups.

Twenty screens are in devlog/img/, taken from the real panel on running engines.

The same as commands

$ archivist key status "Key check"
The archivist cannot file: no model.
Give it one: archivist key set Key check

$ printf '%s' "$WRONG" | archivist key set "Key check"
archivist: the key was refused, nothing was saved: OpenAI rejected this key (401).

$ … | archivist key set "Key check"
The provider accepted the key; it is saved in this Brain.
It will not be shown again, by this command or by the panel.

$ archivist places "Key check"
KIND       PLACE            ITEMS
Inbox      Inbox            0
Resources  Bread Baking     1
Resources  PostgreSQL       1

From the piloting session's run with the real provider. The item that waited in the Inbox was filed within three seconds of the key being saved, without a restart. The key is read from standard input or a hidden prompt, never from an argument.

What was checked

CheckResult
The whole suite, offline, no key328 tests, 1 skipped (Tesseract), Python 3.12.3 and 3.13.15; 286 before
The key appears nowheresearched in the screens, the outputs, the pictures, the errors and every file the manager writes
A wrong keyrefused by the real provider, nothing saved, the state before stays
The real key, by the commandsaccepted; the waiting item filed; a second item filed in a new place; the key removed afterwards
The Library on 300 itemsplaces, pages of 25, one item, search, in a real terminal (docs/manager-loop-004-run.md)
Backup and restorea backup reads back; a restore brought 301 items back to 300, on a throwaway Brain
80 columns? lists every key of every screen

What is not done

Next

Proposed: capture from the panel (a note, a file, a folder, a web address), then isolation and hardening, which stays mandatory before any exposure on a network. The owner decides the order.