hub: review fix 1 — a box that lies about its app list cannot have the store agreed in one window unseen (D84 narrowed)

The hub's 30-day check rests on the box's own reports: a box could name an app
that never existed, or stop listing a living one, wait 30 days, and get every
snapshot agreed beside the cap, with no operator signal.

- One window agrees to at most the size of its own cap, from the hub's OWN
  count of the store; the oldest files first; the rest waits for the next
  window. A narrowing of D84, decided by CC unattended — the operator may
  reverse it (07 §8.2f holds the question, both options and their cost).
- offsite_end_claim_unseen (warning, mailed, operator-only): a box first names
  an app the hub never saw installed — once per household and app, at most 8
  per household, 30 days before anything can be agreed.
- offsite_ended_large_agreement (warning, mailed, operator-only): a request
  for more than half of the store waits one week; that window agrees to none.
- 07 §8.2f: the limit rewritten (no honest ended app is needed, only 30 days),
  what bounds it, what is still open. 08 §6.5: the two events.

Also carries the red-proof outputs of the controller's review fixes 2 and 3
(felhom-controller 3928c3d and the next commit).

Tests seen red on bb226f23; 15 mutations seen red (redproof-review-1.txt).

Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
This commit is contained in:
admin committed 2026-11-15 14:41:58 +01:00
1 parent 90ba98b1a0
commit 875c339cf5
13 files changed
+839 -23

No files matched your search

