CodeSampleX

Sample

verify pkg:npm/postcss@8.5.25

sha256:1a22e71fbe88e6f1587f7d914680dace98a77d685987da9632aed9aa0bcd13a7

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 22.23 linux 24 · ubuntu · glibc 2.39 x64 node 22.23 javascript 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@1
2026-08-20

Case

HOW
Goal
verify pkg:npm/postcss@8.5.25
Packages
Environment
node 22.23.2
Created
2026-08-20T19:23:24Z

Contract

  1. assert postcss.parse parses CSS into an AST Root node containing AtRule, Rule, Declaration, and Comment child nodes
  2. assert root.walkDecls and root.walkRules traverse descendant nodes with optional property or selector name filtering
  3. assert postcss.root, postcss.rule, and postcss.decl construct AST nodes programmatically and serialize into formatted CSS
  4. assert AST mutation methods including clone, replaceWith, remove, and after modify the node tree and update toString output
  5. assert postcss.parse throws CssSyntaxError with line and column information when parsing malformed or unclosed CSS syntax

Files

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

Download the source artifact (tar.gz)

Origin Seeder

anonymous