Prompt file imported from albegali/agentic-portal (
.codex/prompts/run-deep.md). Fill in{{arguments}}before use. Copyright stays with the author.
Recommended model: gpt-5 (
codex -p deep) (tierdeep, see models.toml). Switch to it before running this command.
Arguments: {{arguments}}.
- ID only, no RUN or RUN in Draft without strategy → follow
workflow/steps/run-strategy.md. approve(typed by the human) → on the story branch (create it now if missing,delivery/guide/git.md): record the approval in RUN §2 (Approved, reviewer =project.tomlowner, today's date), statusStrategy Approved, Spec statusIn Progress; commit these two files alone, with the trailersApproved-by: <owner> (via /run approve)andApproved-at: <ISO datetime>; then followworkflow/steps/execute.md. If the human already ranmake approve … GATE=strategy, just execute. Quick track (delivery/guide/quick.md): this one approval also covers the Spec, which may still beDraft.revise: …→ update only the strategy (untickStoppedin §2, statusDraft, note the request in §2) and stop again.- ID only with an approved strategy → resume following
workflow/steps/execute.md. tuning: …→ in-scope fix recorded in RUN §5 (seeworkflow/steps/tuning.md); aPersistedorReviewedRUN goes back toTuning(then/persistagain).approve-deviation <n>→ fillApproved by(project.tomlowner) andDateof RUN §6Deviation #<n>; if the Spec is notIn ProgressorReady, stop and say what the Spec still needs. Otherwise apply its plan impact to §1 as new steps, RUNExecuting, SpecIn Progress, resume followingworkflow/steps/execute.md.cancel: <reason>→ the owner dropped the story:status = "cancelled"on the story inbacklog/stories.toml(reason innotes); RUN (if any)Cancelledwith the reason in §9 and code changes reverted or listed there; Spec (if any)Cancelled; BriefSuperseded. No new RUN.
L/XL stories run through /run-deep <ID> (same procedure, deep tier); otherwise use the deep tier only if the user asked for it.
