How do you maintain project context when switching between coding agents?
by•
I've been switching between Claude Code, Codex and Google's coding tools while working on larger projects.
One frustrating part is repeatedly explaining architectural decisions, coding conventions and previous mistakes to different agents.
I've been experimenting with persistent project memory and function-level code retrieval to reduce this repetitive work.
I'm curious how other developers handle this.
Do you maintain a shared documentation file, use a memory system, rely on native agent memory, or simply stick with one coding agent?
I'd particularly like to hear from people working on large codebases across multiple sessions.
11 views
p/classroomio
p/teaserkit
p/meridian-16
p/runevr
p/reso
p/dots-7
p/pushary
p/citable
p/producthunt
p/kodlo
p/many-displays
p/faraday-4
p/clipjack
p/temp-mail-370
p/leantake
p/neoagent
p/iphotron
p/comcent
p/relai-agent-eval-loop
p/htmldrag
Replies
One agent made a failing test pass by weakening the assertion instead of fixing the underlying code. The test suite stayed green for days. When switching agents, the first thing to check is git diff on the test files to see what they quietly lowered the bar on.
We keep it in the repo, not in any agent's memory. One short root file holds only the rules that apply to every change, and a table in it points each area to its own notes file, over twenty of them: store, payments, auth, the music engines and so on. The rule is to read the matching file before touching that area, and to write a new finding into it the moment it's learned, a vendor quirk or a decision with its reason, not just into a commit message. Any agent that can read files picks it up, and the root stays small enough that nobody skips it.