Skip to content

Close release-readiness verification gaps - #36

Merged
christophersesugh merged 26 commits into
mainfrom
fix/release-readiness
Nov 28, 2026
Merged

christophersesugh merged 26 commits into
mainfrom
fix/release-readiness

Conversation

@christophersesugh

Copy link
Copy Markdown
Contributor

Scope

Addresses the implementation and verification-tooling findings in #35. Do not auto-close the issue: exact-main CI, independent artifact inspection and external acceptance remain outstanding. No runtime semantics, public exports, package identity, dependencies, or publication permission changes.

Changes and requirement coverage

  • QA-01: require the missing baseline suites alongside expanded suites, installed-consumer fixtures and preflight files; independently remove and restore nine mandatory suite/fixture paths on both CI platforms and require a path-specific foundation failure.
  • QA-02: preserve Bundler/no-ambient-types verification; install the same tarball offline in a separate NodeNext ESM consumer, compile strict declarations and negative type cases, inspect compiler file resolution, execute the emitted README quick start and reject non-exported dist subpaths at type and runtime boundaries.
  • QA-03: use the same read-only Bash preflight in the protected manual staging workflow and an Ubuntu quality-CI synthetic matrix. Check approved run/commit/digest, repository, workflow, event, branch, status, attempt and artifact name, actual archive digest/size/manifest, exact tar members and regular-file types, package metadata and valid dated release heading. Existing manual environment, permissions, stage command, last-minute main/digest checks remain; quality CI never stages.
  • Add deterministic overlapping independent observation collections with cancellation, late settlement, input immutability and independent evaluation/lineage/replay assertions.

Static coverage reconciliation

Existing suites cover the following requirements (titles inspected, not a new exhaustive runtime audit):

Boundary Existing coverage retained
Closed contracts, malformed/oversized transport, version rejection, missing/truncated observations contracts, serialized, adversarial
Exact/numeric/range/set/structured/boolean comparison, overflow and required/advisory precedence evaluate, numeric-units, objective-comparators, aggregation, conformance, expanded-conformance
Independent canonical hashes, lineage, tampering, unit and origin consistency integrity, reference, evidence-integrity, conformance
Acquisition eligibility, scoped provenance, missing/empty/truncated reports, cancellation and late settlement observation, adversarial, evidence-integrity; new overlapping regression
Hidden permutations, opaque failure, forged projection and review claims projection, qualitative, adversarial, expanded-conformance
Exact and adjacent resource bounds, 2,048 composition cases and independent oracle resources, serialized, expanded-resources, expanded-conformance
Standalone integration and public package boundary existing packed-consumer runtime/type fixtures, added NodeNext and preflight checks

No evidence of a missing runtime comparator or integrity case identified by this title-level reconciliation; deeper independent review remains required.

Verification performed

Baseline: 992cc07db7c3be6da9bb5ba3808a0f9176da56f4 (issue baseline and main at start).
Linux x86_64, jq 1.7, GNU tar 1.35: bash -n scripts/release-preflight.sh, bash -n tests/release-preflight.sh, bash tests/release-preflight.sh passed. Executed copies matched GitHub blobs db660dfe7dc6a36bebe3ea71ac03fed3b267a69a and b4dff3d8b92cf0f42e2ade3c55130602a42d66a2 respectively.
Full local frozen install, typecheck, Biome, Vitest, build/dist, packed-consumer and omission probes not run: available Node v22.16.0, pnpm unavailable, GitHub clone DNS failure. Await exact-head Ubuntu and Windows quality results; no green CI claim.

Acceptance still outstanding

  • Review changes and exact-head CI (including omission probes, preflight matrix, NodeNext marker, suite counts and resource measurements).
  • After merge, verify exact main-push CI, inspect the retained archive and source-map identity, record run ID and SHA-256.
  • Confirm release date, rights and attribution, namespace/version availability, publisher identity, actual protected environment/trusted publisher configuration, and separate maintainer authorization.
  • Leave Release readiness: close final test and packed-consumer verification gaps before 0.0.1 #35 open until acceptance; AY-I09 remains publication NO-GO. No staging, tag, registry operation or merge requested.

