Remix.run Logo
coder-pm 19 hours ago

My way to do the self improving agents is a CLAUDE.md instructed to write my every decision to the decision log with the relevant context. Agent is using it to challenge me, to make things better and remind me why I did something. It also helps with the invalidation.

How is the invalidation handled in Warp? Is it actually self-improving, or just better retrieval?

hnlmorg 19 hours ago | parent [-]

How to you handle the problem of the decision log becoming so large that it cannot fit inside the context?

threecheese 17 hours ago | parent | next [-]

The ADR pattern works pretty well without any help; using frontmatter with context cues seems to be better than just descriptive file names, but I haven’t measured it. You do need to make sure every Decision is accurately scoped and is something you want to enforce, because the agent will use it as Law (in sometimes interesting and hilarious ways).

hnlmorg 6 hours ago | parent [-]

Is there any skills or agents file you’d recommend for working with ADRs?

coder-pm 19 hours ago | parent | prev [-]

Every decision has keywords picked from the predefined list and every time Claude is looking for the decisions made it’s querying it by the keywords (grep). I didn’t ever hit the context window issue with the log, even in a huge projects (months of work).

Btw it’s a fair challenge, I will probably hit it one day so something like a “compact” skill for decision log would be useful.

hnlmorg 6 hours ago | parent [-]

And you build this just with an agents / Claude markdown file?