The loop
Gates refuse. They don't remind.
Gate 1 · hooks
A hook is a small program that runs around each of the assistant's steps. A reminder can be ignored. A refused step can't.
"Done. Shall I commit?"
I skim, type "sure", and something I never read is committed.
A question in prose is sent back. It asks again in a dialog, and waits.
A command is blocked
It finds another way around.
Every other step is refused until I answer.
Tests have to catch planted bugs
Gate 2 · the commit
Passing tests prove little if they'd pass anyway. So before a commit, the gate breaks the change on purpose and the tests have to notice. Python and shell alike.
- A change
- Every script's own testseach script tests itself
- Bugs plantedon each changed line, like
<into<=
Memory that forgets on evidence
Gate 3 · 04:30, while nobody's here
A remembered fact goes stale, and tomorrow the assistant repeats it with confidence. So every fact carries a command that can prove it wrong, and every night it runs.
- A fact"releases ship from
release" - Its checka command that can prove it wrong
“Removing is generous, not violent. Deleting a wrong fact makes the rest believable.” — my credo
- checked fact
- rule
- script
- setting
- ticket
In the morning, the new session reads what ran overnight and tells me: which facts were deleted, which notes were placed, and which merged branches the daily sweep cleaned up.
It checks itself
Even the instructions have tests. When I change what a skill is for, new sessions try it out before I can commit. They check it starts when it's needed and stays out of the way when it isn't.
/inventory: what's earning its keep
One table of everything I wrote for it: how often each piece runs, what a run costs, when it last changed, and what names it.
| name | runs | $ / run | last edit | named by |
|---|---|---|---|---|
| change_gate.py | 100 | – | 2026-11-18 | 25 |
| audit | 24 | 2.13 | 2026-11-18 | – |
| confluence-children.sh | 0 | – | 2026-11-03 | 0 |
Three real rows from the census of 18 November 2026. Scripts cost nothing to run, so only skills show a price.
/audit: judged against the credo
This check isn't code, and that's on purpose. Everything here comes from one page, my credo. When I ask, a new session reads my work against it, line by line.
credo.md
Build simple systems people can trust.
- A file, a changeor an answer
- A new sessionagainst every line of the credo
- Findingsnumbered, worst first
- ☑ 1
- ☐ 2
- ☑ 3
Take what fits
It fits one person: me. It says no exactly where I tend to slip. But the patterns travel, it's MIT-licensed, and each piece needs little of the rest.
– travel to any setup: gates, memory, self-checks – are plumbing for my job: GitHub reviews, Jira, Confluence, Slack
- credo.md
Where it all comes from. Yours would say something else. - ask_gate.py
If you've ever said "sure" to a question you didn't read. - git_fact.sh
A fact is only worth keeping with a command that can prove it wrong. - skill_trigger_test.py
If you've ever edited a skill and it quietly stopped firing.
What it can't do yet
- Nothing measures the outcome. The tests show each part works. Nothing shows the whole makes my work better.
- Two sessions in one folder can trip over each other's half-finished edits.
- The 04:30 check runs only while I'm logged in. A missed night runs at my next login.