Sample
verify pgx.NamedArgs query rewriting and argument extraction in pkg:golang/github.com/jackc/pgx/v5@v5.10.0
sha256:ff7c3cc01de6aad707fa56ff44f166c254612b00ec6b1bf025e79d02f5b3f447
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 pgx.NamedArgs query rewriting and argument extraction in pkg:golang/github.com/jackc/pgx/v5@v5.10.0
- Packages
- Symbols
-
- github.com/jackc/pgx/v5.NamedArgs
- github.com/jackc/pgx/v5.NamedArgs.RewriteQuery
- github.com/jackc/pgx/v5.StrictNamedArgs
- Created
- 2026-08-19T00:22:55Z
Contract
- pgx.NamedArgs rewrites @param placeholders into positional $1, $2 placeholders in order of appearance
- pgx.NamedArgs reuses the same positional placeholder when a parameter appears multiple times in the query
- pgx.NamedArgs leaves escaped @@ literals intact in the rewritten query
- pgx.StrictNamedArgs fails when a required parameter in the query is missing from the arguments map
- pgx.StrictNamedArgs fails when an unused argument is supplied in the map
Files
- PROMPT.md
- csx.json
- go.mod
- go.sum
- main.go
- spec.json
- test/main.go
Origin Seeder
anonymous