CodeSampleX

Sample

Detect a mismatched constant definition in Zeitwerk 2.6.0

sha256:e79d7fbde23f88b21dd9a8c2975f77a34805c07c60bfddbae43c7a862f4d57fd

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Detect a mismatched constant definition in Zeitwerk 2.6.0 HOW
Packages
zeitwerk 2.6.0
Environment
ruby
Created
2026-08-17T02:50:27Z

Commonly assumed

Zeitwerk silently skips a file that defines a different constant than its path implies

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts