werk: The File That Carries Its Interpreter Through the Ages

A file meant to outlive the software that wrote it has to carry its interpreter: the knowledge needed to read it. As readers are increasingly synthesised by AI on demand, we ask whether that can be tested: given one self-describing package as its sole source, can an isolated implementer synthesise a reader that lists it, verifies every hash it declares and extracts its payloads byte-exactly? The protocol is the main contribution: criteria fixed before the run; grading by artifact, the grader hashing the extracted bytes itself; independent readers that share no code must agree on extraction and on what damage kills. We apply it to one container format, werk. Fifteen agentic runs in seven rounds, across five languages and three commercial model families, met their pre-declared criteria. In a pre-registered universality round, twenty encodings invented for the test travelled on the frozen specification without an edit, each defined by an in-package document: Claude Code and Codex synthesised passing readers in all 40 of their runs, four open-weights models passed 16, 19, 6 and 1 of 20, and no failure was traced to the format. Every extracted byte in every graded run was checked against a hash the package declares; in an exploratory comparison with FBX, glTF and USDZ, verifiability, not extraction, separated the formats. The first public release is measured on three hosts: byte-identical writers in three languages, five reader builds agreeing over exhaustive single-byte damage, plug-ins gated inside Blender, GIMP, Unreal Engine, Adobe and Office applications, and six application profiles on the unchanged specification. A second laboratory re-ran the public gates and twelve agent trials. The limits: no isolated human implementer was tested, though the first author's own hand-written reader, sighted, passes the same grader; one model family ran rounds 1 to 3 and wrote the universality encodings; n is small in every cell; and we do not propose a general measure of format quality.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-23
DOI
https://doi.org/10.5281/zenodo.24451042
Primary Topic
Software Engineering Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

werk: The File That Carries Its Interpreter Through the Ages

Gregor H. Max Koch, Yuvraj Puyam
Zenodo (CERN European Organization for Nuclear Research)
Software Engineering Research
preprint

werk: The File That Carries Its Interpreter Through the Ages

Gregor H. Max Koch, Yuvraj Puyam
preprint en

Abstract

A file meant to outlive the software that wrote it has to carry its interpreter: the knowledge needed to read it. As readers are increasingly synthesised by AI on demand, we ask whether that can be tested: given one self-describing package as its sole source, can an isolated implementer synthesise a reader that lists it, verifies every hash it declares and extracts its payloads byte-exactly? The protocol is the main contribution: criteria fixed before the run; grading by artifact, the grader hashing the extracted bytes itself; independent readers that share no code must agree on extraction and on what damage kills. We apply it to one container format, werk. Fifteen agentic runs in seven rounds, across five languages and three commercial model families, met their pre-declared criteria. In a pre-registered universality round, twenty encodings invented for the test travelled on the frozen specification without an edit, each defined by an in-package document: Claude Code and Codex synthesised passing readers in all 40 of their runs, four open-weights models passed 16, 19, 6 and 1 of 20, and no failure was traced to the format. Every extracted byte in every graded run was checked against a hash the package declares; in an exploratory comparison with FBX, glTF and USDZ, verifiability, not extraction, separated the formats. The first public release is measured on three hosts: byte-identical writers in three languages, five reader builds agreeing over exhaustive single-byte damage, plug-ins gated inside Blender, GIMP, Unreal Engine, Adobe and Office applications, and six application profiles on the unchanged specification. A second laboratory re-ran the public gates and twelve agent trials. The limits: no isolated human implementer was tested, though the first author's own hand-written reader, sighted, passes the same grader; one model family ran rounds 1 to 3 and wrote the universality encodings; n is small in every cell; and we do not propose a general measure of format quality.

Zenodo (CERN European Organization for Nuclear Research)
Purdue University West Lafayette (US)
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon