v0.283.0: apps go off-site by themselves (decision 50) with a size warning; a Stop holds during a backup (R-721); page slips (R-724/R-725)
gates / gates (push) Successful in 25s
gates / gates (push) Successful in 25s
Red-proofs RP31-RP38. MinAgent 0.131.0 (unchanged). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
@@ -156,3 +156,16 @@ func isObservedUp(s Stack) bool {
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
// WantsStopped (R-721, v0.283.0) reports whether the household's own recorded intent for the stack is
|
||||
// „stopped". The machines that stop an app for their own purposes and start it again afterwards — the
|
||||
// whole-guest backup's quiesce, the nightly volume dump — ask this before their restart, so a Stop the
|
||||
// household pressed WHILE the app was down for them holds. Measured 2026-09-29 on a fresh box: Stop at
|
||||
// 19:37:16 recorded `desired state … stopped`, and the backup's resume started the app the same second.
|
||||
func (m *Manager) WantsStopped(name string) bool {
|
||||
st, ok := m.GetStack(name)
|
||||
if !ok {
|
||||
return false
|
||||
}
|
||||
return DesiredStateOf(*st) == DesiredStateStopped
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user