Skip to content

fix(facts): resolve test wrapper aliases at direct binary roots - #10227

Merged
EffortlessSteven merged 10 commits into
mainfrom
codex/10141-binary-root-alias
Oct 29, 2026
Merged

EffortlessSteven merged 10 commits into
mainfrom
codex/10141-binary-root-alias

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Summary

Direct automatic src/bin/<name>.rs roots receive only their own #[crate::test] wrapper alias. The binary's manifest must bind the import to the indexed proc-macro library; library and sibling binary aliases cannot supply the binding. Ambiguous namespace, module, dependency and Cargo authority inputs remain uncredited.

This is the binary-root portion of #10141. Unchanged-dependency resolution and review-comments attribution remain open.

Swarm / Source Boundary

  • Ordinary analyzer, tests and spec development for EffortlessMetrics/ripr-swarm.

Source-of-truth Links

Proposal: Bounded follow-up to landed #9039; no new proposal.
Spec: RIPR-SPEC-0153, docs/specs/RIPR-SPEC-0153-rust-source-role.md.
ADR: Existing semantic-owner rule; no new ADR.
Plan item: Direct automatic binary-root route of #10141.
Governing issue or accepted claim: #10141.
Acceptance delta (one sentence): A manifest-confirmed direct automatic binary root supplies its own alias while unresolved, shadowed, cfg-refused and ambiguous inputs receive no new crate-alias credit.

Candidate Relationships

Candidate branch (GitHub PR head is authoritative after publication): codex/10141-binary-root-alias.
Stack parent or prerequisite PR (if any): None; direct main candidate.
Proposed replacement of PR (if any; not yet accepted): None; #9039 is the landed predecessor.
Acceptance retained from a replaced candidate (if any): None; no candidate is replaced.
Accepted winner and losing candidate disposition (when decided): This is the selected bounded candidate; no competing implementation identified.

Candidate: 5a3cab6d34222d809192d397400e1cc55c871fe1, tree 5bd38fb2287e3e3a7f347c36fac0990233e30ee1, combines the workspace-discovery repair 45e8f59329db5cea77d13937e6ff59306c8bbcdf with main df7f7d5054fcc00edae529a925fd8181d0560531. The corpus append conflict preserves all main rows and the candidate's registry-namesake control. The fetched GitHub merge subject 822eb945f2b99488f65a0cd8db89a6a3187f7cf6 has the same tree and parents main and this candidate.

Scope

  • Require a direct automatic target, a unique indexed wrapper macro and a manifest-bound dependency identity.
  • Read Cargo authority from the selected committed or worktree snapshot; refuse unsupported symlink and ambiguous configuration authority.
  • Refuse library/sibling leakage, namespace shadows, intermediate reexport paths, globs, opaque item macros and unresolved module/include readings.
  • Preserve existing cfg and ambiguous dependency refusals.

Non-goals: nested binary helpers, custom targets, local reexport tracing, macro expansion proof, dependency crates absent from the index, review-comments attribution, schema changes and workflow changes.

Support-tier / Policy / Changelog

No support-tier, schema, package, dependency, process or network expansion. changelog.d/10141-direct-binary-test-alias.md records the bounded behavior.

Proof and Review

Independent source review of the combined candidate found no remaining material source issue; it is not final approval. The two reproduced findings on dependency identity and committed manifest authority were repaired, replied to and resolved with readback.

On the combined tree, 38 test-style, 18 committed-source, 16 member-crate and one CLI snapshot test passed, as did the evidence-promotion corpus check. Qualification on that candidate exposed a missing committed-manifest workspace-discovery guard. The repair separates discovery completeness from source-only disclosure; the failing test, 22 module-graph tests and 18 committed-source tests passed locally, and check-fast passed 15 gates with one selector skip on the repaired head. On the conflict-resolved candidate, 22 module-graph and 18 committed-source tests, goldens and the evidence-promotion corpus passed; independent combined-source review found no material issue. The prior repaired head passed workspace Clippy, precommit, goldens and check-fast (15 gates; cli-help-parity skipped by selector). Historical receipts remain bound to their original subjects, including the original source review and execution receipt.

The combined goldens check initially failed for four TypeScript call-removal fixtures; exact main 969240ec2e4b6f72bb9388b6c67e0d995d779d55 reproduced the failures, recorded on #10157. The shared fix #10927 landed as c94853106782ca30f7a7fe9396c4f1ae5d578898. On fetched integration subject 0e9ab4d64fb57b4a93ea2c73c49e15c0418e907c, which includes that fix, both goldens check and the evidence-promotion corpus check passed. Hosted qualification remains pending.

Spec-Test-Code Traceability

  • Spec: RIPR-SPEC-0153.
  • Tests: binary alias controls, committed-source overlay and CLI snapshot tests, and the registry-namesake evidence-promotion corpus case, registered in .ripr/traceability.toml.
  • Code: LocalTestAliases, MemberCrates, committed-source overlay and shared name-scope extraction.
  • Output: No schema or acceptance-denominator change. Macro expansion remains outside the claim.

Claim Boundary / Rollback

This recognizes executable-test facts under a bounded alias heuristic. It does not establish macro expansion behavior or mutation adequacy. Revert the candidate delta while preserving unrelated mainline changes to remove the new route.

Continuation

The current continuation record retains the repair, validation, shared baseline hold and historical receipts. Qualification run 40655205477 failed its required Result despite successful gates and shards; its failed predicate was not identified, and it is not proof for the current candidate. Once the shared baseline is repaired, refresh affected proof, verify the actual integration subject and request one current qualification. Exact-head final review publication and protected merge remain separate barriers.

@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 25, 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 38 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 154 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: fc1be044-a9bc-488e-a3d8-72acaab512ad
Commits

Reviewing files that changed from the base of the PR and between df7f7d5 and 5a3cab6.

