Repository navigation
fix(plugin): run corrected cache verifier separately from pinned four-skill candidate - #358
Conversation
drevendev
left a comment
There was a problem hiding this comment.
Exact-head content validation — b09fff59712274721eb05865ee8c0049a7141086 (COMMENT; not an independent approval).
I compared the pinned development candidate (8947574399df2cc11e8ded41cecbef70be4808c6) with the separately pinned verifier implementation (ac28c4f6ee6560405be5fc6aff601f18022e5c40), then checked all three changed files against the #257/#258 release-evidence boundary. The older script lacks ancestor/root redirect preflight and optional-manifest comparison; the newer script implements _ordinary_root and OPTIONAL_MANIFESTS and retains candidate-commit Git-blob checks. The updated guide now invokes the newer script from its own immutable checkout while passing the unchanged candidate as --source, the actual host cache as --installed, and the full candidate SHA as --expected-commit. It correctly distinguishes missing optional manifests from a verified manifest match and preserves exit 0/1/2 meanings.
The exact-head Quality workflow passed all six jobs, including Python 3.11/3.14, Windows, Action self-tests and lint. I found no additional blocking issue in this documentation/contract correction. I did not execute a fresh host-cache comparison or actual Claude Code/Codex installation/discovery/model-invocation trial; #257/#258 remain open and are not satisfied by these CI checks.
The authenticated GitHub reviewer is drevendev, also the PR author. This is a source-content judgement only; it cannot be represented as an independent approval or completion of the release acceptance gate.
Verified problem
The immutable four-skill candidate includes an older
scripts/plugin_install_verify.py(blobf3ed0da). The current guide directed testers to execute that older script but also claimed ancestor symlink/junction rejection and present-manifest comparison, both added after the candidate was pinned. This could produce false confidence about the scope of a claimed cache MATCH.Bounded correction
8947574399df2cc11e8ded41cecbef70be4808c6throughout the host trial.ac28c4f6ee6560405be5fc6aff601f18022e5c40checkout only as the verifier program, preserving the candidate as--sourceand the actual host cache as--installed._ordinary_rootredirect checks andOPTIONAL_MANIFESTScomparison, document exit codes and optional-manifest unknowns, and add a guide contract regression.Validation / acceptance
Current branch diff is limited to
guides/agent-plugin.md,tests/test_agent_plugin.pyandCHANGELOG.md. Source pins and script capabilities were read directly at both immutable SHAs; static guide assertions passed. Request the regular CI includingpython tools/docs_links.pyandpython -m unittest discover -s tests -von the exact PR head. Full local suite cannot run because this environment cannot resolve github.com to clone the complete repository. Separate later-run acceptance before merging. Related #257 / #258. No real-agent host test, release or external promotion was attempted.