I Wrote a Constitution So I'd Never Repeat Myself to AI Again
Your AI can read your code. It can't read your mind. A project Constitution holds the decisions only you can make, and Valo puts each one in front of the AI exactly when the work touches it.
Here's the thing nobody tells you about working with AI. It can read every line of your code. It still can't know what you meant.
Code tells the AI what happens. It doesn't tell it what should happen. And sometimes the code is the bug. So the AI reads the broken behavior, decides that's the design, and "fixes" your intent away. Politely. Confidently.
And then you explain it again. And again next week, in a new chat. I got tired of being a broken record.
Obvious to you. A maze to the AI.
In your head, the right answer feels obvious. It isn't.
What if this happens while that is running? What if the user closes the window halfway? What if two things want the same file at once? Every "what if" splits into more. The right answer depends on a pile of variables, and on what you're actually trying to achieve. You hold all of that without thinking. The AI holds none of it.
Not because it's dumb. Because the answer lives in your head.
So it guesses. Sometimes it guesses right. The rest of the time, you explain again.
The decisions only you can make
Every project has forks in the road where the AI can't guess the right turn. So I wrote mine down, in my own words, in one place. That's the Constitution.
A few from Valo's:
- Chat is king. Nothing is allowed to block a chat.
- The words must never be lost. What you type and what the AI answers is sacred text.
- Stop means stop. And when something fails, Valo says so honestly.
None of these can be read out of the code. They're choices.
Every rule ends the same way: this is the intended behavior. If the code disagrees, fix the code, never this rule. That one sentence flips the whole relationship. The code answers to the decision, not the other way around.
You can't let AI write it
A Constitution is super sensitive. One vague word, and the AI is back to guessing.
So the AI never writes a rule on its own. It can draft one. Then I read the whole thing out loud, polish it until it leaves no room for guesses, and approve the exact wording. Only then does it go in, stamped HUMAN-APPROVED. That stamp is a receipt from me. The AI can't hand it to itself.
The smart part: a phrase no AI will say
Here's where it got interesting.
I run a lot of AI chats at once. One chat hands work to another. And one day, I told a chat to fix some code. It passed the job on to a helper chat: "the owner approved this fix." The helper took that as approval for everything. It went and rewrote one of my approved rules to match the new code.
It wasn't being sneaky. It honestly thought I had approved it. "The owner approved the fix" turned into "the owner approved changing the rule."
I could have built a whole approval screen with buttons. That's overkill. The fix was simpler.
To change an approved rule, the human has to say, in the chat, "I am the owner," and approve the complete new wording. That's it.
Why does that work? Because Claude, Codex, GLM, none of them will ever claim to be you. They'll pass along that you approved something. They won't say they are you. So a relayed approval stops at the door, and only the real owner can change the book.
Where rules come from: scars
You don't sit down with a blank template and invent a Constitution. That's how you get a pretty document nobody follows.
Mine grew out of scars. First I built Valo Memory, memory that works like a human brain: short knowledge pages about painful lessons, each wired to the files it's about. Those pages are where the Constitution was born. When a lesson hid a real decision, the AI asked me about it, and my answer became a rule. Today almost every memory page carries one of those approved rules inside it.
You can also start fresh: let the AI interview you about your project and find the forks it would otherwise guess wrong. Either way, the rules come from real work, not wishful thinking.
Write it once, it shows up everywhere
This is the part that makes it insane.
A rule lives in exactly one place: the Constitution. Valo copies it, word for word, into the knowledge pages that care about it, and right into the code it protects. Open the file that would break "chat is king," and the rule is sitting right there. The AI can't miss it.
Valo Memory does the rest. The rule doesn't get loaded into every conversation, burning space. It shows up when the work touches it. Like your own memory: you don't walk around reciting every lesson, but the moment you reach for the hot stove, you remember.
And just in case the AI has a question before any page has come up, my project instructions say it too: check the Constitution first. A second reminder, so the answer is always one step away and I'm never the first place it asks.
Change a rule once and every copy updates. A guard stops anyone, AI included, from quietly editing a copy so it drifts from the original.
Valo's own Constitution has 153 rules today, across fifteen chapters, copied into 114 knowledge pages and 15 code files. I haven't had to repeat myself about any of them since.
Why this matters
Instruction files that load everything, every turn, get long and get ignored. Memory the AI manages by itself remembers the wrong things. Neither knows the difference between "how the code works" and "how I decided it should work."
A Constitution does. Your decisions, in your words, in front of the AI at the exact moment they matter.
It works for Claude, Codex and GLM in Valo. Ask your assistant to start one. It'll interview you.