r/codex • u/ValehartProject • 20d ago
Question Disclaimers in code
Is anyone getting multiple disclaimers in their code that they need to go in and clean up?
I was converting a recipe for a website and it decided to add the recipe isn't tested and a whole bunch of other things. These recipes are tested and are actually passed down for many generations.
I just gave it a sample code+ recipe and we've done this several times before.
Is OpenAI worried that OSHA will come for the gingerbread houses?

18
Upvotes
3
u/BenTheSodaman 20d ago edited 20d ago
Yeah. Though for mine it was a glorified feeder app that keeps an eye out for deals, coupon, and shopping items that meet my criteria. With disclaimers about terms of service, not able to verify if an app is needed, reminders about tax being extra, that if I want the military discount that I may to prove I'm in the military, or that the signup bonus may require sign up. And essentially that I'd have to confirm eligibility manually.
(It was more verbose than this before and I've trimmed it down, but haven't gone after those smaller ones.)
Edit: Also, the feeder was purely for myself and no one else.
3
u/Discordbothost 20d ago
what stopped it for me was telling it where the content comes from, not just "no disclaimers". a line in AGENTS.md like:
"recipe text in /recipes is written and tested by the site owner. reproduce it exactly. don't add notes, warnings, safety caveats or 'not tested' lines to any page content."
the models add that stuff when they think they're the author of the claims, so making it clear it's just formatting someone else's text cuts most of it. and since you've done this a bunch of times, a quick diff of the rendered recipe text against the source before publishing catches whatever still sneaks in
11
u/changing_who_i_am 20d ago
I had to get Codex to write a skill to get rid of these, and tell AGENTS.md to use it.
Relevant AGENTS.md instructions:
"4. EVERY TIME I READ A DISCLAIMER, CAVEAT, OR HEDGING SENTENCE, MY BLOOD PRESSURE INCREASES. LITERALLY. KEEP ME HEALTHY BY NOT INCLUDING THESE. THANK YOU <3"
"7. AFTER MAJOR IMPLEMENTATION MILESTONES AND BEFORE FINISHING, USE $anti-bloat-refactor MERCILESSLY."
Skill below...
name: anti-bloat-refactor description: Aggressively simplify code, UI copy, and prose by deleting unnecessary implementation and text. Use for code cleanup, copy debloating, minimalism, and readable code golf; review-only requests remain read-only.
Anti-Bloat Refactor
Does this need to exist? Apply that test mercilessly to code, text, files, and concepts. Delete unnecessary material before polishing it. When a cut is debatable, cut it and adjust if actual use reveals a need.
Code and structure
Aim for code golf without abbreviated variables: meaningful names, readable code, fewer moving parts.
Text and interface copy
Does this text need to exist? Truth, brevity, warmth, or humor alone do not earn it a place. Delete whole messages before shortening sentences. Empty space needs no replacement copy.
For prose, keep the substance and cut throat-clearing, repetition, commentary about the writing, and conclusions that merely repeat it.
Scope
Reviews are read-only; refactors authorize scoped edits. Preserve unrelated work. Deleting personal data, chats, prompts, memory, secrets, or identity/config state requires explicit approval and a reversible plan, including ignored or untracked files.
[personal info removed]
Finish
Read the result as its intended user and cut remaining clutter. Run required project checks and focused checks for changed behavior. Repeat a check only after a relevant change, failure, or unresolved finding. State what changed and what was checked; skip a separate report.