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 5cda0886bd Open one door onto the reference grammar
Ruling 1 leaves the schemas and the key grammar with the leaf, and the read
side in Huginn must refuse a `PipelineRef` whose kind and id disagree rather
than answer the nothing a lookup finds. `Bounded` is `pub(crate)`, so nothing
outside could ask.

`PipelineRef::validate_ref` delegates to that impl at the field name `ref`, so
the grammar keeps one owner and the wrappers and `pipeline_id` stay where they
are. A method, as `prepare` and `decode` are, because it concerns one public
type; `validate_ref` rather than a bare `validate`, because an inherent
`validate` would shadow `Bounded`'s for every in-crate holder of a
`PipelineRef`.

The test holds every sample document's own key to be a reference of its own
kind, and refuses a kind that is not the id's and a trailing dot at `ref.id`.
It also pins the boundary rather than assuming it: a resolution id missing the
per-subject sequence its writer always composes is still well formed here. The
leaf reads an id kind-deep, and the local's per-kind shape is admission's rule.

Entries R1 and R2 in `tools/eureka-cut8-epiphany-mutations.psd1`: the door that
answers `Ok(())` to everything, and the door that reads the kind segment alone.

`cargo test -p epiphany-pipeline --lib` 34 passed, 0 warnings; `cargo check -p
epiphany-core --lib --tests` clean; the four Epiphany suites green-and-killed
through the harness. No schema and no lock moved.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-16 22:31:26 +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 Key a resolution and a stewardship by sequence 2026-09-16 18:26:46 +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-cut6d-mutations.psd1 Pin the two sequences the all-ones fixtures hid 2026-09-16 19:20:24 +02:00
eureka-cut8-epiphany-mutations.psd1 Open one door onto the reference grammar 2026-09-16 22:31:26 +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