Files selected for processing: 26
  • .ripr/traceability.toml
  • changelog.d/10141-direct-binary-test-alias.md
  • crates/ripr/src/analysis/committed_source.rs
  • crates/ripr/src/analysis/committed_source/tests.rs
  • crates/ripr/src/analysis/facts/local_test_alias.rs
  • crates/ripr/src/analysis/facts/member_crates.rs
  • crates/ripr/src/analysis/facts/test_styles.rs
  • crates/ripr/src/analysis/facts/test_styles/tests.rs
  • crates/ripr/src/analysis/syntax/mod.rs
  • crates/ripr/src/analysis/syntax/name_scope.rs
  • crates/ripr/src/analysis/workspace/module_graph.rs
  • crates/ripr/tests/cli_smoke.rs
  • crates/ripr/tests/cli_smoke/binary_alias_authority.rs
  • docs/specs/RIPR-SPEC-0153-rust-source-role.md
  • fixtures/evidence-promotion-honesty-corpus/corpus.json
  • fixtures/rust_binary_alias_foreign_dependency/SPEC.md
  • fixtures/rust_binary_alias_foreign_dependency/diff.patch
  • fixtures/rust_binary_alias_foreign_dependency/expected/CHANGELOG.md
  • fixtures/rust_binary_alias_foreign_dependency/expected/check.json
  • fixtures/rust_binary_alias_foreign_dependency/expected/human-full.txt
  • fixtures/rust_binary_alias_foreign_dependency/expected/human.txt
  • fixtures/rust_binary_alias_foreign_dependency/input/Cargo.toml
  • fixtures/rust_binary_alias_foreign_dependency/input/app/Cargo.toml
  • fixtures/rust_binary_alias_foreign_dependency/input/app/src/bin/worker.rs
  • fixtures/rust_binary_alias_foreign_dependency/input/my_macros/Cargo.toml
  • fixtures/rust_binary_alias_foreign_dependency/input/my_macros/src/lib.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@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.

No actionable findings emitted for the delegated direct-binary crate::test slice.

reviewed_head_sha: 2636577
reviewed_tree: 42557f8ff6a5c2ccc8f35476d2d542aa740e78b8
author / implementation owner: EffortlessSteven; codex/10141-binary-root-alias
integration_basis: current base main 8b3b83d; actual merge base 2d93df7.
GitHub merge object observed read-only: aa72e3f, parents [8b3b83d, 2636577], tree 9fbf6a95a0c722b59763f4c84819dc53fe65b4ca. This is an object identity observation, not executed composition qualification.

Inspected: all nine changed surfaces, LocalTestAliases -> MemberCrates manifest admission -> normalize_index_test_styles -> index-builder/related-test consumer; cfg admission, unique proc-macro candidate refusal, direct-root versus library/sibling ownership, ordinary/raw module/use/extern shadows, globs/opaque macros, module/include uncertainty, and spec/changelog/six traceability entries. The five-commit base delta does not alter these semantic owners; its Rust-adapter change passes value-origin collection through classification. No branch update was needed for this review.

Reused evidence: the PR body reports final-head test_styles 34/34, name_scope 7/7 and member_crates 15/15, plus earlier independent source review and the original-base behavioral red. These are retained reported receipts, not newly observed executions in this pass. I did not repeat that focused-test campaign.

New observed consumer seam, on Linux with the preinstalled /workspace/.rustup/toolchains/1.95.0-x86_64-unknown-linux-gnu/bin Rust/Cargo 1.95.0:

  • cargo build --locked -p ripr --bin ripr: exit 0 on the clean detached exact-head checkout. Locked registry dependencies were fetched; no toolchain installed.
  • Built binary SHA-256: 33475a6a6313cc6d7b0288d6393d987d8c9aa42899140038fdeb89b78714e474.
  • A real two-member Cargo workspace (app plus separate my_macros proc-macro dependency), with app/src/bin/worker.rs importing wrapped_test as test, a changed value() return, and #[crate::test] fn aliased asserting that return. cargo test --offline -p app: exit 0, 1 test passed. Initial scratch-wrapper setup recursed through an unqualified #[test]; corrected to the built-in qualified attribute before this result. That setup failure is not a candidate failure.
  • ripr check --root <fixture> --diff <value-change.diff> --mode <deep|draft> --format json: seven invocations, all exit 0; every row contained exactly one changed-owner finding. Deep own-root and cfg(test) rows included related test aliased. Draft with the unchanged macro dependency, feature-only alias cfg, raw import-prefix shadow, foreign-crate import and removed binary-root alias all had no related tests. Literal expected test presence/absence passed 7/7. The source/diff were regenerated per row to keep the changed owner selected; the scratch source was restored.
  • The positive JSON remains weakly_exposed with reach=yes; no claim of mutation adequacy or stronger static exposure was made. Alias removal is a fixture counterexample, not a production mutation campaign.

Residuals: nested/custom/ambiguous placements remain unresolved and receive no new crate-alias credit. The package-wide module/include refusal and cfg(all(test, ...)) acceptance are explicit conservative policy choices, not newly invented blockers. Existing macro-name/package-token heuristic limits, unchanged-dependency resolution in Draft/Fast, and review-comments attribution remain outside this PR's claim. No source edits, author-branch writes or competing PR were made.

Remote reconciliation: immediately before publication, head/base/Draft state were unchanged; the API returned zero submitted reviews and zero inline threads, with two bot quota comments in Conversation. Bot success status contexts do not establish semantic review. Observed source-of-truth jobs completed successfully; ub-review was still in progress. The listed CI run was skipped, consistent with this Draft's unrequested qualification state. Required-check coverage, actual hosted checkout execution, full policy/golden/fixture matrix and merge qualification were not established by this bounded review.

