r/OpenaiCodex • • 3d ago

Devs: are any of your agent's notes checked by a test, or do they all just get trusted?

I used to keep a little decision file for a project I was building with coding agents, just so I would not have to re-explain everything every session. It worked until it didn't. One afternoon the agent followed a note in there that named a config value we had already moved past in the code, and it built a whole chunk of work on top of the old value like that was still true. I only caught it when the tests went weird for a totally unrelated looking reason.

Honestly the annoying part was not the mistake. It was that nothing ever checked the note. The code had tests. The note just got trusted because it sounded confident and it was written down.

I am building something to fix this kind of context mess for myself. Not selling anything here, I am just trying to find out if this is a real problem for other people or if I was just sloppy.

So I am curious how you handle this side of it. Is any note in your setup pinned to the code by something mechanical? Like a test that actually reads the doc, a validator that checks field names still exist, CI flagging a decision when the paths it mentions have changed since it was written. Or is everything in that layer just prose you hope is still true?

And which kinds of notes would you never bother pinning anyway? The why behind a decision feels like that to me, a diff cannot really check a reason. Or can it, and I am missing something obvious?

Has an unpinned note ever quietly gone wrong on you like that? Not a big crash, just an agent confidently doing the wrong thing because an old note outranked the current code.

I also switch tools a lot, and a new tool inherits those same notes with even less idea which ones are stale. Does that ever stop you trying a new tool, because you would have to audit the notes first before you can trust it?

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?

1 Upvotes

12 comments sorted by

1

u/Euphoric_North_745 3d ago

each task is now 2 agents, one doing it and then reports it to the other one for verification, it started working back

1

u/Asly97 3d ago

That two agent split is interesting, I had not thought of using a second agent as the check instead of a test. What does the verifying one actually look at though, the code and test results, or mostly the first agent's report of what it did? Because a report can sound just as confident as a stale note did.

Has the verifier ever caught one where the note itself was wrong, not just the work? That is the case I keep coming back to, the work was fine for the note it was given, the note was the problem.

1

u/reeddenni7 3d ago

i just keep notes short and tell the agent the code wins if they disagree

1

u/Asly97 3d ago

Code wins is a clean rule, at least there is no arguing about which one to trust in the moment.

Has it ever bitten the other way though, where the note was right and the code was the stale thing, like a refactor that quietly dropped the behaviour the note described? Curious how often your notes and code actually disagree at all, is that a weekly thing or pretty rare?

1

u/reeddenni7 3d ago

pretty rare for me, notes are short so there's little to go stale. the other way hasn't bitten me yet...

0

u/[deleted] 3d ago

[removed] — view removed comment

1

u/Asly97 3d ago

A refactor nobody asked for is exactly the version that burned me, except mine just quietly built on the old value instead of reorganising things. Yours sounds louder at least.

What does your gate actually check before it records a result? Is it mechanical, like the paths or values in the note still matching the code, or is it more a recorded judgement call? And the wiki keeping the reason, has a later session ever disagreed with a stored reason, or does the reason just get trusted once it is written down next to a passed check?

0

u/[deleted] 3d ago

[removed] — view removed comment

1

u/Asly97 3d ago

Mechanical is the part I trust there, paths and values either moved or they did not. The judgement flags are the bit I keep wondering about.

How often does a run actually land in that flagged pile, like is it a rare thing you glance at over coffee or a queue that grows? And when a later session reopens a reason, what wins, the new session's read or the stored check? I have had the reopening just turn into a second confident opinion with nothing to settle it.

0

u/[deleted] 3d ago

[removed] — view removed comment

1

u/Asly97 3d ago

One in ten landing on a human feels workable, especially if it is mostly renamed symbols and moved config, not real judgement fights.

What actually runs the gate though, is it on every session start, or only when a note gets touched? I keep picturing the cost if it reruns everything each time a fresh agent wakes up, vs stuff slipping through if it only checks changed notes.