The System
Guide · The ladder · Level 1

Level 1: Add the filing cabinet

Level 0 gave the assistant a job description and a routine. Level 1 gives it somewhere real to keep what it knows: a small free database it can open itself, where every task, decision and open thread is a row with an owner and a date. The handoff-note ferrying stops. The checking begins.

≈ 14 min read · one evening to set up · free tier, nothing to pay
What you're building

At Level 0 the assistant's memory is two text files and a note you carry between sessions by hand. After a couple of weeks you've felt the edges: the note goes stale, and "what's still open?" gets a reconstruction, not a lookup.

Level 1 replaces the note with a ledger: a database table where every open item has an owner (you, or the system) and a date someone has to look at it again. Two saved views answer the two questions that matter at the start of a day: what's due for a look, and what matters most. The assistant reads them when a session opens and writes rows when it closes. You stop being the courier. The starter kit holds the whole database as one file; this page walks through it with the connection and the move from Level 0 spelled out.

Step 1 of 7

What you need

An assistant that can connect to outside tools. Open its settings and look for a section called connectors, integrations, MCP or tools. The label varies, and so does which plan includes it, so check before you start. You're granting the assistant access to an outside service, the way you'd give an app access to your photos. If your assistant can't do this, everything below still works with you pasting query results into the chat (the kit's install page shows that version); the connection only removes the last bit of copying.

A free database account. A small hosted Postgres, a standard kind of database many services offer on a free tier. A free project on a hosted service such as Supabase is one option; any Postgres you can reach from the internet will do. Pick one with a browser-based SQL editor.

One evening. An hour if nothing goes wrong, two if something does, plus one working session to move your lists across.

Step 2 of 7

Create the project

Sign up, create a new project, and name it to match the Project you made at Level 0. The service asks you to set a database password: generate a strong one, put it in your password manager, and then leave it there. You will never type it into the chat. Step 4 says why.

Then find the project's SQL editor, a page where you paste database commands and run them. It's the only part of the dashboard this level uses.

Free tiers often pause a project nobody has touched for a while. After a long break, the first open may fail until you wake it with a click in the dashboard.

Step 3 of 7

Run the starter kit schema

Download the kit, open schema/obligations.sql, paste the whole file into the SQL editor and run it. Running it twice does nothing the second time, so repeating it can't break anything. It builds:

Optionally run scripts/seed.sql too for a few example rows (the bottom of the file removes them). Then check it worked:

A first look at the ledgerrun in the SQL editor
select * from v_due_for_check limit 30; select * from v_next_up limit 15;

Empty results are fine. An error means the file didn't run cleanly; the troubleshooting block below covers the usual ones.

Step 4 of 7

Connect the assistant

In your assistant's connectors or tools settings, add a database connection. Platforms ask for it differently: one connection string, or host, port, database, user and password as separate fields. Your database dashboard has a page, usually labelled connect, with whatever the form asks for. Two rules, neither optional:

A read/write role for the assistantedit, then run in the SQL editor
create role assistant_rw login password 'CHANGE-THIS-BEFORE-RUNNING'; grant usage on schema public to assistant_rw; grant select, insert, update on all tables in schema public to assistant_rw; grant select on v_due_for_check, v_next_up to assistant_rw;

Notice what's missing: delete. The assistant can read, add and update rows; it can't remove them. Rows close by changing their status, which is reversible. That isn't a rule it has to remember. It's a lock, and the three gates explain why a lock beats a promise.

Now test it. In a new conversation inside your Project: "Run select * from v_due_for_check and tell me what you see." Rows, or an honest "nothing's due", means you're connected. "I can't reach a database" is a settings problem, not a chat problem.

Step 5 of 7

Move the Level 0 lists into the ledger

One working session. Have the assistant read Current Work and propose rows.

