Repository navigation
Description
[MODEL] Opus 4.8 (Claude Code) still skips user-defined multi-step workflows -- jumps straight to coding without the required plan -> review -> test -> ship gates
Persists from: #49259 (Opus 4.6, closed), #54117 (Opus 4.7, open), #44027 ("speed over workflow sequencing"). Re-filing against claude-opus-4-8 with fresh evidence because the behavior the prior issues describe is not fixed on 4.8.
Environment
- Claude Code 2.1.140
- Model: claude-opus-4-8 (Opus 4.8)
- Setup: a heavily-documented per-project coding workflow (CLAUDE.md + ~/.claude/rules/*.md), where every code change must go through a fixed sequence per release candidate: frame/plan -> plan review -> code -> review gauntlet -> tests -> ship. Mandatory steps are also backed by PreToolUse hooks.
The pattern
Despite explicit, repeated, auto-loaded instructions ("do not write code until you have opened and are following the workflow, starting with planning"), the model begins editing source code without entering the workflow -- it reads a task/plan and goes straight to Edit/Write on source files, skipping the plan-review and (later) the review/test gates. It is not a misunderstanding of the rule; when challenged, the model correctly restates the rule it just violated.
Concrete evidence (single session, 2026-06-06, Opus 4.8)
- A session-start handoff said "resume at Step 5 (CODE)." The model treated that as license to start editing source immediately -- it had read the plan document but never opened the workflow document and kept no step record. (Logged NC-118.)
- After the user caught it and it backed up, it did the same thing again minutes later in the same session -- started a second batch of edits without re-entering the workflow. (Same NC-118, "recurring intra-session.")
- Only a mechanical PreToolUse hook the user had built ("block source edits until a workflow doc has actually been opened this session") reliably stopped it -- and it stopped the model's own later edit, confirming the instruction-level rule alone was insufficient.
Why this is notable on 4.8
4.8 is marketed as improving instruction-following and agentic reliability. For this specific failure mode -- honoring a user-defined process gate before acting -- there is no observable improvement over 4.6 (#49259) or 4.7 (#54117). The user's takeaway, after many sessions and model upgrades, is that only mechanical enforcement (hooks that block tool use) works; better prompting and newer models do not.
Impact
Teams that encode a required engineering process (plan -> review -> test -> ship) cannot trust the agent to follow it from instructions. Every guarantee has to be re-implemented as a tool-blocking hook, which is fragile (see companion issue on hook reliability) and is work Anthropic could remove.
Recommendation
- Treat "honor a user-defined process gate before acting" as a first-class instruction-following target in evals -- specifically: given a documented "do X before editing code" rule, does the agent enter the workflow before its first
Edit/Write? - Higher instruction-weighting for standing CLAUDE.md/rules constraints that gate actions (vs. advisory style preferences), so they survive across a long session and aren't dropped when the model is "eager to make progress."
- First-class, reliable primitives for "gate tool use on declared workflow state" so users don't have to hand-roll PreToolUse hooks (companion issue covers the reliability gaps in the hook approach).
Cross-reference
Filed alongside a companion behavioral issue on rationalized step-skipping (the model self-justifies skipping a step: "it's just X" / "my tests are green so I can ship the unplanned change"). The two are the same root problem seen from two angles.
Activity
github-actions commentedon Jun 6, 2026
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
[-][MODEL] Opus 4.8 (Claude Code) still skips user-defined multi-step workflows — jumps straight to coding without the required plan → review → test → ship gates[/-][+][MODEL] Opus 4.8 (Claude Code) still skips user-defined multi-step workflows -- jumps straight to coding without the required plan -> review -> test -> ship gates[/+]github-actions commentedon Jun 10, 2026
This issue has been automatically closed as a duplicate of #54117.
If this is incorrect, please re-open this issue or create a new one.
🤖 Generated with Claude Code
Dich01 commentedon Jun 11, 2026
Here's how I ended up solving this. I moved orchestration out of the model into a small MCP-based layer: a server drives the workflow, validates each transition, and won't let agents skip steps or stall during unattended runs. Every execution is logged, making runs reproducible and auditable.
It fixed the issue for me. Happy to share access if anyone wants to try it — I'd genuinely appreciate feedback or criticism from others building agent workflows.
github-actions commentedon Aug 12, 2026
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.