Skip to content

check-commands-local has no --store step, so it cannot clear a change to the store category's input #1206

Open

Description

@aitrawog

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#384 therefore 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:

  1. a per-host configuration DIRECTORY authored with clean: {store_budget: {bytes: <value>}}
    (CHARLY_DEPLOY_CONFIG points at <dir>/charly.yml, so each case owns its directory — three files
    in one directory are one document three times);
  2. a fixture store under an injected CHARLY_CACHE_DIR with one entry referenced by a quadlet and one
    unreferenced;
  3. charly clean --store --dry-run must print of <value> … (ceiling: user config);
  4. the same with no clean: must print ceiling: plugin default;
  5. and bytes: 0 must 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

  1. added
    category:verification
    type:feat
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:verificationtype:feat

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions