Skip to content

Release readiness: close final test and packed-consumer verification gaps before 0.0.1 #35

Done

Description

@christophersesugh

Objective

Close the remaining independent verification gaps before the first public npm release of @0xbuff/[email protected]. This is a quality and release-readiness issue, not publication authorization.

Reviewed baseline: main 992cc07db7c3be6da9bb5ba3808a0f9176da56f4 (merged PR #34). Package contract: schema 4, evaluator v0.0.5, Node 24+, ESM, no runtime dependencies. The current suite already includes deterministic conformance, independent hash vectors, 2,048 expanded composition cases, adversarial tests, resource boundary measurements, and independent offline packed-consumer integration. Preserve those checks.

Confirmed verification gaps (static inspection)

QA-01 — P2: Required adversarial/conformance/resource suites can disappear without a suite-presence failure

scripts/check-foundation.mjs:101–121 explicitly requires many test files but omits tests/conformance.test.ts, tests/adversarial.test.ts, and tests/resources.test.ts, all present at the reviewed revision and documented as mandatory. Vitest configuration only prevents the entire suite from being empty. Consequently removal of one of these files is not rejected by the foundation file-presence check, and the generic Vitest glob does not require it to exist. This is a missing guard, not a claim that files are currently absent.

Reproduction to run on a disposable checkout: temporarily move each omitted file out of the test tree individually, run pnpm check:foundation and inspect the Vitest collection. Restore the file afterward. Expected: mandatory suite absence is a hard gate failure. Add explicit suite-presence coverage (including expanded suites and consumer fixtures), and verify the guard rejects removal without introducing a brittle fixed test-count assertion.

QA-02 — P2: Native Node TypeScript consumer resolution is not covered by the packed-package gate

scripts/verify-package.mjs:280–303 typechecks the installed package only using ESNext/Bundler resolution. The package advertises Node ESM, so a downstream Node application using TypeScript's NodeNext module and resolution modes also needs verification. A successful Bundler check cannot establish that native Node declaration resolution works.

Add an independent installed consumer with "type": "module", module: "NodeNext", moduleResolution: "NodeNext", strict checking and skipLibCheck: false. Compile and execute a representative emitted ESM integration from the same verified tarball. Preserve the existing Bundler/no-ambient-types check. Verify root imports, intended export boundaries, type-level rejection cases and no source/workspace resolution. No declaration defect has been reproduced yet.

QA-03 — P2: Release preflight is not exercised by quality CI

Quality workflow builds, verifies and retains an archive, but the approval/run/manifest/digest/date checks in the manual staging workflow are not exercised as a negative-case test matrix by the quality gate. This leaves the last package-selection boundary without routine regression evidence.

Extract or otherwise make the read-only validation path testable without registry access, OIDC, publishing credentials or protected-environment approval. Test an approved synthetic candidate and reject wrong repository/workflow/event, non-main or stale SHA, unsuccessful/incomplete run, mismatched attempt/artifact, digest and size mismatches, wrong archive contents/package metadata, missing dated release notes and missing approval values. Ensure a rejection cannot invoke npm staging. Keep the real staging operation manual and protected. Do not weaken existing checks, grant CI write permissions, or perform a registry operation.

Final verification and acceptance (not yet executed)

  • Reconcile the final requirements against source and packed-consumer tests; record any genuinely missing positive, negative, boundary, deterministic replay, concurrency, resource, and restricted-data cases. Add targeted tests for actual gaps, not duplicate coverage. Exercise independent overlapping collection/evaluation calls, cancellation and late settlement with deterministic control; assess whether existing coverage already suffices.
  • Preserve independent comparator/composition and canonical hash oracles; test malformed records, unsupported generations, missing/truncated evidence, numeric overflow, reference/evidence lineage, projection invariance, and exact limit/+1 cases. Keep all fixtures synthetic. Treat host execution isolation/authentication and overall resource/concurrency limits as host responsibilities.
  • Run frozen install, unchanged lockfile, foundation, strict typecheck, Biome, all Vitest suites, build/dist, and offline packed-package verification on Ubuntu and Windows using the required Node 24 / pnpm 11.2.2 toolchain. Record actual commands, counts, OS/architecture, SHA, results and resource measurements. Include native NodeNext consumer gate and exact README example. Consider a macOS smoke check as additional compatibility evidence, not an existing contract requirement.
  • Obtain successful main-push quality run for the final exact SHA after all corrections and any changelog date changes. Independently inspect the retained ZIP/tarball, eight-file allowlist, source maps and source identity, notices, dependency/lifecycle metadata, package version and SHA-256; record run ID and artifact digest. Do not reuse the previous candidate's artifact or PR-only success.
  • Confirm intended release date (current changelog proposes 2026-11-28), contributor rights/attribution, npm namespace and version availability, publisher identity, actual protected environment/trusted publisher stage-only configuration and separate maintainer authorization. A green suite is not publication approval. Do not dispatch staging, create a placeholder/tag, publish, or approve release as part of this issue.

Evidence and limitations

Static inspection of the root agent instructions, release/development docs, package metadata, CI/staging workflows, package and foundation verifiers, public entry, selected collector/projection implementations, and selected conformance/adversarial/resource tests at the pinned main revision. Prior verification records are useful but do not cover the new dated candidate. The connector returned no PR-triggered workflow runs or combined statuses for this main merge; that does not establish main CI failure or success. No full local execution: available Node is v22.16.0, pnpm is absent, and GitHub clone fails DNS resolution. No new tests were executed, no runtime defect is claimed, and this is not an exhaustive source audit. Retest after corrections.

Outcome: technical verification inconclusive; publication remains NO-GO until final evidence and external approval gates are satisfied.

Activity

  1. christophersesugh commented on Nov 28, 2026

    @christophersesugh
    ContributorAuthor

    Post-merge technical acceptance evidence (2026-11-28)

    PR #36 merged at dc898f99b62d49c6ff0de94d2f8bafc0017a026b, tree 37349c448feff1cc658593cecb6d22b7e003311d. Independently checked the current main ref and quality run 46148569552: main push, attempt 1, completed/success. Both Ubuntu and Windows logs confirm exact checkout, x64, Node v24.22.3, npm 11.19.1, pnpm 11.2.2, frozen install, unchanged lockfile, check:foundation, check:presence, typecheck, check:style, test (211/211 in 20 files on each), build and verify:package including installed scenarios and NodeNext ESM/declarations. Ubuntu also passed check:release-preflight including stubbed orchestration. Requirements crosswalk remains applicable; subsequent change before merge was formatter-only.

    Downloaded actual artifact ID 15265020760 (name assay-verified-dc898f99b62d49c6ff0de94d2f8bafc0017a026b-1). Independently inspected bytes using Python zipfile/tarfile/hashlib, not just verifier logs. ZIP CRC passed; exactly assay.tgz and manifest.json. ZIP size 77114, SHA-256 ba1831291bf366cb702376947a46b1e30314684bb257270180cb1053bcca2759 matches GitHub. Tarball size 76196, SHA-256 617850ccd6001a5052163d6dd212c1d2347067c15593954e61d45ac756f2fa97 matches manifest and both platform logs. All eight regular files and sizes match manifest; package metadata @0xbuff/assay 0.0.1, public ESM, Apache-2.0, Node >=24, root-only export map, no runtime/optional/peer/bundled dependencies or lifecycle hooks. License and copyright notice present. Source map v3 names index.js, nonempty mappings, 29 unique embedded src files; independently computed Git blob SHA-1 from each embedded source's UTF-8 bytes plus the five shipped authored files: 34/34 match the exact main tree. Known synthetic private canaries absent from JS, declaration and source map; this is not an exhaustive secrets audit. Changelog heading dated 2026-11-28; intended release date still requires maintainer confirmation.

    Resource logs preserve full samples (not timing gates). Observed expanded workload ranges in milliseconds, Ubuntu / Windows, five samples each: maximum graph seal 7.86–18.43 / 12.86–29.31; graph evaluation/projection 8.16–12.84 / 12.18–16.27; maximum review seal 23.11–43.43 / 41.46–61.88; review verify/evaluate 37.46–44.06 / 53.60–71.22; three maximum serialized records 11.57–17.21 / 15.84–22.91. Graph 64 groups/leaves/root children, 127 edges, depth 8; review 63 records, 504 citations, 262144 snapshot bytes; three transports 786432 combined bytes. Logs include memory deltas; no worst-case guarantees.

    Technical CI and independent artifact inspection satisfied for this exact candidate. No local rebuild or optional macOS smoke run. External gates remain unverified: actual date approval, contributor rights/attribution, npm scope/version and publisher identity, protected environment/trusted publisher configuration, explicit release decision. Keep issue open; no registry mutation, staging, tag or publish authorized.

  2. christophersesugh commented on Nov 28, 2026

    @christophersesugh
    ContributorAuthor

    Maintainer confirmed Apache-2.0 rights/attribution, @0xbuff namespace permissions and account 2FA, npm-stage environment protections, version 0.0.1 and intended date 2026-11-28. Explicitly authorized first staging only, not final publication. Context PR #111 records the limited AY-I09 decision and exact candidate bindings. Rechecked actual retained artifact's ZIP CRC and digest, tarball digest/size, manifest/eight regular files and package metadata without rebuilding. Await decision review/merge, maintainer-authenticated read-only identity/version/pending-stage checks, first stage ID and digest, actual trusted publisher settings and separate publication approval. No npm operation, workflow dispatch, environment variable modification, tag or publication performed. Keep issue open.

  3. christophersesugh commented on Nov 28, 2026

    @christophersesugh
    ContributorAuthor

    Maintainer requested an additional official documentation homepage metadata correction before first staging. Source PR: #37. Hold first staging while this correction is reviewed and verified; previously approved dc898f9 archive and digest are historical, not the intended corrected release. After merge require fresh exact-main quality run, independent retained archive inspection and refreshed AY-I09 candidate binding/authorization. No registry operation performed.

  4. christophersesugh commented on Nov 28, 2026

    @christophersesugh
    ContributorAuthor

    Homepage-corrected candidate verified at main 77f892d, run 46150458243, Ubuntu and Windows 211/211 tests, Node 24.22.3/pnpm 11.2.2, all quality and installed-consumer gates passed. Actual artifact 15265157102: ZIP CRC/digest, tarball 76,216 bytes, SHA-256 19d81eb1c5b8bebd4f093a70c788125e9a93f510a02471a7eb81e7a095599e72, eight regular files/manifest and 34/34 Git blob hashes match. Compared prior and new archive: seven files byte-identical, only package.json homepage differs. Candidate refresh https://github.com/0xbuffdev/context/pull/114; requires merge and renewed exact-candidate first-stage approval. No registry changes. External acceptance remains open.

  5. christophersesugh commented on Nov 28, 2026

    @christophersesugh
    ContributorAuthor

    Maintainer reports authenticated first staging of @0xbuff/[email protected] on 2026-11-28 13:52:31.501Z, stage ID c255bd7e-4f31-4f10-9959-360a597a2c58, publisher sezugh, public access, latest, status validating. Independently computed SHA-1 of actual retained CI tarball (artifact 15265157102) using hashlib: e3035e6c83255b763a029db599f5c30953e64110, matches the maintainer's npm stage list output. Tarball SHA-256 remains 19d81eb1c5b8bebd4f093a70c788125e9a93f510a02471a7eb81e7a095599e72. Registry-side validation, downloading and SHA-256 verification of actual staged bytes, package-specific trusted publisher settings and separate final publication authorization remain outstanding. No final publication or tag authorized.

  6. christophersesugh commented on Nov 28, 2026

    @christophersesugh
    ContributorAuthor

    Staged candidate acceptance evidence — 2026-11-28

    Maintainer supplied authenticated npm stage view and download output for stage c255bd7e-4f31-4f10-9959-360a597a2c58: status staged (validation completed), @0xbuff/[email protected], public, latest, staged by sezugh. Eight files listed; downloaded staged tarball SHA-256 19d81eb1c5b8bebd4f093a70c788125e9a93f510a02471a7eb81e7a095599e72 exactly matches independently inspected retained CI artifact 15265157102, and SHA-1 matches e3035e6c83255b763a029db599f5c30953e64110. This comparison uses maintainer's terminal evidence, not direct authenticated registry access. Confirmed Context PR #114 merged and current Assay main remains 77f892dc4b5df754576d7fd47b5e9de01ec24920.

    Maintainer screenshot shows npm trusted publisher configuration 0xbuffdev/assay, release.yml, npm-stage, only npm stage publish permission. Matches actual workflow. OIDC validation remains pending, with displayed deadline 2026-11-30 14:00 UTC; do not claim it has executed successfully, and recreate/revalidate configuration before a future authorized workflow if expired. The existing stage was created via owner-authenticated local session, not OIDC. Do not duplicate staging. Rights, date, account permissions and GitHub environment protections remain maintainer attestations.

    Technical and staged-byte verification passed; package-level configuration evidenced, actual OIDC operation untested. Final publication authorization remains outstanding and must be separately documented under AY-I09. No approval, tag, dispatch or additional registry mutation performed by assistant. Issue stays open until acceptance evidence and explicit final decision are recorded.

  7. christophersesugh commented on Nov 28, 2026

    @christophersesugh
    ContributorAuthor

    Maintainer explicitly authorizes final public npm publication of @0xbuff/[email protected], exact stage c255bd7e-4f31-4f10-9959-360a597a2c58. Canonical final release decision proposed in https://github.com/0xbuffdev/context/pull/116. All technical verification and maintainer prerequisite evidence recorded; trusted publisher OIDC execution remains untested. Merge decision before human npm approval; close issue after decision merge/acceptance recording. AY-I09 remains in progress pending publication and public registry verification. No registry operation or tag performed by assistant.

  8. christophersesugh commented on Nov 28, 2026

    @christophersesugh
    ContributorAuthor

    Final release acceptance — 2026-11-28

    Context PR #116 merged at 9288949c3346931ef1c6545a341e42c34805b214, recording explicit approval for the existing exact stage. Assay main is still 77f892d. The maintainer reports successful publication, expected registry metadata/latest tag, matching public tarball SHA-256 and green corrected isolated ESM smoke test. Actual earlier terminal output showed successful install of @0xbuff/[email protected], Node v24.22.0, evaluator export/schema assertions passed and expected evaluator identity v0.0.5; the initial smoke failure was our incorrect assertion without the v prefix, subsequently corrected and reported passing. No source change or republication required.

    All issue #35 pre-release acceptance requirements are met: source and assertion reconciliation, exact-main matrix, independent retained artifact inspection, staged-byte digest comparison and package-specific stage-only configuration, maintainer rights/account/environment attestations and separately merged final release approval. Actual public registry checks are maintainer-reported; independent unauthenticated fetch from this environment is unavailable (registry DNS failure and web endpoints inaccessible). OIDC remains pending, no trusted workflow dispatch performed. Close this pre-release issue; record the post-publication verification limitation in AY-I09 until credential-free registry evidence is obtained. No GitHub tag/release or other registry mutation authorized or performed by assistant.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions