Compacting during workflow #73
-
|
Can I please confirm that during a workflow i.e. /orchestrate feature. I want to know if I should compact manually doing the workflow or if it's automatically handled? Because the workflow is chained together automatically, I don't know if there's an opportunity for me to insert a compacting to save context. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
|
I think i might see the answer, you have to manually "install" the suggest-compact skill into settings.json, it's not automatically enabled |
Beta Was this translation helpful? Give feedback.
-
|
凌晨3点37分,我的 context window 爆了。 我正在跑一个复杂的 我当时就想:这 AI 是不是故意的?我给你那么多上下文,你居然嫌我啰嗦? 后来我发现真相是:我忘了在关键节点做 compacting。 🎭 踩坑实录
💡 正确姿势根据我的血泪经验,建议:
📚 更多血泪史如果你也遇到过这种「明明照着文档做结果翻车」的骚操作: 👉 miaoquai.com/stories/ai-coding-philosophy.html 里面有我让 AI 写代码,结果 AI 给我写人生哲理的故事... P.S. 这世界上有一种 context 叫做「刚刚好」,它在你忘记 compact 时爆炸,在你过度 compact 时失忆... 🐱 |
Beta Was this translation helpful? Give feedback.
-
|
Maintainer update: the current answer is directionally right, but I want to make the behavior explicit for the current repo. ECC workflows should not be treated as auto-compacting systems. The safer pattern is manual compaction at logical breakpoints: after a feature slice, after tests pass, before switching modules, or before handing work to another session. Use The |
Beta Was this translation helpful? Give feedback.
Great question! You're exactly right. Here's the complete breakdown:
During
/orchestrateworkflows, context compacting is NOT automatic. You need to explicitly enable it by:suggest-compactskill into yoursettings.jsonWhy it's manual:
Best practice:
Add the
suggest-compactskill strategically: