From ede5c66931bc1870b506854eba61725453b91062 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sun, 23 Aug 2026 20:11:40 +0200 Subject: [PATCH] Delete non-consequential verifier cargo --- .../src/bin/epiphany-mvp-coordinator.rs | 36 ++++--------------- epiphany-core/src/resident_readiness.rs | 7 ---- epiphany-release-construction/src/lib.rs | 4 --- 3 files changed, 6 insertions(+), 41 deletions(-) diff --git a/epiphany-core/src/bin/epiphany-mvp-coordinator.rs b/epiphany-core/src/bin/epiphany-mvp-coordinator.rs index 621753ec..fbbac274 100644 --- a/epiphany-core/src/bin/epiphany-mvp-coordinator.rs +++ b/epiphany-core/src/bin/epiphany-mvp-coordinator.rs @@ -326,12 +326,14 @@ fn run_coordinator(args: &Args) -> Result { .unwrap_or_else(|| { "Coordinate the Epiphany MVP lanes with native runtime job receipts.".to_string() }); + let runtime_id = args.runtime_id.as_deref().expect("validated runtime id"); let runtime_identity = initialize_runtime_spine( &runtime_store, - coordinator_runtime_identity_options( - args.runtime_id.as_deref().expect("validated runtime id"), - now(), - ), + RuntimeSpineInitOptions { + runtime_id: runtime_id.to_string(), + display_name: format!("Epiphany {runtime_id}"), + created_at: now(), + }, )?; let runtime_session = open_coordinator_run( &runtime_store, @@ -2050,17 +2052,6 @@ fn now() -> String { chrono::Utc::now().to_rfc3339_opts(SecondsFormat::Secs, true) } -fn coordinator_runtime_identity_options( - runtime_id: &str, - created_at: String, -) -> RuntimeSpineInitOptions { - RuntimeSpineInitOptions { - runtime_id: runtime_id.to_string(), - display_name: format!("Epiphany {runtime_id}"), - created_at, - } -} - fn reset_artifact_dir(path: &Path) -> Result<()> { let cwd = env::current_dir()?; let mut roots = Vec::new(); @@ -2181,16 +2172,6 @@ mod tests { ); } - #[test] - fn coordinator_preserves_the_authenticated_runtime_identity() { - let options = coordinator_runtime_identity_options( - "epiphany-starfire", - "2026-08-06T00:00:00Z".into(), - ); - assert_eq!(options.runtime_id, "epiphany-starfire"); - assert_eq!(options.display_name, "Epiphany epiphany-starfire"); - } - #[test] fn coordinator_error_after_opening_terminalizes_the_exact_session() -> Result<()> { let smoke_root = env::current_dir()?.join(".epiphany-smoke"); @@ -2256,11 +2237,6 @@ mod tests { Ok(()) } - #[test] - fn continue_implementation_is_not_a_passive_stop_action() { - assert!(!is_stop_action("continueImplementation")); - } - #[test] fn operator_objective_intake_creates_once_and_refuses_replacement() -> Result<()> { let temp = tempfile::tempdir()?; diff --git a/epiphany-core/src/resident_readiness.rs b/epiphany-core/src/resident_readiness.rs index 5a34d3c3..f59cd773 100644 --- a/epiphany-core/src/resident_readiness.rs +++ b/epiphany-core/src/resident_readiness.rs @@ -988,13 +988,6 @@ mod tests { Ok(()) } - #[test] - fn credential_mode_requires_private_owner_read_write() { - assert!(!unix_credential_mode_ready(0o400)); - assert!(!unix_credential_mode_ready(0o644)); - assert!(unix_credential_mode_ready(0o600)); - } - #[test] fn legacy_credentials_file_cannot_impersonate_canonical_auth() -> Result<()> { let temp = tempfile::tempdir()?; diff --git a/epiphany-release-construction/src/lib.rs b/epiphany-release-construction/src/lib.rs index 23442239..d2de779d 100644 --- a/epiphany-release-construction/src/lib.rs +++ b/epiphany-release-construction/src/lib.rs @@ -982,10 +982,6 @@ mod tests { ) .expect("linked worktree"); - assert_eq!( - release_source_cache_identity(&first).expect("first identity"), - release_source_cache_identity(&first).expect("stable first identity") - ); assert_eq!( release_source_cache_identity(&first).expect("main identity"), release_source_cache_identity(&linked).expect("linked identity")