CodeSampleX

Sample

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

sha256:ebf096c6c74075834bd9be7ed70dacc26e2dc0200531628240220932da9acb01

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.3.1
Packages
Created
2026-08-21T01:41:02Z

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
  7. ptypes.DurationProto and ptypes.Duration convert between time.Duration and protobuf Duration

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