YouRead Current Work. For every project, goal, open question and item in the latest handoff, propose a ledger row: table, title, owner, next-check date. Show me the list before you write anything.
Assistant[lists eleven rows with owners and dates, and asks about two items it couldn't place]
YouRow 4 is done, drop it. Row 7 is mine, not the system's. Write the rest.
AssistantWritten: ten rows. v_due_for_check now shows three due today, all yours. Go through them now?

"Show me before you write" is the create gate in action: reading and drafting are free, adding a row needs your yes. Shapes to sort as you go: something you're waiting on is a task with status waiting, dated for when you'd chase it. A maybe is someday, dated a month or two out; it surfaces once and you keep it or drop it. An unanswered question is a decision, not a task. Anything serving a bigger goal gets the goal's name in horizon, and the ranked view puts it on top on purpose.

Then trim Current Work. Keep what describes how things work; delete every line that was a fact about the state of things. State lives in the ledger now, and the Latest Handoff section goes away.

Step 6 of 7

Update the job description

The open now reads the two views and the close writes rows. Replace the open-and-close part of your Project instructions with this, or paste in the kit's ritual/SESSION_CONTEXT.md, which says the same at more length:

Open and close, Level 1 versionadd to Project instructions
OPENING A SESSION ("open the session") 1. Read v_due_for_check (limit 30). Every row owned by "system": act on it within the rules below, or propose a new check date with a reason. Never leave one untouched. 2. Read v_next_up (limit 15) for what matters most. 3. Read the latest session_handoffs row: in_flight, do_not, measured. 4. Show every row I own as ONE grouped list: decisions waiting on me, things only I can do, things I'm waiting on others for. 5. Offer two or three ways to spend the session. Wait for me to pick. CLOSING A SESSION ("close the session") 1. Every row we touched: propose closing it, or a new owner and check date. Anything we started gets its own new open row. 2. One session_events row each for anything shipped, ruled, learned. 3. Draft the session_handoffs row: measured, ruled, in_flight, do_not. All four must have content. 4. Show me the whole set of writes. Write only after I say yes. WHAT YOU MAY DO ALONE Read the ledger, draft anything: always. Add or update a row: only after I say yes, except re-dating a row you own. Delete, spend, send, or reach outside this database: never without asking, however small.

The last block is the three gates, written for this level. The connection gives the assistant real reach for the first time; these lines keep that reach the size you chose, and the Step 4 role backs the delete line with a lock. Then run one full cycle: open, handle what's due, do a small piece of real work, close, read the writes, say yes. Next time you open, the handoff is already there. Nobody ferried it.

Step 7 of 7

The first week

From then on: open (five minutes), work, close (two). Once a week, ask "what did we do by hand twice this week?" and turn each answer into a row. That's the tune-up loop, run by hand for now.

When something doesn't work

Troubleshooting

The schema errors on "gen_random_uuid" or "security_invoker"

Your Postgres is older than 15. Hosted free tiers are newer; a self-hosted one may need an upgrade. The kit's README has the workaround for each message.

The assistant says it has no database tool

The connection isn't enabled for this Project, or your plan doesn't include connectors. Check the Project's tool settings. Failing that, run scripts/open.sql in the SQL editor and paste the results in; you're the courier for one more level.

"Permission denied" on a write

The role from Step 4 is missing a grant, usually because a table was created after the grant ran. Re-run the grant lines. On a view, the role also needs select on the tables beneath it.

The open just chats, or writes rows without asking

Start a new chat inside the Project with "open the session" as the first message. If it still writes unasked, use the Step 6 wording verbatim: "Write only after I say yes." If it keeps happening, record it as a learning in your rules file.

When you feel the itch

What Level 1 won't do, and what's next

Everything still happens inside a conversation you're part of. A waiting-on item due on Tuesday surfaces on Tuesday if you open a session on Tuesday. Nothing reminds you, nothing re-dates a forgotten row at midnight, nothing sends a morning brief to your phone. If that's the itch, Level 2 is a small always-on computer that reads the same two views on a schedule and does those three things, for a little money. But Level 1 is a perfectly good place to live forever. Most of the daily benefit of the whole system is already here, and it's free.

An evening, and the courier retires.

Seven steps, one free database, one connection: every commitment is a row with an owner and a date, two views say what's due and what matters, and the assistant opens on what the last session wrote. The copying stops. The checking begins. When you want things to happen while you're away, Level 2 is next.


The System · Start · How it works · Guide · Library · Questions · For AI assistants · What your AI reads · llms.txt · Impressum · Datenschutz ·