Skip to content

fix(ci-admission): reject narrative readiness tokens (partial #8157) - #8172

Closed
EffortlessSteven wants to merge 135 commits into
codex/4987-caller-paste-integrationfrom
codex/8157-review-disposition-repair
Closed

EffortlessSteven wants to merge 135 commits into
codex/4987-caller-paste-integrationfrom
codex/8157-review-disposition-repair

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Summary

Repair raw-HTML scope aliasing between distinct same-marker list items. Each newly opened quote/list container gets an identity from its opening physical source line and nesting depth; continuation lines retain their frame identity. This fixes both false admission and false refusal while preserving outer ancestry, raw-tag ownership and inline/global raw lifetime.

Draft; partial #8157 only. The requested authenticated versioned review-disposition/evidence contract remains open. This parser repair adds no new acceptable-evidence policy. Parent owns independent exact-head/composition review before any Ready transition.

Governing issue or accepted claim: #8157 (fix(ci-admission): reject negated, quoted and superseded review-ready text); this PR carries only its partial sibling container-instance slice.

Swarm / Source Boundary

  • Same-repository caller/evidence surface; no product, credentials, settings, runner or production dependency change.

Only bounded Draft source publication is authorized. Preserve #7746 publication and #7929 dispatch holds.

Source-of-truth Links

Governing #8157; producer/lifecycle #4985; custody #4834; integration #8082 and comment6206390696. Contract: docs/PR_AUTOMATION.md. Independent cad7 review evidence, verified ZIP SHA256 5e297d28648381a7391f6edcf8a311f0c530260afe44cab94580fd99b658f4e2, reproduced before editing.

Candidate Relationships

  • Head 517d711, tree a9b5264c8d011c28eb75bb33da9d7cfbf942433f, owned branch codex/8157-review-disposition-repair (extends merge 8cb29c6 with the two disclosed post-proof deltas).
  • Predecessor cad7c40. Its setext/raw-state repair and all earlier structural fixes remain covered.
  • Original proof/API base ff9f758; separate from actual composition parent.
  • Observed integration 34b3a04; integration branch never written or moved.
  • Actual fetched composition 029062f, ordered parents [34b3a04, bf8552b], tree ed9649d67fd69213047678f32bc966d78622e08d. Local merge-tree agrees; H/G routed-workflow bytes match.
  • Integration contains advisory/preparation/policy changes outside this child. Combined-tree execution NOT_ESTABLISHED; parent owns combined validation and acceptance.

Scope

Three functional jq edits in the existing shared review parser. New frames carry opening-line/depth IDs; matched frames retain them. Marker spelling and indentation cannot identify an item instance. Raw HTML block scope ends when its owning item ends; changing an inner item preserves outer identity. State is not reset at every leaf. Raw tag nesting/closing, source positions, leaf ownership and first-nonblank/column-zero projection stay retained.

Scope Classification

Internal / CI. Seven files: workflow, two integration suites, shared fixture reader, new container-instance-rendering.json (628 bodies), documentation and changelog. changelog.d/8157-current-comment-interpretation.md matches the canonical Internal / CI marker, bullet and trailing #8157 reference.

Post-proof head deltas disclosed: commit c065a39 restores the Ok(())/} function boundary in tools/repo-policy/src/workflow_tests.rs (eighth file), dropped by merge 185710c's conflict resolution; it is compile-boundary only. Commit 517d711 restores count separators in docs/PR_AUTOMATION.md (greppable numbers; no semantic change).

Support-tier Impact

No product platform/output schema or production parser dependency change. CommonMark, native cmark and HTML5 packages are development oracles only.

Policy Impact

The complete jobs section is byte-identical to cad7. Actor/API subject/immutable-parent bindings, native APPROVED/CHANGES_REQUESTED/DISMISSED, same-account COMMENT support, chronology/ties, pagination, proof/reuse, event/runner/concurrency, execution gate, required contexts/protection and merge authority are unchanged.

Container instance identity is parser ownership metadata, not producer identity or a versioned evidence record. Existing raw-exclusion policy remains: scoped HTML blocks and inline/global raw regions have different lifetimes; pre/script/style type1 cross-family closing stays unchanged. Plain AST text inside a raw element is not current evidence. Source review, qualification and merge judgments remain separate.

Proof

  • Independent 112 bodies through both actual production consumers: predecessor 160 wrong / 224 observations, including 80 false acceptances; candidate 224/224.
  • New 628-body committed fixture: fresh 1,256/1,256 actual initial/final Bash observations, zero false acceptances. Both suites plus final diagnostics retain it.
  • Full ordered/unordered/repeated/changed marker, nesting, quote, tag and blank-line cross-product: candidate 10,080/10,080 scalar; predecessor 864 wrong. Prior 23,738/23,738 scalar. These are not Bash execution counts.
  • Both complete CommonMark/native cmark HTML outputs and AST fields freshly reproduce 11,192 dataset records. Four ownership traces pin continuation, sibling, nested-same-line depth and outer ancestry. Nine supplemental HTML5 reconstructions confirm noninterrupting inline/global containment.
  • Copied shape-only mutant fails 80/112 scalar; per-leaf raw-reset mutant fails 22/192. Implementation was never mutated for these challenges.
  • 112 policy integration tests / 11 binaries pass; strict all-target policy Clippy, workflow policy, formatting, whitespace and checksum-verified actionlint1.7.12 pass (ShellCheck/Pyflakes disabled). No product/hosted/combined-tree qualification claim.
  • Five actual ci: stage reviewed qualification leaves in exact-subject caller #8082 producer COMMENT bodies byte-match 64 live submissions and pass actual consumers. Synthetic coherent envelopes establish compatibility, not current clearance or independent identity.
  • Every actual initial mock refusal emits no execute=true; unchanged downstream gate requires it. No native scheduler/zero-allocation experiment claimed.
  • Original 50 acceptance controls remain 42/50. The four prose-token false-positive controls refuse. Four known gaps fail in both phases: unadmitted producer with mocked write permission is accepted; a silently omitted valid final page is accepted; an ordinary later COMMENT erases a positive; native APPROVED bypasses a later material negative COMMENT.

Commands: cargo test --locked -p repo-policy --test '*'; cargo clippy --locked -p repo-policy --all-targets -- -D warnings; cargo run --locked -p repo-policy -- check-workflows; cargo fmt --all -- --check; git diff --check; actionlint -shellcheck='' -pyflakes='' .github/workflows/routed-rust.yml.

Renderer and instrumentation limits

Both ASTs agree on all 112 reviewer fields; 16 matrix AST alternatives are explicit. Earlier 12 CDATA, 16 leading-zero, 64 Unicode, 870/960 structural and 32 HTML-sibling alternatives remain disclosed in frozen prior proof.

The initial matrix mislabeled no-blank non-one nested markers as new items: 864 apparent mismatches were oracle mistakes, not product failures. Corrected genuine nested examples add a blank; the noninterrupting forms remain explicit inline/global controls under retained policy. Original instrument inputs/results are retained separately. A trace assertion initially indexed the wrong line and was corrected without source changes. Native GitHub rendering/sanitization remains NOT_ESTABLISHED; the previously denied endpoint was not retried or bypassed.

Transferable exact-source evidence

Verified successor evidence: ripr-8172-item-bf8552b0-evidence.txt, version0, 1,296,634 bytes / 1,272 lines. Embedded ZIP 971,317 bytes, SHA256 92cfa2d5e3e097f54095ee553e1d69815bb07737cebf48688998139d0181ec46.

Complete Library readback is byte-identical; ZIP SHA/CRC and all 60 member hashes verified. Fresh extraction reproduces all 448 predecessor/candidate core actual statuses/outputs and both renderer outputs for all 11,192 records. The full 1,256 candidate-native replay is supplied and was executed before transfer; extraction used the compact core.

Includes exact H/P/I/G identities, raw decisions, complete renderings, scalar/native inputs/results, mutations/traces, incoming review, corrected and original instrument datasets, producer comparison and gate logs. cad7 frozen evidence and earlier proofs remain retained.

Acceptance delta

Adds one #8157 slice: sibling container-instance identity in the shared review parser (a same-marker sibling ends the prior item's raw-HTML scope; opening physical line plus nesting depth identifies a frame; outer ancestry and inline/global raw lifetimes retained), with the 628-body dual-AST fixture. Does not advance #8157's remaining acceptance: authenticated versioned producer/evidence custody, ordinary-COMMENT-erasure and native-approval-override refusal, silently omitted valid-final-page integrity, and narrative contradictions outside explicit fields. Keep #8157 open; the parent owns combined validation and integration.

Claim Boundary

Keep #8157 open. Authenticated versioned producer/repository/PR/head/scope/findings/proof custody, ordinary COMMENT erasure/native approval override, silently omitted valid-page integrity and narrative contradictions outside explicit fields remain. JSON nondeclarations refusing do not prove schema/proof validation. No relaxation or substituted producer policy was authorized or implemented.

Rollback

Revert seven-file commit bf8552b for this instance repair alone; known aliasing returns. Full partial-mitigation rollback is the coherent child series above ff9. No settings rollback.

Spec-Test-Code Traceability

#8157/docs → shared jq container ownership → native_admission/final_readiness_diagnostics/shared reader → 628-body instance fixture plus prior corpora. Product schemas/goldens/metrics unchanged.

Static Language Check

  • Exact identities, policy overlays, renderer alternatives, instrument corrections and missing dimensions explicit.

CI Economics

Metadata parsing before existing product authorization; no measured savings claim. This child changes no job graph, contexts, labels or production dependency.

Engineering Check

  • One existing parser owner; no new process/network/production panic surface.
  • Narrow rollback and discriminating wrong-implementation controls.

Gates

Focused local policy gates pass. Full product, combined-tree/hosted qualification and merge clearance remain unestablished. Parent-owned UV/#8180 work is separate.

Continuation

PR_IN_FLIGHT / REVIEW_INCOMPLETE. Parent owns independent exact-bf8552b0ffdd07d772b41606d9276a691c68f918/029062f7e64f2e8fde418685d59d5955313743e4 review, then combined validation and integration. Keep Draft. No Ready/merge-ready, hosted CI dispatch, integration-branch mutation, merge, release or deploy. Worktree/cache/raw evidence retained for that review; no automatic cleanup or watcher arranged.

EffortlessSteven and others added 14 commits October 15, 2026 16:29
…(RIPR-SPEC-0247) (#8140)

* fix(typescript): credit a mock payload on a test-file factory object (RIPR-SPEC-0247)

`const db = makeDb();` now reads as the flat literal a parameterless,
top-level, unexported test-file factory returns
(`function makeDb() { return { write: jest.fn() }; }` or
`const makeDb = () => ({ ... })`), so `toHaveBeenCalledWith` on
`db.write` pins the changed call as it does for the inline literal.
Extraction records such factories only when the file names them solely
in their declaration and direct calls and has no `eval`, `with` or `\u`.

RIPR-SPEC-0247 gains decision 8 and amends rule 1, example 4, Non-Goals
and Required Evidence; RIPR-SPEC-0243 example 30 notes the factory form.
Corpus row jest-spec0243-ex30-factory-db moves gap to credited and no
other row moves.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V

* fix(typescript): close the factory mock's line-break and mock-value paths

After review: `makeDb()` must be closed by `;` or the block's end (a
line break alone can continue the expression with `.inner` or `&& pre`),
and the factory literal's mock value must be exactly a bare `jest.fn()`
or `vi.fn()` (an implementation can record calls through `this`, and a
trailing operator can return another mock). Adds parameter, async-arrow,
arrow-parameter, generator, implementation, trailing-operator and
next-line refusal cases; the inline-literal holes are filed as #8138.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V

---------

