Skip to content

Examples and guides for using the OpenAI API

Fix PLANS.md code fence rendering in exec plan article (#2372)

Vaibhav Srivastav595cd906bc0c
diff --git a/articles/codex_exec_plans.md b/articles/codex_exec_plans.md
index d9c28c55..5d88f93b 100644
--- a/articles/codex_exec_plans.md
+++ b/articles/codex_exec_plans.md
@@ -22,7 +22,7 @@ When writing complex features or significant refactors, use an ExecPlan (as desc
Below is the entire document. The prompting in this document was carefully chosen to provide significant amounts of feedback to users and to guide the model to implement precisely what a plan specifies. Users may find that they benefit from customizing the file to meet their needs, or to add or remove required sections.
-````md
+~~~md
# Codex Execution Plans (ExecPlans):
This document describes the requirements for an execution plan ("ExecPlan"), a design document that a coding agent can follow to deliver a working feature or system change. Treat the reader as a complete beginner to this repository: they have only the current working tree and the single ExecPlan file you provide. There is no memory of prior plans and no external context.
@@ -175,4 +175,4 @@ In crates/foo/planner.rs, define:
If you follow the guidance above, a single, stateless agent -- or a human novice -- can read your ExecPlan from top to bottom and produce a working, observable result. That is the bar: SELF-CONTAINED, SELF-SUFFICIENT, NOVICE-GUIDING, OUTCOME-FOCUSED.
When you revise a plan, you must ensure your changes are comprehensively reflected across all sections, including the living document sections, and you must write a note at the bottom of the plan describing the change and the reason why. ExecPlans must describe not just the what but the why for almost everything.
-````
+~~~