Found Starfire resident runtime

This commit is contained in:
Meta Vens 2026-08-05 23:18:06 +01:00
commit a6d1cd46b2
7 changed files with 61 additions and 34 deletions

View file

@ -516,7 +516,7 @@ fn run_cli() -> Result<()> {
args.requesting_agent_id.as_deref(),
args.reason.as_deref(),
&created_at_utc,
true,
false,
)?;
println!(
"{}",
@ -7339,7 +7339,7 @@ mod swarm_brake_command_tests {
"epiphany-yggdrasil",
Some("engaged"),
Some(EPIPHANY_CANONICAL_SWARM_BRAKE_ID),
Some("idunn"),
Some("Idunn"),
Some("deployment sleep"),
"2026-07-19T00:00:00Z",
true,
@ -7374,6 +7374,32 @@ mod swarm_brake_command_tests {
Ok(())
}
#[test]
fn ordinary_actor_can_engage_an_existing_canonical_released_brake() -> Result<()> {
let temp = tempfile::tempdir()?;
let store = temp.path().join("verse.cc");
let released = default_epiphany_cultmesh_swarm_brake("2026-08-05T00:00:00Z");
write_epiphany_cultmesh_swarm_brake(&store, "epiphany-starfire", released)?;
let engaged = apply_explicit_swarm_brake_set(
&store,
"epiphany-starfire",
Some("engaged"),
Some(EPIPHANY_CANONICAL_SWARM_BRAKE_ID),
Some("codex-root"),
Some("cold-start verification"),
"2026-08-05T00:01:00Z",
false,
)?;
assert_eq!(engaged.status, "engaged");
assert_eq!(
engaged.operator_agent_id,
EPIPHANY_CANONICAL_SWARM_BRAKE_OWNER
);
Ok(())
}
#[test]
fn release_cannot_touch_foreign_deployment_brake() -> Result<()> {
let temp = tempfile::tempdir()?;