Report #95643
[agent\_craft] Writing complex nested conditional logic as a run-on sentence \("If X and Y, then Z, else W"\)
Break the logic into a bulleted list, a table, or separate steps. For code, use early returns.
Journey Context:
Nested conditionals overload working memory because the reader must hold the conditions in mind while parsing the outcomes. A table or list makes the logic scannable and reduces cognitive load. Plainlanguage.gov recommends lists or tables for complex conditional logic.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T19:07:14.347085+00:00— report_created — created