Fourth fix batch: fill N1 in its owner, and correct two ledger claims
N1 (medium-low). Moves the epiphany-pipeline pin to the leaf's new commit (9d3a3efd), which opens Slug::validate_slug. Huginn's own cultcache-rs pin is untouched; cargo tree -d still carries exactly one cultcache-rs. Mind::require_instance now validates the declared name's grammar before comparing identity, so admission's A1 and every read refuse a bad name identically, through one door. Mind::open and open_with validate the declared instance before path_for ever runs, so a Slug carrying `..` and a path separator (Soul's outer/inner probe) is refused before any store is created, not after it has already escaped the state root. require_grammatical_instance and its daemon-side branch in daemon.rs are deleted: the throwaway PipelineInstance wrapper it built is no longer the only door onto the leaf's grammar. The refusal now names the field a caller actually held the declared name under (declared, or instance) and the whole declared name, not the old wrapper's instance.instance field or a single failing label. Adds a leaf-escape regression test pinning Soul's probe and asserting no store is created, and a fullwidth-instance test showing Admit and Query refuse identically. Updates the cut10 grammar-fold mutant (S3wide) to the new function shape and the affected daemon test to the new field name. N5 and N6, prose only. The cut10 entries gain a note by S1 and S1d: neither mutant "dies on all three" faults its shared fixture carries, contrary to an earlier claim; S1d exempts the orphan fault by construction and is killed by the undecodable-document block instead, the next one the test body reaches. The cut9 header's self-contradiction at lines 18-25 is resolved (nothing in the suite exercises the door, not "nothing reaches it"), its self-reference now points at store.rs:18-19, and its line-1 range is corrected to V1-V24L. All three suites rerun clean after the pin move: cut8 67/67, cut9 38/38, cut10 65/65, every M0 green, restores hash-verified. cargo test --workspace: huginn-mind 61/61 (was 60), huginn-daemon 18/18 (was 17). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
7fc8ed3610
commit
cc71a569dc
7 changed files with 134 additions and 73 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
|
@ -306,7 +306,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "epiphany-pipeline"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/GameCult/Epiphany.git?rev=5cda0886bd937b9df18309de7f505029d0e41f4d#5cda0886bd937b9df18309de7f505029d0e41f4d"
|
||||
source = "git+https://github.com/GameCult/Epiphany.git?rev=9d3a3efd56b34893f8c124d3eeb2526326bac646#9d3a3efd56b34893f8c124d3eeb2526326bac646"
|
||||
dependencies = [
|
||||
"anyhow",
|
||||
"chrono",
|
||||
|
|
|
|||
Loading…
Reference in a new issue