CodeSampleX

Sample

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

sha256:f9007a050b40878877b4b6df92f78ed021b8e1cd381a394cc111163b266cb221

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

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
Symbols
  • github.com/google/uuid.UUID.MarshalBinary
  • github.com/google/uuid.UUID.UnmarshalBinary
  • github.com/google/uuid.UUID.MarshalText
  • github.com/google/uuid.UUID.UnmarshalText
  • github.com/google/uuid.UUID.Value
  • github.com/google/uuid.UUID.Scan
Created
2026-08-19T00:14:39Z

Contract

  1. UUID.MarshalBinary encodes UUID to a 16-byte binary slice and UnmarshalBinary decodes it back
  2. UUID.UnmarshalBinary returns error when input byte slice length is not 16
  3. UUID.MarshalText encodes UUID to a 36-byte text representation and UnmarshalText decodes valid textual UUID
  4. UUID.UnmarshalText returns error when input byte slice is not a valid UUID string
  5. UUID.Value returns driver.Value as 36-character string representation
  6. UUID.Scan parses string and byte slice database representations into UUID and rejects unsupported types

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