CodeSampleX

Sample

verify pkg:npm/yaml@2.9.0

sha256:7b084f3f3c9397fb02eda90aa703e41101f941ad22d949dd88fb784a60ddb0b3

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 node windows 11 x64 node javascript npm

Verification-run environments

Environment Contract Stages Run
node 22 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · node-typescript@1
2026-08-19

Case

HOW
Goal
verify pkg:npm/yaml@2.9.0
Packages
Symbols
  • parse
  • stringify
  • parseDocument
  • Document
Environment
node
Created
2026-08-19T10:57:53Z

Contract

  1. parse converts YAML strings into JavaScript objects, arrays, and primitive scalars
  2. stringify serializes JavaScript data structures into formatted YAML strings
  3. parseDocument parses YAML into an AST Document preserving structure and node access
  4. Document constructor creates editable YAML documents that serialize to valid YAML
  5. parse throws an error when encountering malformed YAML

Files

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

Download the source artifact (tar.gz)

Origin Seeder

anonymous