This repository has been archived on 2026-10-29. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Epiphany/tools
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens b4b17fc895 Serialise the pipeline envelope and its refusals
The leaf owns the document and refusal types, so it owns their
serialisation. Huginn's admission batch cannot derive Serialize while
PipelineDocument does not, and mirrors PipelineRefusal through a
serde(remote) definition kept in step by hand; neither is the wire's
business.

PipelineDocument is adjacently tagged on the kind name: a document on a
wire is { kind, value }, and kind is exactly PipelineKind::name(), so a
reader dispatches on the kind segment it already knows from the key and
needs no second registry mapping variant spellings to kinds. Adjacent
rather than internal because a value is a named map of its own.
PipelineRefusal stays externally tagged, serde's default, which is what
keeps every variant's field and value on the wire under their own names.

No kind, field, type id or epoch moves, and the published per-kind
schemas are untouched: the envelope is the wire's shape, not a document's.

every_document_and_refusal_serialises_and_reads_back round-trips every
sample document and every refusal variant through serde_json and
rmp_serde, and holds each derived schema's variant list to the thirteen
kinds by name and to the four refusals. Mutations D1 (the tag rename
removed) and D2 (a refusal's field skipped) are both killed by it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-16 17:26:30 +02:00
..
eureka-cut5-mutations.psd1 One mutation harness for every Eureka cut 2026-09-16 14:19:38 +02:00
eureka-cut6-mutations.psd1 Cut 6b: pin dotted roots, the reader's root kinds, and name the bound 2026-09-16 14:59:27 +02:00
eureka-cut6b-mutations.psd1 Pin the reader against a trimmed trailing dot on the root and the local 2026-09-16 15:28:23 +02:00
eureka-cut6c-mutations.psd1 Pin the three Cut 6c rules Soul's mutations survived 2026-09-16 16:14:41 +02:00
eureka-cut8-epiphany-mutations.psd1 Serialise the pipeline envelope and its refusals 2026-09-16 17:26:30 +02:00
eureka-mutations.ps1 Repair a missing file from its sidecar and stop on a nested one 2026-09-16 16:51:14 +02:00