Skill / SKILL.md

Verify History Rewrite

dimetron/pi-go

Formally verify the session-history rewrite path before or after changing it. Use when editing internal/session/autocompact.go, internal/session/compaction*.go, internal/session/store.go's Compact/ClearEvents/rewriteEvents, internal/agent/agent.go's Run/RunStreaming/runPreTurn, or internal/tui/commands.go's clearConversation/clearSessionContext and the context gauge — or when a turn is canceled mid-flight, a tool call and its result get separated, a session's history disappears while the agent is still working, or the model is sent a tool result whose call was compacted away.
2 views 232 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Formally verify the session-history rewrite path before or after changing it. Use when editing internal/session/autocompact.go, internal/session/compaction*.go, internal/session/store.go's Compact/ClearEvents/rewriteEvents, internal/agent/agent.go's Run/RunStreaming/runPreTurn, or internal/tui/commands.go's clearConversation/clearSessionContext and the context gauge — or when a turn is canceled mid-flight, a tool call and its result get separated, a session's history disappears while the agent is still working, or the model is sent a tool result whose call was compacted away.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/dimetron/pi-go' skill-source

Use the complete skill-source/internal/extension/bundled_skills/verify-history-rewrite directory with your client’s skill installer.

  • internal/extension/bundled_skills/verify-history-rewrite

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory internal/extension/bundled_skills/verify-history-rewrite

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
e62d0dd3aac22e11312cc144363d08397297cf1d5a1699787e704dee3184987d
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills