Skip to content

[codec][P0] Publish-blockers: Node-runnable artifact + networks barrel + release.yml + Rust coverage #17

@ignromanov

Description

@ignromanov

Re-audit 2026-05-29 (PR #7). Must clear before the first non-yanked npm publish (Phase 3). Not merge blockers.

  • B2 (P0) — published artifact is non-Node-runnable: build runs wasm-pack --target bundler; pkg/void_layer_codec.js + dist/index.js do import * as wasm from "./void_layer_codec_bg.wasm"ERR_UNKNOWN_FILE_EXTENSION in plain Node ESM (the AC-9 Node-only target). A build:nodejs script exists but is unwired into the published flow.
  • (P1) networks barrel: packages/networks/src/index.ts eagerly re-exports ./wagmi.js, which hard-imports viem (declared an OPTIONAL peerDep) → import { CHAINS } from '@void-layer/networks' crashes when viem is absent. Make the wagmi re-export lazy/subpath.
  • (P1) release.yml: workflow_dispatch-only; runs pnpm changeset publish with no prior changeset version (so it ignores accumulated changesets) and no --locked; npm Trusted Publisher / auth (PF-4) unwired.
  • (P1) Rust coverage gate: Constitution X 80% gate (vitest.config.ts) measures only the 328-LOC TS shim; the 4283-LOC Rust crate has no coverage measurement or gate.

Source: 43-agent audit + completeness critic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions