Skip to content

fix: harden V3 native runtime and matched evaluation - #326

Closed
EvanProgramming wants to merge 20 commits into
Evan/v3-stable-releasefrom
Evan/v3-finalization-verified
Closed

EvanProgramming wants to merge 20 commits into
Evan/v3-stable-releasefrom
Evan/v3-finalization-verified

Conversation

@EvanProgramming

@EvanProgramming EvanProgramming commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

Native Agent, Ask and Plan flows could still reach textual compatibility handling, lose execution evidence or overstate completion after unsuccessful effects. This candidate keeps native control and context structured, preserves scoped task/process evidence across cancellation and restart, and hardens the matched-evaluation boundary and its retained results.

Frozen candidate: 8f92f5f067da5206f3eccfd7f17e890c7f7d0b29 (tree 2ff157cc13871949d33c47fdcee2dea7d908d01d), based on #325's 7905fb6. All 20 new commits have valid release-owner GPG signatures and GitHub-verified identities. This remains a draft stacked on Evan/v3-stable-release; main has not advanced.

Changes include:

  • Typed native controls and task-owned planning, stable task/receipt identities, renewed approval for material strategic changes, and scoped child plans/reports.
  • Complete native call/result context groups, schema/continuation token accounting, and generation-only overflow retry without mutation replay.
  • Evidence-backed final answers; interrupted unknown mutation effects remain blocked until reconciliation. Durable scoped process intent and uncertain cancellation outcomes survive restart, with bounded database bookkeeping.
  • Learning promotions require complete paired verification, outcome, cost, latency and regression evidence.
  • Matched V2/V3 original-test protection, parent-owned execution tickets, independent safety components, retained per-row worker evidence and immutable cumulative CNY accounting. Malformed/unsafe outputs and known credential exposure cannot become graded successes. Same-process actor authentication and detached macOS descendants remain explicitly unsupported by the full campaign guard.
  • Bounded Windows CPU/SQLite/load controls with actual load/cleanup observations; original cancellation deadlines are unchanged. CI retains every platform/job and the full 1,800-second soaks, adding only the missing search dependency.

Validation against this exact candidate:

  • Local full suite: 1,388 tests run, 1,386 passed and two Linux-only sandbox checks skipped on macOS. make check, make lint, make docs-check, real agent/subagent and POSIX PTY TUI acceptance passed.
  • Final CI 42324835416 passed Linux/macOS/Windows × Python 3.12/3.13, including actual 1,800.32–1,801.62-second soaks. Downloaded workflow/fixture contents, linked artifact hashes, source identities and safety logs were verified before signing R266. Windows uses its documented supported-feature scope; POSIX full unit/integration and interactive PTY checks are recorded as not run.
  • Wheel [all] and sdist [web] installed in new environments outside the checkout; installed CLI, authenticated Web and TUI backend smoke passed. Docker build and non-root container-replacement persistence passed. Nine retained package/TUI artifacts and checksums are GPG-signed; cross-builds do not claim execution on every CPU target.
  • The 17 signed gate records contain 10 passed / 7 inconclusive (R258–R264). The full release validator rejects R258 and emits no passing manifest. No preview waivers are used.

Not ready to merge or release. Remaining blockers are actual legacy-provider runtime acceptance; attribution of the original Windows R260 timeout; independently authenticated child actors and kernel-backed detached macOS descendant ownership/cleanup; current routing-benefit ablations; and the complete independently reviewed 30 scenarios × 3 repeats × V2/V3 live comparison. Repetitions and passing current CI do not establish the historical R260 cause. The 266-row traceability is complete as an index, not certification that every requirement passed.

No new DeepSeek calls were made. Audited historical settled plus held exposure is at most CNY 0.582914960007 under the cumulative CNY 15 cap. The full campaign guard rejects before credential lookup or relay construction. The configured deepseek-flash Responses configuration and 4,096 output cap reserve CNY 2.032768 per request at peak worst-case prices.

The public site and stable assets still use v2.0.8 (download checks return HTTP 200); the exact-candidate website build passed with PR deployment skipped. Candidate installation pages explicitly mark V3 unreleased. No main fast-forward, tag, draft/public Release, package upload or preview publication was performed. Signed candidate evidence, blocked-gate records and unpublished release notes are retained outside the checkout.

@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Tip

🎯 Customize your risk assessments

Guide how CodeRabbit assesses merge risk and security architecture risk. Highlight sensitive changes and explain your security boundaries using Merge Risk Instructions and Security Risk Instructions in your review settings. Security architecture risk assessments require the Advanced plan or above.

✅ Automatic approvals, with your rules

Let CodeRabbit approve pull requests once required threads are resolved, pre-merge checks pass, and your risk limits are met. Enable Automatic approvals in review settings, with overrides for teams or file paths.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@ghfind-review ghfind-review Bot added the review: high ghfind author score; see https://ghfind.com label Nov 6, 2026
@EvanProgramming EvanProgramming changed the title fix: complete V3 native flows and harden matched evaluation fix: harden V3 native runtime and matched evaluation Nov 7, 2026

Copy link
Copy Markdown
Owner Author

Closing this stacked PR because its head commit 8f92f5f067da shipped in v3.0.0 through #328. Commit comparison · Release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review: high ghfind author score; see https://ghfind.com

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant