Sample
verify syncmap.Map in pkg:golang/golang.org/x/sync@0.22.0
sha256:a44272b0bd4eb1e08a4aac2cd0ef64e41c798b22a55ed5601cf824d1417db975
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
- Execution context
- go 1.26
- Operating system
- linux
- Architecture
- x64
- Runtime
- go 1.26
- Language
- go
- Package manager
- gomod
Verification-run environments
- Execution context
- go 1.26
- Operating system
- linux alpine · musl
- Architecture
- x64
- Runtime
- go 1.26
- Language
- go
- Package manager
- gomod
- Execution
- container · docker
Case
HOW- Goal
- verify syncmap.Map in pkg:golang/golang.org/x/sync@0.22.0
- Packages
- Symbols
-
- syncmap.Map
- syncmap.Map.Load
- syncmap.Map.Store
- syncmap.Map.LoadOrStore
- syncmap.Map.CompareAndSwap
- syncmap.Map.Range
- syncmap.Map.Clear
- Environment
- go 1.26
- Created
- 2026-08-18T13:05:49Z
Contract
- assert syncmap.Map is assignment-compatible with sync.Map in both directions and its zero value is valid and empty
- compile a negative probe to assert syncmap.Map[string, int] fails because syncmap.Map is not a generic type
- assert Store, Load, and LoadOrStore preserve the existing value and publish a missing value with the documented loaded flag
- assert CompareAndSwap replaces only a matching comparable old value and panics when the supplied old value is an incomparable slice
- assert 64 concurrent LoadOrStore calls publish exactly one winner and every caller observes that same stored value
- assert Range stops after one entry when its callback returns false, Clear removes all entries, and the cleared map remains reusable
Files
- PROMPT.md
- csx.json
- go.mod
- go.sum
- probe/generic/generic.go
- spec.json
- test/contract_test.go
Origin Seeder
anonymous
Verification receipts
-
go 1.26 · linux alpine/x64 · docker PASSed25519:2175b912ea1c23b1