Skip to main content

multi-session-build-state-lost-during-context-compaction

During the agentskill-kaizen build (8-phase `/plugin-dev:create-plugin` workflow), context compaction mid-build converted structured task state into a narrative summary. The resuming session had to reconstruct "what's done vs pending" from prose rather than a checklist. Background agent results that were already consumed and applied reappeared as late notifications after compaction, requiring manual deduplication ("did I already handle this?"). No persistent artifact tracked phase completion, commit SHAs per phase, deferred items, or agent result consumption status. **Observed symptoms**: - Phase completion status existed only in ephemeral context — lost on compaction - Background agent notifications arrived after their findings were already applied (3 duplicate notifications) - Plan committed early (`87a0b93`) diverged from actual implementation but was never updated - No mechanism to mark agent results as "consumed" — each notification required re-evaluation

Jump to install

Source facts

Repository
tools-only/X-Skills
Last source activity
February 27, 2026 at 21:16
Detected SKILL.md language
English
Stars
7
Forks
1

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.