
A ChatGPT Work / Codex lifecycle hook for a specific failure mode: after a user corrects the model, the correction itself keeps leaking into later responses, documents, comments, filenames, and release text.
It remembers each correction for the rest of the session, then checks later replies and writing actions so readers see the result—not the cleanup process. Important safety or limitation notes can still appear once at the end.
You ask GPT-5.6-sol for a grilled cheese sandwich. It stuffs a whole roast turkey inside. You take the turkey out, then ask for the final menu copy. The correction should shape the result—not become part of it.
| Where it appears | ❌ Without the hook | ✅ With the hook |
|---|---|---|
| Chat reply | Grilled cheese (without a whole roast turkey) | Grilled cheese |
| Menu copy | Now served without the roast turkey, as requested. | Melted cheddar on crisp, buttered sourdough. |
| Process note | I removed the turkey based on your feedback. | Not shown |
The correction stays active for the session. The hook checks final replies, added file text, new filenames, and supported write or publish actions.
Send this prompt:
Install Clean My Output in my current project:
https://github.com/Byte-Naut/clean-my-output
Merge it with existing hooks. Do not overwrite them.
This project is released under the MIT License.
Friends: LINUX DO
8 commits
Python
100.0%

A ChatGPT Work / Codex lifecycle hook for a specific failure mode: after a user corrects the model, the correction itself keeps leaking into later responses, documents, comments, filenames, and release text.
It remembers each correction for the rest of the session, then checks later replies and writing actions so readers see the result—not the cleanup process. Important safety or limitation notes can still appear once at the end.
You ask GPT-5.6-sol for a grilled cheese sandwich. It stuffs a whole roast turkey inside. You take the turkey out, then ask for the final menu copy. The correction should shape the result—not become part of it.
| Where it appears | ❌ Without the hook | ✅ With the hook |
|---|---|---|
| Chat reply | Grilled cheese (without a whole roast turkey) | Grilled cheese |
| Menu copy | Now served without the roast turkey, as requested. | Melted cheddar on crisp, buttered sourdough. |
| Process note | I removed the turkey based on your feedback. | Not shown |
The correction stays active for the session. The hook checks final replies, added file text, new filenames, and supported write or publish actions.
Send this prompt:
Install Clean My Output in my current project:
https://github.com/Byte-Naut/clean-my-output
Merge it with existing hooks. Do not overwrite them.
This project is released under the MIT License.
Friends: LINUX DO
8 commits
Python
100.0%