Skip to content

test(product): qualify packaged VSIX RepairAttempt parity with the installed CLI #4651

Open

Description

@EffortlessSteven

Release-plan checkpoint — 2026-11-29: packaged editor parity and the remaining handoffs

Release boundary. This issue and #4650 are children of #2929. release-targets.toml places #2929 with the 0.12 product-convergence proof blockers; neither #4650 nor #4651 is a distinct required row in the current 0.11 selection. Keep the full parity outcome intact without adding it wholesale to the 0.11 denominator. Specific evidence requested by already selected candidate consumers still binds to their accepted scope.

Current handoffs. Draft #16243 is OPEN at 61603c58f024fa00013e53bf4abecb9db6aee16e. It covers called-but-unreached Inspect/Start refusal versus independently eligible Start affordance. Its own record says real admitted-VSIX Linux/Xvfb and native Windows execution, before/edit/Finish and CLI parity are not_run; source-harness observations do not establish package admission. The November 24 Finish note identifies a separate local correction at tree 19cd91cae86372b309e20a86331e060a03dc20d0; the subsequent handoff request asks for a reproducible neutral patch/ref. Recover/review that existing candidate before inventing another implementation.

Next action and prerequisites. Resolve the Finish candidate's reproducible source handoff and review the exact #16243 successor for its bounded slice. Then obtain the independently admitted VSIX/server pair and #4650's same-source, same-fixture isolated CLI receipt, satisfying #4648/#4647/#2927 dependencies. Feed the actual installed extension directory and absolute hashed server to the existing launcher. Retain rehashable VSIX bytes, inventory, activated extension path, server digest/version, runtime/platform and fixture identities. The managed-download reuse note permits reuse of its installation pattern, not substitution of a rehearsal descriptor for the final subject. Configured-server proof does not establish managed provisioning.

Proof to finish. Exercise Start → external test edit → Finish/status/restart in the real packaged extension host and compare canonical gap, target, cage, before/after identities, movement, receipt, state/recovery and non-claims with #4650. Execute trust refusal, stale diagnostic/root/attempt, wrong artifact/server, restart/deactivation, source-asset leakage and cleanup controls; zero subjects or copied commands alone cannot pass. The November 27 receipt records #16125's protected Linux/Xvfb success, but does not replay the earlier native-Windows fault selectors. Preserve that host-specific obligation on admitted bytes.

Closure. Neither #16243's small affordance slice nor a source/fixture pass closes packaged transaction parity. Close from the full same-candidate CLI/editor comparison and existing negative matrix. No new OS/channel, separate release blocker, workflow dispatch or publication is introduced here.


Parent: #2929
Depends on: #4648, #4650, #4647 and the applicable exact-SHA VSIX/server rehearsal from #1703.

Outcome

Execute the canonical fixture repair transaction through the exact packaged VSIX and server, then compare its machine meaning with the isolated installed-CLI receipt.

Journey

exact VSIX + exact candidate server
→ isolated extension host opens the fixture
→ current diagnostic identifies canonical gap G
→ Start Repair creates shared attempt semantics
→ apply the equivalent controlled test-only edit externally
→ Continue/Finish Repair
→ compare movement, receipt and recovery with #4650

Scope

  • Run the package journey under Linux/Xvfb and Windows where the existing VSIX matrix applies.
  • Bind candidate, VSIX inventory/digest, server path/version/digest, Node/runtime, platform and fixture identities.
  • Compare canonical gap, selected target, edit cage, before/after identity, attempt states, movement, receipt, limitations, next action and claim boundary through test(product): define a packaged RepairAttempt fixture and cross-channel parity receipt #4648's DTO.
  • Exercise untrusted workspace, stale diagnostic, multiple attempts/roots, restart during awaiting-edit, wrong server/VSIX, source-tree asset leakage and orphan-process controls.
  • Preserve presentation differences while rejecting semantic strengthening or drift.

Acceptance

  • The extension host uses the exact packaged VSIX/server and cannot resolve a workspace or PATH binary.
  • One positive completes Start → external edit → Finish and reaches the same movement meaning as test(product): qualify the canonical RepairAttempt through an isolated installed CLI #4650.
  • CLI and editor agree on gap, target, edit cage, currentness, state vocabulary, receipt, non-claims and recovery.
  • Untrusted, stale, limited, incomparable, wrong-root and wrong-artifact cases fail closed.
  • Restart/deactivation preserves the durable attempt without duplicate servers or command registrations.
  • Linux/Xvfb and Windows receipts retain exact ran/skipped evidence; unavailable required work is not qualified.
  • No source-checkout asset, sibling worktree, stale server or shared mutable channel state satisfies the proof.
  • Shutdown leaves no owned orphan process or locked fixture/package file.
  • The final JSON and Markdown parity receipt derive from one DTO and can feed dogfood(product): run the first five real repair attempts across CLI and VS Code #1702 without counting this synthetic fixture as real dogfood.

Proof