Disposition: no blocking source/oracle finding in this slice; new CLI consumer check PASSED. Overall REVIEW_INCOMPLETE for final merge qualification, not a request for duplicate source/test review. No Ready, hosted dispatch, merge or release action is authorized or performed here.

Concrete next action for the canonical candidate owner: reconcile the already-started exact-head check-fast/precommit terminal logs and replace the PR body's pending policy-results line with their actual passed/failed/incomplete receipt, retaining this review and its claim limits.

@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.

Author COMMENT receipt, incorporating independent read-only source review; this is not an approval.

reviewed_head_sha: 2636577
tree: 42557f8ff6a5c2ccc8f35476d2d542aa740e78b8
integration_basis: source base 2d93df7; GitHub currently reports base 8b3b83d, without a combined-tree qualification claim.
claim_boundary: direct manifest-confirmed automatic binary-root test-wrapper aliases only.

Independent review covered all nine changed files, manifest admission, namespace/cfg identity, shared name-scope extraction, module/include refusals, fixture oracles, spec/traceability/changelog parity. Raw-identifier shadowing and edition-2015 default-discovery findings were repaired before this head. No remaining blocking source or test-oracle findings were reported.

Author-observed final-head execution: test_styles 34/34, name_scope filter 7/7, member_crates 15/15, each exit 0. The initial four behavioral fixtures failed against unchanged production (test-only delta on the source base), demonstrating both missing binary credit and inappropriate library credit. Later controls additionally cover raw imports/modules/extern aliases, globs, opaque item macros, nested/path/include uncertainty, absent/disabled manifest authority and edition defaults.

Current check-fast: exit 0, 14 gates ran, 2 skipped, 9 changed files; includes strict workspace all-target Clippy. Precommit policy checks have passed; its final selected Clippy invocation is still running, so no aggregate precommit success is claimed here.

Hosted provider quota notices are unavailable review, not clearance. No submitted review or inline finding was present in the inspected remote snapshot. Required hosted Rust qualification and final published-head review remain outstanding. Existing macro expansion/name-token heuristics, nested/custom targets, unindexed dependencies and review-comments attribution remain explicit non-claims.

disposition: REVIEW_INCOMPLETE.
Next obligation: reconcile terminal precommit, current remote findings and required checks, while preserving the user's pending public Ready authorization. No Ready transition or merge-request trigger is cleared.

@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.

Verification questions

  • Confirm direct binary alias credit is confined to manifest-admitted src/bin/.rs roots; nested binary helpers receive no crate-root credit.
  • Confirm the implementation recognizes the direct src/bin/.rs path, but the visible negative case is a manually declared binary named app rather than a differently named explicit target.
  • Confirm the edition-2015 test omits the Cargo rule that autobins=true explicitly enables automatic binary discovery even when manually declared targets exist.
  • Confirm manifest admission does not inspect explicit [[bin]] target path metadata before accepting a direct src/bin file.

Refuted

  • A green focused test run is sufficient to establish the broader PR claim.; refuted because: That objection holds: the receipt is intentionally scoped to focused lib tests, the ripr sensor failed, and the PR body explicitly disclaims full-workspace and hosted qualification. This is a residual qualification issue rather than a contradicted implementation claim.
  • The diff may introduce unsafe pointer or lifetime behavior requiring native memory-safety review.; refuted because: The changed Rust paths are safe source-analysis code; no unsafe blocks, raw pointers, manual lifetime extensions, ownership transfers, or native FFI boundaries appear in the diff.

Evidence gaps

  • Focused cargo-test execution is still pending in the supplied packet, despite a PR-body claim of passing focused suites.
  • Manifest admission excludes explicit-target-only and autodiscovery-disabled binaries, but Cargo discovery parity deserves final execution confirmation.
  • The new tests exercise alias isolation, cfg ambiguity, shadowing, manifest authority, and alternate module readings.
  • Library and sibling-binary aliases are not borrowed by a direct binary when its own binding is absent or ambiguous.
  • Exact-head focused test execution remains unconfirmed in the available packet because ripr failed and cargo-test is scheduled late.
  • Model proof intent was rejected by deterministic validation.

@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.

Author COMMENT: retained delivery and current-main integration receipt (2026-10-25 UTC). This is a source/evidence reconciliation, not approval.

reviewed_head_sha: 2636577
author_tree: 42557f8ff6a5c2ccc8f35476d2d542aa740e78b8
branch: codex/10141-binary-root-alias
source_merge_base: 2d93df7
integration_basis: main 8d5d0d0
main_tree: 444f7e62d9513ef54bad44136b34aa08aedfd04b
proposed_combined_tree: 5c93aa89a9d1aa9cfb2de7cf7a443b1f14906cc9
claim_boundary: direct manifest-confirmed automatic src/bin/.rs wrapper aliases only; nine files, +324/-18.

Recovery reconciled clean local/remote author head, existing reviews/Conversation/timeline, zero inline comments, and completed owned build processes before this new receipt. There was no previously published continuation receipt. No author source or branch changed.

