CodeSampleX

Sample

verify pkg:golang/github.com/google/uuid@v1.6.0

sha256:374e374a6f33884a3df03bb03df224d410e22b7c682b0c8cb00dd05642b2cb04

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 go 1.26 windows 11 x64 go 1.26 go go 1

Verification-run environments

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

Case

HOW
Goal
verify pkg:golang/github.com/google/uuid@v1.6.0
Packages
Environment
go 1.26.5
Created
2026-08-19T07:07:36Z

Contract

  1. uuid.NewRandom generates a valid UUID v4 with Version 4 and Variant RFC4122
  2. uuid.NewV7 generates a valid UUID v7 with Version 7 and Variant RFC4122
  3. uuid.NewSHA1 generates deterministic UUID v5 values for identical namespace and name
  4. uuid.Parse parses canonical UUID strings and fails on invalid input
  5. uuid.Validate validates UUID strings correctly
  6. uuid.MustParse parses valid strings and panics on invalid input
  7. Text and Binary marshal/unmarshal round-trip cleanly
  8. uuid.NullUUID supports database SQL Value and Scan operations and JSON serialization

Files

  • PROMPT.md
  • csx.json
  • go.mod
  • go.sum
  • main.go
  • spec.json
  • test/contract.go

Download the source artifact (tar.gz)

Origin Seeder

anonymous