Skip to content

test(ci): native late-admission vector corpus (split 6b of #8082) - #11761

Merged
EffortlessSteven merged 2 commits into
mainfrom
split/8082-s6b
Nov 1, 2026
Merged

EffortlessSteven merged 2 commits into
mainfrom
split/8082-s6b

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Summary

Slice 6b of the #8082 split (qualification_scope_oversized). Adds only the data corpus fixtures/convergence/native-late-admission/vectors.json (1,994 lines of admission decision vectors) and its README, taken byte-identically from reviewed #8082 head cf94f3d956. Pure data: nothing on main reads it yet; the native_admission.rs suite that consumes it follows with the caller. Plan: #8082 (comment)

Source-of-truth Links

Governing issue or accepted claim: #4987
Acceptance delta (one sentence): Lands the native late-admission vector corpus as its own reviewable data slice so the caller and its test suite can be reviewed under the admission size cap.

Candidate Relationships

Stack parent or prerequisite PR (if any): none
Proposed replacement of PR (if any; not yet accepted): partial successor of #8082


Generated by Claude Code

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Copy link
Copy Markdown
Member Author

Review of record, exact head 8b9190a2836ac04180161ba1130c3a2794a980b6 (slice 6b of the #8082 split).

Angles and findings:

  • Correctness / provenance: vectors.json and README.md are byte-identical to reviewed ci: stage reviewed qualification leaves in exact-subject caller #8082 head cf94f3d956 (new files; nothing on main touches that directory). vectors.json parses as valid JSON.
  • Tests: no code, so no test change; the consuming native_admission.rs suite lands with the caller and will be proven there against these vectors.
  • Spec / contract: no workflow, policy, schema or product change; data only, unreferenced on main until the consumer lands.
  • Perf / security: no execution surface.
  • Not established locally: repository gates (shared host cannot build); proof is hosted qualification on this head.

Disposition: no blocking findings; merge on green exact-head qualification.


Generated by Claude Code

@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 26 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 149 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 8e7699e7-fe2c-4079-b498-7bf0e09f5402
Commits

Reviewing files that changed from the base of the PR and between 9e23542 and ec83eb0.

Files selected for processing: 2
  • fixtures/convergence/native-late-admission/README.md
  • fixtures/convergence/native-late-admission/vectors.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Copy link
Copy Markdown
Member Author

Deferred (no push, no label cycle): hosted qualification on head 8b9190a2 failed only on main's check-rust-source-role-authority break from #11596 (this slice is data only). Per the coordinator's critical-path rule, no merge-ready cycling until #11807, #11822 and #11837 have their Result. Next transition: after main's fix lands, merge main into split/8082-s6b, cycle merge-ready once, merge on green.


Generated by Claude Code

@EffortlessSteven EffortlessSteven left a comment •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Independent review (fresh-context reviewer, head 8b9190a): REVIEW_INCOMPLETE

Inspected:

  • Head 8b9190a28, base 56444f1605fa1431054375f9b232c37f72ede436: 2 files, additions=2115 / deletions=0 / changed_files=2. PR-reported size 2,115 counted lines / 2 files, against the admission action's envelope of 3,000 lines / 160 files (.github/actions/pr-candidate-admission/candidate_admission.py:575), so this slice is admissible by size. Measured against the current base tip a69bf0214, all 2,115 lines are outstanding — nothing here is already on main.
  • fixtures/convergence/native-late-admission/vectors.json (1,994 lines) parsed locally: valid JSON; top-level schema_version = 1; four case partitions of 10 (event_cases), 12 (live_drift_cases), 6 (terminal_cases) and 4 (concurrency_cases) = 32 cases with 32 unique ids; subject is a 4-key object naming repository, commit, tree and path.
  • fixtures/convergence/native-late-admission/README.md (121 lines) read in full.
  • The content relationship to the umbrella #8082 computed by blob SHA: this slice's two files are byte-identical to the umbrella's copies of the same paths (same=2, differ=0), so the slice carries the umbrella's exact bytes with no divergence. It is also disjoint from #11700 and #11988 (same=0 on both).
  • The pinned subject, checked directly: fixtures/convergence/windows-subset/merge-ready.yml has blob 8f8b439c453500e471bfe1aa9dec9c8d25541889 at main, at the pinned subject commit e22a2e5e716806e8b84db5a418a28473a1f1be41, and at the umbrella's head 4b2f669ea — identical in all three places, and the pinned tree 29ad2515461fb9882745e31f01dc72063624f886 exists in the repository.
  • Consumer search on the current base: the file that will consume this corpus, tools/repo-policy/tests/native_admission.rs, does not exist on main — it arrives with the umbrella's caller slice. Main references fixtures/convergence only from .ripr/traceability.toml, docs/specs/RIPR-SPEC-0167-convergence-architecture.md, xtask/src/convergence/architecture.rs and xtask/src/convergence/mod.rs, none of which reads the vectors file.

Blocking:

  • None found in the slice's content or in its claims. The corpus is well-formed, the case ids are unique, the partitions are populated, and the pinned subject is still current on main. I record that as a verified positive rather than a finding: a corpus pinned to a 2026-10-15 subject commit would normally be the first thing to suspect, and here the subject file's content has not moved.

Non-blocking:

  • The corpus's structural integrity has no witness inside the repository. The README states precisely which properties were checked — "59 JavaScript structural assertions over the JSON: nonempty partitions, 32 unique IDs, context/identity fields, required-name fixture consistency, and exact extraction of the source expressions" — and it states just as precisely that they were run outside the repository, in a session whose container failed (container_service_failed), with "no Cargo, jq, bash, PowerShell, native expression evaluation, or Actions run". Nothing in the repository parses vectors.json. So a 1,994-line JSON file lands on the default branch whose only validation is a claim in prose, and a dropped case, a duplicated id or a malformed partition would not be detected until native_admission.rs arrives — in a different PR, possibly much later. The repair is small and is derived from the author's own list rather than invented: assert those five properties in a repository test (a JSON parse, 32 unique ids, four nonempty partitions, the expected context/identity fields, and the extracted source expressions), which is a few dozen lines. Whether that test belongs in this slice or in the consumer slice is a policy choice the owner owns; what is not established today is that the corpus is internally consistent.
  • The slice lands inert, and the README says so plainly: the vectors "are review inputs, not an evaluator, production selector, or controller", and the corpus records its own execution_status as NOT_ESTABLISHED: selected executor provisioning failed; no Cargo, jq, bash, PowerShell, native expression evaluation, or Actions runs performed. The five "wrong controls" the README describes are designed to be checked against unchanged expected values by the future consumer, so the battery's discriminating power is currently undemonstrated — it is a designed negative-control set with no negative control yet executed against it. This is a sequencing fact the body already states, and it is not a defect; the condition it implies is that the consumer slice must land with a test that actually exercises the battery, otherwise the corpus remains an unexercised fixture.
  • The split is coherent on the evidence: this slice's bytes are identical to the umbrella's, it is disjoint from the other two open leaves, and it sits at 2,115 lines against the 3,000 envelope, so it can land without the umbrella. That is the property that makes the slice worth opening, and it holds.

Efficiency:

  • No measurable efficiency concern in the slice itself. The corpus is static JSON with no runtime consumer on main, so it adds no I/O, no process spawning and no per-call cost to any shipped path. Its cost is review and repository weight, not execution: 1,994 lines of data that nothing reads until the caller slice lands.
  • The one efficiency observation worth carrying forward is about the eventual consumer rather than this slice: native_admission.rs is 1,618 lines and is the single largest path the umbrella still owns alone, so the plan's contingency — splitting that file by contract (identity vs review-attestation) — is what keeps the caller slice both under the admission envelope and reviewable. The corpus here is the fixture that consumer will need, and its size (1,994 lines of vectors, 32 cases) is proportionate to a 1,618-line suite, so this slice does not make the caller's split harder.

Not run:

  • The Rust toolchain on this host is not on PATH, so nothing was compiled, tested or linted locally; cargo xtask precommit was not run. The JSON was parsed and inspected with a local Python interpreter, which is a read of the file, not a repository test.
  • No hosted Rust lane was inspected for this PR in this pass, so no claim is made about the hosted result at head 8b9190a28; the disposition above rests on the file's content, the blob-level relationship to the other slices, and the repository's own admission rules.
  • The 32 case bodies were not each audited against the admission logic they describe; I verified their structure, uniqueness, the recorded subject and the README's own claims, and did not re-derive what each vector is meant to prove.

Reviewed by an independent Mavis review agent on behalf of the maintainer; bound to head 8b9190a2836ac04180161ba1130c3a2794a980b6. Not an approval.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Decision

  • Needs focused proof failure resolved before upstream.

Verification questions

  • Confirm this tests-only slice adds vectors but no executable test, evaluator, or assertion that consumes them, so it has no red/green behavior of its own.
  • Confirm the corpus contains meaningful negative controls rather than only positive reach fixtures, but its assertions are not executable in this PR.
  • Confirm the fixture corpus has no in-repository consumer, so its expected values are not currently discriminated by an executable test.
  • Confirm the changed corpus contains no executable assertion or consumer, so it cannot prove trigger, predicate, terminal, or concurrency behavior.
  • Confirm several expected values distinguish contract-required success from candidate-required success and should become focused red/green assertions in the later consuming suite.

Test proof

  • Focused HEAD proof failed (exit 101): cargo test --locked --package ripr-swarm --test native_admission. This is a current failure, not a red/green witness.

Evidence gaps

  • Trust in the corpus expectations is deferred because no independent evaluation receipt proves they pass on the intended owner and fail on the listed wrong controls.
  • The corpus intentionally includes source-derived counterexamples for review revocation, mergeability, and concurrency displacement that cannot be proven by structural assertions alone.
  • Cargo-test was scheduled late but has no completed receipt, so repository gate evidence for the exact head is not established.

Copy link
Copy Markdown
Member Author

Review of record (Claude Code, COMMENT disposition) — head ec83eb03ecb98f10c480b431407f4c9327815d28

Scope: full diff (2 new files under fixtures/convergence/native-late-admission/: README.md, vectors.json). No production, workflow, schema or generated surface touched.

  • Content: 32 literal vectors (10 event contexts, 12 live-state snapshots, 6 final-result environments, 4 concurrency cases) with literal contract-derived expected values, explicit wrong-implementation controls, and findings for the production owner (final-readiness drift, etc.). The README states honestly that only structural JSON assertions were executed and that no GitHub semantics were evaluated, so it does not overclaim; these are review inputs, not an evaluator.
  • Changelog: not required (fixture/evidence only, no behavior or workflow change).
  • CI: Ripr Rust Small Result completed/success on this exact SHA; mergeable clean; no unresolved threads.

Findings: none blocking. Follow-up remains with the #4987/#8082 owner to wire an evaluator over the vectors.


Generated by Claude Code

@EffortlessSteven
EffortlessSteven merged commit e6ceba5 into main Nov 1, 2026
50 checks passed
@EffortlessSteven
EffortlessSteven deleted the split/8082-s6b branch November 1, 2026 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants