Skip to content

Run approved Anvil tasks through a registered harness - #271

Merged
fakoli merged 12 commits into
mainfrom
codex/harness-execution-run-20261112
Nov 13, 2026
Merged

fakoli merged 12 commits into
mainfrom
codex/harness-execution-run-20261112

Conversation

@fakoli

@fakoli fakoli commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

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:

  • Three independent whole-task source reviews passed. The two-file CI repair corrects the documented command count and anchors the backwards/expired preview regression to its saved creation time. Controlled zero/five-second preflight cases reproduce the former timing bug without sleeps or worker launches. Focused checks passed on Python 3.11 and 3.14 (17 each); Ruff and diff checks passed.
  • All nine fresh claim-bound command captures passed at this head; the independent proof/output/custody audit passed. Python checks recorded 265, 138, 103, 81, 16 and 3 passing tests (two existing skips and two deselections), plus two Ruff checks and the diff check. Every complete retained output was under 1 KiB, and all owned processes stopped. All six current-head hosted CI jobs passed, including 7,096 tests (65 skips, four warnings). Native product-task evidence EVD6D24638 was submitted with all nine claim-bound proofs; the claim is released into needs_review, without immutable acceptance. Earlier b53001d Linux CI failed with two issues among 7,069 passing tests. That failure remains retained; earlier passing checks do not clear the current merge gate.
  • Historical actual native Run at b53001d through 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 into needs_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.
  • All 159 runtime/package/lock files are byte-identical between b53001d and 159724e. 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 at 159724e.
  • Default anvil/llm.primary with thinking low was 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.
  • Outgoing secret review has zero findings; three full-tree matches are unchanged type annotations/test markers. Release artifacts have not yet been scanned. Copilot reported quota unavailable on the prior head, which is not approval.

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.

Copilot AI balanced review requested due to automatic review settings November 12, 2026 23:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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

Copilot AI lite review requested due to automatic review settings November 13, 2026 01:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@fakoli
fakoli requested a lite review from Copilot November 13, 2026 01:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

Copilot AI lite review requested due to automatic review settings November 13, 2026 02:19

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

Copilot AI lite review requested due to automatic review settings November 13, 2026 02:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

Copilot AI lite review requested due to automatic review settings November 13, 2026 03:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@fakoli
fakoli merged commit d20cc5b into main Nov 13, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants