Repository navigation
feat: record plugin tag and content hash in the manifest - #176
Open
unicoderbot[bot] wants to merge 1 commit into
Open
unicoderbot[bot] wants to merge 1 commit into
unicoderbot[bot] wants to merge 1 commit into
Conversation
Closes #142 Co-authored-by: marcossevilla <marcossevilla@users.noreply.github.com>
erickzanardo
approved these changes
Dec 2, 2026
marcossevilla
approved these changes
Dec 3, 2026
Member
|
/unicoder fix CI failures |
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
The install manifest now records a snapshot of each plugin it was written from: the plugin's tag and a SHA-256 of its files. A re-run can then tell whether a plugin still holds what it was installed from, even if its tag was moved. This lets
doctor --projectdetect drift in CI.Changes
PluginSnapshot(tag + sha256) tomodel/, andInstallManifest.snapshots, keyed per harness and plugin name.snapshotskey inmanifest.json, separate fromplugins, so older versions of vgv_ai still readplugins. Missing or malformed snapshots decode to none.pluginsno longer records, so removing one removes the other.PluginDirectorygains asha256of every file under the plugin directory except.git, computed byPluginResolver.installrecords snapshots for the plugins it wrote and keeps the recorded snapshot of any plugin it skipped. Harnesses outside the selection keep what they had.ManifestAuditor.reversecarries snapshots through, and forgets them with the harness when it is emptied.AGENTS.mdand the README, and remove the "content hash per plugin" item from the not-yet-installed list.Testing
Added or updated tests for manifest encode/decode round trips, malformed snapshots, snapshot dropping,
installrecording and keeping snapshots (user and project scope), andManifestAuditor.reverse.Closes #142