Repository navigation
Merge public EffortlessMetrics/ripr main (352f9d796ff5) into swarm main (043b5a407597) preserving history - #16016
EffortlessSteven wants to merge 616 commits into
Conversation
Preserve 54 original test bodies across 39 contract and 15 root reconciliation tests; add root carrier projection controls. Independent source review and 44 contract tests pass. Root native compilation, composed runtime proof and memory improvement remain unestablished; retain all release holds.
…owners Resolve repository seam owners from validated source spans and retain their identity through inventory and grip consumers. Bind inline error pins to the observed result-producing call. Carry complete-index owner/caller authority into bounded match-arm repair readiness without cloning or rescanning the index. Preserve the structural contract extraction and all existing exports/tests when combining the reviewed proposals. Coalesce classified cache generation 1.195 and compact/sharded generation 0.197, and align independent consumer version contracts. Correct two unit fixtures' owner metadata without changing their assertions or weakening production admission. Source payload hashes and reconstructed sender trees are verified. Independent bounded source reviews found no material integration defect. Runtime evidence for parent d2822b0 remains separate; this composed subject needs qualification. Source-Proposal-9135: 37582955326497b3e1988869bb82645e2f8e76bd + 87a3d945e7ecd65c7ca5a10cfa5d66b3b98a9120 Source-Tree-9135: e941e0fd29740348f09bc53c83890324a539d6e3 Source-Proposal-12336: b73fa1a5991bedbe08021e320611451c6f4b0b34 + 9173da419c901b3a9dde44bd51b0995b033026e7 Source-Tree-12336: 525fc45c72e743bb8952f3eec1ebc6ee5139fd3d Source-Proposal-11515: 3b22dea8ac313cb2a39104129bf51c37bd8e00e1 + f67d75d7cca28c86c99b07eba3385ba35098466b + a26fb854ddbf88209dd8e1a5dc0a64a6684567b0 Source-Tree-11515: b2328ecbd65f3a5ceaadc2c3cf5fd06839ae29aa
Replace the existing npm workflow linter with checksum-verified jactionlint 2.5.0 using the offline correctness profile. Preserve the same three workflow inputs, optional-analyzer exclusions, shell budget, and publication controls. Source-only maintenance; source/swarm promotion and release authority are unchanged.
* ci: isolate npm workflow lint configuration Use one repository-owned correctness config for local and hosted jactionlint, include that config in the existing qualification path filter, and disclose conditional Node-dependent script syntax coverage. No product promotion, runtime setup, or publication authority changes. * docs: record workflow lint configuration isolation Add the source repository's required Unreleased changelog entry for the jactionlint workflow and public guidance changes. * ci: register repository jactionlint configuration in file policy
…ix, schema wording
…[path] tests (#15104 follow-up)
…elta and update; pin empty and trailing-slash path literals
The list was stale after the live-main joins: four files the import brought in load other files through `#[path]` or `include!` and were missing. Regenerated with the command the file's own header names. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
Follow-up to the previous comment: the branch head is now
The PR body is refreshed to this exact head and passes the repo's own The review marker stays withheld and |
Live main moved the inline `#[cfg(test)] mod tests { ... }` out of
`crates/ripr/src/app/pr_evidence.rs` into
`crates/ripr/src/app/pr_evidence/tests.rs`. The module body was
resolved with a true three-way merge (base/ours/theirs); the single
content conflict was the `check_json` literal both sides rewrote in the
same test, and the branch's literal is a superset of main's (the same
`summary` plus `schema_version`, `mode`, `analysis_outcome` and
`findings`), so it satisfies both contracts. All 13 test functions
from every side survive.
|
|
|
|
|
Carry-forward for the next join: protected #16563 landed at |
…2010) RIPR-SPEC-0094 (#6297, #7063) governs *confirmation*: a test related only by file or module proximity cannot confirm a shared variant's observation while another related test reaches the owner. The #12010 sink-identity gate governs *identity*: an oracle must bind the owner result itself or carry an admitted producer-bound witness, otherwise a `Yes` discriminator is capped to `Weak`. Two repairs follow from that reading. First, the proximity-with-reach route added in cf2d892 granted the identity from the relation and the reach evidence alone. That conflated the two clauses and credited a proximity oracle that binds nothing. The route now requires the oracle's own binding, read through `oracle_binds_sink_identity`, the semantic owner of that question, so a proximity oracle that binds nothing stays capped to `Weak` while one that reads the owner result keeps its identity. Second, the binding reader only accepted the bare free-function spelling of the owner call. A trait impl method is the only owner a test can call through a type path, so `Vec::from_hex("1")` -- the only way to call `impl FromHex for Vec<u8>::from_hex` -- was not recognised as the owner result. The reader now accepts `Type::owner(..)` and `Type::owner(..).method(..)` when the owner is an impl method whose type the qualifier names, which is the same rule the owner-pin machinery already applies to the relation. The control cf2d892 added to the imported #12010 paired-control file asserted the conflated reading ("reach evidence alone keeps the identity") and is corrected here to the composed rule: reach evidence alone is not a binding, and an oracle that calls the owner keeps its identity through a proximity relation with reach evidence. The imported paired controls are unchanged. Measured on the joined head (live main f46198a), committed tree: - branch lib suite: 8 failures -> 2. The six over-credits fixed are `error_variant_proximity_test_cannot_confirm_beside_reaching_test`, `match_arm_proximity_test_cannot_confirm_beside_reaching_test`, `match_arm_proximity_test_pinning_another_function_cannot_confirm`, `name_only_test_cannot_supply_the_oracle_for_reach_from_another_test`, `refused_implicit_kind_preserves_independent_token_confirmation` and `sibling_effect_kind_cannot_confirm_beside_owner_caller`. The two that remain are `shadowing_local_wins_over_the_parameter_argument` and `comparison_with_own_copy_is_weak_and_unconfirmed`. - integration suite: 58 failures before and after, with an identical failure set, so this repair neither fixes nor breaks the candidate-caused integration population. - verdict-corpus: 878 cases, 0/878 false verdicts, 0/1065 contradictions, and no missed credit. The verdict-corpus case `hex-from-hex-odd-variant` is the release authority for this behaviour: its oracle calls the owner through the impl type, so it keeps its credit under the corrected reader, while dropping the proximity route outright would have moved it from `credited` to `limited` and the corpus gate rejects that. - golden drift: 10 drifting fixtures -> 5. One is a classification flip (`rust_predicate_added_disjunct_sibling_field`, expected `weakly_exposed`, actual `exposed` plus `weakly_exposed`) that stays open for a separate repair; the other four are wording or confidence drifts, two of them mirror-image wording pairs (`rust_custom_lib_path_shaped_call` and `rust_return_value_field_read_on_other_value`) and one (`rust_whole_value_associated_constructor_unpinned_field`) newly exposed by this repair.
|
Focused source check on |
|
|
|
|
…iable (#16016) Two candidate-caused integration failures were defects in the test fixtures themselves, not in the analyzer. The agent receipt normalizer gained a blanket scrub that replaced the whole `analysis_outcome_error` text in the guidance whenever the receipt carried one. The root-scoped normalizer above already owns the `Analysis outcome artifact <path> is unavailable:` shape: it rewrites a path under the workspace root and deliberately leaves a path outside the root visible. The blanket scrub therefore hid exactly the outside path that the contract requires to stay observable. The scrub now skips that shape, so the pre-existing contract and the import's own `receipt_fixture_normalizes_embedded_machine_diagnostic` both hold. The enum-branch closure fixture imported its own local module with a bare `use unrelated::*;`. Uniform paths were removed in edition 2018, so in the edition-2024 fixture crate that import does not resolve, the fixture fails to build, and the focused test run selects no test at all. The import now names the module through the crate root, which is the same glob over the same unrelated module. Measured on the joined head (live main e5e3f03), committed tree: - `receipt_fixture_normalization_preserves_missing_outcome_guidance` and `receipt_fixture_normalizes_embedded_machine_diagnostic` both pass. - `enum_branch_existing_import_and_module_forms_observe_mutant` passes. - No assertion was weakened or removed, and the analyzer is unchanged.
|
|
|
One concrete carry-forward check for the next composition: current import |
…6016) A field probe's sink is the one field the change sets. An oracle that reads the owner's record through another field does not observe that sink, so the direct-owner-call and record-field identity routes may not lend it a sink identity. The authority for that reading is the same-test boundary pairing's own refusal (`owner_record_read_masked_anywhere`): a masked reading anywhere masks the whole operand, and the lax kept-field reader is not enough because it reports a reach for an oracle that reads the kept field beside a read of another field. The refusal binds to those two routes alone. Every other identity route reaches the owner by another shape and keeps its own evidence. Measured on this tree: the `rust_predicate_added_disjunct_sibling_field` golden returns to its expected `weakly_exposed` classification with the `identity_unresolved` discriminator, and the Rust verdict corpus stays at 878 cases with 0 false verdicts and 0 contradictions. The lib suite runs 22868 tests with the same 2 pre-existing failures and no new one. Refs #14726, #12010
|
|
|
#3920 pre-cut schema compatibility evidence — current import head This is a bounded evidence update for the existing canonical #16016 writer. Fresh readback at 2026-11-30 confirms head The nested
Each mutation starts from a separate copy of the unchanged public fixture. The public schema leaves those extension keys unconstrained in open objects; the import schema constrains them while retaining outer version 0.1. This reproduction used Python jsonschema 4.26.0 with each schema’s declared draft and local references; all schemas passed that validator’s schema check. It is independent secondary evidence, not a passing repository Rust-validator or native producer-sweep receipt. No Cargo toolchain is installed in the source-only review environment. Reproduction receipt SHA-256: The existing #3920 acceptance route still applies: reconcile these accepted public payloads in the canonical import, retain malformed/overclaimed negative controls, and run the repository validator on the actual combined source. The pre-cut packet must record the complete schema path/digest and producer/version/route inventory, tested-subject counts, validator identity, disposition and limits. Static inventory at main Exact cut- |
|
Carry forward one newly merged regression fix when composing with protected main: #16664 is on main at |
|
Public-parent carry-forward for the existing #16016 owner: public #1910 landed at 2026-11-30 05:44:48 UTC. Native PR/ref/commit readback confirms new public main P The new public change binds staged promotion to the complete native-v2 acceptance owner and mandatory live revalidation; the production script now supplies original Current #16016 head This notice retains the existing #16016 writer and #16132 relationship. It creates no competing candidate and authorizes no branch rewrite, direct merge or bypass of the separate #4838/#4840 history-sync route. |
…ue (#16016) A literal-only integer rewrite (`8 * 100`, `40 + 2`) returns the value it replaces, so an exact-value assertion on that value still observes the changed expression. The analyzer credited that family twice over: the #12010 delta subtraction stripped the changed expression's own folded value from the confirming token set (the before spelling carried the same value), and the owner-library glob admission let the owner-return pin confirm a returned value the analyzer reads on its own - a pin over the owner's whole return value cannot tell that rewrite's equal value from a changed one. The repair keeps both authorities the specs already state (RIPR-SPEC-0158 #10479 and RIPR-SPEC-0172's sole-glob admission): the folded value is one more owner-scoped digit token of the probe, so it survives the before-token subtraction and confirms the assertion that carries it; and an owner-library glob reaches the owner but does not pin such a returned value, the same way the pin's own call-shape gate refuses it. A one- or two-digit folded value stays no token in either spelling, so `40 + 2` and `42` remain unconfirmed. The two owner-pin contracts that pinned a rewrite through an owner-library glob are reconciled with that authority: the memo test keeps its real admissions on a plain-literal owner, and the manifest test keeps the direct import's positive case while the authenticated glob now records the refusal. Measured on this tree: - the four `literal_arithmetic_observation` contracts pass; - `associated_glob_memo_reuses_full_decisions_without_changing_refusals` and `associated_function_pin_resolves_the_importing_crate_through_manifests` pass; - of the 38 candidate-caused integration failures, exactly those three literal-arithmetic contracts now pass and the other 35 are unchanged; - the Rust verdict corpus stays at 878 cases with 0 false verdicts, 0 contradictions and no changed row. Refs #10479, #9619, #12010
|
One source boundary to keep on |
|
|
Summary
Successor to #13325 (and through it #12009): history-preserving inbound sync of public
EffortlessMetrics/riprmain(352f9d796ff5d9377fd5bc711444d509f22f78f7, including the#1902PyPI publisher action pinpypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086v1.14.3) composed with protected swarmEffortlessMetrics/ripr-swarmmain(e5e3f03e1f88bbd4f5f9454a27e9a861fff9c8f0). Public history stays in the ancestry via true merges; nothing is squashed or rebased.Selected over #16111 by the release lead's ruling on 2026-11-22; #16111 stands down.
Measured state of this head (
518a67969f): the composition is joined to swarm maine5e3f03e1f(live swarm main has since moved on to0586c68097, 8 commits beyond this base; the branch is behind it, and a join would meet one module-move conflict incrates/ripr/src/analysis/facts/model.rs) and compiles; the analyzer-behaviour gate (verdict-corpus check-all, four corpora) is green; two evidence gates are red for stated reasons; a 38-failure integration convergence gap (3 of which are base-side) plus 2 red branch lib-unit contracts (live main's lib suite is 22740/22740 green) is open. TheSOURCE_REVIEW_READYmarker is withheld until the head is green against the live-main control. The exact numbers, the red gates and the repair plan are in Proof and Known Gaps.Exact Ancestry & Object Identities (Final Composed Head)
H_final):518a67969f0a6b8eb6766c281a2daec4c5f1afcdT_final):a0adec0ba848abae4c66ce10814fc0ed4f4e147cP):352f9d796ff5d9377fd5bc711444d509f22f78f7(is-ancestor P H_final=0; 1 public-only commit outside the original base043b5a407597e7d0f46dbb9e7d4f80e706ea2d79— measuredgit rev-list --count 043b5a4075..352f9d796f= 1, andgit rev-list --count P --not e5e3f03e1f= 1; that single commit is352f9d796fsecurity: update PyPI publisher action to v1.14.3 (slice(#1571 PR A): ratify guarded test-only edit boundary and define exact source-precondition DTOs #1902), which carries thepublish-pypi.ymlaction pin above)B_final):e5e3f03e1f88bbd4f5f9454a27e9a861fff9c8f0(is-ancestor B_final H_final=1— the base is now merged into the branch;Pis not an ancestor ofB_final, so the public history is genuinely additive, not a replay of swarm main)B_final..H_final): 615 commits (122 merges; 493 non-merge). Swarm main has been joined 60 times by true merge — every one of the 60 first-parent merges has a second parent on main's first-parent chain — the most recent beingd5392e890b(second parent: live maine5e3f03e1f) and the earliest1510b344d9c3.B_final..H_finalcontains 82 first-parent merges in total; the other 22 are branch-internal merges. No commit was squashed, rebased or rewritten.B_final..H_final):1001 files changed, 111032 insertions(+), 4761 deletions(-)CACHE_SCHEMA_VERSION 1.232/ sharded+compact0.234(strictly above swarm main's and the public import's generations, so every predecessor cache entry must miss). 64 unpinned Rust honesty repo-exposure captures currently record1.231and are queued for re-take at1.232— see Known Gaps.ripr-contractlanguage_outcomeitems documented fordeny(missing_docs)(docs(contract): document the remaining public items and deny missing_docs #16471 join); compact-windows cache store honors the agent status can rewrite target/ripr cache paths a bound after verdict covers, making a recoverable attempt refuse #13945 read-only suppression guard; the untied-spot count (test(repair): restore a control that an untied-spot count never claims a gripped sibling is repairable #12241) is retained when match-arm owner identity is unestablished while no start is offered without it; the in-context macro binding scan receives the shared tree indexes (Rebinding scan reads arguments of verified calls outside the requested names #16462 join); needless-borrow clippy fixes in the composed rebound scan; the live-main join (c196124a9c) resolved fiveclassify/conflicts where main moved an inline#[cfg(test)] mod tests {…}out-of-line intoclassify/<name>/tests.rs— resolved by a true three-way merge (base = merge-base3c63b54133, ours = branch, theirs = main with its out-of-line module re-inlined) so both sides' tests survive; the second live-main join (f50eeba8b2, second parent live maine5e3f03e1f) resolved one more such conflict —classify/related_tests.rs— with the same true three-way merge of the module body, so all 210 test functions from every side survive; the Carry ripr #1746/#1748 sink-level identity cap and delta-token confirmation into swarm reveal.rs #12010 narrow ambiguous-field-write refusal; the carried-value reader repair (82e8e25604); thehuman_full_shared_parse_portfixture re-bless that restores live main's expectation bytes; two stale corpus acceptances deleted and the two affected expected rows re-blessed; the third live-main join (d5392e890b, second parent live maine5e3f03e1f) resolved 0 conflicts; the Carry ripr #1746/#1748 sink-level identity cap and delta-token confirmation into swarm reveal.rs #12010 sink-identity repair (33428a8651) — the proximity-with-reach identity route now requires the oracle's own binding (oracle_binds_sink_identity), and a qualifiedType::owner(..)call counts as an owner call for an impl-method owner, which keeps the verdict-corpus casehex-from-hex-odd-variantcredited while the six proximity over-credits stayWeak; the two fixture-contract repairs (d16642272d) — the agent receipt normalizer no longer scrubs an analysis-outcome path outside the workspace root, and the enum-branch closure fixture imports its unrelated module through the crate root so the edition-2024 fixture compiles.; the field-probe sink-identity repair (783c3a7694) — the Carry ripr #1746/#1748 sink-level identity cap and delta-token confirmation into swarm reveal.rs #12010 direct-owner-call and record-field identity routes are bound to the agent-eval: main regressed against baseline.json (struct_field extra gap row, agent-brief +28% on error_variant) #14726 masked-pairing refusal, so a field probe's sink identity follows the field the change sets; it closes therust_predicate_added_disjunct_sibling_fieldclass flip, keeps the corpus at 0/878, and adds no lib or integration failureSemantic-Lane Breakdown of the Non-Public / Non-Swarm Commits (493 non-merge + 122 merge)
Attribution method: each of the 488 non-merge commits in
B_final..H_finalthat is not reachable from the public sourcePis assigned to exactly one lane by path precedence (crates/ripr-contract/→crates/ripr/src/analysis/→crates/ripr/src/{cli,output,app,lsp,mcp,config}→xtask/,tools/repo-policy/,.github/→ remainder).crates/ripr-contract/, 10 non-merge commits):#12726sub-slice 2b loweringlanguage_outcomeintoripr-contract,serde_json = "1"manifest/lock edge (cargo metadata --locked --offlineverified),README.md,src/**/*_tests.rs, &src/analysis/language_outcome/test_support.rspackaging exclusions retained (publish-dry-runverified), preview-only re-exports (RepoCapFired,RepoLimitingStage,RepoFileAccounting) feature-gated for--no-default-features --features lang-rust, plus#16430contract docs preserved.crates/ripr/src/analysis/, 184 non-merge commits):#12010assertion-identity rule,#13037reached-tail pin,#15670activation/empty-missing-discriminator precondition composed withPredicateBoundary|ReturnValuesame-test pairing guard.crates/ripr/tests/return_diagnostic_confirmation.rs), so Carry ripr #1746/#1748 sink-level identity cap and delta-token confirmation into swarm reveal.rs #12010 is owned here. The repair is a strength refusal, not an identity widening: the identity route is unchanged and only the promotion to a relational check is refused. The fail-closed suite is the discriminator.#13533control restored): an oracle that calls the owner with the owner's own parameter confirms observation of a change the edit derived from that parameter; a changed tail that introduced no token, and a token introduced away from the parameter, still confirm nothing, so the owner-return and whole-return authorities keep deciding those shapes.value_observer_identityrefuses an ambiguous field write forProbeFamily::FieldConstructionwhen the owner writes the changed field more than once. It counts writes, not mentions (self.balance = self.balance + amountnames the field twice and writes it once). An earlier, wider guard over-credited 4 unit tests but regressed 7 corpus rows and was reverted; the verdict-corpus ledger is the release authority, so every repair is A/B'd against it at the pre-repair head.#16081/#16420helper_transfer.rs: retainspub(super)helpers and authority-checked ordinary memo while keepingBODY_SCOPED_TRANSPARENT_MACROSand bareLEVELED_LOGGING_MACROSuncached so rebound body-scoped macros cannot poison the ordinary-wrapper memo.#16195/#16209/#13287test_grip_evidence/related_tests/context.rs: retainsboundary_chainsalongsideproperty_macrosandseamargument alongsidemacro_heldgating.#15526/#16449activation.rs&classify/mod.rs: preservesUnselectedArmrebound read-macro handling and#16388serde_jsonitem-macro refusal.seam_inventory.rs: composespublishclosure withlimit_and_source/repair_ceilingviaSeamInventoryBounds(repair_keypreserved for both storage andcorpus_key).rust_trait_qualified_associated_call(#15277) andrust_into_from_let_annotation(#15795) readweakly_exposed(observation_unverified,direct_owner_callpreserved) because no owner-return pin reads un-pinned trait-associated /.into()returns;rust_macro_declared_flags_vec_containsmoves conservativelyreachable_unrevealed -> infection_unknown.boundary_pairing_sibling_owner/boundary_pairing_sibling_element(return_valueexposed), tracked separately under#16114.crates/ripr/src/{cli,output,app,lsp,mcp,config}, 25 non-merge commits):config.rs: retains swarm'slanguages_enabled_is_explicitwhile keepingpub fn load_for_rootandpub fn repo_exposure_config_identity_hash(check-public-apipasses).mcp/workspace.rs: routes shallow-clonegit -Crecovery root throughcrate::output::path::human_path(root)so canonicalized Windows verbatim\\?\prefixes do not leak into pasted recovery commands (mcp_stdio::shallow_clone_without_merge_base_recovers_by_fetching_historynow executes the emitted unshallow fetch end-to-end and passes on Windows).#16429/#16460unconfirmed-reach legend & Terms wording,#16448installed CLI help links,#16450/#16457refusal next-step naming, andreview_comments_receipt.rsphase_started+recovery_root.xtask/,tools/repo-policy/,.github/, 123 non-merge commits):xtask/src/{command,dispatch}.rs: union ofReleaseUploadVsix+Release{Github,CratesIo}Transaction{Plan,Observe}+ singleReleaseUploadAssetsrouted throughrelease_server_invocation::upload.#16432dropped-production-module guard inprecommitandci-policy, and#16434historical W7 disposition..github/workflows/source-promotion-contract.yml: retainsrehearsal_only: trueandsource_repository: "EffortlessMetrics/ripr"on all receipt writers..github/workflows/publish-pypi.yml: includes public#1902action pin7245906fb61fa33a13554f9d5fb856fe61758086(v1.14.3)..github/workflows/source-promotion-composition.ymlremains excluded from swarm underworkflow_lifecycle.rs; return-path continuity is carried via Option A in#16132(to be refreshed and landed after#16016).docs/RELEASE_BINARIES.md: preserves both#15788native wheel receipts and#15994npm watchdog/shutdown docs.1.232/0.234(strictly above import1.205/0.207and swarm main's generation, resolving the#16449/#10864cache-generation collision).1.231; they are queued for re-take at1.232from neutral Linux/tmp/sj-*roots (never by hand). The 12 captures at older generations are pinned infixtures/evidence-promotion-honesty-corpus/corpus.jsonwith a reason (No gate catches a stale cache_schema_version in an evidence-promotion-honesty report #12293).cell-0005-wrapper-field-binding,hex-from-hex-odd-variant) were deleted because both rows now reach theirideal_verdict: credited/ truthdiscriminated; the two affected expected rows were re-blessed bycargo xtask verdict-corpus bless --language rustand only those two rows changed.check.schema.jsonfrom#15845,context-refusal.schema.jsonrequiringmode,context.schema.jsonsweep binding,docs/OUTPUT_SCHEMA.mdcontracts) reconciled and validated.Swarm / Source Boundary
Source-of-truth Links
Proposal: #12009 history import, #13325 successor
ADR: ADR 0027 (ripr-contract support crate boundary)
Spec: RIPR-SPEC-0108, RIPR-SPEC-0186, RIPR-SPEC-0453
Plan item: 0.11.0 inbound public -> swarm integration (
docs/RELEASE_TRANSACTION.mdstage 1)Governing issue or accepted claim: #2766
Acceptance delta (one sentence): Swarm main contains public ripr main
352f9d796ff5as an ancestor, composed with protected swarm maine5e3f03e1f, with all required gates verified on the composed tree.History-sync source: EffortlessMetrics/ripr@352f9d7
History-sync destination base: e5e3f03
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication):
claude/project-thread-495uhiStack parent or prerequisite PR (if any): none (composes directly with
origin/maine5e3f03e1fandpublic/main352f9d796ff5)Proposed replacement of PR: #13325 (and through it #12009)
Acceptance retained from a replaced candidate (if any): all of #13325's history and resolutions; this branch only adds commits on top of its head.
Accepted winner and losing candidate disposition (when decided): #16016 selected over #16111 by release lead on 2026-11-22 (#16111 closed); #13325 remains open until #16016 lands.
Scope
Scope Classification
Production delta:
H_finalrelative to live swarm maine5e3f03e1f: 615 commits (122 merges),1001 files changed, 111032 insertions(+), 4761 deletions(-). The public source contributes exactly one commit of its own (#1902).Evidence/support delta:
1.232; two verdict-corpus acceptances deleted and two expected rows re-blessed; 4 golden fixtures drifting (no class flip open); 38 candidate-caused integration failures and 2 red branch lib-unit contracts open.Single acceptance criterion:
352f9d796ff5as an ancestor, composed with protected swarm maine5e3f03e1f, with all required gates verified on the composed tree.Non-goals:
Support-tier Impact
#15277and#15795un-pinned trait/Into returns retaindirect_owner_callrelation and fail closed atweakly_exposed(observation_unverified).Claim/proof notes:
weakly_exposedinstead ofexposed. The fail-closed suite — not a unit-test count — is the discriminator for that change.Policy Impact
source-promotion-composition.ymlstays out of swarm (workflow_lifecycle.rs); return-path continuity is tracked in#16132.Ledger or exception notes:
policy/inline-test-modules.txt(the out-of-line test-module ratchet) is unchanged andcheck-architecturepasses on the joined tree.policy/relocation-indirect-owners.txtis stale after the joins and is queued for regeneration with the command its own header names.Proof
Local proof on this exact head
518a67969f0a6b8eb6766c281a2daec4c5f1afcd(treea0adec0ba848abae4c66ce10814fc0ed4f4e147c; toolchainrustc 1.95.0in WSL Ubuntu on native ext4; clean committed tree; dedicatedCARGO_TARGET_DIR— joined-tree proof, not hosted qualification).Green on this head:
The same
verdict-corpus check-allwas run against a control worktree pinned to live swarm maine5e3f03e1f: RC=0 with identical gate results — but not with identical content, and that distinction matters. Live main is self-consistent: its analyzer reproduces its own ledger. This branch's tree re-blesses 13 Rust corpus expected rows relative to both parents of the merged2da9dc992— the merge resolution decided those 13 rows, and every one of them was decided downward (credited/exposed/ideal→limited/static_unknown/infection_unknown/abstained). Two of the 13 have since been repaired and now match live main again; 11 still differ, and the two analyzers produce different classifications on all 11.Two trees each passing their own ledger is therefore not evidence that they agree. The corpus is only the release authority where its expected rows still record the truth; the 11 remaining rows are adjudicated individually — a row that a control or a spec justifies stays, and a row whose downgrade only hides a regression is reverted and the analyzer repaired instead.
Red on this head (named cause, repair queued — see Known Gaps):
Convergence against the live-main control. A 36-target
cargo nextest runand the fullriprlib unit suite were measured on this head and on a control worktree pinned to swarm main593dd0c21f(its own target dir; live swarm main has since moved on to0586c68097),:The 3 base-side failures are the
owner_pin_executionrustc/mutant-harness cluster — a toolchain-internal compiler error that also fails on live main. They are not this branch's to fix. An earlier measurement of this same control showed 18 base-side failures, of which 15 were the wholeregistered_proptest_profilefamily: those were an environment failure, not a source failure. The analyzer runscargo metadata --offline, and the fixture crates' transitive dependency (zerocopy 0.8.62) was missing from the local cargo registry cache; after fetching it, all 15 pass on both trees. The branch's own swarm unit contracts are still red, so the hosted lane cannot be green yet. Every repair on this branch is counted against the verdict-corpus ledger, not against the unit-test count: a repair that fixes a unit test but regresses the corpus is a net loss.Not yet established: hosted
Ripr Rust Small Resulton this exact head, the finalREVIEW_READYdisposition, and the two red gates above. TheSOURCE_REVIEW_READYmarker is withheld while the head is not green against the live-main control. The failed run46084386141on the prior checkpoint was an admission refusal after main moved, not product qualification.Known Gaps
hay.is_empty()); (2) the carried-value reader (82e8e25604) reads the owner result through the shapes RIPR-SPEC-0094 §#14206 already names — a?postfix and a method on the owner's result — so the#12010sink-identity cap no longer fires on a value that plainly carries the owner. (2) fixes 6 integration failures and breaks none, keeps the corpus at 0/878, and restores thehuman_full_shared_parse_portfixture's expectation bytes to live main's. Two further repairs are landed and measured: (3) the #12010 sink-identity repair (33428a8651) — the proximity-with-reach identity route now requires the oracle's own binding, and a qualifiedType::owner(..)call counts as an owner call for an impl-method owner; it fixes 6 branch lib contracts, breaks none, and keeps the corpus at 0/878; (4) the two fixture-contract repairs (d16642272d) — the agent receipt normalizer no longer scrubs an analysis-outcome path outside the workspace root, and the enum-branch closure fixture imports its unrelated module through the crate root so the edition-2024 fixture compiles; they fix 2 integration failures with no analyzer change and no weakened assertion; the field-probe sink-identity repair (783c3a7694) — the #12010 direct-owner-call and record-field identity routes are bound to the #14726 masked-pairing refusal, so a field probe's sink identity follows the field the change sets; it closes therust_predicate_added_disjunct_sibling_fieldclass flip, keeps the corpus at 0/878, and adds no lib or integration failure783c3a7694— the #12010 identity disjunction no longer lends a field probe's sink identity to an oracle that reads the owner's record through another fieldowner_record_read_masked_anywhere) now binds the direct-owner-call and record-field identity routes, so a field probe's sink identity follows the field the change sets. Measured with a runtime arm recorder over all 22 arms of the disjunction, the class flip's identity came from exactly those two routes; the fixture returns to its expectedweakly_exposedwith theidentity_unresolveddiscriminator and the corpus stays at 0/878800/801/42/1/overflow/named/parenthesised): the confirmation route is the owner-return pin in every shape and the token route readsconfirm=false— the #12010 delta-token mechanism strips the changed line's own computed value out of the confirmation tokens, so the pin confirms without ever comparing the asserted literal with the changed value. The repair needs both halves: the delta subtraction must keep the changed line's computed value, and the owner-return pin must not confirm a value probe on its owncheck-evidence-promotion-honesty1.231, analyzer at1.232goldens checke5e3f03e1fmeasures 0 golden drift). The branch re-blessed 382 golden fixture files across 133 fixture directories relative to live main; these 4 are the ones the analyzer has since moved past. none is a class flip: the one class flip (rust_predicate_added_disjunct_sibling_field,weakly_exposed → exposed) is repaired in code by783c3a7694and returns to its expectedweakly_exposedwith theidentity_unresolveddiscriminator; the remaining 4 are wording-only and are re-blessed with a stated reason once the analyzer settles. Three lack a blessing CHANGELOG (rust_custom_lib_path_shaped_call,rust_return_value_field_read_on_other_value,rust_whole_value_associated_constructor_unpinned_field) and need one before any re-bless. Three further fixture files were missed by that re-bless and now contradict their own siblings:human_full_shared_parse_port/expected/library-human-lines.json(carried live main's text while its siblings carried the branch's),boundary_gap/.../before.repo-exposure.json(a 1.218 capture against a 1.232 analyzer) andevidence-promotion-honesty-corpus/discarded-matcher-reports/wrapped-wildcard-original/check.json(never re-blessed)verdict-corpusledger divergenced2da9dc992(differing from both parents), all downward; 2 are repaired and match live main again, 11 still differverdict-corpusclass flipsgrid-flow-field-opaquerow and theunmapped_field_inputs_do_not_promise_literal_resolutioncontract both requireinfection_unknownand agree; the analyzer'sexposedon the integration subject is an over-credit to repair, not a row to re-blessThe 38 candidate-caused failures sit in 23 test modules:
cli_smoke×4,helper_wrapper_reach×4,computed_return_tail_13037×3 (alltuple_guard),literal_arithmetic_observation×3; ×2 each incrate_qualified_receiver,doctest_owner_pins,focused_test_result,method_field_assignment_readandsibling_effect_oracle; and 14 singles. The 2 red branch lib-unit contracts areanalysis::classify::activation::tests::shadowing_local_wins_over_the_parameter_argumentandanalysis::classify::reveal::tests::comparison_with_own_copy_is_weak_and_unconfirmed.Their provenance is measured, not assumed: 39 of the 46 measured before the carried-value reader repair were byte-identical controls on live main that this branch failed, 7 were the branch's own new controls, and no test expectation was changed by the branch. This is therefore a behaviour regression against live main, not a moved goalpost.
A gate-off bisect on the two #12010 demotions (one build, two runtime switches) localises it further:
Measured on the join commit
f50eeba8b2(one build, two runtime switches):identity_unresolved)oracle_confirmation_mixed)The same switches on the lib suite are sharper: with the identity demotion off the lib suite goes from 9 failures to 19 (the 4
#12010controls break, and the 5 swarm proximity contracts still fail), and with the confirmation demotion off it stays at 8. Neither#12010gate explains the swarm contract failures: the divergence is in the observation/identity model the import brought over.So the demotion sites are right in principle — both are load-bearing — but the predicates they read are too strict in specific shapes. The repair is per-shape, widening the reader that supplies identity or confirmation, never the identity route itself — widening the route breaks the fail-closed suite, which is the discriminator. The carried-value reader repair (
82e8e25604) is the first such widening and is measured above.The divergence is not one-directional. Of the 8 real lib failures, 6 are over-credits (the candidate says
Yeswhere swarm withholds) and 1 is an under-credit. The branch is too generous and too strict in different shapes, so the proximity-withholding route and the identity reader both need work; restricting the#12010cap alone does not reconcile the branch with swarm.Claim Boundary & Protected-Operation Authorization Packet
This PR claims exact ancestry (
P=352f9d796ff5d9377fd5bc711444d509f22f78f7andB_final=e5e3f03e1f88bbd4f5f9454a27e9a861fff9c8f0are both ancestors ofH_final=518a67969f0a6b8eb6766c281a2daec4c5f1afcd, treea0adec0ba848abae4c66ce10814fc0ed4f4e147c), a compiling, locally proven composition with regenerated cache evidence at generation1.232/0.234, a complete semantic-lane inventory below, and passingpublish-dry-run. It does not claim hosted qualification, release readiness, the closure of the 38-failure integration convergence gap or the 2 red branch lib-unit contracts, or authority to mutate branch protections or rulesets.Bounded Protected-Operation Authorization Request (Owner Decision Required):
18845973enforces squash-only merge-queue landing onEffortlessMetrics/ripr-swarm/main, which would destroy public ancestry (P=352f9d796ff5d9377fd5bc711444d509f22f78f7).SOURCE_REVIEW_READYon this exact head, hostedhistory-syncqualification (Ripr Rust Small ResultSUCCESSon exact headH_final), and finalREVIEW_READY, the repository owner is requested to authorize a single, bounded true-merge (never squash/rebase, never the merge queue) of exact headH_final=518a67969f0a6b8eb6766c281a2daec4c5f1afcd(treea0adec0ba848abae4c66ce10814fc0ed4f4e147c) intoB_final=e5e3f03e1f88bbd4f5f9454a27e9a861fff9c8f0, producing a landed merge with parents[B_final, H_final]and treea0adec0ba848abae4c66ce10814fc0ed4f4e147c. No refreshed-equivalent authorization is requested: if main moves, this packet is void and a new exact packet will be presented.Rollback
Revert the merge commit on
mainwith-m 1. Cache generation1.232/0.234invalidates older entries in both directions.Spec-Test-Code Traceability
.ripr/traceability.d/12010-sink-identity.toml); RIPR-SPEC-0005 (the analysis: a well-tested change reads advisory with unknown confidence while ripr check says noticed #14487 same-line owner-call change, per.ripr/traceability.d/14487-seam-same-line-owner-calls.toml); RIPR-SPEC-0219 (the verdict-corpus ledger); RIPR-SPEC-0108/0186/0453 (the composition contract).crates/ripr/tests/return_diagnostic_confirmation.rs(the Carry ripr #1746/#1748 sink-level identity cap and delta-token confirmation into swarm reveal.rs #12010 control suite, 23 bound tests),crates/ripr/src/analysis/classify/reveal/tests/sink_identity_tests.rs,crates/ripr/tests/literal_only_assertion_credit.rs,crates/ripr/tests/matches_bool_equality_strength.rs,crates/ripr/tests/matches_eligibility.rs,crates/ripr/tests/check_gate_same_line_calls.rs.crates/ripr/src/analysis/classify/—activation.rs,reveal.rs(+reveal/tests/),owner_pin.rs,owner_value_sink.rs,macro_item_names.rs,helper_transfer.rs,seam_inventory.rs;crates/ripr/src/analysis/classifier/evidence.rs;crates/ripr/src/analysis/extract/shadow.rs;crates/ripr/src/analysis/test_grip_evidence/.fixtures/<fixture-name>/expected/— 10 fixtures currently drift; 3 (rust_custom_lib_path_shaped_call,rust_slice_table_boundary,rust_slice_table_zero_elements) need a blessing CHANGELOG before any re-bless.docs/LEARNINGS.md.Static Language Check
killed,survived,untested,proven, andadequate.infection_unknown/not establishedclass outcomes with their reasons, not as verdicts.CI Economics
.github/workflows/publish-pypi.ymlis imported from the public source unchanged in shape (action pin#1902).claim_identity_missingand theSOURCE_REVIEW_READYmarker gate — which is why the marker is withheld rather than posted.verdict-corpus check-all(four corpora, ~1755 cases) is the cheaper, stronger signal for analyzer behaviour and is used in preference to the hosted lane for repair decisions.Ripr Rust Small Result— absent on this head, not red: the Rust lane is label-routed (pull_request: types: [labeled], firing only onmerge-ready), so a commit pushed after the label was applied produces no lane. The remedy is to remove and re-applymerge-ready, which is done after the review marker is posted so the lane fires on this exact head.Test Analytics(same label routing),Public Proof Drift(itspaths:filter excludes corpus row paths and it has nopush:trigger, so a PR that moves a verdict-corpus row is only caught by the nightly schedule).merge-ready(starts the Rust lane),history-sync(honored only from an admin or maintainer;merge_groupdoes not honor it).1.231pending re-take at1.232).-m 1; the cache generation bump invalidates older entries in both directions.Engineering Check
panic,unwrap,expect,todo, orunimplementedin production code.panic,unwrap,expect,todo, orunimplementedin tests.Gates
Executed on this exact head
518a67969f0a6b8eb6766c281a2daec4c5f1afcd(clean committed tree,rustc 1.95.0, WSL Ubuntu ext4, dedicated target dir):cargo fmt --checkcargo check --workspace --all-targets— covered by the per-package runscargo check -p ripr --all-targetsandcargo check -p xtask --all-targetscargo test --workspace— not usable on this host: the xtask policy tests deadlock undercargo test --workspace; the repo's own lane usescargo nextest run --workspace --profile ci --no-fail-fast. The 36-target nextest measurement is in Proof.cargo clippy --workspace --all-targets -- -D warnings— not re-run on this head.cargo doc --workspace --no-deps— not run on this head.cargo package -p ripr --list/cargo publish -p ripr --dry-run— the repository's release rehearsal iscargo xtask publish-dry-run; not re-run on this head.cargo xtask precommit— RC=1. 20 gates reported pass (check-static-language,check-no-panic-family,check-allow-attributes,check-local-context,check-file-policy,check-covered-by,check-executable-files,check-text-encoding,check-workflows,check-droid-review-config,check-spec-format,check-spec-numbering,check-generation-pins,check-fixture-contracts,check-capabilities,check-workspace-shape,check-architecture,check-rust-source-role-authority,check-public-api,check-output-contracts) and the run stopped atgoldens check, whose RC=1 is the 10 drifting fixtures. The gates aftergoldens checkin the battery did not execute in this run.cargo xtask check-traceabilityandcargo xtask check-changelog-fragments— pass, run individually on this head.cargo xtask check-generated-clean,check-dependencies,check-process-policy,check-network-policy,check-lint-policy,check-user-text,check-identity-registry,check-doc-artifacts,check-doc-index,check-doc-roles,check-readme-state,markdown-links,check-command-catalog,check-generated,check-badge-diff-policy,check-ripr-agent-disposition,check-proof-packs,check-release-targets,check-package-content, and the judged-panel gates — not executed in this run (the precommit battery stopped atgoldens check).