Complete autonomous recovery controls

This commit is contained in:
kami
2026-07-30 14:57:25 +04:00
parent 8174400b1a
commit e8fadfc998
18 changed files with 364 additions and 77 deletions
@@ -180,6 +180,10 @@ func TestCrossMachineLeaseAnchorAndQuotaArePerHost(t *testing.T) {
}
}
quotaReport("homesrv-h1", 95)
// A zero native delta is still a receipt: it proves workpc's independent
// usage source is available, rather than treating missing quota data as
// harmless headroom.
quotaReport("workpc-h1", 0)
limits := map[string]router.QuotaWindowLimits{
"homesrv-h1": {Weekly: 100},
"workpc-h1": {Weekly: 100},