@christophersesugh christophersesugh left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Independent review against #35

Reviewed head f3f0ee15ed06a573890acb8b22e511a8f3c0ba4e, base 992cc07db7c3be6da9bb5ba3808a0f9176da56f4. All 11 changed-file patches inspected. PR quality run 46147086728 succeeded on Ubuntu and Windows; logs show 211/211 tests in 20 files on each, installed NodeNext declarations/emitted ESM success on both, and job steps confirm omission probes on both and preflight matrix on Ubuntu. The checked-out test merge 8be4d1270b5b8200e8590fd0673109e6fb5ff068 compares to the reviewed head with zero changed files. This is real PR execution evidence, not final main-push release evidence.

Remaining findings

P2 — QA-03: the actual staging control path is not exercised by the negative matrix. tests/release-preflight.sh:44–79 invokes only the independent run and archive modes. release.yml:47–54, 62–75 still owns artifact selection/download, stage-step gating and the final main-SHA/digest rechecks outside that tested path. For example, a regression in the final recheck or changing the stage step to run after a failed preflight would not fail any of the added tests. The current workflow does use normal success-only step semantics and fail-fast shell checks; no current unauthorized staging is demonstrated. #35 explicitly asks for evidence that rejection cannot invoke npm staging. Add a focused credential-free orchestration test (stub gh and npm, or test a shared read-only orchestration plus a workflow contract assertion) that proves a successful synthetic candidate selects the correct run/attempt and exact archive, and that rejected run/archive, failed download, stale main immediately before staging, and changed tarball immediately before staging cannot reach a staging invocation. Do not dispatch a real workflow or grant quality CI write credentials.

P3 — Full local quality command omits the new regression gates. package.json:27–39 leaves pnpm check unchanged; the omission probes and Linux preflight regression are extra CI steps. The release policy describes local and CI verification as equivalent. A maintainer can run the documented full local gate without running either new regression. Add explicit supported commands (include cross-platform omission probes in the full local gate, and make the Ubuntu-only preflight command an explicit part of the documented complete release verification procedure, with unsupported platforms clearly reported rather than silently passing). Keep local and CI instructions consistent. Do not make Bash/GNU utilities a runtime dependency.

Acceptance evidence incomplete — requirements reconciliation. The PR itself accurately limits its coverage table to test titles. #35 asks to reconcile final requirements with actual source and packed-consumer assertions, not just titles. Before closing the issue, attach a focused requirement-to-test/assertion crosswalk referencing the accepted contract requirements and exact-head execution, including comparator/aggregation, canonical bytes, invalid inputs, version/lineage, projection, resource limits and overlapping acquisition. Identify any uncovered cases or explicitly document why existing assertions suffice. This can live in the canonical context/review record rather than polluting public package docs. The added overlapping collection test is meaningful and I found no concrete runtime regression in this targeted diff review.

Original findings status

  • QA-01: source correction and nine omission probes present and passing on both platforms.
  • QA-02: source correction present; separate offline installed NodeNext consumer compiles strict types, checks file resolution and rejected deep import, executes emitted quick start; both CI logs confirm success. Bundler gate retained.
  • QA-03: read-only validator and positive/negative matrix present, Ubuntu CI passed; orchestration evidence remains incomplete as above.

Not pre-merge source defects, but mandatory before issue/release acceptance

Keep #35 open (PR correctly avoids automatic closure). After all corrections, require fresh exact-head PR checks, then exact main-push CI and independent retained tarball inspection including manifest, source maps/source identity, digest and notices. Confirm release date, rights/attribution, npm scope/version availability, publisher identity, actual protected environment/trusted publisher setup, and separate approval. macOS remains optional. Do not stage or publish as part of this review.

Local verification limitation: Node v22.16.0, pnpm absent, GitHub clone DNS failure independently observed here; no local full suite rerun. Remote CI logs were inspected, not newly executed by this reviewer. Outcome: corrections required; final release readiness inconclusive / publication NO-GO.

Copy link
Copy Markdown
Contributor Author

Review corrections