Current integration, source only:

  • git merge-tree --write-tree 8d5d0d011ec797501caf7ba97088da7bb4ea04e1 2636577c950f5ca22705338d0290c1c65e060162 exited 0 with the tree above. No merge commit, branch update or materialized integration checkout was created.
  • git diff --exit-code 2636577c950f5ca22705338d0290c1c65e060162 5c93aa89a9d1aa9cfb2de7cf7a443b1f14906cc9 -- crates/ripr/src/analysis/facts crates/ripr/src/analysis/syntax crates/ripr/src/analysis/classify/owner_pin.rs crates/ripr/src/analysis/language/rust/dependent_scope.rs Cargo.toml Cargo.lock rust-toolchain.toml AGENTS.md .agents exited 0. Traceability comparison also exited 0: all main bytes plus exactly the six candidate entries.
  • An independent read-only reviewer refreshed the exact integration judgment, including the new main delta after e9caef5. No material source integration finding. Twenty relevant owner/input files preserve identity, and seven Rust/JSON consumer files are unchanged since that prior snapshot. Earlier Rust receiver/probe/own-body-reach changes were inspected separately for the retained free-function return-line fixture. New context/progress changes concern selector-miss stderr; guidance concerns human/agent-card/LSP prose; script-only missing-input wording retains the Rust branch. Python/TypeScript behavior receives no Rust proof credit.
  • #10214 remains separate, open Draft at bc826d9; its general assertion-macro containment predicate/consumers are not included. #10200 remains open/unmerged at 577b679; no macro-generator work was imported. No landed alias/manifest/scope owner delta was found.
  • GitHub still advertises merge aa72e3f, parents [8b3b83d, 2636577], tree 9fbf6a95a0c722b59763f4c84819dc53fe65b4ca. That older subject is distinct from this proposed current-main tree.

Disposition of advisory verification questions:

  • Direct-root/nested-helper separation is explicit in is_default_binary_root, and the nested helper negative is asserted in test_styles/tests.rs:1673.
  • Target name is not an admission input: kind/path, edition and automatic-target flags determine this bounded rule. Existing moved-target negatives exercise explicit paths. No new separately renamed-target execution is claimed; custom/explicit-only target support remains outside scope.
  • The claimed missing 2015 override case is already present: test_styles/tests.rs:1707 supplies edition=2015, autobins=true and a manual binary; line 1716 asserts aliased.
  • The claim that explicit path metadata is not inspected is refuted by the delegated target_moved check. It conservatively refuses moved paths; no extra custom-target credit is granted.
  • The advisory packet's execution gap remains a gap in that packet. It does not erase the separate author-observed head263 execution or establish hosted acceptance.

Preserved execution, no replay:

cargo test -p ripr --lib test_styles    exit 0; 34 passed
cargo test -p ripr --lib name_scope     exit 0; 7 passed
cargo test -p ripr --lib member_crates  exit 0; 15 passed
cargo xtask check-fast                 exit 0; 14 gates, 2 skips, 9 paths
cargo xtask precommit                  exit 0
target/debug/xtask check-pr-shape --body-file /tmp/10141-evidence/pr-body.md
                                      exit 0 (original populated body)

These remain the original exact author-head observations, with the historical red four-fixture witness and retained raw logs in /tmp/10141-evidence. The independent consumer review separately reports seven passing literal CLI JSON controls. Neither campaign ran the new combined tree. No new alias-specific local execution was warranted by the refreshed source judgment. No full test/build/qualification campaign was repeated.

Hosted evidence remains incomplete. ub-review job 121083082302 logs show its actual checkout aa72e3f, advisory fail-on-gate=false, ripr status=failed/exit=2 and cargo-test timed_out after 900s. Green wrapper status is not acceptance; the sensor failure's cause is not established from accessible summary logs. The previous ZIP byte retrieval was denied by proxy HTTP403; no retry or alternate route to that payload occurred. Accessible job logs were inspected. Skipped Rust/coverage/platform jobs and bot quota/success statuses are not qualified proof. No hosted work was requested.

Storage accounting is unchanged in authority: repository admission is root-owned; the former 12/16/20 GB figures were worker planning estimates, not numeric repository caps. No cap/floor was relaxed, and no separate reserve approver/formal status is invented. The 4 GiB assumption remains unverified planning, not a supplied numeric host floor. Latest measured /workspace available=9,079,635,968 bytes, /tmp available=9,441,050,624; evidence=249,856 bytes before this receipt. These continuation Git/log inspections used about 7.6 MB beyond the completed-proof workspace measurement; they are not a retrospective admission PASS. Original target/cache and proof are retained.

blocking_source_findings: none demonstrated in this slice.
local_gap: no additional alias-specific discriminating execution identified; proposed combined tree has not executed.
proof_or_review_missing: current native hosted qualification and final actual integration-subject review/verification. Public Ready authority remains pending.
disposition: REVIEW_INCOMPLETE.
Next owner: existing candidate/continuation lead. Preserve head263; before authorized Ready/qualification, reconcile the actual GitHub merge subject and any newly material delta, then inspect normal current required results and refresh final review. No Ready, label, dispatch, merge, release, installation, access grant or external contact occurred.

EffortlessSteven commented Oct 26, 2026 •

Copy link
Copy Markdown
Member Author

Owner / governing claim: #10227 direct automatic binary-root portion of #10141. Candidate 59d329229d6f81c703af2cd46332d80811b693d0 is Draft. The repair stays on the existing branch.

Review and repair: the dependency identity and committed manifest authority findings were reproduced and repaired. Their replies identify the changes and controls; both threads are resolved. The binary route requires the dependency to bind to the indexed macro, reads the selected Cargo snapshot, and refuses ambiguous intermediate paths and unsupported symlink/config authority. Independent source review of the exact head found no remaining material source findings. This is source review, not final approval.

Local validation: the target-authority regression passed at the current head; focused test styles, committed-source and member-crate suites, CLI snapshot control, evidence-promotion corpus, goldens, precommit, and workspace Clippy passed on the repair. The current-head check-fast ran 15 gates successfully and skipped cli-help-parity by selector. The registry namesake corpus control changes the old false weakly_exposed result with a related test to no_static_path without one.

Prior qualification: run 40655205477 attempt 1 used merge subject 9e1d3cb360e031ad273b118cbf19a82bfcdbbcd4; Rust gates and four shards passed, with 22,650 tests and no missing or duplicate subjects in the verifier. The required Result failed its live eligibility recheck. Two unresolved material threads appeared after admission; the log does not expose which predicate failed. This remains a failed qualification, not proof for the new head.

