compound-engineering-plugin icon indicating copy to clipboard operation
compound-engineering-plugin copied to clipboard

DOCS - Add a section or comments about if things should be run in the same session, or new with clean context

Open tonydehnke opened this issue 6 months ago • 3 comments

It would be helpful to have a section or be explicit about if context should be cleared, or a new session should be used for any of the core steps. Some of the sessions can run a long time (Especially with 1M context). So not always sure when things should get compacted, cleared or kept through the process.

Second to that, at the end of each process, maybe the agent could suggest to do next step in the same session, compact or clear and what the next step is.

https://every.to/guides/compound-engineering

tonydehnke avatar May 31 '26 07:05 tonydehnke

Opened PR #1544 with a "Session guidance" section in the README: https://github.com/EveryInc/compound-engineering-plugin/pull/1544

It explains when to stay in the same session (mid-step), when to compact (long session, still mid-step), and when to start a fresh session (at a durable handoff point — plan committed, code pushed, or a review report landed), anchored to how the loop's own artifacts already carry state forward.

Swarm review result: collector → correctness/security/testing/maintainability/project-standards/api-contract → lead all completed. Verdict: Ready to merge, with review coverage degraded by unavailable validator infrastructure. No confirmed defects. One P2 correctness candidate (fresh-session claim vs. where /ce-code-review reports actually live relative to /ce-compound's inputs) was raised but dropped under the required validation gate since the P2 validator couldn't launch — flagged as a residual risk for follow-up, not a confirmed finding. Full report on the PR.

Amanjyot-P avatar Aug 26 '26 11:08 Amanjyot-P

Opened a new patch for the README session-guidance section (does not resurrect closed #1544; review reports are called out as per-run, not auto-reloaded): https://github.com/EveryInc/compound-engineering-plugin/pull/1615

khsaurabh avatar Sep 01 '26 18:09 khsaurabh

@tmchow - see my reasoning above

tonydehnke avatar Sep 05 '26 06:09 tonydehnke