You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depends on the report-only admission classifier in #7647. This issue may define fixtures and the metadata contract before #7647 completes, but it must not enable automatic admission invalidation or workflow suppression until the pilot reason codes are reviewed.
Related current-check classification owner: #7416.
Observed problem
PR title/body reconciliation, exact-head review publication, and automated metadata repair can occur after hosted checks have started. GitHub then cancels or supersedes PR-body and contract runs, starts replacements, and invalidates exact-head evidence that was correct before the mutation.
The repository now distinguishes some superseded checks from real failures under #7416, but it does not prevent avoidable metadata churn from consuming CI and review capacity.
Objective
Define a versioned PR metadata epoch and preparation-to-integration transition. Metadata must be reconciled before a candidate enters expensive integration. A later material metadata mutation must invalidate the admission epoch explicitly and return the PR to cheap preparation checks before new full CI or exact-head review is admitted.
Metadata epoch
The epoch must bind at least:
PR number and repository;
exact head SHA and base SHA;
normalized title and body digest;
linked-issue and closing-reference set;
label set relevant to admission and holds;
requested-reviewer state;
domain/author approval requirements;
producer and observation source;
invalidation reasons.
Cosmetic or generated-body differences may be normalized only by a reviewed deterministic rule. Unknown changes are material.
Required behavior
Preparation writers reconcile title/body and required trailers before requesting integration admission.
uv run pytest -q tests/dev -k "pr_metadata or metadata_epoch or pr_loop_policy or ci_status"
uv run ruff check scripts/dev tests/dev
uv run ruff format --check scripts/dev tests/dev
git diff --check
Claim boundary
Workflow consistency, CI economy, and exact-head traceability only. A stable metadata epoch does not prove implementation correctness, scientific validity, review approval, or merge readiness.
This packet is preparation evidence only. It never overrides live labels, exact claim state, branch state, typed dependencies, domain gates, compute authority, release authority, or scientific evidence rules.
Parent and dependency
Parent policy: #7520.
Depends on the report-only admission classifier in #7647. This issue may define fixtures and the metadata contract before #7647 completes, but it must not enable automatic admission invalidation or workflow suppression until the pilot reason codes are reviewed.
Related current-check classification owner: #7416.
Observed problem
PR title/body reconciliation, exact-head review publication, and automated metadata repair can occur after hosted checks have started. GitHub then cancels or supersedes PR-body and contract runs, starts replacements, and invalidates exact-head evidence that was correct before the mutation.
The repository now distinguishes some superseded checks from real failures under #7416, but it does not prevent avoidable metadata churn from consuming CI and review capacity.
Objective
Define a versioned PR metadata epoch and preparation-to-integration transition. Metadata must be reconciled before a candidate enters expensive integration. A later material metadata mutation must invalidate the admission epoch explicitly and return the PR to cheap preparation checks before new full CI or exact-head review is admitted.
Metadata epoch
The epoch must bind at least:
Cosmetic or generated-body differences may be normalized only by a reviewed deterministic rule. Unknown changes are material.
Required behavior
In scope
Out of scope
Acceptance criteria
Candidate paths
scripts/dev/;pr_loop_policy.pyand workflow(7520): implement report-only adaptive integration admission #7647 integration;tests/dev/;Validation
uv run pytest -q tests/dev -k "pr_metadata or metadata_epoch or pr_loop_policy or ci_status" uv run ruff check scripts/dev tests/dev uv run ruff format --check scripts/dev tests/dev git diff --checkClaim boundary
Workflow consistency, CI economy, and exact-head traceability only. A stable metadata epoch does not prove implementation correctness, scientific validity, review approval, or merge readiness.
This packet is preparation evidence only. It never overrides live labels, exact claim state, branch state, typed dependencies, domain gates, compute authority, release authority, or scientific evidence rules.