Hi! I'm a user of both compound-engineering and planning-with-files (23K+ GitHub stars) and wanted to float a small, optional integration between them before investing in a PR.
The problem
ce-plan writes detailed plans to docs/plans/. planning-with-files tracks live agent state in task_plan.md, which re-injects before every turn via a UserPromptSubmit hook. Today these are disconnected — a ce-plan run populates docs/plans/ but leaves task_plan.md stale, so the agent's turn-by-turn context doesn't reflect the plan just generated.
The current workaround is a CLAUDE.md instruction ("after /ce-plan, write to task_plan.md") — it works but can be forgotten or skipped.
The proposed fix
A small, optional detection-and-write step in ce-plan's 5.3.9 Final Checks phase:
- Check if
task_plan.md exists in the project root — if not, skip silently (no error, no output, no disruption to the post-generation menu)
- If yes: extract the plan goal and
### U<N>. headings, write a concise ## Current Plan section to task_plan.md
- Continue to 5.4 as normal
Zero coupling to planning-with-files internals — detection is purely task_plan.md file existence. Works for any project that has the file; gracefully skips for everyone who doesn't.
Minimal footprint
The change would touch:
skills/ce-plan/references/plan-handoff.md (section 5.3.9) — one new paragraph: "Load references/planning-with-files-integration.md and execute the integration step"
skills/ce-plan/references/planning-with-files-integration.md (new file) — the full detection-and-write protocol, following the same load-by-reference pattern already used throughout ce-plan
I've already written a full implementation plan as a planning exercise. Happy to share the specifics if useful.
Before I open a PR
Wanted to check a few things first:
- Is this kind of optional third-party integration something you'd consider for the CE plugin?
- Any concerns about using
task_plan.md existence as the detection signal (vs. something more explicit)?
- Would you prefer this live somewhere else — a separate bridge skill, or a contribution to the planning-with-files side instead?
Thanks for maintaining such a solid plugin!
Hi! I'm a user of both compound-engineering and planning-with-files (23K+ GitHub stars) and wanted to float a small, optional integration between them before investing in a PR.
The problem
ce-planwrites detailed plans todocs/plans/.planning-with-filestracks live agent state intask_plan.md, which re-injects before every turn via aUserPromptSubmithook. Today these are disconnected — a ce-plan run populatesdocs/plans/but leavestask_plan.mdstale, so the agent's turn-by-turn context doesn't reflect the plan just generated.The current workaround is a
CLAUDE.mdinstruction ("after /ce-plan, write to task_plan.md") — it works but can be forgotten or skipped.The proposed fix
A small, optional detection-and-write step in ce-plan's 5.3.9 Final Checks phase:
task_plan.mdexists in the project root — if not, skip silently (no error, no output, no disruption to the post-generation menu)### U<N>.headings, write a concise## Current Plansection totask_plan.mdZero coupling to planning-with-files internals — detection is purely
task_plan.mdfile existence. Works for any project that has the file; gracefully skips for everyone who doesn't.Minimal footprint
The change would touch:
skills/ce-plan/references/plan-handoff.md(section 5.3.9) — one new paragraph: "Loadreferences/planning-with-files-integration.mdand execute the integration step"skills/ce-plan/references/planning-with-files-integration.md(new file) — the full detection-and-write protocol, following the same load-by-reference pattern already used throughout ce-planI've already written a full implementation plan as a planning exercise. Happy to share the specifics if useful.
Before I open a PR
Wanted to check a few things first:
task_plan.mdexistence as the detection signal (vs. something more explicit)?Thanks for maintaining such a solid plugin!