Next: establish the current integration subject and applicable admission, then request one qualification for the current head. Final exact-head review publication and protected merge remain separate subsequent barriers.

Integration repair: local merge 00f3c6111756685913f87fdcd71a237a79287fb6 combines candidate 59d329229d6f81c703af2cd46332d80811b693d0 with main 969240ec2e4b6f72bb9388b6c67e0d995d779d55. The corpus append conflict was resolved preserving all main rows and the candidate control. Independent combined-source review found no material issue; 38 test-style, 18 committed-source, 16 member-crate, and one CLI snapshot tests passed, as did the evidence-promotion corpus check. The merge is published on the candidate branch; its current GitHub integration subject and hosted qualification remain unverified.

Admission hold: goldens check failed for four TypeScript call-removal fixtures on both the combined tree and exact main. The report classifies the differences as formatting-only. Evidence is recorded on #10157. Keep Draft and do not request a known-red required qualification; refresh affected proof after the shared baseline is repaired.

Shared baseline update: #10927 landed as c94853106782ca30f7a7fe9396c4f1ae5d578898. The fetched PR merge subject 0e9ab4d64fb57b4a93ea2c73c49e15c0418e907c has tree 1b0bfc4d23a02304caf81551986c19b4afce8ff3 and parents 66048679b60d92c2e7b522f8702aff2659d51194 and 00f3c6111756685913f87fdcd71a237a79287fb6; it contains #10927 and the earlier prerequisites. On that subject, goldens check and check-evidence-promotion-honesty both passed. Independent source inspection found no material integration issue; hosted checkout and qualification remain pending. The previously recorded baseline failure remains historical evidence.

Next: refresh the PR head, review threads, labels and runs, verify that the merge subject remains current, and complete the Ready handoff before a single qualification request. Exact-head final review publication remains separate from these checks.

Ready handoff: the exact-head source and integration inspection is REVIEW_INCOMPLETE, not approval. Both repaired threads were read back resolved. The PR is Ready, and the merge-ready label requested run 40688841075 for head 00f3c6111756685913f87fdcd71a237a79287fb6; admission and actual checkout are pending. Do not reapply the label while that run is active. Required terminal checks, complete shard/subject evidence and final exact-head review remain separate barriers.

Repair required: qualification 40688841075 checked out integration subject 0e9ab4d64fb57b4a93ea2c73c49e15c0418e907c. Shard 1 failed analysis::workspace::module_graph::tests::declarers_in_skipped_dirs_ancestors_and_head_only_manifests_are_asked: a committed-only Cargo manifest was omitted from the workspace discovery completeness check. The candidate's source-disclosure filter caused that consumer to issue orphan verdicts instead of retaining uncertainty. Shards 2–4 and Rust gates passed; the verifier and aggregate result are not yet established. The PR returned to Draft and the request label was removed. Repair and focused regression proof are in progress; no successor qualification has been requested.

Qualification terminal evidence: attempt 1's shard verifier and required Result failed. The verifier bound the run to 0e9ab4d64fb57b4a93ea2c73c49e15c0418e907c, reported 17,002 completed JUnit tests across shards 2–4, one shard-1 failure and 3,562 shard-1 tests not reported. The required result also reported failed eligibility after the return to Draft. This is incomplete failed qualification, not a green shard aggregate.

Discovery repair: 45e8f59329db5cea77d13937e6ff59306c8bbcdf separates missing committed Rust/manifest discovery from source-only disclosure. Independent source review found no material issue. On fetched merge subject c069495b0f30cce95e4ba1e8fa851d85858395fa, tree a46d65e0f39c984687ba950dcee128ea2b9a1dc9, parents 19b882e776bc4a3b41ae01daeec4c345bc3630fa and this head, all 22 module-graph tests and 18 committed-source tests passed, as did goldens and the evidence-promotion corpus. Independent integration review found no material issue. This local evidence does not establish the next hosted checkout or qualification. The previous failing run remains retained.

Next: refresh current PR head, review threads, labels and runs, verify the current remote merge ref, then complete the Ready handoff and request one qualification for the repaired head. Final review and protected merge remain separate barriers.

Ready handoff after discovery repair: exact-head inspection is REVIEW_INCOMPLETE, not approval. The current candidate 45e8f59329db5cea77d13937e6ff59306c8bbcdf was marked Ready; merge-ready was applied once after confirming merge subject c069495b0f30cce95e4ba1e8fa851d85858395fa. Run admission and actual checkout remain pending. Do not reapply the label while the request is being admitted; terminal required checks and final exact-head review remain separate barriers.

Integration conflict: the label request produced Conflict Notice run 40706907929, not a qualification. Main df7f7d5054fcc00edae529a925fd8181d0560531 and candidate 45e8f59329db5cea77d13937e6ff59306c8bbcdf have a real corpus append conflict. The PR returned to Draft and the request label was removed. Local merge 5a3cab6d34222d809192d397400e1cc55c871fe1 retains all 568 main corpus rows and the candidate control; independent source review found no material issue, and 22 module-graph tests, 18 committed-source tests, goldens and the evidence-promotion corpus passed on this local merge. The merge has been published; it is not yet hosted-qualified.

Conflict-resolution handoff: exact-head inspection is REVIEW_INCOMPLETE, not approval. The fetched merge subject 822eb945f2b99488f65a0cd8db89a6a3187f7cf6 has tree 5bd38fb2287e3e3a7f347c36fac0990233e30ee1, identical to the reviewed and locally tested candidate tree, and parents current main df7f7d5054fcc00edae529a925fd8181d0560531 and candidate 5a3cab6d34222d809192d397400e1cc55c871fe1. Both repaired review threads remain resolved. The earlier failed qualification and later conflict notice remain separate historical outcomes; a current qualification is still required.

Current qualification handoff: candidate 5a3cab6d34222d809192d397400e1cc55c871fe1 is Ready. merge-ready was applied once and created run 40710474321; admission and actual checkout are pending. The exact-head inspection remains REVIEW_INCOMPLETE, not approval. Do not reapply the label while the run is active; complete shard, verifier, required Result and final review remain separate barriers.

@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.

No actionable source or test-oracle findings in the repaired candidate.

reviewed_head_sha: fec4309
reviewed_tree: 8371a2827da53f27a04986f5900b838f40fe57d2
integration_basis: aeeedda
claim_boundary: Direct automatic binary-root crate::test wrapper aliases only; partial #10141.

changed_surfaces_and_semantic_owners_inspected: Independent review covered all nine changed files and the path from index construction through LocalTestAliases, MemberCrates manifest authority, name scopes, test normalization, role composition and test registrations. The candidate grants crate-path credit from only the admitted binary file. Library and sibling bindings cannot supply it. Missing/ambiguous indexed macro definitions, foreign prefixes, cfg refusals, raw/ordinary namespace shadows, globs, local reexports and module/include uncertainty preserve refusal behavior.

The actual integration conflict was an EOF fixture collision. All six alias regression functions and both mainline cfg-attribute regressions remain. The nine-file +324/-18 delta retains the original source changes; mainline unique-function selection, type-parameter bindings and shared syntax-tree handling survive the extracted file-scope collector. Current-main traceability plus all six candidate mappings, spec and changelog agree.

blocking_findings: None in source or test oracles.
non_blocking_suggestions: None.
refuted_or_stale_findings: Original advisory questions about direct versus nested roots, explicit paths, and Cargo 2015 autobins=true are answered by the retained source/tests and earlier linked disposition. This continuation introduces no new target-name admission rule.

proof_and_ci_observed: Source/oracle review and git diff --check on the exact combined head. Independent review performed no execution; retained original-head test/consumer receipts remain separately attributed. Current combined-head execution is recorded in the PR continuation.
proof_or_review_missing: Required hosted qualification, actual job checkout/subject verification and final published-head merge review.
affected_currentness_dimensions: Conflict resolution, integration basis and head identity refreshed; original production intent, stimulus/oracles and public bounded contract retained.
residual_assumptions_and_non_claims: This heuristic establishes test facts, not macro expansion or mutation adequacy. Unchanged dependency resolution, review-comments attribution, nested helpers and custom targets remain outside this change. Existing unrelated qualification holds remain unchanged.
disposition: REVIEW_INCOMPLETE. Source approval is complete; this is not final merge clearance.

Remote integration observation: merge commit 036c49055afa85035a1545880cf7c9e99e207ebe, tree d5fc2cc05acf6af84abcc8ed24ee35802a52717c, parents [c8af153c1a5aae07d6abcf7f7a799cdf6992996c, fec43098f1b9c288c1850503cc0984580ee28e03]. The small later main delta repairs non-text rename refusal; it does not change alias/manifest/name-scope owners. The local merge-tree produces the same tree. This is source composition evidence, not hosted execution.

@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.

No actionable source or test-oracle findings in this integration refresh.

reviewed_head_sha: bd4ad13
reviewed_tree: cefe530ff274a2baeb9c8eab6730371603eadd49
integration_basis: 2aa73bb
claim_boundary: manifest-confirmed direct automatic binary-root crate::test aliases, partial #10141.

Independent source review inspected the nine-file delta, alias and manifest owners, namespace/module and unresolved dependency refusals, test oracles, traceability, and the conflict resolution. The syntax export preserves both file-scope and item-scope helpers using the shared collector. Current main's property registration and assertion-macro changes do not change the alias rule. No equivalent landed implementation was found. Net delta is nine files, +324/-19.

Observed focused proof on this head: 36 test-style, nine name-scope-filter and 15 member-crate tests passed; CLI build and one native fixture test passed. A literal CLI JSON control found one return-value finding in both rows, crediting the binary's own alias and refusing a feature-gated alias. An initial fixture wrapper recursion and an initial refusal row with a shifted diff were corrected before the valid controls; neither is candidate failure or proof. Local preflight remains in progress.

Actual remote merge subject 9e1d3cb, tree 4232c0a48834b00ded8e42fc1c8daa232a0c05b0, parents 3d1e5ec and this head. Both prerequisite commits de14869 and e4b0aaf are ancestors. The later main delta changes Perl and Python analysis, not Rust alias owners or build inputs. This source observation is not execution of the merge subject.

proof_or_review_missing: terminal local preflight, required hosted qualification with actual checkout and complete results, and final published-head review.
residual_assumptions_and_non_claims: macro expansion and mutation adequacy are not established; nested/custom targets, absent dependencies and review-comments attribution remain outside this slice.
disposition: REVIEW_INCOMPLETE. Independent source review is complete; this is not final merge clearance.

@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.

Verification questions

  • Confirm the binary route is conservative about namespace and alternate module readings, but its proof is assertion-based and depends on the shared file-scope collector.

