feat(plugins): hot-reload agent plugins - #73
Merged
Conversation
danielkov
force-pushed
the
feat/hot-reload-skills-notification
branch
from
September 1, 2026 10:56
a833402 to
fe86613
Compare
danielkov
force-pushed
the
feat/hot-reload-agent-plugins
branch
from
September 1, 2026 12:57
499fe06 to
e9b5acd
Compare
danielkov
changed the base branch from
feat/hot-reload-skills-notification
to
main
September 1, 2026 12:57
danielkov
force-pushed
the
feat/hot-reload-agent-plugins
branch
from
September 1, 2026 16:04
3718e92 to
c7b7f12
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Kit hot-reloads Agent Plugin configuration and packages at live tool and serialized user-prompt boundaries while retaining the last valid generation after invalid updates. Plugin-provided MCP servers and skills are published atomically; the stable skill callable remains actionable even when a session started with no available skills.
Technical details
Stable generation publication
Slow MCP initialization and source preparation happen before the short publication lock. Concurrent skill catalog reads continue using the last published snapshot, while invocations retain generation leases for snapshot-backed resources.
Unchanged source reuse
Bounded deterministic fingerprints avoid rebuilding unchanged local packages, immutable archives, and commit-pinned Git sources. Mutable Git names and default
HEADuse hardened remote object-ID probes and perform a full fetch only after the selected commit changes.Private atomic staging
Plugin snapshots and archive verification use the shared private staging-directory lifecycle for stale cleanup, containment validation, race-safe publication, and cleanup.
Closes #70