npm --prefix editors/vscode ci
npm --prefix editors/vscode test
npm --prefix editors/vscode run compile
npm --prefix editors/vscode run package
cargo test -p ripr --test packaged_repair_parity -- --test-threads=1
cargo xtask vscode-test-e2e
cargo xtask check-process-policy
cargo xtask check-output-contracts
cargo xtask check-evidence-promotion-honesty
git diff --check

Non-goals

  • No claim about unexercised editors or platforms.
  • No real-repository support promotion, automatic edit/test generation, mutation execution, publication, signing or credential action.

Claim boundary

Completion proves that one exact packaged VSIX/server and one exact installed CLI expose the same canonical repair transaction on the exercised fixture and platforms. It does not establish broad analyzer correctness or user usefulness.

Activity

  1. added
    status/needs-work
    on Sep 29, 2026
  2. EffortlessSteven commented on Nov 8, 2026

    @EffortlessSteven
    MemberAuthor

    Triage against main 64b6994: main outcome not delivered, left open.

    #12427 delivered only the #4648 slice (fixtures/packaged_repair_parity/ manifest and spec, the xtask receipt DTO and parity gate, and 3 manifest-contract tests in crates/ripr/tests/packaged_repair_parity.rs). Its own claim boundary says it does not qualify the installed CLI or VSIX channels.

    Still missing: the exact-VSIX extension-host journey, Linux/Xvfb and Windows receipts, the untrusted/stale/multi-root/restart/wrong-artifact controls, and the orphan-process check. Dependencies #4650 and the #1703 rehearsal are also outstanding.

    No open PR found. Unclaimed.


    Generated by Claude Code

  3. EffortlessSteven commented on Nov 24, 2026

    @EffortlessSteven
    MemberAuthor

    Finish consumer: local source evidence, not packaged qualification

    At 6329b0037c7af2db0a2fffe970b19b5f56773eac, a retained producer response for a real local repair carries an attempt inventory. The editor reads it as a selected-attempt status document, so Finish lost the attempt ID and confused the top-level advisory verdict with movement. A subsequent agent status still found the terminal attempt.

    The independently reviewed local fix (tree 19cd91cae86372b309e20a86331e060a03dc20d0) requires exactly one current terminal row for the requested workspace and attempt. It displays movement, receipt status, and verification separately. Ambiguous or malformed results direct the user to Repair Attempt Status without retrying Finish. The retained response failed on main; three replay checks, TypeScript compilation, and 18 focused helper tests passed on the fix. Controller tests were typechecked, not run in an extension host. No branch, workflow, or packaged artifact was used. #4651 remains open for the archive-backed CLI and packaged extension journey on the same fixture.

  4. EffortlessSteven commented on Nov 24, 2026

    @EffortlessSteven
    MemberAuthor

    Could the owner of the reviewed Finish consumer fix provide a neutral patch or Git ref that reproduces tree 19cd91cae86372b309e20a86331e060a03dc20d0 from base 6329b0037c7af2db0a2fffe970b19b5f56773eac, plus the retained Finish response, agent status fallback, replay command and results, and review reference? A link to the owning session is enough if that work is still active. This lets the follow-through preserve the reviewed changes and attribution. #16243 remains the separate Inspect/Start draft.

  5. EffortlessSteven commented on Nov 26, 2026

    @EffortlessSteven
    MemberAuthor

    Installed replay: reuse the real installer; retain the candidate bytes

    The managed-download rehearsal already hashes a VSIX before/after real CLI installation in a fresh extensions directory, with an activated-path assertion. Reuse that pattern without its mirror descriptor substitution: after #1609 admits a candidate, use its immutable VSIX, own descriptor and matched native binary. Feed the verified installed extension directory and absolute digest-pinned server to #16243’s Inspect/Start launcher, and confirm the activated path and server identity in the host output. Explicit configured-server evidence is not a managed provisioning claim.

    After the separate Finish owner handoff is adopted, execute the accepted before/start/edit/finish/status and restart cases against the same package pair and fixture. Retain the approved VSIX and matching server bytes plus the receipt so independent reviewers can rehash them on the required Linux/Windows rows. Run 44901189601 retains managed-download JSON receipts only, not an independently rehashable VSIX. The source-built Start controls, older CLI receipt and receipt-gate #16248 do not qualify installed parity. No package has been installed, dispatched or promoted in this pass.

  6. EffortlessSteven commented on Nov 27, 2026

    @EffortlessSteven
    MemberAuthor

    Qualification boundary after #16125 landed as 9b05930b9f93a4c5597a0d0651a5f542863c8157: the protected editor job ran on Ubuntu/Xvfb, built a VSIX (390 entries), and reported 850 suite tests plus one separate passing test. This is useful Linux integration evidence for the test changes, not a replay of the native Windows packaged journey that exposed the five faults. Keep the next Windows rehearsal tied to the admitted immutable VSIX/server bytes and record the named original selectors; don't substitute the merged test PR or the green Linux wrapper for that receipt. The separate #16243 Inspect/Start and Finish-consumer evidence boundaries are unchanged.

  7. added
    status/blocked-repo
    vscode
    on Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    implementation-slicestatus/blocked-repostatus/needs-workstatus/partialtestingvscode

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions