I gave my AI pair a memory, a map, and credit on 4,000 commits
Since October 2025 I've been building a low-latency trading system in Rust, pairing with Claude Code almost every day. About 4,000 of our ~5,000 commits carry its name as co-author. That was a choice: if it wrote the code, it gets the credit. I also tried not to make it work blind. Every new session starts with no memory, so we built it one: 200+ short notes, each with the fact, why it matters, and how to apply it. I set up a context graph of the codebase so it could jump to the right file and line instead of grepping in the dark. We wrote 1,200+ research and planning docs together, so the next session could pick up where the last one stopped. When it got something wrong, I tried to say why, not just "no". It once suggested computing an average fill price ourselves; I explained that we show the exchange's own numbers, never derived ones. We had built a pre-trade gate based on the local clock; I asked to keep it switched off until every host had verified time sync, because blocking a valid order costs more than one extra round trip. Each reason went into its memory, so a future session wouldn't repeat the mistake and get blamed for it. And when the work was big, I let it finish: do the whole batch, flag the risky parts, and I'd verify on Linux myself. No interrupting every five minutes. It's a tool, sure. But it's a tool that does better work when you treat it like a colleague: give it context, give it reasons, give it credit.