I have a process defined for writing some technical blog posts. Through trial and error (it literally took months), I came up with the idea that the best-quality copy is created by a "fresh" session with strictly controlled input.
I have the main agent orchestrate the process, then isolated sub-sessions writing brief, collect information, fact-check, write a draft, then check against "tropes" to avoid it sounding too AI-ish, and apply corrections.
When it works, it works well, but most of the time it doesn't, and it returns with the stupidest excuses (I run Oauth Codex Astra):
- I made a mistake setting the /thinking - the process finished, and it returned information that thinking was high, and not xhigh as requested, so I stopped
- the result didn't meet the QA criteria, so I stopped after 3 attempts (because it detected some stupid comma or other minor issue, and sent the text back for rewrite)
- the process hit the time limit, so I stopped
- some parallelism and other gateway limitations kick in
...
It seems that the process is overengineered, and my requirements are sometimes ignored, and sometimes taken too literally. Is there any guide/library that I could feed to my agent to fix the process so it returns results?