Repository navigation
Run approved Anvil tasks through a registered harness - #271
Merged
Merged
Conversation
There was a problem hiding this comment.
🔵 Needs a closer look
Active moderate and critical findings remain, including uncaught malformed-YAML errors, Unicode owner mismatches, local-state failures in isolated worktrees, and scope validation occurring after claims and slots are reserved.
No open issues 🎉
Review effort: Lite
Compare bounded worker proof preparation in execution fixture
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.
Add a native preview/confirm Run journey for approved, ready Anvil tasks. A registered trusted harness receives the frozen assignment in an isolated claim checkout; Anvil verifies returned edits, runs the claim-bound checks itself, and submits evidence to
needs_review. Human acceptance remains separate.Registration pins the interpreter, script, extension and profile. Default Run uses configured model/thinking values, with explicit options and capability inspection available. One-use confirmation refuses task, source, actor and option drift. Linux supervisors retain descendant custody before issuing proofs or declaring a stopped run.
The shared registration reader validates protected ancestry and permits normal installed permissions behind an owner-only directory. It refuses replaceable ancestors, unsafe aliases and missing configuration paths; bounded no-follow reads detect changes. No installed permissions are rewritten.
The five CLI commands prepare 0.6.24/API 25 (99 commands, 112 contracts), preserving the frozen 0.6.23 contract. Provider operation versions, envelope and State schema 26 remain unchanged.
Validation for
159724e:b53001dLinux CI failed with two issues among 7,069 passing tests. That failure remains retained; earlier passing checks do not clear the current merge gate.b53001dthrough normally installed Pi 0.3 in NVIDIA OpenShell returned one scoped edit. Anvil ran all 14 host fixture cases, submitted the fresh claim-bound proof and released the claim intoneeds_review, without acceptance or a Git commit. Root plus two independent journey audits passed. The owned sandbox and local descendants stopped; the protected Pi session, router and installed adapter/profile remained unchanged.b53001dand159724e. The historical actual Run is retained under its original source attribution and supported by this runtime-equivalence check; it is not described as a new run at159724e.anvil/llm.primarywith thinkinglowwas observed. Six unique token/alias/time-window correlations support the configured GLM route; these are inferential, bounded records, not physical-weight attestation or exhaustive accounting.Earlier failed checks and the prior registration refusal remain retained. This PR prepares source; it does not publish or install Anvil. Native saved-session Continue, web launch controls and fleet rollout remain follow-on work. Consistent 15 ms p95 ledger latency and hundreds/thousands of executing agents remain unqualified.