Prove prior-version managed CLI upgrade convergence#1038
Merged
Conversation
7748291 to
1f9e49b
Compare
8 tasks
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.
Context
The six native managed-lifecycle cells proved fresh installation, but #921 still lacked an upgrade path starting from a verified prior managed CLI. Retention had unit coverage in isolation; it was not joined to exact-version publication, managed MCP activation, grounding convergence, durable repair identity, and rollback evidence.
Closes #1036
Refs #921
Refs #887
Refs #1037
What Changed
--version; selecting it for MCP exits 90 and fails the gate.groundon a deliberately stale local publication.managed-plugin-upgrade.jsonin every native cell.How To Review
plugin_stdio_handoffin.github/scripts/check-packaged-agent-proof.py: the prior fixture must pass installed-version verification but cannot serve MCP.require_managed_plugin_convergence: observational status must not mutate ownership; ground is the activation boundary; all durable attempt records must share one attempt and one project/profile/run/namespace identity.plugins/codestory/tests/plugin-static.test.mjsfor cross-platform fixture behavior.Verification
python .github/scripts/check-packaged-agent-proof.py --self-test— passednode --test --test-name-pattern='upgrades a verified prior managed cli' plugins/codestory/tests/plugin-static.test.mjs— 1 passednode --test plugins/codestory/tests/plugin-static.test.mjs— 72 passednode .github/scripts/check-workflow-policy.mjs— passednode .github/scripts/check-doc-links.mjs— 69 files, 281 relative linkspython -m py_compile .github/scripts/check-packaged-agent-proof.py— passedgit diff --check— passed1f9e49b8d47e18b9bf7d984ce64984b8f3cd4825No local Cargo command was needed because the diff is Python proof code, Node launcher tests, and documentation.
Risk
The proof adds a prior fixture and bounded convergence polling to every native matrix cell, increasing matrix time slightly. The synthetic prior executable deliberately cannot serve MCP, so false selection fails closed. Native CI remains the final cross-platform execution proof. This PR does not close #921 or #887 and makes no glibc claim.