Compact in place at the alarm for every step, and drop the handoff the agent writes #186
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Decided by the operator on 2026-10-17, after the #172 comparison.
Why
At the context alarm, steps take one of two routes today:
POST /api/session/{id}/compact), and the same session continues from the summary with Braid's continuation brief.The handoff depends on the agent stopping, writing a good note, and the next session trusting it, and it has gone wrong in practice. In run_01M55284MNP9F2CE8NK5D3D96A (context per agent 90,000, alarm 67,500),
openspec.apply[all]compacted in place three times (69k → 9k, 72k → 10k, 73k → 10k, about two minutes each), kept its session, tools and variant, and finished the whole change cleanly. The same run'sagent.code-reviewthen went the handoff route at the same alarm.What changes
git status,git diff --stat,tasks.md), asosf/free/note.pyalready writes for #164's switch.osfd transcriptread the same for every step (#185's lines).Done when
Archived in OpenSpec as
compact-every-step(5a953a0), afterfree-profilewhose requirements it modifies. Shipped and verified on production on 2026-10-17: run 74 against run 73, 79.3 vs 109.9 min, 5.98M vs 10.75M prompt tokens, 0 handoffs vs 3, and the code review compacted at its alarm (69,753 to 7,216). Its open timing task (10.4) is in #205. Closing.