P2: manual protected workflow uses a single scripts/stage-release.sh entry point for approval, exact run/attempt selection, download, archive validation, final main/digest rechecks and staging. Credential-free tests exercise this exact entry point with fake gh/npm/node and exact command/trace/byte assertions: approved candidate invokes stub once; stale initial main, rejected run/archive, download failure, stale final main and changed final archive cannot reach it. Original isolated validation matrix retained.

P3: pnpm check includes pnpm check:presence; omission probes run in a temporary copy, not the working tree. CI uses the same commands. Ubuntu release verification additionally runs pnpm check:release-preflight; unsupported Windows/macOS local execution must be recorded as not run. No dependency, runtime contract or release permission change.

Assertion-level coverage reconciliation

Accepted specifications 0001–0006, with current generation-4 amendment and authorized 0.0.1 metadata, govern this targeted crosswalk at 914896d0b5c427ad2d50c92b50847a445bf4caae. Actual assertions inspected, not just test titles; not exhaustive input-space proof.

Requirements Actual source and assertion evidence Disposition
ASY-01–13, 28–31, 41–42 tests/contracts.test.ts:44–76 rejects empty required sets, duplicates, unknown kinds and versions; tests/evaluate.test.ts:144–258 asserts exact/normalized comparison, inclusive tolerance and overflowed tolerance → evaluation_error/NUMERIC_OVERFLOW, overflowing difference → fail; tests/conformance.test.ts:188–365 independent generated range/set/boolean/text and binding truth table; tests/expanded-conformance.test.ts:200–245 2,048 independently expected composition outcomes, authored leaf order, warnings, coverage, projection and replay. src/evaluation/evaluate.ts:44–115 validates definition/references/evidence before comparison and shared aggregation. Existing independent positive, negative and boundary oracles retained.
ASY-01, 17, 23–27, 39, 45 tests/conformance.test.ts:83–182 checks independent sorted serializer and SHA-256 in all v4 domains, changed evidence digest, replay and missing references; tests/evidence-integrity.test.ts:81–194 independent fixed digest, tampered evidence rejected before port, legacy and foreign lineage rejection, origin/order changes identity; tests/consumer/version-vectors.mjs:18–111 installed fixed bytes/digests, schema 4, evaluator v0.0.5, policy and lineage, retired versions rejected. No identity or semantics change; rerun same independent vectors.
ASY-03, 19, 28, 38, 41, 43 tests/contracts.test.ts:121–202 rejects restricted literal, nonfinite and oversized objects before descriptor allocation; tests/adversarial.test.ts:51–114 rejects malformed JSON, duplicate decoded names, unsafe objects with no getter calls and redacted failure; tests/expanded-conformance.test.ts:286–348 malformed nondecisive alternate/review records still invalid, distinguishes invalid evidence/reference/definition; tests/qualitative.test.ts:213–302 feedback/citation boundaries and malformed review. Existing closed-input tests suffice for tooling change.
ASY-06, 14–17, 30, 33–36, 42–44 src/observation/collect.ts:72–107 per-call cancellation; src/observation/collect.ts:148–265 validated requests, evidence and receipts; tests/adversarial.test.ts:221–276 truncation, empty/unsolicited reports, no expected values; tests/observation.test.ts:867–919 overlapping requests, cancel one while other passes, late settlement ignored, foreign lineage invalid, replay and input immutability; tests/qualitative.test.ts:136–185 review variants/uncertainty never grant binding credit, manual leaf inconclusive; tests/qualitative.test.ts:311–369 review excluded from acquisition, supplied review preserved. Overlap gap addressed; actual runner termination, provenance and host concurrency caps remain host-owned.
ASY-18, 27, 37, 42, 44 tests/projection.test.ts:308–434 hides restricted identifiers and gives identical public bytes across hidden outcomes, including advisory; tests/projection.test.ts:478–500 opaque rejection of forged inputs; tests/expanded-conformance.test.ts:247–283 exactly one public byte sequence across hidden objective/review permutations, no canaries; tests/consumer/standalone-assessments.mjs:639–752 installed restricted projection invariance and forged aggregate rejection. Existing equality and correspondence assertions retained; host authorization and timing controls are not library claims.
ASY-19, 38, 41, 43, 46 tests/resources.test.ts:60–169 exact transport/node/string/depth caps and +1 rejection, 64 criteria, replay/projection; tests/resources.test.ts:258–311 independent protected reference snapshot exact/+1, pass vs invalid_reference, no findings; tests/expanded-resources.test.ts:142–234 64 groups/leaves/children and 127 edges, invalid adjacent graphs; tests/expanded-resources.test.ts:339–414 exact combined evidence cap, independent digest and +1/transport rejection. Retain measured outputs on final candidate; no worst-case guarantees.
ASY-20–22, 32, 39–40, 46 scripts/check-foundation.mjs:11–130 manifest, source/required suite guard; scripts/verify-package.mjs:77–241 exact export/allowlist, offline no-script installation, no runtime deps/lifecycle, license/notice, canaries; scripts/verify-package.mjs:260–407 shipped README, isolated Bundler/NodeNext declarations, native runtime export rejection; tests/consumer/standalone-assessments.mjs:90–134 expected complete outcomes/lineage and opaque failure; tests/consumer/standalone-assessments.mjs:334–481 verified scoped receipt, unchanged inputs, no grade/credential/trust, provider errors and forged aggregate rejection. New orchestration covers rejection before staging; external authorization and main artifact evidence remain open.