Co-authored-by: Claude <noreply@anthropic.com>
…er return (#6578) (#8102)

* fix(owner-pin): a verified expect_file golden comparison pins the owner return (#6578)

ExpectFile::assert_eq compares the actual text with the whole committed
file and panics on a mismatch, as the inline expect! comparison does.
Behind a manifest-verified `use expect_test::expect_file;` with a literal
path, it now pins the owner's return. The file is not read; the path
literal stands in for the fixed text, so only return-path gates that admit
any value accept it.

expect_file joins the test-scoped trusted macro names, so stored binding
candidates change (file facts 1.40) and classification changes (seam cache
1.76 / 0.82). Spec RIPR-SPEC-0197 gains the golden-file rules; SPEC-0231
decision 4 follows. Corpus row lib-expect-test-expect-file-golden moves
gap -> credited.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011vJe7tsVbzfQsHJiNujJgV

* test(owner-pin): control expect_file in owner bodies, renames and globs (#6578)

Review follow-up: an owner-side try-style expect_file! keeps the return
paths open; a renamed, cross-renamed or glob-imported expect_file never
pins.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011vJe7tsVbzfQsHJiNujJgV

* perf(owner-pin): compare the expect macro path without allocating (#6578)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011vJe7tsVbzfQsHJiNujJgV

* fix(owner-pin): a test that may write files lends no golden-file pin (#6578)

Review (Devin): a test can write the golden from the owner before
comparing, so the comparison fixes nothing. A test body that writes,
creates, copies or renames a file, or sets UPDATE_EXPECT, now lends no
expect_file pin. RIPR-SPEC-0197 golden-file rule 4.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011vJe7tsVbzfQsHJiNujJgV

* fix(owner-pin): golden paths stay in tree; renamed fs imports refuse (#6578)

Review (CodeRabbit): an absolute, home-relative or `..` golden path may
name text the commit does not fix, and `use std::fs::write as save;` hides
a write from the body scan. Both now lend no golden-file pin.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011vJe7tsVbzfQsHJiNujJgV

* fix(owner-pin): keep drive-letter literals out of committed text (#6578)

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011vJe7tsVbzfQsHJiNujJgV

* test(fixtures): refresh first-useful-action digests for seam cache 1.77

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011vJe7tsVbzfQsHJiNujJgV

* fix(owner-pin): find renamed fs imports anywhere in a statement fragment (#6578)

Review (Graphite): the prefix match missed a `use` inside a module, after
an item or attribute, or with `pub(crate)`. Match on word tokens instead.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011vJe7tsVbzfQsHJiNujJgV

* fix(owner-pin): an escaped non-raw golden path refuses (#6578)

Review (CodeRabbit): `"\u{2e}\u{2e}/w.txt"` decodes to `../w.txt`, which the
source-text segment check cannot see. Any escape in a non-raw path literal
now lends no pin.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011vJe7tsVbzfQsHJiNujJgV

* test(owner-pin): use a cfg attribute in the rename-layout case

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011vJe7tsVbzfQsHJiNujJgV

* test(fixtures): refresh first-useful-action digests for seam cache 1.78

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011vJe7tsVbzfQsHJiNujJgV

* fix(owner-pin): commands, symlinks and qualified writers refuse a golden pin (#6578)

Review of record (soundness angle): `Command`, `symlink`, `persist`,
`<File>::create`, `fs_err::write` and `F::create` could produce the
golden unseen. The writer scan now refuses each, keeping `io::copy`
and method calls clear. Refresh the corpus case's hard_case text.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011vJe7tsVbzfQsHJiNujJgV

* test(owner-pin): spell the Command case so process policy reads it as text

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011vJe7tsVbzfQsHJiNujJgV

* fix(owner-pin): a turbofish writer call refuses a golden pin (#6578)

Review (CodeRabbit): `write::<_, _>("w.txt", ..)` under `use std::fs::write`
skipped the bare `write(` match.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011vJe7tsVbzfQsHJiNujJgV

* test(discovery): a Rust-only build refuses the uv marker case instead of failing

The Rust-only feature lane is red on main since #8131: the uv case expects
a Python-marked root to analyse, but without `lang-python` the run refuses
by design. Assert that refusal (and the resolved uv root) there.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011vJe7tsVbzfQsHJiNujJgV

---------

Co-authored-by: Claude <noreply@anthropic.com>
…8145)

Skip colon __proto__: in the TypeScript match-object field pin so toMatchObject({ __proto__: v }) does not credit a prototype setter.

Closes #8133.
…8150)

Without lang-python, the uv marker case refused analysis. Write [languages] enabled = ["rust"] into that fixture so the rust-only lane still analyses the rust subject and still pins the uv/git root.

Closes #8144.
Co-authored-by: Steven Zimmerman <steven@effortlesssteven.com>
…lue equality (#8114)

* Pin a payload-carrying early Err variant through whole-value equality

config-missing-equals-line (#7063 cluster 6) read weakly_exposed. The
error-variant sink dropped the payload, so no propagation witness
completed, and the owner-pin early-return gate refused a body with
several `return Err(..)` exits.

- propagation_witness: an Err(Type::V { .. }) built on the probe's own
  line with a call-free payload completes the error witness.
- owner_pin: an ErrVariant gate pins when every other exit is Ok or a
  different variant, the body has no `?`, and the enum derives
  PartialEq over value-compared fields.
- reveal: a payload change on error_path/return_value now needs a
  whole-value equality (owner pin or a written-out assert_eq!). A
  variant-only matches! no longer confirms it (RIPR-SPEC-0107 amended).
- Seam caches 1.74 -> 1.75 and 0.80 -> 0.81; provenance hashes refreshed.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK

* Tie the payload pin to the owner call and refuse every second builder

Review on #7063 found three false-exposed paths: a bare or imported
second spelling of the variant, an equality on another function's
result, and sibling exits that are really constants or method calls.

- Drop the written-out equality route; a payload-only change is
  confirmed only by the owner-return pin.
- The ErrVariant pin admits owner(..).unwrap_err()/expect_err() bound
  or direct, never another call's result.
- Sibling exits must be declared variants whose Err argument ends at the
  payload; an owner file importing the enum's variants refuses the pin;
  rebinding and field-attribute refusals apply.
- RIPR-SPEC-0197 rules 1-7 with named residuals (tuple ok_or?, literal
  field patterns on error_path/return_value).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK

* Complete the error witness only for a declared workspace enum variant

Second review on #7063: an aliased, type-aliased, Self:: or module-path
spelling kept the unchecked Err head gate while the new witness still
completed, and a re-qualified path read as a variant change.

- The error witness completes only when the owner file names a declared
  workspace enum that declares the variant; other spellings keep main's
  candidate witness.
- payload_pin_required compares the two trailing path segments.
- A sibling exclusion (assert_ne!, !matches!) no longer confirms a
  payload-only change.
- Test-file enum rebinding refusal gets a test.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK

* Pre-filter workspace enum lookup by declaration; fix spec heading slip

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK

* Name only bare or crate:: error variant paths as a workspace enum

Devin review of #8114: the pin and the error witness read a variant path
by its two trailing segments, so external::E::V borrowed a local E's
derived equality. A prefix other than crate:: now names no declared enum,
and the spec says so. The new refusals fail on the old rule.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK

* Skip the uv marker case in the Rust-only feature lane

#8131's scalar_marker test writes a [tool.uv.workspace] marker, which a
binary built without lang-python refuses, so the Rust-only feature lane
is red on main since 8a55a5b. The uv case now runs only with
lang-python; the cargo, git and unmarked cases still run in both lanes.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LF96T8WMLipviRmdgetFpK

* Renumber the lane's seam-cache bump to 1.79/0.85 and refresh its receipts

Main allocated 1.78/0.84 first (#8102), so the early error-variant pins
take the next versions. The corpus-authority test pins, the two
OUTPUT_SCHEMA.md receipt examples, and the unchanged-after-attempt
provenance chain (commitments recomputed with raw_json_placeholder_v1;
raw artifact and verify hashes refreshed in the receipt) follow the same
renumber. Verified: the recomputation reproduces the 1.78 refresh bytes
exactly before applying the same procedure at 1.79.

---------

Co-authored-by: Claude <noreply@anthropic.com>
…y observes that element's field (#7858) (#8059)

* fix(field-observation): a test pinning one element of a returned array observes that element's field (#7858)

RIPR-SPEC-0225 decision 8. A field built inside an array the owner
returns is pinned by assert_eq!(recv[k].f, literal) on its element index,
or by assert!(recv.iter().any(|r| r.f == literal)) when every other
element builds f from a different integer literal. The total: 33 decoy,
where another element already holds the literal, keeps the gap.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019DhTE9QaZFAYeqtp9XRAGK

* fix(field-observation): element pins need the shared assertion validator and run first

Review of #8059 found three false exposed readings: a macro statement
rebinding the receiver, a local assert_eq! that checks nothing, and
process::exit before the assertion. The pin now requires the shared
assertion-context validator to admit its assertion, must be the test's
first statement after the owner binding, takes a bare assert macro only,
exactly #[test], a free-function owner and literal or path call
arguments, and scans macro tokens for early exits. Blesses the target
corpus row (gap to credited).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019DhTE9QaZFAYeqtp9XRAGK

* fix(field-observation): element pins read only a uniquely named owner

The pin matches the owner call by name, so a nested module's own
`super::rows` or a test file's local `fn rows` could take the call and
pass whatever the owner's changed element holds. Credit now needs the
owner's name to belong to exactly one indexed function. Also clears two
clippy findings and a panic-family false positive on a closure name.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019DhTE9QaZFAYeqtp9XRAGK

* fix(field-observation): element pins defer call, equality and iteration to shared checks

Review of 84755e9 found four decoys the syntax reading let through:
- a `const rows: fn(..)` in the test module takes the bare call;
- a workspace trait supplies `iter` for the returned array;
- a `#[cfg]` element can be compiled out and shift the index;
- a field type with its own `PartialEq` makes `== 33` hold for any value.

The owner call now goes through `targeted_free_call_reaches_owner`, with
the receiver's own `let rows = rows(..)` read under a renamed binding.
The field must be declared as a primitive integer through the new shared
`field_is_builtin_integer`. The membership form refuses when any `fn
iter`, `into_iter` or `any` in the workspace is not an indexed free,
local or inherent function. An attribute anywhere in the array refuses.
Each gate has an integration control that fails without it.

Merges main and bumps seam caches 1.74 -> 1.75 and 0.80 -> 0.81, so warm
caches cannot replay the old field-construction verdicts.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019DhTE9QaZFAYeqtp9XRAGK

* fix(field-observation): membership needs a closed world; the struct is the owner's own

Review of 98e8a92 found four holes:
- `written_fn_count` missed `fn/**/iter` and a macro's `fn $m`;
- an outside crate's trait or an unindexed `#[path]` module could supply
  `iter` or `any`;
- a sibling literal outside the field's range wraps onto the expected
  value;
- `field_is_builtin_integer` read whichever declaration of the struct it
  found, so a decoy in another module or under `#[cfg(any())]` stood in
  for a macro-generated one.

The membership now requires a closed world. Every indexed file must parse
and nothing may sit outside the index. Every `use`, macro and attribute
path must be rooted in std or the workspace. There must be no `extern
crate` and no `fn $name`, and every `fn iter|into_iter|any` token sequence
must be an indexed free, local or inherent function. Every literal must
fit the field's type. `field_builtin_integer` reads only the struct
declared once in the owner's own file and inline module, refuses
attributes beyond derives, docs and lints, and returns the integer type.
Each gate has an integration control that fails without it.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019DhTE9QaZFAYeqtp9XRAGK

* fix(field-observation): close the include, macro-import and cfg_attr path holes

Membership credit now also refuses an attribute naming `path` (cfg_attr
included), a macro body or argument holding `use`, `extern` or `include`,
and an `include!` macro however qualified. The closed-world check is
memoized per run, the gate requires a StructField discriminator first, and
attributes are checked before the field type lookup (#8059 review).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019DhTE9QaZFAYeqtp9XRAGK

* fix(field-observation): refuse macro-declared types and outside dependencies

The indexed form's primitive field type now also needs no workspace macro
that may declare a type of that name and no item-level call of a macro the
workspace does not define. The membership form's closed world now needs
every package to depend only on the workspace's own packages through plain
path dependencies, no proc-macro library, no [patch]/[replace] or .cargo
configuration, and no macro definition (#8059 re-review G1, G2, G5, G6).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019DhTE9QaZFAYeqtp9XRAGK

* fix(field-observation): both forms need the closed workspace and scanned modules

The indexed form now needs the same closed workspace as the membership,
and the closed workspace now needs every out-of-line `mod name;` to
resolve to an indexed file: the index skips `fixtures`, `target` and
`node_modules`, and a module there is compiled but never scanned (#8059
re-review H1, H7, H8, H15, H16).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019DhTE9QaZFAYeqtp9XRAGK

* test(field-observation): name the outside-case tuple type

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019DhTE9QaZFAYeqtp9XRAGK

* fix(field-observation): a closed workspace has every Rust file scanned

Replace the out-of-line module resolver with a walk of each package: every
`.rs` file outside the package's own `target/` must be indexed, with no
symbolic link and no manifest target `path`. A nested inline `mod`, a
non-root crate file or a module named `lib` no longer hides a skipped
`fixtures/` module (#8059 re-review N1, N3, N4, N7). Owner-side process
exits stay with #8084.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019DhTE9QaZFAYeqtp9XRAGK

* fix(field-observation): read a multibyte attribute character whole

The root scan stepped one byte past a non-identifier character, so a
multibyte one such as `→` sliced mid-character and panicked (#8059 review).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019DhTE9QaZFAYeqtp9XRAGK

* Renumber the returned-element decision to 9 and memoize its field check

Main's #8040 already holds RIPR-SPEC-0225 decision 8 (literal variant-field
patterns), so the returned-array element decision becomes decision 9 in the
spec, comments, tests and changelog fragment. field_builtin_integer now keeps
a run-scoped answer per (owner file, owner name, type, field) on
OwnerPinSyntax; the index is immutable, so no answer goes stale.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019DhTE9QaZFAYeqtp9XRAGK

---------

Co-authored-by: Claude <noreply@anthropic.com>
* fix(ux): use correct articles before oracle-kind labels (#7752)

Vowel-initial OracleKind display strings (exact_value, exact_error_variant,
whole_object_equality) were interpolated after a hardcoded "a", rendering
"a `exact_value` oracle" in verdict prose on every strong-oracle finding.

- domain: add a shared indefinite_article helper that decides the article
  from the first alphanumeric character, with unit tests pinning the
  vowel-initial OracleKind members
- analysis: route the five python/typescript narrative templates through it
- output: route the first-pr review-card oracle phrase through it
- tests: update the pinned article forms

Goldens re-blessed separately. Closes #7752

* fix(ux): clear double-colon label collisions in human render (#7755)

Labelled lines interpolated values that themselves carry a 'label:' prefix,
producing 'Changed file(s) by language: javascript: 1.' and
'Next step: TypeScript preview advisory: ...', which read as parse errors on
the first lines a user reads.

- human: render the per-language breakdown as 'language = count', keeping the
  key/value boundary readable without a second colon
- sections: when a next-step value opens with its own short leading label,
  render the field label with a dash ('Next step — TypeScript preview
  advisory: ...'); plain prose keeps the colon form
- tests: unit coverage for the prefix decision, and the breakdown pins

Closes #7755

* fix(ux): one trailing-period rule for the human render (#7756)

Labelled lines and bare list items in the same render disagreed on trailing
punctuation with no inferable rule: 'Changed file(s) by language: ... 1.' and
'  Counts: ... finding(s).' carried periods while 'Summary:' and the
'Start here:' fields did not.

Adopt the issue's stated convention, applied at the emit boundary so producer
strings and the JSON/SARIF surfaces stay unchanged: labelled field lines and
list-item values carry no trailing period; free-standing prose sentences (the
'Note:' advisory) keep theirs.

- human: strip the period on 'Analysis outcome:', 'Counts:' and the language
  breakdown; 'Safe next action:' templates lose their terminal period
- sections: strip the terminal period on discriminator/next-step field values,
  evidence-window bullets, full-form evidence lines and weakness bullets
- triage: strip terminal periods on all 'Safe next action:' templates

Closes #7756

* fix(ux): pluralize count nouns at one (#7753)

Count nouns were hardcoded plural in interpolated strings, so the most common
first-run experience (one probe, one finding on a small diff) rendered
'1 probes, 1 findings', '1 entries', 'one of 1 attempts', '1 warnings',
'1 findings' and '1 items blocked'.

- output: add a shared count_noun(count, singular, plural) helper owning the
  singular/plural decision, with unit tests
- app/cli: route the verbose completion line, cache describe_entries, the
  next-action selector, artifact summaries, gap-ledger warnings and the
  publish-plan blocker list through it
- tests: the cache dry-run regression pin now asserts '1 entry' and rejects
  '1 entries'

Closes #7753

* test(fixtures): re-bless goldens for the human copy/grammar fixes (#7755 #7752 #7756)

Formatting-only re-bless of 448 fixtures via 'cargo xtask goldens bless',
one blessing-reason entry per fixture (RIPR-SPEC-0002):

- per-language breakdown renders 'language = count' (#7755)
- oracle-kind labels take 'an' after the article fix (#7752)
- labelled lines and list-item values carry no trailing period; the
  next-step dash form replaces the nested-label colon (#7756)

Each drift line was read against the render-code intent before blessing.
The unrelated 'owner_return_pin_fallible_literal' classification drift
(exposed -> weakly_exposed) reproduces against unmodified main on this
machine and is intentionally NOT blessed here.

* fix(domain): keep indefinite_article crate-internal (#7752)

check-public-api fails on any public surface growth; the article helper is
an implementation detail and belongs behind pub(crate).

* fix(domain): correct article test expectations (#7752)

The gate run showed two wrong expectations in the new article tests:
'unknown' starts with a vowel letter and correctly takes 'an', and the
helper decides from the first alphanumeric of the interpolated label
alone. No render-code change; the blessed goldens already carry 'an'.

* fix(domain): drop duplicate article test left by the expectation fix (#7752)

The previous commit inserted the corrected vowel_initial test without
removing the original, which the gate's test compile rejected (E0428).
The pre-fix 'cargo check' passes because #[cfg(test)] code is not built.

* fix(domain): whole_object_equality takes 'a', not 'an' (#7752)

It is spelled with a vowel letter but pronounced with a consonant 'w'
('a whole object equality oracle'), which is exactly what the
first-alphanumeric helper decides. The issue text grouped it with the
vowel-initial kinds; the helper and the re-blessed goldens were already
correct.

* style: cargo fmt the article test list (#7752)

* fix(output): align tests and publisher corpus with the new copy grammar (#7756 #7755 #7753)

- strip leftover trailing periods from Safe next action templates in
  triage.rs so all labelled lines match the #7756 no-period contract
  (the mixed-currentness template already had none)
- narrow NESTED_LABEL_MAX to 40 so real producer labels (27/33 chars)
  take the nested em-dash form while prose colons at 45 keep the colon
  form (#7755)
- update human.rs/json mod.rs assertions to the stripped-period and
  prefix-width expectations
- re-bless the two pr-inline-comment-publisher corpus markdown files
  for the count_noun blocked-line format (#7753)

* fix(output): address reviewer findings on the copy grammar batch (#7756 #7752)

- trim_field_period strips one terminal period only, so ellipses and
  abbreviations keep their dots (Gemini review on #8096)
- the shared-report guidance paths (catalogue payload and the unshared
  per-finding line) now go through trim_field_period, so human-full no
  longer retains a terminal period there (Devin review on #8096)
- the first-pr evidence-strength phrase takes its indefinite article from
  the strength adjective, the first displayed word, not the oracle-kind
  label (Devin review on #8096)

* test(output): align cli_smoke and canonical controls with the copy grammar (#7756)

- check_python safe-action expectations drop the stripped terminal period
- regenerate the fourteen discarded-matcher canonical human/human-full
  reports for the labelled-line no-period rule (drill-in lines keep their
  workspace-relative spelling via the same projection the comparator uses)
- re-bless fixtures/human_full_shared_parse_port/expected/library-human-lines.json

These are expectation updates for intentional #7756 output; no producer
behavior changes in this commit.

* test(guidance): adopt copy-grammar forms in pinned guidance assertions (#7752 #7753)

unindexed_guidance pins the uncertain-owner-reach INSPECT guidance verbatim;
the human and explain renders now carry no trailing period on the labelled
next-step value (#7756), while JSON keeps the producer string. Pin both
forms: the raw producer text for the field/JSON assertions, the stripped
render form for human/human-full/explain. The semantic under test —
unindexed doc assertions prompt inspection without credit or gap claims —
is unchanged.

* test(goldens): bless 69 fixtures for the copy-grammar render follow-ups (RIPR-SPEC-0002)

The reviewer-followup commits (shared-guidance trim through trim_field_period,
single-period-only strip, leftover template periods) changed rendered bytes
again; goldens check never ran green between those commits and this blessing.
All drifts are formatting_only period strips on labelled human lines.
owner_return_pin_fallible_literal keeps its expected classification (the
local exposed->weakly_exposed flip is the known environment drift and is
deliberately not blessed; only its three formatting lines are updated).

* test(goldens): bless five main-side fixtures for the copy grammar (RIPR-SPEC-0002)

Fixtures added on main while this branch was open (rust_ffi_attribute_literals,
test_cast_to_integer_not_exact, test_compared_with_non_literal_not_exact,
test_from_trait_conversion_not_exact, typescript_rewritten_local_whole_result)
still carried pre-#7755/#7756 expected bytes; their drift only surfaces on a
fresh full golden run. Bless the formatting_only flips after merging main.
* fix(ledger): bind Python repair lines to selected identity

The Python gap ledger now takes target_line from the selected card's
file/name, using a unique complete related-test row or the selected
evidence line. Truncated check-JSON inventories and unmatched or
ambiguous identities omit the precise line instead of borrowing the
first related row.

Closes #8132

Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>

* fix(ledger): keep Python selected-path identity bytes

Reject blank card file/name without trimming, so a space-prefixed
selected path still binds its line.

Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>
* fix(rust): an empty-collection expectation cannot confirm a push (#8051)

A test that passes with `assert_eq!(p.log, vec![])`, `assert!(p.log.is_empty())`
or `assert_eq!(p.log.len(), 0)` after the owner call never ran the owner's
push on that path, so deleting or changing the push leaves it passing.
Reveal now treats such an assertion like a self-computed one for
call_deletion and side_effect probes on a collection push: it neither
confirms observation nor counts as a strong oracle.

New corpus case push-after-early-return-empty-assert (truth
not_discriminated by runtime mutants) holds the fix: its call_deletion and
side_effect findings were exposed before and are weakly_exposed now. No
other row moves.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01THmnTJYPr5V99aEDNdTy86

* fix(rust): limit the empty-collection rule to pushes the owner can skip (#8051)

Review on #8141: a test that pushes then removes the element
(`add(1); remove(1); assert_eq!(items, vec![])`) does catch a changed push
argument, so discounting every empty expectation turned a correct exposed
into a wrong weakly_exposed advisory. The rule now applies only when the
owner may leave before the changed line (`owner_may_exit_before_line`,
sharing `may_exit_early`), which is how a passing empty expectation skips
the push. Also shares the empty-collection literal with `is_default_like`
and adds the negative `assert!(p.locked || p.log.is_empty())`.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01THmnTJYPr5V99aEDNdTy86

* test(cli): run the uv workspace-marker case only with lang-python

`scalar_marker_preserves_cargo_uv_git_and_unmarked_root_boundaries` (#8131)
fails in the Rust-only feature lane on main: a binary built without
`lang-python` refuses a repo with a `[tool.uv.workspace]` marker instead of
resolving its root. Skip that one case without the feature; the cargo, git
and unmarked cases still run in every lane.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01THmnTJYPr5V99aEDNdTy86

* fix(rust): same-line early exits also skip a push, with per-form cap proof (#8051, #8141 review)

Devin review on #8141: owner_may_exit_before_line stopped at the start of
the changed line, so a guard sharing the line
(if self.locked { return; } self.log.push(1); on one line) left the
empty-collection cap unapplied and kept a false exposed. The scan now
runs to the changed expression's first occurrence on the line; an
expression blanked by masking keeps the line-start scan. A guard after
the expression on the same line still cannot skip the push.

Devin review on #8141: the new cap had no classifier-output controls per
assertion form. empty_collection_expectations_cap_effect_families_only_
after_an_early_exit drives each recognized form through the real reveal
path for both effect families: capped to weak and observation-unverified
only when the owner may exit early, keeping strength without an earlier
exit, and never capping a non-empty expectation.

Devin review on #8141: the rule had no spec/traceability mapping.
RIPR-SPEC-0228 documents the rule, its forms and the accepted owner-wide
limit; .ripr/traceability.toml maps the three behavior tests.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(rust): find the changed push in the owner body so quoted guards count (#8141 review)

CodeRabbit review on 9595d8d: the same-line scan searched the masked
body, so a push with a string-literal argument (self.log.push("x"))
never matched and a same-line guard before it kept a false exposed. The
mask blanks bytes in place (one space per byte), so the expression is
now located in the owner body itself and its offset reads the same in
the masked text. The unit test pins the quoted same-line guard as found
and the quoted push without an exit as still off.

Also records in RIPR-SPEC-0228 that the shared may_exit_early counts
any else (a let .. else block may exit through a never-typed call no
token catches), so an ordinary if/else completed before the push
widens the same conservative cap.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

* fix(rust): skip string and comment decoys when locating the changed push (#8141 review)

CodeRabbit review on 3fdbd49: the same-line scan took the first
occurrence of the expression in the owner body, so an earlier string
containing that text (let s = "self.log.push(1)"; if locked { return; }
self.log.push(1);) positioned the scan before the guard and kept a false
exposed. A candidate is now accepted only when its first byte survived
the mask (executable code); string and comment occurrences are skipped
and no executable occurrence keeps the line-start scan. The unit test
pins the decoy-string case.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
* feat(pilot): emit packet summary on stdout with --format json

`ripr pilot --format json` now writes the existing pilot-summary.json
document to stdout and suppresses the human terminal, matching other
ripr subcommands. Packet files under --out are unchanged. --json is
not added as an alias because it never existed on this command.

Closes #7428.

Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>

* test(pilot): keep --format json stdout proof off --quiet

The binary discriminator compares stdout to pilot-summary.json. Running
without --quiet would fail that equality if progress leaked onto stdout.

Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>

* docs(pilot): add changelog fragment for --format json

CONTRIBUTING requires a changelog.d entry for user-visible CLI behavior.

Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>
* test(repair-card): reject cloned detail ordering (#8019)

* perf(repair-card): borrow details during family ordering (#8019)

---------

Co-authored-by: Steven Zimmerman, CPA <steven@effortlessmetrics.com>
@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!

@coderabbitai

coderabbitai Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

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: a4ee9774-2c32-4609-ba56-4b7358b650b0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

… verify help (#8151)

* ux(cli): name the typed 0/2/3 exit contract on check, gate, and agent verify help

CHECK_HELP already said findings exit 0, but still omitted exposed/weakly_exposed
and the CI-gate warning. GATE_HELP collapsed blocked vs config_error into a
non-zero exit. AGENT_VERIFY_HELP omitted the empty-stdout refusal contract that
AGENT_VERIFY_EXECUTE_HELP already documents.

Closes #5065

Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>

* test(cli): mark the #5065 help-text assertions as #[test]

The first insertion reused one existing #[test] and left the other two
new functions plus the latency-trace test as unused helpers.

Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>

* fix(cli): keep check help's unsupported_input exit phrase contiguous

cli_smoke pins the rendered `ripr check --help` substring
`` `unsupported_input` reports exit 2 ``. The #5065 wrap split it
across lines and failed the rust-only feature lane.

Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>

* docs(changelog): record the check/gate/verify help exit-contract tightening

User-visible CLI help now names the typed 0/2/3 contract; CHANGELOG_POLICY
requires a changelog.d fragment for that class of change (#5065).

Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>

@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 reviewer attention before upstream: findings remain.

Confirmed findings

  • Test harness now invokes jq with a shared $REVIEW_DISPOSITION_JQ program via --argfile-style env var; if a future workflow change drops or renames the REVIEW_DISPOSITION_JQ env block, review_disposition::program() returns an empty string and the matcher silently reverts to the original prose regex, masking regressions. Consider an assertion that the extracted program is non-empty in execute_review_stream setup.
  • Tests load the jq program by string-extracting REVIEW_DISPOSITION_JQ from the workflow file (tests/support/review_disposition.rs). If the env block is reformatted (e.g., REVIEW_DISPOSITION_JQ: | moved out of env: or its 4-space indent changed), the tests silently fall back to an empty program and admission reverts to literal test("...") semantics. This is a coupling risk not covered by an explicit test.

Verification questions

  • Confirm sibling-path scan: the previous marker regex (^\|[^A-Z_])(SOURCE_REVIEW_READY\|REVIEW_READY)([^A-Z_]\|$) is no longer present in the workflow (verified by grep over the diff) and no other workflow under .github/ is changed. Remaining jq regexes in routed-rust.yml operate on PR head/base/merge_commit_sha shapes, threads resolved flag, or render diagnostic JSON; none can synthesize a current_head_marker decision.
  • Confirm support/review_disposition.rs extracts REVIEW_DISPOSITION_JQ by splitting on the literal REVIEW_DISPOSITION_JQ: \| anchor and consuming 4-space-indented lines; if the YAML indent changes to 6/2 spaces, the extractor silently returns empty and tests would exercise ORIGINAL behavior.

Refuted

  • ArrayBuffer/TypedArray detach/transfer or stale length snapshot introduced by this PR.; refuted because: Diff is limited to workflow jq parsing, Markdown docs, JSON fixture with verbatim historical bodies, and Rust tests using serde_json::Value + Command::output(). No buffer resize/detach/transfer primitive is referenced.

Parked follow-ups

  • fixtures/convergence/native-late-admission/observed-review-bodies.json retains 5 verbatim published bodies but is the only sibling fixture of this kind — no parallel fixture covers historical reviewer A/B/C rejection cases, so rejection-shape regressions in current_comment_ready may pass this fixture.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.

EffortlessSteven and others added 3 commits October 15, 2026 23:51
Point SARIF finding and seam rule helpUri at current ripr-swarm docs instead of stale EffortlessMetrics/ripr blobs. Pin that the cited docs exist and that RIPR-SPEC-0008 still records --root stability and RFC 3986 encoding.

Closes #7397
…ndary (#8167)

Removes the text-only success fallback: a document whose complete double-carry envelope cannot fit the caller's id-aware response budget now fails closed with the typed result_too_large refusal and recovery, so every tool that advertises an outputSchema either ships structuredContent or refuses typed. Claims the last open #7768 acceptance item (the original silent-drop symptom); proof: RED at five sites on the pre-fix tree, GREEN after (lib mcp:: 157, stdio 20, SDK 4, goldens pass, policy cascade exit 0); advisory cargo-deny red is the inherited yanked zip 8.x lockfile event, unrelated to this diff.
Steven Zimmerman and others added 2 commits October 16, 2026 04:24
… deadline race (residual of #7937) (#8160)

* fix(test): drive pilot's timeout packet publisher directly, not a 1ms deadline race

Residual of #7937 (issue reconciliation, issuecomment 6184261577):
cli::commands::pilot::tests::timed_out_pilot_removes_prior_run_packet_siblings
failed ~1-in-6 cold in isolation and once under full-suite load at the #8030
base; reproduced here once in four pilot-module runs at origin/main 20022bb.

The captured witness corrects the recorded mechanism: the failure is not a
stale placeholder read. With --timeout-ms 1 the tiny fixture's inventory can
finish inside the effective recv_timeout window on a fast host, so
run_pilot_analysis_with_timeout returns Complete, pilot takes the complete
branch, and rewrites the whole packet (status "complete") before the timeout
assertions bind. Nothing stale is ever published; which branch a real
deadline race takes is host timing, not code behavior. The timeout packet
publication itself is self-consistent (siblings removed, summaries rewritten
atomically), so this is a test-design race, not a product race.

Extract pilot's timeout branch verbatim into publish_timeout_packet and drive
it directly in the test: same test name (RIPR-SPEC-0009 and
.ripr/traceability.toml entries unchanged) and identical assertions -
siblings removed, summaries rewritten with status partial and reason timeout,
no stale bytes carried, unrelated files kept. The deadline-to-TimedOut
selection stays covered by the deterministic run_pilot_analysis_with_timeout
tests.

Proof (Windows, worktree at origin/main 20022bb):
- before: 1/4 pilot-module runs failed with the captured complete-JSON
  witness; 0/20 single-test cold runs (the recorded ~1/6 isolation rate did
  not reproduce on this host)
- red control: skipping remove_unwritten_timeout_packet_siblings in the
  publisher fails the test at the leftover-sibling assertion
- after: 50/50 single-test cold runs, 5/5 pilot-module runs, 79
  output::pilot renderer tests
- cargo fmt --check; cargo clippy -p ripr --all-targets --locked -- -D
  warnings; cargo xtask goldens check (0 drift); policy cascade
  (no-panic-family, process, allow-attributes, static-language,
  executable-files, network, lint) all pass

* test(pilot): seed and assert the timeout markdown summary too

Review finding on #8160: the publisher test only asserted
pilot-summary.json, so removing the markdown write would have stayed
green. Seed pilot-summary.md with the same stale bytes and assert the
timeout path rewrote it (status partial, no previous-run bytes).

Red control: deleting the markdown write from publish_timeout_packet
fails the test at "the timeout path must rewrite the markdown summary";
restored after. cargo fmt --check and cargo clippy -p ripr --all-targets
--locked -- -D warnings clean at this head.

@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 verification checks before upstream.

Verification questions

  • Confirm test harness string-extracts REVIEW_DISPOSITION_JQ from the workflow YAML; an empty match falls back to the literal regex silently. No assertion enforces a non-empty program in execute_review_stream setup.
  • Confirm tests/inventory across native_admission.rs and final_readiness_diagnostics.rs now exercise inline-code, HTML comment, pre/code/script/style/textarea, CDATA, generic HTML blocks, heading/setext/thematic-break/opener/list-item/indent/short-tilde siblings, plus 42 renderer-backed block-boundary cases.

Refuted

  • No resizable buffer / ArrayBuffer / TypedArray / detach / transfer surface exists in this Rust-only PR; ub-active-view is out of scope.
  • The new hide_review_examples regex could mutate an in-flight view region such that later lookups operate on a stale length snapshot.; refuted because: jq applies the regex to a complete input string and yields a new string; there is no live/mutable buffer backing store, no resize/detach/transfer semantics. The reviewer-disposition matcher then runs line-by-line on that final string. No active-view invariant exists to violate.
  • No JS runtime, Worker postMessage, MessagePort, transferable, SharedArrayBuffer, or async detach boundary is introduced or modified by this PR.
  • A multiline inline-code span could cross a paragraph/heading/fence boundary and silently detach a later disposition field, analogous to a Worker MessagePort detaching while a postMessage payload is in flight; refuted because: The jq matcher masks all recognized block/inline-code/HTML regions together in source order with (?ims)(?<hidden>...). An unclosed backtick/tilde/fence injects a \u0002 nonblank sentinel, and the predicate ($visible \| contains("\u0002") \| not) and .fence == null and ... refuses any body containing that sentinel before any disposition check runs. The Rust block_boundary_cases helper additionally asserts cases.len() == 42 against the commonmark-py oracle, so the textual 'detached region' is detected and refused; this is a string-mask invariant, not a JS async transfer boundary.
  • Box::<[u8]>::from / Box::from allocation failure on Vec can return None / empty box, silently zero-length the workflow substring and strip the parser.; refuted because: This diff touches no Rust allocation paths in tools/repo-policy; review_disposition::program() is pure string handling on already-loaded &'static workflow. The Box::<[u8]>::from failure mode was not raised by the PR diff or seeded thread.

Parked follow-ups

  • 42-case renderer-backed fixture hardcodes its length in block_boundary_cases(). Adding/removing cases requires updating this constant or tests will error. Acceptable design but worth flagging.
  • Parked siblings from the original claim boundary (publisher/custody, later-comment erasure, native-approval override, omitted API page, narrative contradictions outside explicit fields) intentionally not broadened here; PR remains Draft.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.

* test(cli): pin bare group help and error boundaries (#7747)

* fix(cli): show help for bare command groups (#7747)

* fix(cli): use plain string discovery in bare group test and register portable test inventory (#7747)

---------

Co-authored-by: Steven Zimmerman, CPA <steven@effortlessmetrics.com>

Copy link
Copy Markdown
Member Author

Merged origin/main; conflicts in docs/CI.md and tools/repo-policy/src/workflow_tests.rs resolved (kept this PR's contract text and tests, kept main's new UB fixture paragraph and test; fixed a merge-induced unclosed delimiter, c065a39). Local: cargo fmt --check and early policy gates pass; check-covered-by hit instrument timeout (lock starvation), so remaining precommit and repo-policy/xtask tests NOT run locally. Diff is 79 files / ~71k lines and was NOT substantively reviewed by me; independent exact-head review still required.


Generated by Claude Code

EffortlessSteven and others added 5 commits October 17, 2026 02:16
…porters (#8381)

* fix(doctor): skip interpreter-only PATHEXT suffixes when resolving exporters (#5351)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011u7sYkM7nhswMErcpVoBPt

* fix(doctor): reword comments to satisfy process policy count (#5351)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011u7sYkM7nhswMErcpVoBPt

---------

Co-authored-by: Claude <noreply@anthropic.com>
…liased ancestors (#4403) (#8354)

* fix(xtask): confine cache report/GC to registered layers and refuse aliased ancestors (#4403)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MxYsBCtuSuoZLHWtW4YMqP

* test(xtask): pin default-suffix safety checks and sharded-layer confinement; name RIPR_CACHE_DIR workaround (#4403)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MxYsBCtuSuoZLHWtW4YMqP

* test(xtask): use approved wording in cache GC alias test (#4403)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MxYsBCtuSuoZLHWtW4YMqP

---------

Co-authored-by: Claude <noreply@anthropic.com>
* docs(proof): per-board tally above the public-proof scoreboard

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVCbKKNfscw9XJ8By1HPGW

* docs(proof): link changelog fragment

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RVCbKKNfscw9XJ8By1HPGW

---------

Co-authored-by: Claude <noreply@anthropic.com>
…) (#8351)

PR #8275 (RIPR-SPEC-0122) converted the bounded human render to plain language but missed these 8 fixtures. Each diff is wording-only: Summary/State/Static exposure/Hidden schema tokens become plain words with identical class counts; check.json and human-full.txt are byte-identical. Blessed via cargo xtask goldens bless with reason citing #8165/RIPR-SPEC-0122. Windows-only ts_repair_packet quoting drift intentionally not blessed.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

Copy link
Copy Markdown
Member Author

Merged origin/main into the branch (8cb29c6). Two conflicts:

  • .github/workflows/ci.yml: the package_version extraction in the unlocked-install step. I took main's more robust form (${package_id##*#} plus a non-empty check) and kept this branch's shell: bash and subject_sha condition.
  • Cargo.toml: both sides added [profile.dev.package.*] overrides. I kept this branch's sha2 and serde_json overrides and took main's parsing-stack block for ra_ap_syntax, ra_ap_parser and rowan. That way there are no duplicate tables, and main's opt-level = 2 replaces this branch's opt-level = 3 for those three crates.

Checks: cargo xtask check-workflows passed, which also confirms Cargo.toml parses. I did not run cargo xtask precommit.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Conflict map against current main (checked 2026-10-17 with a local merge-tree): main's merge-ready label gating (#8327) collides with this PR's staged callable CI in .github/workflows/ci.yml (5 hunks: concurrency group, source-identity job vs release-proof, and the if: gates on the Rust-only, MSRV and vscode lanes), printed-command-paste.yml, windows-advisory.yml, docs/CI.md, policy/ci-lane-whitelist.toml, tools/repo-policy/src/workflow_tests.rs and tools/repo-policy/tests/rust_only_routing.rs.

I did not resolve it. The ci.yml composition decides how required jobs are skipped versus gated, and a silent skip of a required job reports success, so it waits on #8082, which owns that cutover.


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.

Review of record (exact-head sweep, head 8cb29c661410fee8ae908ed0fdef21315aec41d0)

Verified

Observed (commands run this pass):

  • Head provenance: gh api repos/.../pulls/8172 → head 8cb29c661410…, base codex/4987-caller-paste-integration, draft, OPEN. Head fetched into a scratch git dir; 134 commits listed via the REST commits endpoint. First-parent branch commits after ff9f758b are the #8157 series ending cad7c40/bf8552b, plus merge 185710c2 (origin/main), repair commit c065a39c, and merge 8cb29c6 (origin/main).
  • Claimed-scope check: git diff --stat cad7c408 bf8552b0 = exactly the 7 files the body claims (workflow jq, changelog, docs, 628-body fixture, two suite chains, shared reader). The parser region of .github/workflows/routed-rust.yml is byte-identical between bf8552b and the current head (git show comparison — the two main merges did not touch it).
  • Parser semantics: read the full REVIEW_DISPOSITION_JQ program at head. Instance identity [.line, (.containers|length)] is unique per created frame: review_container_prefixes has exactly one entry caller (review_document, line:(.records|length)), depth is monotone within a line, and continuation frames are re-appended as the same objects by the matched-prefix reduce, so scope equality is identity-based, not shape-based. The scope check in hide_review_examples (.scope != $lines[0].containers[:(.scope|length)]) therefore ends a raw region exactly when its owning item ends and preserves outer ancestry when only an inner sibling changes. Traced the cross/1./1./code/False/outer-sibling/conflict case end-to-end (fresh inner instance → scope mismatch → stack cleared → disposition: REPAIR_REQUIRED visible → refuse): consistent. instance stays parser-internal — only .visible is projected; the final-diagnostics reviews-check reuses the same program and exposes booleans only. No output-schema or golden impact.
  • Oracle discrimination (the key check): drove the exact head program over all 628 committed fixture bodies with jq 1.7.1 — 628/628 match expected. Mutation control: same driver with the two ,instance:[…] fields stripped (pre-repair shape semantics) — 416/628 wrong. The fixture genuinely discriminates this repair; it is balanced (314 positive / 314 negative, 628 unique names, 0 malformed) and the shared reader asserts the 628 count (renderer_cases), so silent truncation cannot pass.
  • Linux suites at the exact head tree (extracted 8cb29c6, WSL Ubuntu, cargo 1.95.0/jq 1.7, cargo test --locked -p repo-policy --test native_admission --test final_readiness_diagnostics): native_admission 19 passed / 0 failed (232.06s); final_readiness_diagnostics 11 passed / 0 failed (120.29s) — including the two fixture-consuming tests inline_examples_cannot_hide_dispositions_in_other_blocks and diagnostics_preserve_real_dispositions_across_block_boundaries.
  • Merge 8cb29c6 conflict surface: 6 both-side files (ci.yml, Cargo.toml, cli_smoke.rs, sample_output.rs, docs/CI.md, process_allowlist.txt); resolutions combine both sides. Compile-level sanity comes from the suites above (repo-policy only); the crates/ripr side was not compiled this pass.

Reported (PR body / evidence archives — not independently verified here): 112-body and 10,080/23,738 external cross-product runs, mutant counts (80/112, 22/192), 1,256/1,256 Bash observations, external ZIP custodies, composition 029062f7 (not a repository object; not verifiable from repo alone).

Not verified / not run: hosted CI, combined-tree execution, check-traceability/xtask policy gates on this head, fmt/clippy on this head, the remaining repo-policy test binaries, CommonMark/cmark oracle reproduction, crates/ripr merge-side semantics.

Findings

[P1] PR-body evidence binding is stale versus the pushed head
Failure mode: the body binds head bf8552b0…, tree 034de686…, and composition parents [34b3a045, bf8552b], but the pushed head is 8cb29c66… — two fresh origin/main merges (185710c2, 8cb29c6) plus a source commit landed after the body was written. The "Claim Boundary"/"Parent owns exact-bf8552b/029062f7 review" text no longer describes this head, and no documented combined-tree evidence covers the new merge lineage.
Why here: Candidate Relationships / Claim Boundary sections of the PR body.
Fix direction: refresh the body's head/tree/composition fields and the exact-head review request to 8cb29c66…, or push no further source and let the parent lane re-bind; keep the #7746/#7929 holds unchanged.
Validation: gh pr view 8172 --json headRefOid vs body text; git log --first-parent bf8552b0..8cb29c66.
Confidence: High.

[P1] Undisclosed source commit on the branch
Failure mode: c065a39c ("fix merge resolution of workflow_tests") is a real source change — it restores Ok(()) + } closing staged_self_hosted_conditions_reject_missing_status_and_header_decoys in tools/repo-policy/src/workflow_tests.rs, which merge 185710c2's conflict resolution had dropped (the next #[test] was nested inside the previous fn). The body's Scope says seven files; this is an eighth, and it postdates every proof receipt in the body.
Why here: tools/repo-policy/src/workflow_tests.rs:1164-1165 (head).
Fix direction: the repair itself is correct and necessary; disclose it in the body (Scope/Candidate Relationships) so the successor evidence trail covers it.
Validation: git show c065a39c (2 insertions); the suites above compile the repaired file and pass.
Confidence: High.

[P2] Glued digits in the docs this PR adds
Failure mode: missing spaces make the stated counts un-greppable and misread: docs/PR_AUTOMATION.md:102-103 "all112", "covers10080", "prior23738" (introduced by bf8552b) and :112-113 "full20567", "all5760", "and3942" (introduced by 3c81db44).
Why here: docs/PR_AUTOMATION.md:102-113 (head).
Fix direction: insert the missing spaces; re-read the added block.
Validation: git show 8cb29c66:docs/PR_AUTOMATION.md | sed -n '102,113p'.
Confidence: High.

[P2] Body template fields
Failure mode: a literal "Governing issue or accepted claim:" field is absent (the substance exists as "Governing #8157" under Source-of-truth Links) and an "Acceptance delta" field is absent.
Why here: PR body.
Fix direction: add the two fields on the next body refresh (same refresh as the first P1 above).
Confidence: High.

[P2] Review denominator hazard, not a code defect
Failure mode: the PR's API diff vs base codex/4987-caller-paste-integration is 1,957 files (the branch carries merged main), while the claimed delta is 7 files (+ one undisclosed). Reviewers consuming the PR files view get a diff dominated by unrelated main history.
Why here: PR base/head relationship.
Fix direction: reviewers and the parent lane must bind to the first-parent delta (cad7c40→bf8552b for the claimed 7 files) rather than the API diff; do not move the integration branch (the body records it as never written).
Validation: gh api .../pulls/8172/files?per_page=100 --paginate count (1,957) vs git diff --stat cad7c408 bf8552b0 (7 files).
Confidence: High.

Denominator note (pre-existing, not introduced here): both suites are #![cfg(target_os = "linux")]; on a Windows host cargo test -p repo-policy compiles them to 0 tests (observed this pass: "0 passed; 0 failed" in both binaries). A Windows-local green on repo-policy proves nothing for this fixture; Linux/WSL/CI coverage is required, and was obtained above.

Assessment

The parser repair itself is sound and well-proven: identity-based frame scoping is the right owner-level fix, the fixture is balanced and mutation-sensitive (416/628 wrong without the fix, observed), and both Linux suites pass at the exact head. What remains is evidence hygiene: the body's head/composition binding and the undisclosed repair commit must be reconciled before any Ready transition; per the body's own boundary, that reconciliation stays with the parent lane. No blocking findings against the code change.

Disposition: REVIEW_INCOMPLETE (draft) — findings above are pre-landing feedback; none block the parser change itself.

Comment thread .github/workflows/routed-rust.yml Resolved
Comment thread docs/PR_AUTOMATION.md Resolved
Comment thread tools/repo-policy/src/workflow_tests.rs Resolved

@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 517d711): REVIEW_INCOMPLETE

Head note: the head was re-read immediately before posting and is unchanged at 517d7111af09998a0df5550f093d644d0634c34e (tree a9b5264c8d011c28eb75bb33da9d7cfbf942433f, commit "docs: restore count separators in PR_AUTOMATION review-scope notes"). The delta over the previously reviewed head 8cb29c661410fee8ae908ed0fdef21315aec41d0 is one commit and one file (docs/PR_AUTOMATION.md, +4/-4), so the parser, suites, shared reader and 628-body fixture are byte-identical to the head the prior review covered.

Inspected:

  • Prior review pulls/8172/reviews/5709006986 (bound to 8cb29c66, "Review of record", disposition REVIEW_INCOMPLETE) - re-read in full and re-checked finding by finding at this head. Its P2 glued-digits finding is closed by this delta; its P1 undisclosed-commit finding and its P2 body-template finding are closed in the body; its P1 body-binding finding is partly closed; its P2 denominator hazard is inherent to the base branch and still stands.
  • docs/PR_AUTOMATION.md:101-113 (head) - the six glued counts now read "all 112", "covers 10080", "prior 23738", "full 20567", "all 5760" and "3942"; the delta is exactly this separator restoration and changes no other text.
  • PR body Candidate Relationships - names head 517d7111af09998a0df5550f093d644d0634c34e and tree a9b5264c8d011c28eb75bb33da9d7cfbf942433f; the API confirms that commit's tree is a9b5264c8d011c28eb75bb33da9d7cfbf942433f. The body now discloses c065a39c as the eighth post-proof source delta and carries the "Governing issue or accepted claim:" and "Acceptance delta" fields the prior review asked for.
  • .github/workflows/routed-rust.yml:93,95 (head) - the jq parser still carries the instance:[.line,(.containers|length)] frame identity, so frame equality stays identity-based rather than shape-based and the scope compare in hide_review_examples still ends a raw region exactly when its owning item ends.
  • fixtures/convergence/native-late-admission/container-instance-rendering.json (head) - parses with 628 cases under cases, 314 expected:true, 314 expected:false, 628 unique case names and 0 bodies missing.
  • tools/repo-policy/tests/support/review_disposition.rs:87-103 - the shared reader loads that fixture through renderer_cases, which returns an error when the case count is not 628, so a truncated fixture cannot pass silently.
  • tools/repo-policy/tests/native_admission.rs:2 and tools/repo-policy/tests/final_readiness_diagnostics.rs:306 - the consuming suites are #![cfg(target_os = "linux")] and the final-diagnostics suite still carries diagnostics_preserve_real_dispositions_across_block_boundaries; this fixture's discrimination is only reachable on Linux.
  • Hosted evidence at this head - commits/517d7111/check-runs returns three runs only: GitGuardian Security Checks success, Graphite / AI Reviews skipped, CodeRabbit skipped. No Rust, policy, fixture-contract or product lane ran for this head, so no hosted proof of this candidate exists.
  • PR base is codex/4987-caller-paste-integration, not main; the API diff against it is 1,957 files while the claimed source delta is eight, so reviewers have to bind to the branch's first-parent delta rather than the API diff.

Blocking:

  • None.

Non-blocking:

  • The body still asks for an "exact-bf8552b0ffdd07d772b41606d9276a691c68f918/029062f7e64f2e8fde418685d59d5955313743e4" review under Claim Boundary while the pushed head is 517d7111af09998a0df5550f093d644d0634c34e. Candidate Relationships now names the current head and tree, but the recorded composition parents ([34b3a04, bf8552b]) do not contain this head, so the exact-head review request still points at the pre-merge source commit. (Residual of the prior P1; the body does disclose that combined-tree execution is NOT_ESTABLISHED and that the parent lane owns it.)
  • The same glued-digit class the P2 finding named still sits in the committed fixture metadata: fixtures/convergence/native-late-admission/container-instance-rendering.json line 3 ("method") reads "All112 reviewer cases ... Full10080 cross-product ...". It is a proof-tooling string rather than user-facing text, but it defeats the greppability the P2 asked for.
  • The 1,957-file API diff remains a review denominator hazard rather than a candidate defect; it follows from the integration base branch, which the body records as never written.
  • The three empty-body EffortlessSteven reviews on this PR (5710418150, 5710419734, 5710422370) cite no SHA and bind nothing; the substantive prior review is 5709006986 at 8cb29c66.

Not run:

  • The Rust toolchain on this host is not on PATH, so cargo test --locked -p repo-policy --test native_admission --test final_readiness_diagnostics, cargo xtask check-workflows, cargo fmt --check and Clippy were not run here. The discriminating evidence for this slice (628/628 over the fixture, 416/628 wrong with both instance fields stripped, native_admission 19/19, final_readiness_diagnostics 11/11) is the prior reviewer's Linux observation at 8cb29c66; this delta is docs-only, so no source behavior changed.
  • jq is not installed on this host, so the head jq program was not re-driven over the 628 fixture bodies. The structural reading of the head program, the fixture's own balance, and the shared reader's 628-count assertion are what was verified here.
  • The consuming suites are Linux-only (#![cfg(target_os = "linux")]), so they could not be exercised on this Windows host even with a toolchain, and no hosted lane ran for this head.
  • The combined-tree composition 029062f7e64f2e8fde418685d59d5955313743e4 is not a repository object; it was neither retrievable nor executed.

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

@EffortlessSteven

Copy link
Copy Markdown
Member Author

Continuation record (root, 2026-10-30): deliberately parked as Draft, stack-blocked on parent #8082 (codex/4987-caller-paste-integration, OPEN). Resume condition: #8082 merges, then retarget/rebase this child onto main, repair, and graduate. Do not rebase onto main before the parent lands.

EffortlessSteven commented Oct 31, 2026 •

Copy link
Copy Markdown
Member Author

Decision brief (research pass, main 9896777133d6e1beb6ac1ca28b5e772f7a150463, 2026-11-02)

This decision brief supersedes the Oct-31 burn-down status previously in this comment; its git apply --check finding was reproduced fresh on today's main (below). Ledger item 5 of #11501.

Headline: both posed options are dead — superseded, close

Since this PR was parked, the owner reconciliation of 2026-11-02 (comment 6571880146) retired the #8082 stack, and comment 6571871765 explicitly ruled on this PR: "Do not update, rebase or merge the 1,957-file stacked PR #8172; consume only its reviewed parser/fixture ideas where they still apply, and leave its historical evidence intact." A focused current-main successor for the #8157 contract already exists: #12503 (Draft, base main, created 2026-11-02 07:56Z). Neither retargeting to main nor the parent-owned #8082/#4834 integration is a live route.

Premise check (critical): main has no review-disposition parser to harden

Observed on main 9896777133 (worktree F:/code/Rust/ripr-inv-81725), not reported:

  • .github/workflows/routed-rust.yml (845 lines) was rewritten: admission (lines 188–365) is a trusted Python bundle (actions/checkout of the event's base SHA + sparse checkout + git hash-object verification of candidate_admission.py/release_cut_admission.py), then .github/actions/pr-candidate-admission in self-test and admit modes. The Result's eligibility recheck (lines ~685–709) reads native reviewDecision ([null,"APPROVED","REVIEW_REQUIRED"]), all-resolved reviewThreads, and head binding by GraphQL — no comment-body prose is admitted as readiness evidence. The request-time thread pre-check is lines 328–361.
  • tools/repo-policy/tests/ on main contains no native_admission.rs, final_readiness_diagnostics.rs, or support/review_disposition.rs (directory listing observed).
  • Repo-wide: grep -rn 'SOURCE_REVIEW_READY\|REVIEW_READY' .github/ → zero matches on main. candidate_admission.py (1,154 lines) contains no review-body readiness parsing; its only "disposition" strings are competing-PR winner/loser reconciliation text (lines 50–51, 498, 641–668).

So the slice's purpose — refusing narrative readiness tokens mis-scoped by the review Markdown renderer — has no consumer on main today: narrative tokens are structurally inert there, not because main fixed the renderer, but because main never adopted comment-prose admission. The renderer this PR repairs exists only in the retired #8082 stack (codex/4987-caller-paste-integration @ 4b2f669ea0, which is exactly this PR's base).

What changed since the ledger entry

Option-by-option costs

  1. Retarget fix(ci-admission): reject narrative readiness tokens (partial #8157) #8172 to main — prohibited by the owner (6571871765) and technically not a retarget but a full port. Reproduced here on main 9896777133: git show bf8552b0 --format= > patch; git apply --check patch → exit 1, eight errors: the routed-rust.yml hunks do not apply (context at :90 is the stack's jq review_list_marker/review_container_prefixes renderer, absent on main), docs/PR_AUTOMATION.md hunk fails at :91, and changelog.d/8157-current-comment-interpretation.md, native_admission.rs, final_readiness_diagnostics.rs, support/review_disposition.rs do not exist on main. Porting means recreating the entire fix(ci-admission): reject negated, quoted and superseded review-ready text #8157 jq apparatus that no main consumer reads — a rival admission implementation, which the operating contract prohibits. Cost: days (renderer + three test files + hosted requalification); value on main: zero.
  2. Parent-owned ci: stage reviewed qualification leaves in exact-subject caller #8082/ci(cutover): bind late-qualification source, evidence permissions and exact rollback #4834 integration — retired. ci: stage reviewed qualification leaves in exact-subject caller #8082 is Draft non-mergeable by design; its deltas landed as the focused PRs above; ci(cutover): bind late-qualification source, evidence permissions and exact rollback #4834's cutover continues via ops(ci-cutover): apply the reviewed late-qualification generation with complete read-back #4838/test(ci-cutover): prove native queue qualification, owner recovery and no development CI #4840 only after the focused successors (fix(admission): shared review-disposition verifier for merge-ready and final eligibility (#8157) #12503, ci: reusable Rust gate admitted-subject verification (slice 4 of #8082) #11988, the final caller slice per 6571880146) are accepted.
  3. Successor route (what actually happened) — fix(admission): shared review-disposition verifier for merge-ready and final eligibility (#8157) #12503 replaces narrative-token admission with a shared verifier consumed by both merge-ready admission and final eligibility. The container-instance aliasing surface this PR fixes has no target in that grammar (a token with column > 0 outside a fence is simply not a disposition line — refuse-by-grammar). The 628-body container-instance-rendering.json fixture and dual-AST corpora stay historical prior art, named by fix(admission): shared review-disposition verifier for merge-ready and final eligibility (#8157) #12503's "fix(ci-admission): reject narrative readiness tokens (partial #8157) #8172 HTML parsing" remainder, relevant only if that verifier later interprets Markdown structure.

Recommended default and ready-to-execute plan

Close #8172 as superseded (not via merge; keep head 517d7111af and branch codex/8157-review-disposition-repair intact as historical evidence per 6571871765). Steps: (1) close this PR with this brief as the closing record; (2) edit ledger #11501 item 5 in place to record the ruling and pointer to #12503; (3) confirm #8157 remains open under #12503's continuation; (4) no branch deletion, no settings, no builds, no requalification. Blast radius: two API operations plus a ledger body edit — minutes, no code. Note: #8082's own closure stays gated on its retirement condition (successor slices accepted); closing this child does not affect that.

Ruling requested (one sentence)

Close #8172 as superseded — neither the retarget to main nor the #8082/#4834 integration runs; the branch and evidence stay as historical provenance, and the container-instance fixture carries forward into #12503's "#8172 HTML parsing" remainder only if that verifier ever interprets Markdown structure.

Observed vs reported: every main-state, apply-check, ancestor, grep and file-listing claim above was executed in this pass (commands quoted); PR-body proof claims (224/224, 628-body corpus, etc.) remain the PR's own reported evidence and were not re-executed — they are moot for this decision.

@EffortlessSteven

Copy link
Copy Markdown
Member Author

Governing issue or accepted claim: #11501 item 5 — ruling recorded per the decision brief (research pass, main 9896777133, 2026-11-02) and the owner reconciliation/ruling of 2026-11-02 (#8082 comment 6571880146, comment 6571871765).

Ruling: closed as superseded — neither posed option runs. Both the retarget-to-main route and the parent-owned #8082/#4834 integration are dead:

Closed without merge; head 517d7111af and branch codex/8157-review-disposition-repair stay intact as historical evidence per the owner ruling. Ledger #11501 item 5 is marked superseded with the #12503 pointer.

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