Skip to content

fix(lfg): enforce plan phase with explicit step gating#231

Merged
kieranklaassen merged 1 commit intoEveryInc:mainfrom
mvanhorn:fix/lfg-enforce-plan-phase
Mar 10, 2026
Merged

fix(lfg): enforce plan phase with explicit step gating#231
kieranklaassen merged 1 commit intoEveryInc:mainfrom
mvanhorn:fix/lfg-enforce-plan-phase

Conversation

@mvanhorn
Copy link
Contributor

@mvanhorn mvanhorn commented Mar 8, 2026

Summary

  • Adds a CRITICAL instruction block at the top of /lfg emphasizing that steps must be executed in order and the plan phase must complete before any coding begins
  • Adds explicit GATE checkpoints after steps 2, 3, and 4 that require verification of expected output before proceeding
  • Reinforces plan-first ordering in the closing instruction

Problem

/lfg was skipping the plan phase (/ce:plan) and jumping straight to coding. The existing "Run these slash commands in order" instruction was not forceful enough to prevent Claude from bypassing the plan step.

Closes #227

Test plan

  • Run /lfg "small feature" and verify that /ce:plan executes and produces a plan file before /ce:work begins
  • Verify that if /ce:plan fails to produce a plan file, the gate catches it and re-runs the plan step

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Add CRITICAL instruction block and GATE checkpoints between steps to
prevent Claude from skipping the plan phase and jumping straight to
coding. Each gate requires verification that the previous step produced
its expected output before proceeding.

Closes EveryInc#227

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link

@janneaho janneaho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The fix solid, accurate and targeted. Nothing to add, looks good to merge.

@kieranklaassen kieranklaassen merged commit 5884457 into EveryInc:main Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[compound-engineering] Bug: /lfg skips plan phase, goes straight to coding

3 participants