r/OpenaiCodex • • 9d ago

Codex devs living on markdown files: what is the first thing the files cannot do?

I used to run my whole setup on markdown files and honestly it held up longer than I expected. One handoff file, one decisions file, a rules file that both my coding tools were supposed to read at the start. For a while that was enough.

Where it started to crack for me was not one big failure. It was smaller stuff piling up. I would open a fresh session and the agent would just... not read the handoff file, or read the old version of a decision and state it back to me with total confidence even though we had reversed it two days earlier. And once the folder got to a few hundred notes I could not find the right one fast either, so I get why the agent struggled.

I ended up building something to fix that for myself (not selling anything here, just trying to figure out if I hit the ceiling of the file setup or if I just had sloppy file discipline).

So for people whose agent setup is basically files: what was the first thing the files could not do for you? Was it finding the right note once there were too many, two tools writing at the same time and clobbering each other, a stale note sounding more confident than the actual code, something else? Did you fix it by getting stricter with the files, or did you move to something more structured?

Also curious what you are building with this setup. Own product, client work, day job stuff, just for fun?

One more thing I keep wondering about. Have you ever looked at a memory tool that keeps context across tools, or did that thought never really cross your mind? For me the worry was always that moving everything I already had in files into something new would feel like starting over.

What if something handled all of this for you, in the cloud over MCP, so every agent and tool got the same context: decisions, failed attempts, conversations, skills, procedures, tasks. You never touch a file again. Would you guys pay for something that fixes this? Have you ever thought about paying for a tool to manage all of this for you, or has the thought never crossed your mind?

2 Upvotes

16 comments sorted by

2

u/Adventurous_Bit1996 9d ago

I switched to a self improving RML agent with a persistent environment. I couldn’t take it anymore.

1

u/Asly97 9d ago

Okay that is a bigger jump than I made. What was the last straw with the files for you, was it the agent not reading them, stale stuff, or just the upkeep eating your day?

Curious what the persistent environment actually holds too. Is it still basically notes in there somewhere, or did you ditch files completely? And what are you running it on, like is this for your own project or work stuff?

I built a smaller fix for myself and I am still not sure where the line is between enough memory and a whole second system you have to babysit.

1

u/Adventurous_Bit1996 9d ago

The last straw was the files. There’s no level of isolation. Even using the best harness I could find for flexibility (OMP) it was pretty much “here’s your global AGENTS.md file good luck”. There’s no structure. There’s no level of configuration. It’s a giant free for all.

Using a self improving harness effectively lets the agents program the harness while using it. You can drive the whole harness purely in code. I don’t have to worry about files. I don’t have to worry about a mess. I can define a workflow for cleaning up local memories and have it run on a timer. I can configure every agent down to any level I want purely in code.

I’m not recommending anyone do this. These harnesses are mostly for research and I’m actively working on one I forked. I’m working on software protection research and the complexity is driving me insane.

1

u/Asly97 9d ago

The global AGENTS.md free for all thing is exactly what bit me, just at a smaller scale. One file every agent reads and writes, no isolation, so one bad edit quietly becomes every future session's truth. I never thought of it as an isolation problem until you said it that way.

When you configure every agent in code, do you give each one its own separate memory, or do they share a pool and you just control who can touch what? That split is the part I keep going back and forth on with what I built.

Also, the cleanup workflow on a timer, how often do you actually run that and what does it throw away? Mine just kept growing because I was scared to delete anything.

Honest question since you forked and built your own instead: would you ever pay for something that handled the shared context part for you, in the cloud so every tool saw the same decisions and failed attempts and all that, or is owning the harness kind of the point for research like yours?

1

u/Adventurous_Bit1996 9d ago

I actually just added workflows. I didn’t snap and switch until recently. That was just an example of one of many things that can be easily automated that I no longer have to worry about. Another thing is when hitting a rail guard I run a rail guard diagnostic workflow to diagnose why it was hit and to resolve it. But more importantly agents can create new workflows which are pretty much just templates. They can also register normal code within the environment.

Yes, honestly, if it were made correctly. I have briefly considered making it distributed already but that’s a lot of work. It really just depends, you have to really stress test these systems to get to the point I’m at with the understanding I have.

1

u/Asly97 9d ago

Appreciate the honest yes, with the if it is made correctly attached. That caveat is kind of the whole game I think.

What would a stress test have to prove for you before you trusted a distributed version you did not build? Like is it mostly about not losing or corrupting context, or about it not confidently handing an agent the wrong thing at the worst moment?

The agents creating their own workflow templates is wild to me too. Do you review those before they become permanent, or do you let them register and only clean up when something goes sideways?

1

u/whatobiplays 9d ago

What’s RML?

2

u/Far_Reindeer8428 9d ago

markdown breaks when you need a query, we ended up with a tiny index and per topic pages. the first thing it cannot do is tell you which page is stale

1

u/Asly97 9d ago

The stale page one is painfully real. I had a decisions page that was just wrong for two days and every session quoted it back to me like it was gospel.

How do you catch a stale page in your setup now, do you check dates by hand or did the tiny index end up carrying some kind of last verified thing? And who keeps the index itself honest, that was always my fear, the index becomes the next stale file.

What are you building with the per topic pages, if you do not mind me asking? And would you pay for the staleness part being flagged for you automatically, or is the index plus discipline enough that you would not bother?

1

u/Far_Reindeer8428 9d ago

a timestamp per page and a nightly job that diffs the page against the code it cites, anything that no longer matches gets flagged. the index stays honest because the same job rewrites it

1

u/Asly97 9d ago

Okay the nightly diff against the code it cites is smarter than anything I tried. Mine had timestamps too but nothing ever checked them, they were just decoration.

How often does that job actually flag something real versus noise? I feel like if it flagged ten pages a night I would start ignoring it by week two.

And honestly, that job is doing the exact thing I ended up building toward, checking memory against reality instead of trusting it. If that whole check and flag thing was just handled for you across all your tools, would you pay for it, or is your nightly job close enough that it is a solved problem for you now?

1

u/Far_Reindeer8428 9d ago

two or three a week, anything that cannot cite file and line gets dropped so it stays quiet. would pay if it covered every tool, mine is 40 lines and one more thing to keep alive

1

u/Asly97 9d ago

Two or three a week is a good number, low enough you would actually read them. The file and line citation rule is probably doing most of the work there, mine never had a bar like that so everything felt equally urgent.

Which tools would every tool have to cover for you before paying made sense? Guessing your nightly job only watches the pages for one setup right now, or does it already span the lot?

1

u/Far_Reindeer8428 8d ago

claude code, codex and whatever runs on the laptop, one check that follows the tool is the value. ours only watches the claude pages today

1

u/Asly97 8d ago

The check following the tool is the part a single nightly job cannot really do, yeah. Yours watching only the Claude pages today says it all, the Codex pages can rot quietly and nothing notices. What is the laptop side in your setup, is that a local agent keeping its own pages, or more one off sessions that still touch the same project?