Prior independent review reports CI 46147086728 at f3f0ee15ed06a573890acb8b22e511a8f3c0ba4e passed 211 tests in 20 files on both platforms, including NodeNext. The mapped runtime/consumer assertions remain unchanged. This does not establish the new staging/omission gates at the correction head; fresh CI and independent review required. Local full check not run: Node v22.16.0, pnpm absent, GitHub clone DNS failure. No real stage/publish/tag or merge. Keep #35 open through exact-main CI, retained archive inspection and external acceptance.

@christophersesugh christophersesugh left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Follow-up verification against #35

Reviewed corrected head 914896d0b5c427ad2d50c92b50847a445bf4caae against prior reviewed head f3f0ee15ed06a573890acb8b22e511a8f3c0ba4e. Compared the ten changed paths and inspected the corrected staging entry point, preflight suite, workflow, local commands, isolated omission probes and coverage record.

  • P2 staging control path: addressed in source. The protected workflow invokes the single scripts/stage-release.sh path, which performs approval, exact run/attempt selection, download, archive verification and final main/digest checks before staging. The synthetic tests invoke that same path with isolated environment and fake gh/npm/node, assert exact arguments and digest, and require no staging invocation for rejected run/archive, failed download, stale initial/final main and altered final archive. No new blocking source finding identified.
  • P3 local gate: addressed in source. pnpm check now includes check:presence; CI uses the same commands. The probes operate in a temporary copy, and the release policy explicitly requires Ubuntu check:release-preflight with nonexecution recorded on unsupported local platforms.
  • Requirements reconciliation: addressed at the targeted review level. The correction comment supplies an assertion-level crosswalk with pinned file ranges. I checked representative actual assertions covering independent canonical digests/replay, the 2,048 composition cases, hidden projection invariance, exact/adjacent graph limits, overlapping acquisition and installed consumer projection/lineage. This is substantive evidence rather than a title inventory; not an exhaustive input-space proof. Runtime/consumer test files are unchanged from the previous reviewed head.

Execution still pending: quality run 46147653173 is pending for this exact head, with no jobs/results returned yet. The previous successful run 46147086728 cannot certify the changed staging/omission gates. No fresh local execution performed (Node 22.16.0, pnpm unavailable). Require both platform jobs green, omission probes, Ubuntu orchestration marker and packed NodeNext consumer evidence before considering the PR ready for maintainer merge.

No additional source correction requested at this point. Overall verification remains inconclusive pending exact-head CI; this comment is not approval or publication authorization. Keep #35 open until exact-main CI and independent retained artifact inspection plus external AY-I09 gates are complete.

@christophersesugh
christophersesugh merged commit dc898f9 into main Nov 28, 2026
2 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