Refuted

  • The test set omits a material new-behavior branch.; refuted because: The six mapped tests cover direct-root credit, library/sibling non-leakage, cfg and ambiguous macro refusals, nested-helper refusal, manifest/autodiscovery admission, and shadow/glob/module/include refusals, matching the stated bounded claim.
  • The changed alias-resolution path may introduce a worker/async handoff or memory-crossing defect.; refuted because: The reviewed path consists of Rust parser facts, BTreeMap/BTreeSet values, path strings, and synchronous helper calls. No JavaScript runtime, async executor, GC-managed object, native handle, detachment, transfer list, or worker channel is involved.
  • The source-analysis changes introduce an OOB, UAF, type-confusion, or native memory-safety exploit primitive.; refuted because: The reviewed diff contains safe Rust parsing, ownership-based collections, path comparisons, and qualification logic, with no changed unsafe block, pointer dereference, lifetime manipulation, or FFI boundary.
  • The diff may introduce unsafe pointer, lifetime, or aliasing behavior requiring native memory-safety review.; refuted because: The changed production paths are safe source-analysis code. They use owned PathBuf/BTreeMap values, scoped immutable borrows, and ordinary Rust collections without unsafe operations or manual lifetime contracts.
  • A nested binary helper should inherit a crate-root alias like a direct src/bin/.rs target.; refuted because: That would expand the bounded claim and introduce ambiguous root ownership. The implementation refuses nested helpers, and the spec explicitly parks nested helpers as unresolved.
  • Current evidence proves the changed exact tree passes.; refuted because: It does not yet prove that in this packet: cargo-test is scheduled late and the ripr sensor failed, although the seeded thread reports focused historical and combined-head passing runs.
  • The changed alias-routing code may have an active-view or stale-length-snapshot defect.; refuted because: The reviewed surfaces contain no active-view memory model: they parse source, inspect manifest metadata, collect lexical names, and select immutable file roots. The diff introduces no buffer resize, detach, transfer, aliasing, or length snapshot.

Evidence gaps

  • The current cargo-test receipt is pending while the ripr sensor failed; exact-head test success is reported but not independently available in this packet.
  • Model proof intent was rejected by deterministic validation.
  • Current-head executable evidence is incomplete for this review packet despite positive historical receipts.

Parked follow-ups

  • Nested binary helpers and custom or explicit targets are outside the new route and intentionally remain unresolved rather than borrowing another root's alias.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 28, 2026 08:12

@devin-ai-integration devin-ai-integration 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.

Devin Review found 2 potential issues.

Devin Review

@EffortlessSteven
EffortlessSteven marked this pull request as draft October 28, 2026 09:02

@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.

Verification questions

  • Confirm a single-pattern helper scan would be insufficient to claim all sibling paths were covered; this lane instead traced the complete semantic owner chain and its direct consumers.

Refuted

  • Current-tree execution is established by the supplied sensor packet.; refuted because: This packet only establishes test design. The ripr sensor failed and cargo-test is scheduled late, so execution remains a verification request rather than a source finding.
  • The diff introduces unsafe/native active-view behavior requiring pointer, lifetime, detach, or resizable-buffer validation.; refuted because: The changed production paths contain no unsafe block, raw pointer, native handle, typed buffer, mutable slice length contract, transfer list, or asynchronous worker handoff; they use owned collections and synchronous parsing.
  • Using committed Cargo authority might retain mutable or dangling references to worktree files.; refuted because: The implementation reads bytes into owned Vec/String values or returns an error; it does not store filesystem handles, references, or mutable slices. Unsupported HEAD objects and symlink/config uncertainty trigger refusal.
  • The feature remains deliberately bounded to direct automatic binary roots and does not claim macro expansion proof or general Cargo resolution.
  • The changed alias-resolution path may introduce a worker/async handoff or memory-crossing defect.; refuted because: The reviewed paths are synchronous Rust parser facts, owned collections, path comparisons, and manifest qualification logic; no runtime, executor, channel, GC object, native handle, detach, or transfer boundary is involved.
  • The changed Rust paths introduce an OOB, UAF, type-confusion, info-disclosure, or DoS exploit primitive.; refuted because: The reviewed changes are safe source-analysis logic over owned strings, maps, sets, and parsed syntax; no unsafe/native operation or attacker-controlled allocation primitive was introduced.

Evidence gaps

  • Current-head cargo-test execution is not yet available in the review packet, despite the ripr sensor failing with exit code 2.
  • Focused execution evidence for the exact current tree remains incomplete in the supplied packet.
  • Current-head execution evidence for the focused oracle suite was not present during this lane review.
  • Model proof intent was rejected by deterministic validation.

Parked follow-ups

  • Cargo alias and configuration handling is intentionally bounded and conservative; exhaustive compatibility with Cargo rename, inherited-workspace, and config edge cases belongs outside this direct-binary-root slice.

@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 source and integration inspection — not an approval.

reviewed_head_sha: 00f3c61
reviewed_tree: dc1748e2b81423ebc00651b747e93a2b9d17fa83
integration_subject: 0e9ab4d; tree 1b0bfc4d23a02304caf81551986c19b4afce8ff3; parents 6604867 and reviewed head.

Inspected the binary alias owner and its consumers, Cargo dependency and snapshot authority, namespace/module refusals, target-discovery controls, traceability, corpus conflict resolution, and the integration delta. The binary's own admitted root supplies the alias; library and sibling roots do not. Registry namesakes, unresolved intermediate paths and ambiguous authority remain refused. The previously reported dependency and snapshot defects were repaired and their threads resolved. An oracle gap in target-authority negatives was corrected before this head. No remaining material source or oracle issue was found in the independent inspection.

Execution evidence is separate from the automated review packet: on the combined candidate, 38 test-style, 18 committed-source, 16 member-crate and one CLI snapshot tests passed. On the integration subject, goldens and the evidence-promotion corpus passed after #10927; the prior required Result failure remains a failed receipt for its earlier subject. The old registry-namesake control produced a false related test and weakly_exposed, while the repaired corpus requires no_static_path. The automated packet's missing execution evidence and rejected proof intent are not treated as successful results.

Limitations: macro expansion, unindexed dependencies, nested helpers, custom targets and review-comments attribution are outside this slice. Actual hosted checkout, required qualification and final published-head merge review remain pending.

disposition: REVIEW_INCOMPLETE. This record is not an approval or merge clearance.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 28, 2026 12:33
@EffortlessSteven
EffortlessSteven marked this pull request as draft October 28, 2026 13:27

@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 repair and integration inspection — not an approval.

