Skip to content

fix(cold-start): add hard early-exit gate to prevent re-asking completed config#1

Merged
KKenny0 merged 1 commit into
mainfrom
fix/cold-start-early-exit-gate
May 20, 2026
Merged

fix(cold-start): add hard early-exit gate to prevent re-asking completed config#1
KKenny0 merged 1 commit into
mainfrom
fix/cold-start-early-exit-gate

Conversation

@KKenny0
Copy link
Copy Markdown
Owner

@KKenny0 KKenny0 commented May 20, 2026

Summary

The cold-start-interview skill's Step 0 previously used a soft instruction ("only ask about missing values") that the LLM could skip during execution. When invoked in a project directory without .lode/config.yaml, it would re-run the full interview even though ~/.lode/config.yaml was already complete.

What Changed

Added a mandatory gate to Step 0 in skills/cold-start-interview/SKILL.md:

  • Explicit completeness criteria for both global and project configs
  • Three early-exit rules covering all scenarios:
    1. All complete → STOP, output status, ask nothing
    2. Only project config missing → ask only project_name + project_slug
    3. Global partial → ask only the missing fields
  • CRITICAL directive to read config files and check completeness before any questions

Test Plan

  • Run /lode:cold-start-interview with complete global config → should stop with status
  • Run /lode:cold-start-interview in project dir with no .lode/config.yaml → should ask only project_name + project_slug
  • Run /lode:cold-start-interview with partial global config → should ask only missing fields

🤖 Generated with Claude Code

…ted config

Step 0 previously relied on a soft "only ask missing values" instruction
that the LLM could skip, causing the full interview to re-run even when
global config was complete. Added mandatory completeness checks and three
explicit early-exit rules covering all scenarios.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@KKenny0 KKenny0 merged commit 2d00f80 into main May 20, 2026
2 checks passed
@KKenny0 KKenny0 deleted the fix/cold-start-early-exit-gate branch May 20, 2026 06:27
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.

1 participant