Repository navigation
A digest in the project's pin is consent to install below the machine's anti-rollback mark (REQ-ROLLBACK-002) - #295
Merged
Merged
Conversation
Automated review for PR #295pulseengine/varve: Verdict: 💬 Comment Summary: The pull request has been approved for merging into the main branch. Findings: 0 mechanical (rivet) · 1 from local AI model. Findings (1):
Generated by a local AI model and post-validated against a strict JSON contract. Each finding includes the verbatim line being criticised — verify by reading the file at the cited location. Reviewed at |
…'s anti-rollback mark (REQ-ROLLBACK-002) varve#256: the high-water mark is per machine, a pin is per project. A layer selected by digest in varve.toml, which the line's signed line-status reports neither yanked nor out of support, now installs whatever the machine's mark says, and the install says so. Resolution by name keeps the refusal, the mark never goes down, a yank or lapsed support window is never overridden, and with no verifiable line-status (none served, none cached, wrong root) the pin alone is not trusted. `verify` repeats the same verdict from the cached line-status. A digest named by an [[include]] is not consent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019TNtfRjLNhEz82G2ggeeNu
…spects its floor The registry is the party anti-rollback constrains, so a line-status it serves can no longer outrank a newer one cached on this machine. A replayed status from before a yank would otherwise re-enable the yanked layer through digest consent. A layer below the line-status's own min-counter floor is refused even when pinned by digest. Both cases failed first. The floor test fails with the check removed. dependabot: ignore ureq >=3.5 until pulseengine/sigil#319 (closed #294). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019TNtfRjLNhEz82G2ggeeNu
…boundary, and pick the newest status by counter Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019TNtfRjLNhEz82G2ggeeNu
avrabe
force-pushed
the
feat/rollback-digest-consent
branch
from
October 28, 2026 15:08
48b44a8 to
8fa76ac
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.
Implements REQ-ROLLBACK-002 (#256). The maintainer decided on digest-as-consent on 2026-10-21. This fixes gale's shared runners: one project installing a newer layer made every other project's older pin on that line uninstallable.
Behaviour
varve.tomlinstalls below the machine's high-water mark, as long as the line's signed line-status reports it supported and not yanked. The install says so: "installed past this machine's anti-rollback mark: the pin selects sha256:… by digest (counter 1), this machine has seen counter 5 on line 2026.08, and the line's signed line-status reports it supported and not yanked. The mark is unchanged."min-counterfloor;varve verifyagrees with the install. It reaches the same verdict offline from the cached status, so a project doesn't install past the mark and then fail its own gate.How it was built. The implementation was delegated to a subagent and reviewed. Review found two holes, the replay (5) and the floor (in 4); the automated security review flagged them too. Both tests failed before the fix, and the floor test fails again with the check removed. The branch also adds a dependabot
ignoreforureq >=3.5until pulseengine/sigil#319 is fixed (#294 widened the cap and went red).Evidence
-D warningsare clean, andcargo test --workspace -j 2exits 0 with 36 suites ok. rivet validate passes, and so does the trace gate.install.rsand 1 inverify.rs. There are 6 CLI tests, using the real binary with keygen and deposit, built around Anti-rollback baseline is per-machine but pins are per-project: a supported, unyanked, digest-pinned layer is uninstallable on a shared runner #256's shape: install 2026.08.5 (counter 5), then pin 2026.08.0 (counter 1) in a second project. REQ-ROLLBACK-001's tests pass unchanged.-j 2 --timeout 60:install.rs: 47 mutants tested in 6m: 37 caught, 10 unviable.verify.rs: 31 tested, 30 caught, 1 unviable.🤖 Generated with Claude Code
https://claude.ai/code/session_019TNtfRjLNhEz82G2ggeeNu