reviewed_head_sha: 45e8f59
reviewed_tree: 41be016b7c7c0c7dd649257a0a3d4fbae48d0fcb
integration_subject: c069495; tree a46d65e0f39c984687ba950dcee128ea2b9a1dc9; parents 19b882e and the reviewed head.

The earlier qualification exposed a valid consumer defect: source-only disclosure filtered a committed-only Cargo manifest out of the workspace discovery completeness check. The repair separates those lists, retaining conservative module-graph refusal while keeping disclosure scoped to routed source. Independent review inspected the overlay producer, both consumers, real-Git and synthetic controls, and current integration changes; no remaining material source or oracle issue was found. The direct binary alias remains bound to its own manifest-admitted root, with unresolved namespace, module and dependency cases refused.

At the candidate head, the hosted failing test, all 22 module-graph tests and 18 committed-source tests passed; check-fast passed 15 gates with cli-help-parity skipped by selector. On the fetched integration subject, all 22 module-graph and 18 committed-source tests passed, as did goldens and the evidence-promotion corpus. The prior qualification remains failed: its first shard stopped early, the verifier failed, and the required Result failed. These focused results do not replace the required hosted qualification.

Limitations: macro expansion, nested/custom targets, unindexed dependencies and review-comments attribution remain outside this claim. Actual successor checkout, complete required results and final published-head review are pending.

disposition: REVIEW_INCOMPLETE. This record is not an approval or merge clearance.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 28, 2026 14:31
@github-actions

Copy link
Copy Markdown
Contributor

merge-ready was requested, but this PR conflicts with main (head 45e8f593), so GitHub creates no test-merge ref and no qualification run can start. Merge main into the branch and resolve the conflicts, then remove and re-apply merge-ready.

@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.

Refuted

  • The changed code could expose a memory-safety or lifetime defect through native or borrowed data.; refuted because: No unsafe/native operation or borrowed filesystem lifetime was added; all snapshot data is owned and ambiguous authority is refused conservatively.
  • The changed code introduces a resizable backing-store, detached ArrayBuffer, stale length, or active-view lifetime defect.; refuted because: The diff contains no JavaScript runtime or typed-buffer implementation. Rust filesystem reads produce owned byte collections, TOML values, strings, paths, and bounded collections; no unsafe pointer or borrowed active-view invariant is introduced.
  • The changed alias and snapshot-authority paths may cross a worker, async, GC, detach, or native transfer boundary and therefore require UB validation.; refuted because: The diff contains only synchronous safe Rust analysis and CLI test code. It introduces no JS runtime, executor, worker channel, GC object, native handle, unsafe block, raw pointer, or cross-thread ownership transfer.
  • Focused green tests are sufficient to establish current-head qualification.; refuted because: That stronger claim does not hold from this packet: ripr failed with exit code 2 and cargo-test was scheduled late. The oracle design is covered, but current-head execution remains residual qualification rather than a source finding.
  • The oracle requires only a wrapper macro to exist and does not prove the aliased test observes the changed return value.; refuted because: That broader mutation/adequacy claim is explicitly outside this bounded route, but the changed fixture and CLI assertions do reach a return_value probe and verify whether the aliased test is related, so the absence of a false alias is tested; no new oracle defect is substantiated.
  • The source change requires unsafe or native memory-safety review because the packet marks unsafe/native risk.; refuted because: The changed production paths are parser and manifest-analysis code using owned strings, collections, and synchronous calls; the unsafe-review sensor completed with no new gaps or worsened findings.
  • The changed Rust analysis could introduce an OOB, UAF, type-confusion, or native memory-safety exploit primitive.; refuted because: The reviewed production paths are safe Rust over owned parser data and ordinary collections; they contain no changed unsafe block, pointer dereference, native handle, typed buffer, transfer list, or asynchronous handoff.

Parked follow-ups

  • Unchanged-dependency resolution, macro-expansion proof, and review-comments attribution remain outside this PR and should stay parked rather than broadening the binary-root slice.

Evidence gaps

  • Model proof intent was rejected by deterministic validation.
  • The full claim is not execution-qualified by this review packet because ripr exited with code 2 and cargo-test has not yet landed.

@EffortlessSteven
EffortlessSteven marked this pull request as draft October 28, 2026 14:35
…ot-alias

# Conflicts:
#	fixtures/evidence-promotion-honesty-corpus/corpus.json

@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 conflict-resolution and integration inspection — not an approval.

reviewed_head_sha: 5a3cab6
reviewed_tree: 5bd38fb2287e3e3a7f347c36fac0990233e30ee1
integration_subject: 822eb94; tree 5bd38fb2287e3e3a7f347c36fac0990233e30ee1; parents df7f7d5 and the reviewed head.

The corpus append conflict was resolved with all 568 main rows preserved in order and the candidate control added once. Independent inspection verified the alias and workspace-discovery repairs, test registrations, traceability and main additions; no material source or oracle issue was found. Direct binary credit remains tied to its own manifest-admitted root, with unresolved namespace, module and dependency cases refused.

On the reviewed tree, all 22 module-graph and 18 committed-source tests passed, including the previously failing committed-only manifest case. Goldens and the evidence-promotion corpus passed. The automated review packet's missing execution and rejected proof intent remain distinct from these local receipts. The earlier shard failure and subsequent conflict notice remain separate historical outcomes; neither qualifies this head.

Limitations: macro expansion, nested/custom targets, unindexed dependencies and review-comments attribution remain outside this claim. Actual hosted checkout, complete required qualification and final published-head review are pending.

disposition: REVIEW_INCOMPLETE. This record is not an approval or merge clearance.

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 28, 2026 14:53
@EffortlessSteven
EffortlessSteven merged commit 585ff03 into main Oct 29, 2026
59 checks passed
@EffortlessSteven
EffortlessSteven deleted the codex/10141-binary-root-alias branch October 29, 2026 09:38
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.

1 participant