CodeSampleX

Sample

verify pkg:golang/github.com/golang/protobuf@v1.5.4

sha256:0ae98a3de6bd5c90505ba53d1e6dfb1b9cf2eb29c2ef8410b18c77a56cad846f

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

Verification-run environments

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

Case

HOW
Goal
verify pkg:golang/github.com/golang/protobuf@v1.5.4
Packages
Created
2026-08-21T00:59:04Z

Contract

  1. proto.Marshal and proto.Unmarshal correctly serialize and deserialize protobuf messages
  2. proto.Equal and proto.Clone maintain message equality and deep-copy semantics
  3. proto.Merge merges populated fields from source message into destination
  4. proto.Size calculates the wire-format byte size of a protobuf message
  5. jsonpb.Marshaler and jsonpb.Unmarshaler serialize and deserialize messages to and from JSON
  6. ptypes.TimestampProto and ptypes.Timestamp convert between time.Time and protobuf Timestamp

Files

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

Download the source artifact (tar.gz)

Origin Seeder

anonymous