Repository navigation
Description
Parent and consumers
- readiness: run an exact-SHA no-publish package, binary, VSIX, and install rehearsal #1703 — exact-SHA no-publish package/binary/VSIX rehearsal
- release(goal): converge final swarm candidate, sync source, publish 0.11, and back-sync K #2379 —
0.11.0candidate authority - release(0.11.0): qualify the exact frozen swarm candidate and retain an evidence-identity bundle #2769 — exact-candidate qualification bundle
- fix(windows): make finding-navigation replay use typed argv, not Bash display parsing #2816 — typed navigation replay on Windows
This is the release-sized crate/install child of #1703. It does not own server archive generation or the packaged VSIX journey (#2528).
Problem
cargo package --list, cargo publish --dry-run, workspace tests, and a locally built binary do not prove that the packaged .crate installs and behaves as the public CLI outside the source checkout.
A source-tree command can accidentally use:
- the workspace binary;
- sibling files omitted from the package;
- workspace-relative schemas/fixtures/config;
- a different lock/toolchain identity;
- generated command text that fails on Windows;
- a source checkout path that users do not have.
Required outcome
From one exact candidate identity:
package exact candidate
→ extract packaged .crate into an isolated directory
→ install from the packaged source into an isolated prefix/cache
→ prove installed binary identity differs from workspace binary
→ exercise the public CLI against an independent fixture repository
→ retain one Linux receipt and one Windows receipt
No registry or marketplace publication occurs.
Artifact and environment identity
Retain:
candidate SHA/ref
crate version and package archive digest
Cargo.lock and toolchain identity
package file inventory
isolated Cargo home/target/install prefix
installed binary path/digest/version
host OS/architecture
fixture root/base/head
commands and exit codes
cleanup result
network/offline disposition
A dirty candidate tree, version mismatch, mixed package SHA, or workspace binary resolution fails closed.
Installed command surface
At minimum run the installed binary for:
ripr --version
ripr --help
ripr doctor --root <fixture> --json
ripr check --root <fixture> --base <base> --head <head> --json
Then exercise one bounded first-value path that exists in the release contract, such as pilot or first-pr, and inspect its declared artifacts.
For one selected finding/gap where available:
- execute typed
explainandcontextsemantic argv from fix(windows): make finding-navigation replay use typed argv, not Bash display parsing #2816; - emit/read one bounded agent packet or explicit no-action/limitation state;
- preserve the release non-claim that RIPR does not execute verification commands or issue RepairReceiptV2 in
0.11.0.
Do not make this green by using a workspace-local binary or copying private fixtures into the package.
Fixture repository
Use an independent private/disposable two-commit Rust repository with:
- concrete base/head commits;
- one bounded behavior change;
- tracked tests/config only where public setup creates or permits them;
- no path under the RIPR source checkout;
- no reliance on sibling worktrees.
The fixture may share infrastructure with #2823 where the contracts align, but package-install proof and readiness-artifact production remain separate receipts.
Negative controls
- remove a required packaged asset and prove the installed journey fails with a named reason;
- place a workspace
riprearlier on PATH and prove the harness still invokes the isolated binary; - package/binary version mismatch;
- dirty candidate tree;
- wrong package digest;
- Windows root/diff path with spaces and backslashes;
- generated display text cannot substitute for typed argv;
- source-checkout access denied or audited;
- cleanup failure remains explicit.
Platform proof
Linux
- isolated package/install and public CLI journey;
- package contents and binary digest retained;
- no source-tree reads.
Windows
- the same semantic journey;
- path/argv round-trip from fix(windows): make finding-navigation replay use typed argv, not Bash display parsing #2816;
- no OS error from literal Bash quotes;
- no current-directory or relative TEMP dependence;
- installed binary digest/version retained.
Receipt
Emit JSON and Markdown from one DTO with section states:
qualified
semantic_failure
missing_evidence
stale_or_wrong_head
infrastructure_tempfail
not_run
Include package, install, command, fixture, platform, limitation, cleanup, and non-publication evidence. A partial platform run cannot render as complete.
Implementation slices
PR A — isolated package/install harness
- extract/install exact packaged source;
- prove executable identity and source-checkout denial;
- run version/help/doctor;
- add negative identity/cleanup fixtures.
PR B — public fixture journey and platform receipts
- check + selected first-value path;
- typed explain/context replay;
- Linux/Windows receipts and deterministic normalized projection;
- integrate as the crate/install section of readiness: run an exact-SHA no-publish package, binary, VSIX, and install rehearsal #1703/release(0.11.0): qualify the exact frozen swarm candidate and retain an evidence-identity bundle #2769.
Non-goals
- no server-archive target matrix;
- no VSIX packaging/install; owned by release(vscode): rebuild current-main editor integration and qualify packaged live journeys #2528/readiness: run an exact-SHA no-publish package, binary, VSIX, and install rehearsal #1703;
- no verification-command execution, RepairReceiptV2, mutation run, source edit, support promotion, version bump, tag, signing, publication, marketplace, or release-secret use.
Closure rule
Close only when the exact packaged crate installs outside the workspace and the installed public CLI completes the bounded Linux and Windows journeys with retained artifact identities.
Claim boundary
Completion proves installability and bounded public CLI behavior for one exact packaged candidate on the exercised hosts. It does not publish the crate, prove every user environment, or establish test adequacy/correctness.
Activity
coderabbitai commentedon Jul 31, 2026
🔗 Related PRs
#2384 - test(cli): require concrete fixture repository HEADs (
#2383) [merged]#2433 - security(agent): make advisory command argv round-trip through Bash (
#2347) [open]#2435 - security(agent): encode advisory command arguments as bash argv tokens (
#2347) [merged]#2790 - release(denominator): retain deterministic 0.11 candidate ledger (
#2768) [merged]#2801 - fix(release): bind agent readiness fixtures to current artifacts [open]
📝 Issue Planner
Check the box below or use the
@coderabbitai plancommand to generate an implementation plan and prompts that you can use with your favorite coding assistant.🧪 Issue enrichment is currently in open beta.
You can configure auto-planning by selecting labels in the issue_enrichment configuration.
To disable automatic issue enrichment, add the following to your
.coderabbit.yaml:💬 Have feedback or questions? Drop into our discord!
EffortlessSteven commentedon Aug 1, 2026
Earnest review (2026-08-01)
STATUS: Not started — premise verified; gap between cargo publish --dry-run and real installability.
PLAN QUALITY: High. Excellent negative controls (remove packaged asset, workspace PATH pollution, dirty tree, digest mismatch, Windows spaces/backslashes, display text != typed argv). One-DTO-two-receipts with not_run/infrastructure_tempfail states prevents partial-run-as-complete.
ASSESSMENT: No existing isolated package-install harness in xtask/. The execution surface to prove (--version, doctor, check, pilot/first-pr, explain/context) is wired through cli/. Non-claim (no verify-execute in 0.11.0) is well-scoped.
ACTION: Approve. Most independently-startable of the five — recommend unblocking PR A in parallel with #2831 since it has no dependency on the denominator track.
EffortlessSteven commentedon Aug 5, 2026
PR A is now open as draft #2910: https://github.com/EffortlessMetrics/ripr-swarm/pull/2910\n\nScope is the packaged-crate/install harness only. On committed head cb53699, cargo xtask release-readiness --version 0.10.0 produced package-install: pass with a Cargo archive digest, distinct workspace and installed binary digests, installed
ipr 0.10.0, external-fixture doctor --json pass, and explicit fixture cleanup. cargo test -p xtask passed 1,427/1,427 and cargo xtask precommit passed. The overall readiness report remains warn only for the existing advisory repo-exposure latency check. The public check journey and Linux/Windows receipts remain PR B scope; #2834 stays open/needs-work until that acceptance is complete.
EffortlessSteven commentedon Aug 5, 2026
Evidence update — #2910 repair head
ce3caaec6PR #2910 now contains the review repairs and is ready for review; it remains open while its hosted required route completes.
Repaired and proved:
foo/../escape, symlink, and hardlink entries;cargo test -p xtask: 1,431 passed;cargo check -p xtask --all-targets, strict Clippy, formatting, andcargo xtask precommit: pass;cargo xtask release-readiness --version 0.10.0: requiredpackage-installpass with archive digest, differing workspace/installed binary digests,ripr 0.10.0, and external-fixturedoctor --jsonpass. Overall readiness is warn only for the existing advisory repo-exposure latency check.All six actionable review threads were answered with exact-head proof and resolved. #2834 remains
status/needs-workuntil the PR lands and the separate public CLI/Linux/Windows receipt lane is complete. No version, candidate membership, publication, or release-control state changed.EffortlessSteven commentedon Aug 5, 2026
Exact-head repair update —
4bbe5f980The external-doctor portability finding is repaired on the same PR claim. The installed binary is canonicalized before execution, so its path is absolute while the process runs from the external fixture directory.
Exact-head evidence:
cargo test -p xtask: 1,431 passed, 0 failed;cargo fmt --all -- --check,cargo check -p xtask --all-targets, strict Clippy: pass;cargo xtask precommit: pass;cargo xtask release-readiness --version 0.10.0: overallwarnonly for advisory repo-exposure latency; requiredpackage-install=pass;ripr 0.10.0, externaldoctorexit 0, fixture cleanup recorded, no missing-executable error.The new P1 review thread was answered with this evidence and resolved. #2834 remains open pending hosted landing and the separate public CLI/Linux/Windows receipt work.
EffortlessSteven commentedon Aug 5, 2026
Post-merge state — #2910 landed
PR #2910 landed as
caae18e8cc14cbf707b9e8c06e535442ad28812afrom reviewed head4bbe5f9803b5effbc06b3bb780a194d23b47e5df. The packaged-crate/install implementation, archive safety, absolute external-binary execution, and required hosted proof are complete for that slice.#2834 remains
status/needs-work: the public CLI journey and Linux/Windows receipt lane are still outstanding. Do not close this issue or treat the release prerequisite as fully complete from the packaged-install slice alone. No 0.11 candidate, version, tag, or publication state changed.EffortlessSteven commentedon Aug 5, 2026
PR B is now open as #2911 from exact head
585962fb7(implementation33e134eacplus the release-surface receipt wiring). It adds the required packaged-CLI journey: an installed crate binary runs--version, externalcheck --write-artifact, exactdiff, typedexplain, JSONcontext, and boundedpilotagainst an independent Cargo/Git fixture with a space-containing path. It validates base/head/finding identity, retains packet/summary/check artifacts, and writespackaged-cli-journey-<os>.json. Windows packaged-artifact rehearsal passed;cargo test -p xtaskpassed 1,431 tests, strict xtask Clippy/check, precommit, and package verification passed. The existing CI release surface now invokescargo xtask release-readinessforrelease-check/full-ciand uploads the receipts, so hosted Linux evidence can be produced. #2834 remains open/partial until exact-head review, a clean committed readiness run, and both Windows and hosted Linux receipts are available. No version, tag, publication, or candidate membership changed.EffortlessSteven commentedon Aug 5, 2026
PR #2911 exact head b11a58a now has a clean committed Windows release-readiness receipt: all required checks pass, including packaged install identity, external Cargo/Git fixture with spaces, check artifact, exact diff, explain/context identity, bounded pilot with packets_total=1, and retained Windows receipt/artifacts. Full xtask suite is 1,431 passed; strict xtask Clippy, precommit, check-workflows, and formatting pass. Overall readiness is warn only from the non-required repo-exposure latency report. Remaining acceptance is hosted Linux packaged-journey evidence plus exact-head review/merge and later landed-main release reconciliation; no candidate membership or publication claim is made.
EffortlessSteven commentedon Aug 5, 2026
Hosted Linux packaged-journey evidence is now verified from run 30972761783 at exact PR head b11a58a. The retained release-readiness artifact contains a qualified Linux receipt, packaged check/packet/summary artifacts, and canonical report: all required checks pass; only non-required repo-exposure latency is warn; six journey commands passed; pilot packets_total=1; fixture cleanup succeeded. Together with the clean Windows receipt already recorded, the platform journey predicate is proven. #2834 remains open until exact-head merge and landed-main acceptance are reconciled.
EffortlessSteven commentedon Aug 5, 2026
Closeout — #2911 merged
85b24c507182f6600b99252ed14921ae96db8ddbf57e94e550e567a7cdd1c3df7764dbce70998e8c--version,check --write-artifact, exactdiff, typedexplain, JSONcontext, and boundedpilot; fixture Git setup is isolated from inherited repository state.cargo fmt --all -- --check,cargo clippy -p xtask --bin xtask --locked -j 1 -- -D warnings,check-workflows,check-doc-index, andcheck-output-contractspassed. The full localcargo xtask precommitwas not run to completion because the shared Cargo environment timed out; hosted Rust passed.The packaged CLI child is complete for its stated pre-candidate proof. #2769 must repeat the exact journey on the immutable candidate before qualification.