Skip to content

Reconcile RC5 host contracts and refresh unpublished candidate - #40

Merged
Miskovy merged 1 commit into
mainfrom
release/rc5-contract-docs
Oct 28, 2026
Merged

Miskovy merged 1 commit into
mainfrom
release/rc5-contract-docs

Conversation

@Miskovy

@Miskovy Miskovy commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Summary

Reconciles the RC5 review findings from #39 and explicitly refreshes the still-unpublished 1.0.0-rc.5 candidate. Node and browser shutdown documentation now describes the existing host-specific guarantees. This is comment/documentation work, with no runtime behavior, signature, default, dependency, engine, version or alias changes.

Motivation / related issue

The independent review of 2565f5f93c2e1af4558611b43f92f199f4e8bb30 found browser-visible shutdown JSDoc promising confirmed exits, stale root-only/no-replay guidance and unconditional-RC4 selector wording. This follow-up starts from merged main d22e93a25128db331b7ae81f2844adf04cea983d.

What changed

  • ShutdownOptions.forceAfter JSDoc distinguishes Node completion/confirmed-exit cleanup from posting-safe browser endpoint retirement and terminal local accounting. Browser shutdown provides no native join or shared-backing quiescence proof; failed termination cannot report successful cleanup. Validation and first-shutdown options/promise are unchanged.
  • Stability guidance names both public entries, describes eligible repeatable retries/fallback, preserves confirmed successes/delivered results, distinguishes host recovery restrictions and retains no rollback/automatic transfer restoration. It documents the implemented explicit RC4/RC5 selector and unknown-version rejection.
  • Releasing's introduction identifies immutable published RC4 versus integrated Checkpoints 1–4 and the current unpublished RC5 manifests. The README's related retry/ownership wording is corrected too. Existing holds and unresolved applicability remain untouched.
  • frozen-rc5.json was refreshed only by the existing explicit preparation writer, after build and input review. Frozen RC4 is unchanged. No validation exclusions were changed.

Contract / API impact

  • Public API/types — comments only; type shapes are unchanged.
  • Shutdown — documentation correction only.
  • Package contents — exact three-file delta below.

All 60 executable .js files are byte-identical to the previous archive. Comment-stripped type shapes, public exports, manifests, test inventories and policies match. The only changed packed files are:

  • src/types/index.ts — corrected JSDoc.
  • dist/types/index.d.ts — emitted JSDoc.
  • dist/types/index.d.ts.map — declaration/source position changes.

The archive still contains 303 files, now 200346 bytes. Root README/releasing changes affect baseline inputs; stability guidance is part of the committed source tree. Baseline exclusions and source/declaration coverage are unchanged.

Candidate identities

  • Commit: 867e93dc24057383e710a17245e78c6c014c228f
  • Tree: e64bb331979deef4d457efa42e8067cd11a3a403
  • New baseline SHA-256: 8fb24684274622d4edc6879080db73dac73af4b2d58a4e5cc9297445f642c735
  • New archive SHA-256: f9bd1a3e09002b60ed136f76ac4f3ae197b2869cc910f324434ad124bc98e568

New evidence/canonical staging is separate at /home/miskovy/Documents/pjs/.node-tools/rc5-refresh-LSAQgo36/. Previous archive ae3a6daa…fffc83, baseline 46d7d2e7…1e5ded, original receipts and failed attempts remain preserved. Their results qualify only the previous candidate; none are relabelled as current results.

Testing

Fresh results, all bound to this corrected commit/tree (not the prior candidate):

  • Existing rc:repro: two independent clean states produced identical packed-file inventories and actual compressed archive bytes, then staged the new canonical archive. State A passed the existing extended RC soak; state B independently built/packed/tested consumers.

  • Existing rc:qualify --profile=standard --tarball=<new-canonical>: passed all 476 contracts, 48 release/baseline regressions, both locked compilers, source/declaration/export/manifest freezes, lint/format/docs, installed consumers and standard RC soak (7904 accepted operations). The retained installed-package receipt contains 32 successful child outcomes, including both loading orders and emitted CommonJS/ESM TypeScript consumers.

  • The same qualifier ran the existing exact-artifact npm 11.19.0 rehearsal in dry-run-only mode, installed that archive and checked its digest. Staged consumer paths did not repack the candidate.

  • Normal CI: all seven jobs passed, including the unchanged six-cell supported-minimum matrix, existing standard R2/R3 and candidate checks, and the real-browser job.

  • Existing PJS_CANDIDATE_TARBALL=<new-canonical> npm run test:browser: all 92 local Chromium 156.0.8078.4 cases passed (23 each native/Vite, isolated/non-isolated), including dev/production under /app/, installed declarations with no Node types, Node-free import graphs and the no-replacement graceful-shutdown regression. Existing failed-termination/retained-ownership regressions remain and passed in the normal suites.

  • The canonical digest was recomputed after all consumers/rehearsal: f9bd1a3e09002b60ed136f76ac4f3ae197b2869cc910f324434ad124bc98e568. Prior evidence fingerprints remain unchanged. Full fresh receipts are retained outside Git alongside canonical/candidate.json, repro.json, qualifier.json, installed-consumers.json, browser.log, ci.json and delta.json.

No new profiles or benchmark campaigns are introduced. An initial sandbox launch of the documentation checker was blocked from spawning git (EPERM); the permission-enabled rerun and subsequent clean checks passed. No assertions/timeouts were weakened. No requested check remains failed or unavailable; untested browser engines/platforms and separate final-readiness requirements are not inferred passes.

Platforms tested

Local preparation/reproduction/exact-artifact qualification used explicit Node 24.22.1 and independently provisioned integrity-pinned npm 11.19.0 on Linux x64; locked compilers 7.0.2 / 6.0.3 executed installed consumers. Normal CI recorded actual Node 22.23.4 / 24.22.1 / 26.12.1 on both Linux x64 and Windows x64. No Firefox/WebKit, macOS or ARM64 claim is made.

Documentation

Updated root README, docs/stability.md, docs/releasing.md and shared shutdown JSDoc. Existing historical records, frozen RC4, release notes' historical attribution and release holds are preserved.

Preflight on 28 October 2026 returned explicit npm/GitHub-release 404s and a successful empty remote-tag query. npm package metadata remained available with latest/next at RC4. This refresh creates no tag, release or registry state. Technical validation does not authorize publication, decide hold/Stage F applicability or establish final-v1.0 readiness.

Checklist

  • Change is focused.
  • Tests added/updated: not applicable; executable behavior is unchanged and existing regressions are retained.
  • Documentation updated.
  • No unrelated refactor.
  • No security-sensitive information exposed.
  • No performance claim.

@Miskovy
Miskovy marked this pull request as ready for review October 28, 2026 21:11
@Miskovy
Miskovy merged commit 07d4e47 into main Oct 28, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant