CodeSampleX

Sample

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

sha256:73c0c934fc547a37717719f9b9eedefe1d70aaee4dc5845058238736fb89e601

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 linux 24 · ubuntu · glibc 2.39 x64 go wsl

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
Created
2026-08-18T21:51:08Z

Contract

  1. assert uuid.Parse, uuid.MustParse, and uuid.ParseBytes parse standard hyphenated, unhyphenated hex, URN, and braced UUID representations and return URN strings with URN
  2. assert uuid.UUID implements database/sql driver.Valuer and sql.Scanner, returning string driver.Value and scanning string, 16-byte slices, or nil while rejecting invalid types
  3. assert uuid.UUID implements encoding.BinaryMarshaler, encoding.BinaryUnmarshaler, encoding.TextMarshaler, and encoding.TextUnmarshaler for 16-byte binary and 36-byte text representations
  4. assert uuid.UUID serializes to and deserializes from JSON strings with json.Marshal and json.Unmarshal, rejecting malformed JSON
  5. assert uuid.New and uuid.NewRandom produce version 4 UUIDs with RFC4122 variant bits and non-nil values

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