@@ -1881,7 +1881,8 @@ section adds one thing to that window.
5. **Local copies are unchanged.** They are deleted at once, as before. The dialog says both.
**The allowance (D84)** `[FACT — built, not released]`. The window's cap (`max_remove`, half the store, at least 5)
and its rule are not touched: the guard still refuses a policy plan above it. The ended apps' ids are BESIDE it — the
and its rule are not touched: the guard still refuses a policy plan above it. **One window's allowance is at most the
size of that cap (a narrowing of D84 by CC, below).** The ended apps' ids are BESIDE it — the
hub stores the ids it agreed to on the window's row, keeps from the box's result only those, and allows a fall of the
cap plus those. `store.WindowCreditsBetween` gives the two parts apart.
@@ -1915,6 +1916,10 @@ notification address gets no mail: the page is all it has.** A blocked household
| The guard refuses the window (a future-dated snapshot, a plan above the cap) | The ended apps wait with everything else | `TestD84_OneGuard_AndTheAllowanceIsBesideTheCap` |
| The hub does not know ended apps (an older hub), or the box does not (an older controller) | Nothing of an ended app is removed; each side is releasable alone | `TestD84_TheBoxRemovesOnlyWhatTheHubAgreedTo` |
| The app has no copy in the store at all | The due record is closed with no history line; nothing is asked of the hub | `TestD72_ARecordWithNoCopiesIsClosedQuietly` |
| A take-back or an install while the window is being prepared (the hub answers, the dry run, the guard) | The window reads the records AGAIN immediately before the forget; an id whose record is gone or changed is not removed. A take-back during the forget itself is answered „not marked, or already deleted”. **Not covered:** an install during the forget | `TestD72_ATakeBackDuringTheWindowKeepsTheCopies`, `TestD72_AnInstallDuringTheWindowKeepsTheCopies`, `TestD72_ATakeBackDuringTheForgetIsNotAnsweredKept` |
| The app is installed again by an import, or by a restore that installs from a unit | The record is deleted at the ONE point every install passes (`stacks.SaveAppConfig`) | `TestD72_AnImportDeletesTheEndRecord`, `TestD72_ARestoreIntoAnInstallDeletesTheEndRecord`, `TestD72_TheInstallWritersAreListed` |
| A box names an app the hub never saw installed | The operator is mailed at once; the hub's 30 days start then | hub `TestD84_AnAppTheHubNeverSawIsToldToTheOperatorOnce` |
| A request for more than half of the store | It waits one week after a mail to the operator; then at most the cap's size per window | hub `TestD84_ALargeRequestWaitsAWeekAndOneWindowAgreesAtMostTheCapsSize`, `TestD84_TheRestGoesInTheNextWindow` |
| A box sends invented app names in every report | The hub's app record holds at most 400 names per household; only names shaped like an app name are stored. No age limit on a row, on purpose: it would move a real app's 30 days | hub `TestD72_AppRecord_*` |
**What differs from the 2026-11-14 design, and what is not built.**
@@ -1931,10 +1936,39 @@ notification address gets no mail: the page is all it has.** A blocked household
- *The receipt does not read the household's group switches.* D84's reason is a household whose login someone else
uses; that person could switch a group off first. **The operator may reverse this.**
**A limit, said plainly.** The hub cannot read a snapshot's tags (the repository is encrypted; the password never
leaves the box — decision 68). A box that is taken over AND has one honestly ended app can name, under that app,
other snapshots that are older than the app's end. The upload-time rule bounds that to files older than 30 days; it
does not close it. The same box can already remove half the store per week inside the cap.
**A limit, said plainly (rewritten after the review of 2026-11-15).** The hub cannot read a snapshot's tags (the
repository is encrypted; the password never leaves the box — decision 68), and its record of which apps a box runs is
made from what the box reports. So **no honestly ended app is needed, only 30 days**: a box that is taken over can
name an app that never existed in a pending end record, or stop listing a living app, wait 30 days by the hub's
clock, and then name snapshots of other apps under it. What bounds that now, all on the hub:
- **A name the hub never saw installed is told to the operator at once** — a mailed warning
(`offsite_end_claim_unseen`), once per household and app, when the box first names it: 30 days before the hub could
agree to anything. It names the household, the app and the day the hub would agree. At most 8 per household.
- **A request for more than half of the store waits one week.** The first window that sees it agrees to nothing for
removed apps and mails the operator (`offsite_ended_large_agreement`); only a window at least six days later
agrees. The week belongs to those apps: another app set waits its own week.
- **One window agrees to at most the size of its own cap** — and the cap the hub's OWN count of the store gives, not
the box's `count_before`. The oldest files go first; the rest waits for the next window.
- An id is agreed only if the hub's own listing holds it, uploaded before the hub saw the app leave — so nothing
younger than 30 days can go this way.
- A box that removes more than was agreed raises the drop alarm at the close and the vanished-files alarm at 07:10.
**What is still open:** a box that stops listing a living app is NOT told at the start (it looks exactly like an
honest removal); the hub hears of it only in the window, and then only if the request is for more than half of the
store. Under that size, such a box can remove up to the cap's size per week beside the cap, without a mail — twice
what it could remove silently before this feature (R-822's accepted limit, `09` §3 decision 166). And one window can
still take the cap AND the cap's size again; after a large request that is a week after the operator was mailed.
**A narrowing of D84 — decided by CC unattended on 2026-11-15; the operator may reverse it.** *Question:* may one
window remove every snapshot the hub agreed to for removed apps, however many? *Option A (built):* no — at most the
size of the window's own cap per window, and a request for more than half of the store waits one week after a mail to
the operator. **Cost:** a household that removes a very large app has its off-site copies deleted over two or more
weekly windows, and waits one week more when the app was more than half of its store; one more operator mail per such
removal. *Option B (D84 as ruled, 309):* every agreed id in the first window. **Cost:** a box that lies about its app
list for 30 days can have the whole store removed in one window, and the first mail arrives with the deletion. *Why A:*
the ruling's own reason for the allowance was that the hub's 30-day check does the cap's job; the review showed the
30-day check rests on the box's own reports, so it cannot do that job alone.
**The texts, as built — NOT published; the operator reads them before a release.** The Hungarian date carries its own
final dot (`2026. 12. 15.`), so the Hungarian sentences have no dot after it.
@@ -472,6 +472,8 @@ own records. What that adds here:
|---|---|---|---|
| `offsite_end_scheduled` (from the box) | info | **the household** — a receipt: one mail per press to its own notification address, whatever its group switches say; never the operator (`notify.householdReceiptEvents`) | the household pressed „delete backup data” at a removal, or „delete in 30 days” on the restore page |
| `offsite_ended_app_removed` (hub) | info | operator-only, recorded, not mailed | a window removed an app's agreed snapshots — one per app, with the count |
| `offsite_end_claim_unseen` (hub; review of 2026-11-15) | warning, **mailed** | operator-only, once per household and app, at most 8 per household | a box first names, in a pending end record, an app the hub never saw in its app list — 30 days before the hub could agree to anything. The text names the household, the app and the day |
| `offsite_ended_large_agreement` (hub; review of 2026-11-15) | warning, **mailed** | operator-only, once per app set | a window was asked to remove more than half of the store's snapshots for removed apps. That window removes none of them; a window a week later does, at most the cap's size |
| `offsite_ended_app_refused` (hub) | warning | operator-only, once per app (details `subject`) | a box asked for an app the hub's records clearly do not show ended: the app is in its app list, or absent for less than 29 days. A box that asks less than a day early is refused quietly |
The count detector above and the 07:10 listing check (`offsite_snapshots_vanished`) both know the allowance: a window
@@ -0,0 +1,110 @@
FINDING 1 — a box could invent an ended app (or stop listing a living one), wait 30 days, and have the hub agree to the whole store beyond the cap, with no operator signal.
### RED: the new tests on the hub code as it was pushed (felhom.eu bb226f23), before the fix
(the first three tests had, at that point, the first shape of the rule: one window at most the cap's size; the rule then grew a week's wait — see the note below)
=== RUN TestD84_OneWindowAgreesAtMostTheCapsSize
ended_bound_test.go:55: one window agreed to 20 ended ids with a cap of 10 — the allowance must be at most the cap's size
--- FAIL: TestD84_OneWindowAgreesAtMostTheCapsSize (0.06s)
=== RUN TestD84_TheRestGoesInTheNextWindow
ended_bound_test.go:103: first window: 15 agreed, want the cap's size 10
--- FAIL: TestD84_TheRestGoesInTheNextWindow (0.05s)
=== RUN TestD84_TheAllowanceIsBoundByTheHubsOwnCount
ended_bound_test.go:143: a box that claims 1000 snapshots got 20 ended ids agreed; the hub's own listing holds 20 → at most 10
--- FAIL: TestD84_TheAllowanceIsBoundByTheHubsOwnCount (0.04s)
=== RUN TestD84_ASmallEndIsQuiet
ended_bound_test.go:159: offsite_ended_large_agreement must be operator-only
--- FAIL: TestD84_ASmallEndIsQuiet (0.04s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-hub/internal/offsitekeys 0.199s
FAIL
=== RUN TestD84_AnAppTheHubNeverSawIsToldToTheOperatorOnce
d84_unseen_claim_test.go:52: want ONE warning for the app the hub never saw, got 0
--- FAIL: TestD84_AnAppTheHubNeverSawIsToldToTheOperatorOnce (0.05s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-hub/internal/api 0.068s
FAIL
### After the fix: mutations
== MUTATION: a request for more than half of the store does not wait
RED on the mutant, GREEN on the real file
--- FAIL: TestD84_ALargeRequestWaitsAWeekAndOneWindowAgreesAtMostTheCapsSize (0.05s)
ended_bound_test.go:74: the window that first saw a request for the whole store agreed to 10 ids — it must agree to none and tell the operator first
--- FAIL: TestD84_ALargeRequestForOtherAppsWaitsItsOwnWeek (0.05s)
ended_bound_test.go:143: a large request for another app rode the first app's week: agreed 10, refused [{App: Reason:10 snapshot id(s) wait for the next window: one window removes at most 10 snapshots of removed apps (the size of
== MUTATION: the wait is not a week (two days later it is agreed)
RED on the mutant, GREEN on the real file
--- FAIL: TestD84_ALargeRequestWaitsAWeekAndOneWindowAgreesAtMostTheCapsSize (0.09s)
ended_bound_test.go:105: two days after the warning a window agreed to 10 ids — the operator must have a week
== MUTATION: the operator is mailed at every window of one large request
RED on the mutant, GREEN on the real file
--- FAIL: TestD84_ALargeRequestWaitsAWeekAndOneWindowAgreesAtMostTheCapsSize (0.10s)
ended_bound_test.go:125: the operator was told 2 time(s) about one large request, want once
== MUTATION: one window agrees to everything (no bound to the cap's size)
RED on the mutant, GREEN on the real file
--- FAIL: TestD84_ALargeRequestWaitsAWeekAndOneWindowAgreesAtMostTheCapsSize (0.10s)
ended_bound_test.go:110: a week later: 20 ended ids agreed with a cap of 10 — want exactly the cap's size
--- FAIL: TestD84_TheRestGoesInTheNextWindow (0.05s)
ended_bound_test.go:163: a week later: 15 agreed, want the cap's size 10
== MUTATION: the bound takes the box's own count (count_before) alone
RED on the mutant, GREEN on the real file
--- FAIL: TestD84_TheAllowanceIsBoundByTheHubsOwnCount (0.04s)
ended_bound_test.go:206: a box that claims 1000 snapshots got 20 ended ids agreed; the hub's own listing holds 20 → at most 10
== MUTATION: the newest files go first
RED on the mutant, GREEN on the real file
--- FAIL: TestD84_ALargeRequestWaitsAWeekAndOneWindowAgreesAtMostTheCapsSize (0.11s)
ended_bound_test.go:118: the allowance did not take the oldest files first: a1b2c684 agreed
== MUTATION: „more than half” is „more than twice the store”
RED on the mutant, GREEN on the real file
--- FAIL: TestD84_ALargeRequestWaitsAWeekAndOneWindowAgreesAtMostTheCapsSize (0.05s)
ended_bound_test.go:74: the window that first saw a request for the whole store agreed to 10 ids — it must agree to none and tell the operator first
--- FAIL: TestD84_ALargeRequestForOtherAppsWaitsItsOwnWeek (0.05s)
ended_bound_test.go:143: a large request for another app rode the first app's week: agreed 10, refused [{App: Reason:10 snapshot id(s) wait for the next window: one window removes at most 10 snapshots of removed apps (the size of
== MUTATION: a large request for other apps rides an earlier request's week
RED on the mutant, GREEN on the real file
--- FAIL: TestD84_ALargeRequestForOtherAppsWaitsItsOwnWeek (0.05s)
ended_bound_test.go:143: a large request for another app rode the first app's week: agreed 10, refused [{App: Reason:10 snapshot id(s) wait for the next window: one window removes at most 10 snapshots of removed apps (the size of
8 mutations, 0 not a red-proof
== MUTATION: no limit on the never-seen warnings of one household
RED on the mutant, GREEN on the real file
--- FAIL: TestD84_AnAppTheHubNeverSawIsToldToTheOperatorOnce (0.06s)
d84_unseen_claim_test.go:75: 40 invented names gave 41 operator warnings — a box must not be able to flood the operator (limit 8 per household)
== MUTATION: the never-seen mark is not stored (the limit is per report)
RED on the mutant, GREEN on the real file
--- FAIL: TestD84_AnAppTheHubNeverSawIsToldToTheOperatorOnce (0.06s)
d84_unseen_claim_test.go:75: 40 invented names gave 9 operator warnings — a box must not be able to flood the operator (limit 8 per household)
== MUTATION: an app the hub SAW installed is told as never seen
RED on the mutant, GREEN on the real file
--- FAIL: TestD84_AnAppTheHubNeverSawIsToldToTheOperatorOnce (0.05s)
d84_unseen_claim_test.go:45: an app the hub saw installed raised the never-seen warning: [{ID:1 CustomerID:c1 EventType:offsite_end_claim_unseen Severity:warning Message:Off-site: the box of c1 holds an end record for the app "vik
3 mutations, 0 not a red-proof
== MUTATION: the operator is not told about a never-seen app
RED on the mutant, GREEN on the real file
--- FAIL: TestD84_AnAppTheHubNeverSawIsToldToTheOperatorOnce (0.05s)
d84_unseen_claim_test.go:52: want ONE warning for the app the hub never saw, got 0
== MUTATION: the message names today, not the day the hub would agree
RED on the mutant, GREEN on the real file
--- FAIL: TestD84_AnAppTheHubNeverSawIsToldToTheOperatorOnce (0.05s)
d84_unseen_claim_test.go:56: the warning must be a warning and name the household, the app and the day the hub would agree (2026-12-15): {ID:1 CustomerID:c1 EventType:offsite_end_claim_unseen Severity:warning Message:Off-site: the
== MUTATION: the warning has no per-app subject (two apps in an hour are one mail)
RED on the mutant, GREEN on the real file
--- FAIL: TestD84_AnAppTheHubNeverSawIsToldToTheOperatorOnce (0.04s)
d84_unseen_claim_test.go:59: no per-app subject in the details: {"agrees_from":"2026-12-15","app":"ghost"}
3 mutations, 0 not a red-proof
== MUTATION: the two warnings are not operator-only
RED on the mutant, GREEN on the real file
--- FAIL: TestD84_ASmallEndIsQuiet (0.04s)
ended_bound_test.go:222: offsite_ended_large_agreement must be operator-only
1 mutations, 0 not a red-proof
NOTE. The RED block above was taken with the first shape of the fix's tests (one window agrees to at most the cap's
size). While fixing, that bound alone still let one window take the cap AND the cap's size again — a store of 20
emptied in one window with the operator's mail arriving at the same moment. So the rule grew: a request for more
than half of the store waits one week after the mail. The tests were rewritten for that rule
(TestD84_ALargeRequestWaitsAWeekAndOneWindowAgreesAtMostTheCapsSize, TestD84_TheRestGoesInTheNextWindow,
TestD84_ALargeRequestForOtherAppsWaitsItsOwnWeek); the mutations above run against the rewritten tests.
The reviewer's own reproduction (scratchpad r4/review-A/zz_ghost_test.go: "all 20 snapshots agreed for an app the hub
never saw installed; cap was 10; no alarm") is the same defect as the first RED line.
@@ -0,0 +1,52 @@
FINDING 2 — a take-back or an install during the window still deleted.
### RED: the new tests on the code as it was pushed (controller f628cb5), before the fix
=== RUN TestD72_ATakeBackDuringTheWindowKeepsTheCopies
offbox_ended_race_test.go:48: the page said „the off-site copies are kept”, no record exists, and the window removed kimai's copy ([k1-full v1-full v2-full v3-full])
--- FAIL: TestD72_ATakeBackDuringTheWindowKeepsTheCopies (0.00s)
=== RUN TestD72_AnInstallDuringTheWindowKeepsTheCopies
=== RUN TestD72_AnInstallDuringTheWindowKeepsTheCopies/the_install_deleted_the_record
offbox_ended_race_test.go:91: the window removed [k1-full] of an app that was installed again while the hub answered
=== RUN TestD72_AnInstallDuringTheWindowKeepsTheCopies/the_app_is_living_again_(the_record_is_still_there)
offbox_ended_race_test.go:91: the window removed [k1-full] of an app that was installed again while the hub answered
=== RUN TestD72_AnInstallDuringTheWindowKeepsTheCopies/removed_again:_a_NEW_record_with_a_new_time
offbox_ended_race_test.go:91: the window removed [k1-full] of an app that was installed again while the hub answered
--- FAIL: TestD72_AnInstallDuringTheWindowKeepsTheCopies (0.00s)
--- FAIL: TestD72_AnInstallDuringTheWindowKeepsTheCopies/the_install_deleted_the_record (0.00s)
--- FAIL: TestD72_AnInstallDuringTheWindowKeepsTheCopies/the_app_is_living_again_(the_record_is_still_there) (0.00s)
--- FAIL: TestD72_AnInstallDuringTheWindowKeepsTheCopies/removed_again:_a_NEW_record_with_a_new_time (0.00s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-controller/internal/backup 0.023s
FAIL
### After the fix: mutations
== MUTATION: the window does not look at the records again before the forget
RED on the mutant, GREEN on the real file
--- FAIL: TestD72_ATakeBackDuringTheWindowKeepsTheCopies (0.00s)
offbox_ended_race_test.go:48: the page said „the off-site copies are kept”, no record exists, and the window removed kimai's copy ([k1-full v1-full v2-full v3-full])
--- FAIL: TestD72_AnInstallDuringTheWindowKeepsTheCopies (0.00s)
offbox_ended_race_test.go:91: the window removed [k1-full] of an app that was installed again while the hub answered
1 mutations, 0 not a red-proof
== MUTATION: a record written ANEW since the claim counts as the claimed one
*** NOT A RED-PROOF *** (mutant rc=1 built=False real rc=0)
FAIL gitea.dooplex.hu/admin/felhom-controller/internal/backup [build failed]
internal/backup/offbox_ended.go:281:11: declared and not used: e
== MUTATION: the ids are not checked against the records as they are now
RED on the mutant, GREEN on the real file
--- FAIL: TestD72_ATakeBackDuringTheWindowKeepsTheCopies (0.00s)
offbox_ended_race_test.go:48: the page said „the off-site copies are kept”, no record exists, and the window removed kimai's copy ([k1-full v1-full v2-full v3-full])
--- FAIL: TestD72_AnInstallDuringTheWindowKeepsTheCopies (0.00s)
offbox_ended_race_test.go:91: the window removed [k1-full] of an app that was installed again while the hub answered
== MUTATION: a take-back during the forget is answered „kept”
RED on the mutant, GREEN on the real file
--- FAIL: TestD72_ATakeBackDuringTheForgetIsNotAnsweredKept (0.00s)
offbox_ended_race_test.go:119: asked=true kept=true — a take-back during the forget was answered „kept” while the copies were being removed
3 mutations, 1 not a red-proof
NOTE on the mutation that is "not a red-proof": it did not compile (`e` unused). It was NOT done again, because the
changed condition cannot be reached by a test: a record written anew is never due (its 30 days have just started), so
`dueOffsiteEnds` has already dropped it before the removed_at comparison. The comparison stays in the code as a second
line and is NOT claimed as proven. The case itself ("removed again: a NEW record with a new time") is in the RED block
above and is green after the fix.
@@ -0,0 +1,65 @@
FINDING 3 — an import installed the app and the off-site end record survived.
### RED: the new tests on the code as it was (controller 3928c3d), before the fix
=== RUN TestD72_AnImportDeletesTheEndRecord
d72_every_install_path_test.go:59: import: the app is installed again and its off-site end record survives ({App:gapp RemovedAt:2026-10-17T13:27:55Z EndsAt:2026-11-16T13:27:55Z}) — the window would delete a living app's history
--- FAIL: TestD72_AnImportDeletesTheEndRecord (0.00s)
=== RUN TestD72_ARestoreIntoAnInstallDeletesTheEndRecord
d72_every_install_path_test.go:68: unit restore: the app is installed again and its off-site end record survives ({App:gapp RemovedAt:2026-10-17T13:27:55Z EndsAt:2026-11-16T13:27:55Z}) — the window would delete a living app's history
--- FAIL: TestD72_ARestoreIntoAnInstallDeletesTheEndRecord (0.00s)
=== RUN TestD72_ADriveFlipRecordWriteDeletesTheEndRecord
d72_every_install_path_test.go:80: drive flip: the app is installed again and its off-site end record survives ({App:gapp RemovedAt:2026-10-17T13:27:55Z EndsAt:2026-11-16T13:27:55Z}) — the window would delete a living app's history
--- FAIL: TestD72_ADriveFlipRecordWriteDeletesTheEndRecord (0.00s)
=== RUN TestD72_SaveAppConfigIsTheOnePoint
d72_every_install_path_test.go:96: SaveAppConfig(Deployed: true): the app is installed again and its off-site end record survives ({App:gapp RemovedAt:2026-10-17T13:27:55Z EndsAt:2026-11-16T13:27:55Z}) — the window would delete a living app's history
--- FAIL: TestD72_SaveAppConfigIsTheOnePoint (0.00s)
=== RUN TestD72_TheInstallWritersAreListed
d72_every_install_path_test.go:155: a struct literal that says Deployed: true:
d72_every_install_path_test.go:164: SaveAppConfig does not call noteAppInstalled — no install path deletes the off-site end record
--- FAIL: TestD72_TheInstallWritersAreListed (0.52s)
FAIL
FAIL gitea.dooplex.hu/admin/felhom-controller/internal/stacks 0.573s
FAIL
### After the fix: mutations
== MUTATION: SaveAppConfig is not the install point (only DeployStack deletes the record)
RED on the mutant, GREEN on the real file
--- FAIL: TestD72_AnImportDeletesTheEndRecord (0.00s)
d72_every_install_path_test.go:59: import: the app is installed again and its off-site end record survives ({App:gapp RemovedAt:2026-10-17T13:29:15Z EndsAt:2026-11-16T13:29:15Z}) — the window would delete a living app's history
--- FAIL: TestD72_ARestoreIntoAnInstallDeletesTheEndRecord (0.00s)
d72_every_install_path_test.go:68: unit restore: the app is installed again and its off-site end record survives ({App:gapp RemovedAt:2026-10-17T13:29:15Z EndsAt:2026-11-16T13:29:15Z}) — the window would delete a living app's hist
== MUTATION: a „not deployed” write deletes the record too
RED on the mutant, GREEN on the real file
--- FAIL: TestD72_SaveAppConfigIsTheOnePoint (0.00s)
d72_every_install_path_test.go:91: a „not deployed” write deleted the end record
== MUTATION: one global hook: a write in another stacks directory reaches this box
RED on the mutant, GREEN on the real file
--- FAIL: TestD72_SaveAppConfigIsTheOnePoint (0.00s)
d72_every_install_path_test.go:96: SaveAppConfig(Deployed: true): the app is installed again and its off-site end record survives ({App:gapp RemovedAt:2026-10-17T13:29:27Z EndsAt:2026-11-16T13:29:27Z}) — the window would delete a
== MUTATION: living: an app being installed is not living
RED on the mutant, GREEN on the real file
--- FAIL: TestD72_IsLivingApp (0.00s)
d72_every_install_path_test.go:201: being installed (Deploying): "gapp" does not read as living
== MUTATION: living: the protected list is not read
RED on the mutant, GREEN on the real file
--- FAIL: TestD72_IsLivingApp (0.00s)
d72_every_install_path_test.go:201: a protected stack by the config, not in the list: "traefik" does not read as living
d72_every_install_path_test.go:201: always-protected samba: "samba" does not read as living
== MUTATION: living: an installed app the manager does not list is „removed”
RED on the mutant, GREEN on the real file
--- FAIL: TestD72_IsLivingApp (0.00s)
d72_every_install_path_test.go:220: an INSTALLED app the manager does not list reads as removed — the window could end its copies
== MUTATION: living: everything is living (no end is ever carried out)
RED on the mutant, GREEN on the real file
--- FAIL: TestD72_IsLivingApp (0.00s)
d72_every_install_path_test.go:181: a catalog app that is NOT installed reads as living — its end could never be carried out
7 mutations, 0 not a red-proof
== MUTATION: the manager does not register the install point
RED on the mutant, GREEN on the real file
--- FAIL: TestD72_AnImportDeletesTheEndRecord (0.00s)
d72_every_install_path_test.go:59: import: the app is installed again and its off-site end record survives ({App:gapp RemovedAt:2026-10-17T13:29:56Z EndsAt:2026-11-16T13:29:56Z}) — the window would delete a living app's history
--- FAIL: TestD72_ARestoreIntoAnInstallDeletesTheEndRecord (0.00s)
d72_every_install_path_test.go:68: unit restore: the app is installed again and its off-site end record survives ({App:gapp RemovedAt:2026-10-17T13:29:56Z EndsAt:2026-11-16T13:29:56Z}) — the window would delete a living app's hist
1 mutations, 0 not a red-proof