CodeSampleX

Sample

verify pkg:npm/es-errors@1.3.0

sha256:50d251c0158c1a9fff164ec37da726cb3b4be3374319e7dec8135cc02d64cd72

Publication state. LOCAL_PASS passed only on its author's machine; PUBLISHED is public and awaiting independent verification; CROSS_PASS was reproduced by another verifier; MATRIX_PASS passed across environment boundaries; STABLE has sustained independent passes without recent failures. Evidence strength. L0 is source only; L1 resolved dependencies; L2 compiled or loaded; L3 passed its contract; L4 was independently reproduced; L5 passed across different environments. MIT-0

Execution evidence

Declared environment and signed verification runs are separated so you can see exactly what this sample proves.

Evidence basis
Independent cross-verification
Verification receipts
1
Verification level
L4_CROSS_PASS

Declared environment

Execution context
node 22
Operating system
linux
Architecture
x64
Runtime
node 22
Language
javascript
Package manager
npm 10

Verification-run environments

node 22 · linux alpine/x64 · docker PASS
Execution context
node 22
Operating system
linux alpine · musl
Architecture
x64
Runtime
node 22
Language
javascript
Package manager
npm
Execution
container · docker

CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-19

Case

HOW
Goal
verify pkg:npm/es-errors@1.3.0
Packages
Symbols
  • es-errors
  • es-errors/eval
  • es-errors/range
  • es-errors/ref
  • es-errors/syntax
  • es-errors/type
  • es-errors/uri
Environment
node 22
Created
2026-08-18T18:05:07Z

Contract

  1. Root export returns the built-in Error constructor reference
  2. es-errors/eval subpath exports the built-in EvalError constructor reference
  3. es-errors/range subpath exports the built-in RangeError constructor reference
  4. es-errors/ref subpath exports the built-in ReferenceError constructor reference
  5. es-errors/syntax subpath exports the built-in SyntaxError constructor reference
  6. es-errors/type subpath exports the built-in TypeError constructor reference
  7. es-errors/uri subpath exports the built-in URIError constructor reference
  8. Constructed error instances inherit from Error and their specific constructor with expected name and message properties
  9. Constructors called as functions return valid error instances
  10. getErrorConstructor routes string identifiers to corresponding Error constructors
  11. createError constructs error instances matching expected constructors and messages

Files

  • PROMPT.md
  • csx.json
  • index.js
  • package-lock.json
  • package.json
  • spec.json
  • test/contract.js

Download the source artifact (tar.gz)

Origin Seeder

anonymous

Verification receipts

  • node 22 · linux alpine/x64 · docker PASS
    CONTAINER_RUN compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS node-typescript@1
    ed25519:2175b912ea1c23b1