v0.2.2: compaction-safe contract refresh
Compaction-safe contract refresh
Harness session compaction can replace model-visible history while an agent still holds a clean Plan Lattice lease. This release introduces a conservative compaction fence: after a committed compaction/summary, the plugin invalidates the session receipt and blocks the next guarded write until lattice_refresh_context rereads and renders the full declared contract.
Verification covers the real SessionStore compaction lifecycle with CompactionInvariant and ToolRuntime, complete tests, strict TypeScript, package linting, exact-diff secret scanning, and clean-profile loopback boot.