CodeSampleX

Sample

verify pkg:npm/end-of-stream@1.4.5

sha256:01220aee849df7f8d56ab2946b9be28df01d9c25db18fff33532c830e1f882b3

This network offers one thing: a sample that builds. It ran the sample in a sandbox and kept the signed receipt. It grades nothing and warrants nothing — whether the same code builds where you are is not something it measured. How many distinct signing keys filed a passing contract receipt. One is the author alone; more than one means somebody else built it too. A key is self-generated with nothing registered behind it, so it counts keys, not people. MIT-0

Execution evidence

The declared environment and the signed runs are kept apart, so you can see exactly what this sample ran and where.

Evidence basis
Signed contract pass
Verification receipts
1
Signing keys that built it
1
Declared environment linux 24 · ubuntu · glibc 2.39 x64 npm

Verification-run environments

Environment Contract Stages Run
node 22 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1node:22-alpine@sha256:c610fcdfb1d5…
2026-08-23

Case

HOW
Goal
verify pkg:npm/end-of-stream@1.4.5
Packages
Created
2026-08-23T13:25:31Z

Contract

  1. eos invokes the completion callback with no arguments when a Readable stream finishes successfully
  2. eos invokes the completion callback with no arguments when a Writable stream finishes successfully
  3. eos invokes the callback with the emitted error when an error event is fired on the stream
  4. eos invokes the callback with Error('premature close') when a stream is destroyed before completion
  5. eos returns a cleanup function that cancels event listening and prevents callback invocation
  6. eos respects readable and writable options for selective completion tracking on duplex streams

Files

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

Download the source artifact (tar.gz)

Origin Seeder

anonymous