aetherlight: releasing a dependency removes the pressure it raised

Release deleted the dependency row only, so a pressed dependency's pressure row
outlived it and verify_state_shape refused the world at open (export then open
failed CorruptJournal). The Release arm now clears the dependency's pressure
through set_pressure, the one pressure writer. Pre-existing at 609b3ba5e.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-11-20 15:04:32 +01:00
commit 19d514dc93
2 changed files with 51 additions and 0 deletions

View file

@ -2006,6 +2006,9 @@ fn apply_operation(
if empty {
state.dependencies.remove(subject);
}
// The pressure a failing dependency raised is that dependency's
// own: it ends with it, or the world fails its shape check at open.
set_pressure(state, *subject, PressureSource::Dependency(*target), 0);
}
}
ResolvedOp::GrantAuthority { holder, grant }