Skip to content

Strengthen stage handoffs and add /kw:lfg (CE-style loop runner) - #6

Draft
crowlede wants to merge 9 commits into
EveryInc:mainfrom
crowlede:cursor/stage-handoffs-and-lfg-45d0
Draft

Strengthen stage handoffs and add /kw:lfg (CE-style loop runner)#6
crowlede wants to merge 9 commits into
EveryInc:mainfrom
crowlede:cursor/stage-handoffs-and-lfg-45d0

Conversation

@crowlede

@crowlede crowlede commented Aug 31, 2026

Copy link
Copy Markdown

Summary

Compound Knowledge’s loop stages were easy to lose mid-conversation compared with Compound Engineering: brainstorm could end without a clear “now plan” handoff, and there was no hands-off runner like CE’s /lfg.

This PR:

  1. Strengthens stage orientation + handoffs across /kw:brainstorm, plan, review, work, compound, and confidence
    • Explicit **Stage: …** banners
    • Mandatory end-of-stage menus (“Brainstorm complete”, “Plan complete”, etc.) that must not be skipped
    • Selecting the next skill immediately loads it
    • AskUserQuestion capped at 4 options (CE parity); larger menus fall back to a numbered list
  2. Adds /kw:lfg — knowledge-work counterpart to CE /lfg
    • Hands-off: plan → review → work → compound via mode:pipeline children
    • Offered as Ship the rest with /kw:lfg (hidden while load-bearing brainstorm questions remain)
    • P1 review findings are a hard gate; ends at deliverables + docs/knowledge/ (no PR/CI)

CE /lfg → CK mapping

CE /lfg CK /kw:lfg
plan → work → simplify → code-review → PR → CI plan → review → work → compound
Terminal: open PR Terminal: deliverables + compounded learnings
Entry: feature / requirements plan Brainstorm origin, topic, or existing plans/*.md
mode:pipeline / return-to-caller mode:pipeline on each child; children do not self-chain

CE core-loop verification (done on this draft)

Ran plan → multi-lens review → fix against this PR before asking maintainers to merge:

Finding Sev Status
AskUserQuestion menus >4 options P0 Fixed — cap + numbered-list overflow
Compound “never auto-save” vs LFG auto-approve P0 Fixed — pipeline exception
disable-model-invocation used as pipeline flag P1 Fixed — mode:pipeline carrier
Plan/work interactive waits blocked LFG P1 Fixed — explicit pipeline skips
Bare plans/*.md re-planned under LFG P1 Fixed — non-brainstorm plans skip to review
Incomplete handoff handlers / “Ship it” naming P1 Fixed

Still draft until you smoke-test interactively (see test plan).

Test plan

  • /kw:brainstorm ends with Brainstorm complete + menu; picking plan loads /kw:plan
  • Menus with >4 options render as a numbered list (no AskUserQuestion validation error)
  • Ship the rest with /kw:lfg writes origin doc then runs plan → review → work → compound without stage check-ins
  • LFG option hidden when load-bearing brainstorm questions remain open
  • /kw:lfg plans/strategy-….md (or plan:…) skips planning and starts at review
  • Unresolved P1s stop LFG before work
  • Mid-loop stage banners stay clear

Version

1.1.0 (plugin.json, marketplace.json, CHANGELOG, README counts).

@crowlede

Copy link
Copy Markdown
Author

CE core-loop verification note

Ran this draft through a Compound Engineering-style plan → review → fix pass before marking ready:

P0 fixed: AskUserQuestion 4-option cap + numbered-list overflow; compound pipeline auto-save exception so /kw:lfg no longer contradicts “never auto-save.”

P1 fixed: mode:pipeline carrier (replacing disable-model-invocation as a mode flag); children return-to-caller instead of self-chaining; plan/work wait skips under pipeline; existing plans/*.md paths skip re-planning; handoff handlers completed; “Ship the rest” / “Done for now” naming.

Still leaving this as a draft for a quick interactive smoke test of the menus + one /kw:lfg dry run in Claude Code/Cursor before ready-for-review.

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