Skip to content

Bind ordinary readiness evidence to changed production - #2174

Closed
leehack wants to merge 1 commit into
mainfrom
p3-readiness-metadata-ref
Closed

leehack wants to merge 1 commit into
mainfrom
p3-readiness-metadata-ref

Conversation

@leehack

@leehack leehack commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Summary

Changelog

N/A: maintainer tooling

Production-readiness scope

  • User-facing scope: Maintainer readiness evaluation only.
  • Supported platforms/paths: Host Dart VM evaluator, using the exact Git base and head.
  • Unsupported or intentionally unavailable paths: Ordinary evidence with no changed production reference is rejected as disconnected. Eligible metadata-only releases can use the bounded release verification row.
  • Out of scope / follow-ups: None for this tracker item.

Completeness checklist

  • Implemented the declared scope.
  • Disconnected evidence produces a rejection with a diagnostic.
  • Updated the maintainer runbook. Public API docs, examples, and support matrices are N/A for this change.
  • Added coverage for the original regression and ran the existing bounded-route positive case.
  • Public capability validation registry is N/A for maintainer tooling.
  • The existing diagnostic reports the evidence test path. This change adds no logged data.
  • Follow-ups are listed above.

PR type guidance

  • Bugfix PR: The ordinary evaluator skipped the changed-production intersection when the set was empty. The new VM regression uses a metadata-only inventory and an existing verifier and test. The archived Prepare llamadart 0.20.3 release #2114 ordinary input exercises the same case against real Git blobs.
  • Feature PR / Docs-only PR: N/A for a tooling bugfix.

Test Plan

  • dart run tool/prepare_workspace.dart with Flutter 3.47.1
  • python3 tool/ci/check_format.py
  • dart analyze
  • dart run tool/testing/check_platform_boundaries.dart
  • Full root VM suite pending CI. The three focused VM suites passed locally (486 passed, one local-only test skipped).
  • Chrome and coverage-lib are N/A for this host-only evaluator change.
  • Mutation: restoring the empty-set guard returned unverifiedPrerequisites and failed the regression. Restoring the fix passed the same test.
  • Replayed the archived Prepare llamadart 0.20.3 release #2114 ordinary evidence. The baseline exited 2 with externalPrerequisitesUnavailable. The fixed evaluator exited 1 with the disconnected-evidence diagnostic.
  • git diff --check

Matrix Evidence

Matrix row Scope covered Platform / model / backend Result Evidence / notes
static-format-analyze Format, analysis, import boundaries macOS / Dart VM PASS Repository checks above
root-vm Readiness evaluator, classifier, and review policy macOS / Dart VM Focused pass high_risk_readiness_test.dart, classify_high_risk_changes_test.dart, and high_risk_review_policy_test.dart
high-risk-exact-head-independent-qa Blocking review of the exact head and base Maintainer tooling Pending Draft until the independent audit is complete

Review Notes

  • Independent review status: Pending.
  • CI status / head SHA: Pending at 2223e4b6a4a9d7291d266c36314c96ab868f5cea.

High-risk regression review

  • Classification: high-risk (regressionPolicy)
  • Implementation task: 0.20.x audit follow-ups (P3) #2098 readiness evaluator item under 0.20.7 release plan: Web single-thread core, SD runtime repin, DartPad GGUF example #2173.
  • Independent blocking QA task: Pending exact-head audit.
  • Exact head / current base: 2223e4b6a4a9d7291d266c36314c96ab868f5cea / ac8a9fa1ecae0e8e1b856ddfc421cec67d2cc4f6
  • Production-branch deletion, bypass, or miswire proof: Reinstating the empty-set bypass makes the new regression fail. The archived Prepare llamadart 0.20.3 release #2114 evidence confirms rejection after the fix.
  • Affected-family real-model/artifact evidence: N/A. The evaluator operates on Git blobs and readiness JSON.
  • Explicit unavailable-family or other N/A evidence: Model and runtime qualification are N/A for this regression-policy change.
  • Known PR-caused P1 regressions: 0 known from implementation verification. Independent audit pending.
  • Unresolved review threads: 0 at draft opening.

@leehack

leehack commented Nov 23, 2026

Copy link
Copy Markdown
Owner Author

Closing without merging: the current behavior is intended.

High-risk diffs that change no admitted production path have to cite an unchanged verifier or production file, because schema v2 requires non-empty production_refs. That covers companion release preps (#2114, #2172), Genkit preps, policy-doc PRs and test-only PRs (#1878). The changedProduction.isNotEmpty guard from #534 is deliberate (doc/high_risk_pre_merge_readiness.md §§ on relevance, plus lines 238-239 and 293-297).

#2114 is structurally identical to #2172, so no narrower rule can reject one and accept the other. Removing the guard broke #2172 and #1878 in the independent audit (pr-2174/audit-2223e4b6/). Whether a cited test actually reaches the change stays the reviewer's check.

@leehack leehack closed this Nov 23, 2026
@leehack leehack mentioned this pull request Nov 23, 2026
37 of 50 tasks
@github-actions

Copy link
Copy Markdown
Contributor

Chat app preview removed for leehack/llamadart-chat-pr-2174.

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.

1 participant