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/epiphany-core/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 43a08baa3c Delete the unconstructable identity cluster and pin the two live refusals
Soul's Cut 4 pass found one rule no test could reach and two with no test left
standing over them. F1 is the sharp one: `validate_pipeline_write_envelope`
raised `ForeignEpoch` for an identity envelope, but `EpiphanyPipelineIdentity`
had no constructor anywhere in the repo, so no test could build one to reach the
branch. Replacing the guard with `if false {` left all 168 tests passing. Code
that cannot be constructed cannot be tested, and testing it would have meant
writing the constructor the organ is going to own anyway.

So it goes, rather than growing a test to justify it. Deleted: the epoch branch
and the `ForeignEpoch` variant, `EpiphanyPipelineIdentity`,
`EpiphanyPipelineProvenance`, `PipelineProvenance`, `Faculty`, and
`PIPELINE_SCHEMA_EPOCH`, whose only reader was the deleted branch. D2 already
assigns admission, identity and the epoch refusal to `huginn-mind`; Cut 8 writes
them there against a store its tests can construct. Carrying about fifteen
unreachable lines across two repos costs more than re-adding them where they
work. Every one of the four types was checked for a live producer first: none
has one, in code, test, schema file or `index.json`.

What stays is what is reachable: `validate_pipeline_write_envelope` keeps its
bounds, formats and key recomputation, and `PipelineRefusal` keeps four variants,
each with a raiser.

Two tests for the two rules that survived Cut 4 untested. F2:
`decode_refuses_an_envelope_of_a_foreign_type` pins the `ForeignStore` refusal
against a commit receipt — a type a pipeline store may legitimately hold, and
still not a document. The existing round-trip test pinned only the positive
match. F4: `runtime_spine_cache_refuses_a_pipeline_store` restores coverage that
died with `pipeline_store.rs`, against the surviving mechanism in
`runtime_spine.rs`. It asserts first that `validate_runtime_store_epoch` passes
a pipeline store, because every neighbouring test is epoch-based and the epoch
checks cannot see this: the registry is the only thing refusing.

`register_pipeline_document_types` is now `#[cfg(test)]` instead of a live path
wearing `expect(dead_code)`. Its only callers are tests, and saying so is
honest; the organ registers its own types in Cut 8.

Builds: `cargo test -p epiphany-core --lib`, 170 passed, 0 failed, 0 warnings.
`cargo check -p epiphany-release-bundle --bin epiphany-state` clean. Mutations
for both new rules land with the next commit.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 01:56:27 +02:00
..
atlas Re-pin CultLib to a0813c6 2026-09-15 20:00:01 +02:00
bin Finish the interrupted rustfmt pass 2026-09-04 15:12:23 +02:00
memory_graph Finish the interrupted rustfmt pass 2026-09-04 15:12:23 +02:00
packaged_release Narrow packaged release API 2026-08-25 02:31:33 +02:00
surfaces Finish the interrupted rustfmt pass 2026-09-04 15:12:23 +02:00
admitted_model_direction_consideration.rs Narrow internal cognition helpers 2026-08-25 03:36:02 +02:00
agent_launch.rs Delete callerless helper APIs 2026-08-24 04:20:27 +02:00
causal_work_identity.rs Demote causal work identity helpers 2026-08-25 03:29:16 +02:00
coordinator_objective_intake.rs Strip objective intake ceremony 2026-08-24 09:07:42 +02:00
coordinator_results.rs Collapse reorientation result projection 2026-08-25 01:07:39 +02:00
coordinator_status.rs Finish the interrupted rustfmt pass 2026-09-04 15:12:23 +02:00
cultmesh_integration.rs Finish the interrupted rustfmt pass 2026-09-04 15:12:23 +02:00
current_work.rs Narrow internal cognition helpers 2026-08-25 03:36:02 +02:00
hands_gateway.rs Delete test-only Hands constructors 2026-08-25 02:14:30 +02:00
imagination_consideration.rs Delete dead Imagination review contract 2026-08-24 04:45:31 +02:00
lib.rs Delete the repo-owned pipeline store, lease and git layers 2026-09-16 01:24:28 +02:00
mind_documents.rs Finish the interrupted rustfmt pass 2026-09-04 15:12:23 +02:00
packaged_release.rs Narrow packaged release API 2026-08-25 02:31:33 +02:00
persona_conversation.rs Re-pin CultLib to a0813c6 2026-09-15 20:00:01 +02:00
persona_discord_crossing.rs Delete unearned Persona identity executables 2026-08-23 18:53:48 +02:00
persona_discord_permit.rs Delete unearned Persona identity executables 2026-08-23 18:53:48 +02:00
persona_feedback_admission.rs Re-pin CultLib to a0813c6 2026-09-15 20:00:01 +02:00
persona_social_state.rs Pin storeless reads by directory snapshot, not one mtime 2026-09-15 20:55:50 +02:00
persona_turn.rs Finish the interrupted rustfmt pass 2026-09-04 15:12:23 +02:00
pipeline_documents.rs Delete the unconstructable identity cluster and pin the two live refusals 2026-09-16 01:56:27 +02:00
process_observation.rs Finish the interrupted rustfmt pass 2026-09-04 15:12:23 +02:00
public_source_identity.rs Make public Research sources proposal-owned 2026-08-13 23:56:58 +02:00
reasoning_context.rs Close Soul's Cut 3a findings and land rulings 10-12 2026-09-15 22:55:00 +02:00
reorientation_work.rs Project reorientation terminal disposition 2026-08-25 01:20:17 +02:00
repo_model_documents.rs Finish the interrupted rustfmt pass 2026-09-04 15:12:23 +02:00
repo_model_gateway.rs Delete counterfeit Hands review authority 2026-08-24 23:21:26 +02:00
repository_body_observer.rs Add pipeline documents, store opener, writer lease and schemas 2026-09-15 21:55:04 +02:00
resident_readiness.rs Re-pin CultLib to a0813c6 2026-09-15 20:00:01 +02:00
resident_self.rs Pin storeless reads by directory snapshot, not one mtime 2026-09-15 20:55:50 +02:00
runtime_spine.rs Delete the unconstructable identity cluster and pin the two live refusals 2026-09-16 01:56:27 +02:00
runtime_store_backend.rs Split coordinator authority from model sessions 2026-08-24 20:16:31 +02:00
runtime_worker_attempt.rs Derive worker authority from sealed launches 2026-08-24 19:37:44 +02:00
soul_gateway.rs Delete counterfeit Hands review authority 2026-08-24 23:21:26 +02:00
state_ledger.rs Re-pin CultLib to a0813c6 2026-09-15 20:00:01 +02:00
state_model.rs Finish the interrupted rustfmt pass 2026-09-04 15:12:23 +02:00
substrate_gate.rs Finish the interrupted rustfmt pass 2026-09-04 15:12:23 +02:00