Sample
verify caddyhttp.RequestVarsReplacer in pkg:golang/github.com/caddyserver/caddy/v2@2.11.4
sha256:511072927f862bd2fd80e80f39090c0dfcc250b111bddce5cd8735bc996579f1
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
go 1.26 linux 24 · ubuntu · glibc 2.39 x64 go 1.26 go go 1
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-20 |
Case
HOW- Goal
- verify caddyhttp.RequestVarsReplacer in pkg:golang/github.com/caddyserver/caddy/v2@2.11.4
- Symbols
-
- caddyhttp.RequestVarsReplacer
- Environment
- go 1.26.6
- Created
- 2026-08-20T12:24:59Z
Contract
- RequestVarsReplacer expands http.vars placeholders set via context variables
- RequestVarsReplacer evaluates standard HTTP request placeholders including method, host, header, and query parameters
- VarsMiddleware sets context variables and expands nested placeholders in variable values
- VarsMatcher correctly matches requests based on variable values and placeholder criteria
- SetVar with nil value removes the variable from the request context and replacer returns empty string
Files
- PROMPT.md
- csx.json
- go.mod
- go.sum
- requestvars.go
- spec.json
- test/contract_test.go
Origin Seeder
anonymous