Skip to content

test(npm): prove a clean install-to-use TypeScript journey and invocation continuity #4627

Closed

Description

@EffortlessSteven

Parent: #4492
Depends on: #4491 and an admitted payload from #4489.

Outcome

Prove a clean TypeScript consumer can install the package family, invoke RIPR through supported npm routes, and continue the workflow in a new shell.

Scope

  • Install the actual local launcher and platform tarballs with lifecycle scripts disabled.
  • Exercise project-local scripts and explicit npm exec --package=... -- ripr ... or the accepted continuation route.
  • Run a nonzero TypeScript subject with the required language configuration.
  • Exercise missing/wrong optional platform package, upgrade, reinstall, uninstall, and ambient-PATH controls.
  • Record Node, npm, runtime, and lockfile identities.

Acceptance

  • The exact launcher, platform package, and payload identities are recorded.
  • Follow-up commands remain valid from a new shell and foreign CWD.
  • No Rust toolchain, source checkout, runtime download, or alternate-version fallback occurs.
  • Missing or mismatched platform packages fail with precise recovery.

Non-goals

Activity

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

    @EffortlessSteven
    MemberAuthor

    Premise refresh 2026-11-11 (weekly issue-premise pass; issue had zero comments since creation 2026-09-29)

    Re-checked against current main: issue body + timeline (12 cross-references, none recording a decision on this issue), policy/distribution.toml, policy/release-selection.json, .github/workflows/package-family-qualification.yml, docs/releases/0.11.0-cut-checklist.md, #12830, and all-state PR search.

    What moved since filing

    Verified via API read-back (state MERGED + mergeCommit SHA):

    Verdict: partial_with_current_path — the npm journey ask is NOT satisfied by the package-family rehearsal; the issue-specific acceptance is still owed

    The rehearsal proves install-with-scripts-disabled, identity, and ambient-PATH refusal, but does not produce this issue's remaining acceptance:

    • No nonzero TypeScript subject with required language configuration — the rehearsal's subject is a fresh Cargo project running ripr doctor (workflow lines 117–122).
    • No explicit npm exec --package=... -- ripr ... / accepted continuation route — only direct .bin path invocation.
    • No new-shell + foreign-CWD continuity check.
    • No wrong/missing-platform, upgrade, reinstall, or uninstall controls (ambient-PATH refusal only).
    • The "no Rust toolchain/source-checkout/runtime-download fallback" acceptance cannot be witnessed by this workflow as written: it deliberately pins a Rust toolchain for cargo new/ripr doctor fixture setup (lines 81–85), so a fallback would be undetectable there.
    • Node/npm/runtime/lockfile identities are not recorded as evidence artifacts.

    policy/distribution.toml on main: all five npm target rows remain compatibility_state = "unqualified" with qualification_issue = 4489 (lines 36–37, 49–50, 61–62, 73–74, 85–86); launcher packaging slices under #4491/#4778 are still open.

    Packet check (#4623, per refresh protocol)

    policy/release-selection.json on main (last updated 2026-11-07 via #13506, squash b19be62ea) does track #4623: claims[37] candidate-exec-4623, owner_issue: 4623, materiality: "release_required", resolution: "final_candidate_execution_only" ("Windows x64 MSVC runtime closure and native execution"), refs #4623 + #2769, with an explicit non-claim before the immutable candidate exists. This issue has the identical-shaped row: claims[39] candidate-exec-4627, release_required, final_candidate_execution_only ("clean npm install-to-use TypeScript journey"). Both are census rows; neither is resolved by the packet — both wait on frozen-candidate execution under #2769.

    Release-gating finding

    docs/releases/0.11.0-cut-checklist.md on main contains no row naming #4627 or the #4489/#4491/#4492/#4493 family (greps for those numbers return nothing; #12830's §5 release tail lists ripr-side ci-full → publication steps and does not name this issue either). This issue's release-gating status comes solely from the #2766 packet: claims[39] makes the npm journey release_required for 0.11.0, with a recorded deferral to frozen-candidate execution (final_candidate_execution_only under #2769). It is therefore not a pre-cut checklist blocker, and cannot be silently dropped: either this journey — extended to the residual scope above — runs against the frozen candidate, or an owner scope decision amends the packet row. No #11501 ledger need surfaced in this pass; the operative decision-sheet record is the #2766 packet row.

    Current path

    Status labels unchanged; issue left open.

  3. EffortlessSteven commented on Nov 15, 2026

    @EffortlessSteven
    MemberAuthor

    Claim (2026-11-15): taking #4627, with #4632 to follow on top of it.

    Plan and decisions:


    Generated by Claude Code

  4. EffortlessSteven commented on Nov 16, 2026

    @EffortlessSteven
    MemberAuthor

    Delivered by #14822 (squash 235d2a9 on main, landed through the merge queue after hosted qualification run 43731395029 was green on head 5005ab3).

    Acceptance:

    • Identities recorded: pass. The receipt binds the launcher tarball sha256, integrity, native tarball, lockfile hash and resolved payload sha256, plus the Node and npm versions. cargo xtask package-qualification-gate checks them against the expected flags.
    • Follow-up from a new shell and foreign CWD: pass. The exact continuation ripr emits is replayed argument for argument through npm exec --offline --prefix from a foreign directory, with the registry torn down. A negative control proves the emitted command is used rather than a rebuilt one.
    • No toolchain, checkout, download or fallback: pass. The consumer PATH is scrubbed, with no cargo, rustc or rustup. A planted ripr decoy must never run, and every step after install runs offline.
    • Missing or mismatched natives fail with precise recovery: pass. This covers --omit=optional, a tampered native version and a foreign-target native.

    The remaining scope item, upgrade between two released versions, isn't exercised and is listed in the README's limits. It needs two published versions. Per-target CI orchestration continues in #4632.


    Generated by Claude Code

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

    release-checkstatus/needs-work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions