Blog
Notes from building Otto.
-
How we went wrong
Our test suite took almost nine minutes. A week of profiling showed we had copied one habit into 170 files.
-
Placeholder post
A dummy entry that shows how a second post looks in the list. Not real content.
-
Two ways to run Claude: one you watch, one you don’t
Our first written decision split Otto’s work between a live terminal and a plain API call.
-
A socket that outlives the app
How Otto’s terminals and its window talk, and how old that choice was when we wrote it down.
-
We wrote down a markdown workspace after we had left it
The first decision we marked superseded, and what git says about when it really changed.
-
No streaming, for now
We kept Otto’s chat to whole answers, and the choice outlived the chat it was made for.
-
Token counts that stay on your machine
Otto tallies what your sessions use, and keeps the tally to itself.
-
Thin handlers, testable logic
Why Otto’s IPC handlers only pass requests on, and the one reason we gave.
-
Settings in one JSON file
Where Otto keeps its settings, and the one reason we gave.
-
How full is the context? Use the numbers we already have
How Otto first showed how full a session’s context was, without building anything new.
-
Compact in one click
A button that types /compact for you, and a threshold the code never matched.
-
A hook that asked every session for its context
Phase 2 of our context view, the test that cleared it, and why we took it out.