Repository navigation
Description
check-commands-local has no step for --store, so it cannot clear a change to the store category
What happened
opencharly/plugin-clean#34 changes what charly clean --store measures against: the ceiling now comes
from the machine's user configuration (clean: {store_budget: {bytes}}, spec#384, read through
loaderkit.LoadHostCleanSectionViaExecutor from sdk#566), with the plugin's 32 GiB as the fallback.
The change-class bed for a command: change is check-commands-local, and it passed on a charly
tree wired to that branch:
bed: check-commands-local
calver: 2026.322.1842
driver_version: 2026.322.1604
ok: true
status: PASS
[check-live] PASS 7m26.464s · [update] PASS 40.57s
That PASS says nothing about the changed path. The bed's steps run charly clean --dry-run; none runs
--store, and none supplies a machine-authored ceiling, so a regression in the ceiling resolution —
including the one that existed while this was being built, where the authored value never arrived and
every run silently used the plugin's 32 GiB — would leave the bed green.
The path was proven out of band instead, and only because it was driven by hand:
g256 -> … of 256.0 GiB (ceiling: user config)
zero -> charly: error: … `clean.store_budget.bytes: 0`, which is not a positive ceiling — refusing to fall back
plain -> … of 32.0 GiB (ceiling: plugin default)
The gap, precisely
- The bed exercises the command surface (the externalized commands dispatch and exit 0); the store
category's inputs are not part of it. - A consumer of
spec#384therefore lands with no disposable witness for its own behaviour, and the
reviewer is asked to accept a hand-run arm — which is exactly what R10 exists to avoid.
Proposed fix (in this repo, where the bed lives)
Add one step to the check-commands-local bed (or a sibling bed) that drives the store category against
a fixture store with an authored ceiling, and asserts the report line rather than an exit code:
- a per-host configuration DIRECTORY authored with
clean: {store_budget: {bytes: <value>}}
(CHARLY_DEPLOY_CONFIGpoints at<dir>/charly.yml, so each case owns its directory — three files
in one directory are one document three times); - a fixture store under an injected
CHARLY_CACHE_DIRwith one entry referenced by a quadlet and one
unreferenced; charly clean --store --dry-runmust printof <value> … (ceiling: user config);- the same with no
clean:must printceiling: plugin default; - and
bytes: 0must fail with the refusal.
That turns "the knob reads the machine's value" into a disposable, repeatable claim instead of a
hand-driven one — and it would have caught the silent fallback before any reviewer saw it.
Agent: clean-retention
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (analysed on a live system)
Activity