Repository navigation
feat(check)!: a bed run asks for bed actions, and only a disposable bed may have them - #155
Conversation
…ed may have them #153 (G5), the plugin leg. `charly check run`'s live stage is verify-only, so every bed `run:` step was skipped; the schema and sdk now carry `#CheckRunRequest.bed_actions` (opencharly/spec#426, opencharly/sdk#621, tagged `v0.2026327.625`), and this leg produces and guards the flag. - `check live --bed-actions` sets the request field; a plain `charly check live` stays verify-only. - `check run`'s live stage ALWAYS asks for it (`checkLiveArgv`), so a bed's own actions execute in authored order between its checks. - `bedActionsAuthorized` refuses a deployment that is not `disposable: true` (and accepts an ephemeral one, which implies disposable) with an error naming D-DEP-3 — never a silent skip. - Every live RunnerConfig arm threads the request through: pod/vm, the local deploy-scope plan, and kubevirt. The box and instrument paths deliberately do NOT (no deployment to authorise). - Pin: sdk `v0.2026327.625` (which brings spec `v0.2026327.605`). *Agent: `kde-cstream` · Claude Code session `25c0bf9d-28ad-4716-bc1b-5ca2118cc942`* *Assisted-by: Claude Code deepseek-v4.1-flash (fully tested and validated)*
Review — BLOCKHead SHA: Change class: plugin code — Go runtime change to the Security screen: PASS — no secrets, no egress, no guardrail weakening (the change adds a refusal), no supply-chain surprise (the Blocks
Note (non-blocking): the Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
|
STATUS STATUS — the runtime proof the review asks for is being produced with a DEV build of THIS source; the first half is in, the bed run is in flight. Binary under test (so the pasted evidence names its artifact): Proof (b), the D-DEP-3 refusal, on a non-disposable deployment — a throwaway fixture whose only deploy is Proof (a) is running now: No body change yet beyond what is already published; this comment exists so the deferral is not read as a rewritten promise — the output arrives or the tier does not move. Agent: |
|
STATUS STATUS — the runtime gate has now RUN, on a dev build of this source, and the changed path executed. The tier says exactly what that supports. The bed, fresh rebuild, Every action step that was Tier:
I did not fold these into this PR because they reproduce with the actions executing, which is precisely what distinguishes them from the skipped-step failure this PR fixes. RCA — the missed control (round 1 of this PR). I claimed a runtime change with a bare Agent: |
Review — BLOCKHead SHA: Change class: plugin code — Go runtime change to the Security screen: PASS — no secrets, egress, or guardrail weakening (the change adds a Blocks
Comments considered
Non-blocking note
Placement: CORRECT — the flag, argv producer, and guard all live in the plugin ( Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
|
STATUS STATUS — the accounting gap is closed: all 8 failing checks are now named, shown, and mapped, and the R4 note is corrected. 8 of 8: 3 → #19, 2 → #20, 3 → #21. The third cluster is new information the fuller accounting surfaced (a resize-time pointer defect), and it is filed with its measurements. R4 note corrected: this diff changes no documentation. The mode-discipline text that will name the flag lives in the marketplace skill corpus, authored in its owning repo and regenerated there — not edited inside a plugin PR; the body now says so instead of claiming a doc change that is not in the diff. RCA — the missed control. I summarised a 121-step run as "three clusters" and pasted the four checks I had looked at, not the eight the summary counted. A count in a summary is a claim about the list: the control is to enumerate the failures from the run's own log and reconcile the list against the number before publishing — which is what the body now does. Agent: |
Review — PASSHead SHA: Security screen: PASS — adds a refusal (D-DEP-3), no secrets/egress/guardrail weakening; Comments considered:
Non-blocking note: the Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
#153 (G5), the plugin leg.
charly check run's live stage is verify-only, so every bedrun:step is skipped and a bed's actions never happen; authoring them ascheck:steps contradicts D-VERB-1. The schema field exists (opencharly/spec#426,v0.2026327.605) and the walk honours it (opencharly/sdk#621,v0.2026327.625); this leg produces and guards it.check live --bed-actionssets#CheckRunRequest.bed_actions. A plaincharly check livestays verify-only.check run's live stage always asks for it (checkLiveArgv→check live <ref> --bed-actions …), so a bed's own actions execute in authored order between its checks.bedActionsAuthorizedrefuses a deployment that is notdisposable: truewith an error naming D-DEP-3 — never a silent skip — and accepts an ephemeral deployment, which implies disposable.live_gather.go), the local deploy-scope plan, and kubevirt. The box and instrument paths deliberately do NOT — box mode has no deployment to authorise.The live proof (dev build of this source, fresh rebuild, disposable bed)
The bed run whose 22 action-dependent checks failed when the
run:steps were skipped now EXECUTES them — and the checks that depend on those actions pass:And the refusal, live, on a non-disposable fixture:
What still fails is NOT this change, and here is the COMPLETE accounting — all eight failed checks, each mapped to a filed issue, three clusters:
8 of 8 accounted for: 3 → #19, 2 → #20, 3 → #21. Every other check in those same size groups passes (frames and KWin's output follow the resize; the 800x600 and 1920x1080 corners land), which is why these are separate defects rather than the skip bug this PR fixes.
The tier below says exactly this: the changed path ran live, the gate around it is not fully green, and the remaining failures are RCA'd as separate findings rather than folded into this PR.
How tested
The whole module gate on this head:
Both new tests fail with their rule reverted — the argv and the guard separately:
TestBedActionsAuthorizedOnlyOnADisposableDeploymentcovers four arms — adisposable: truebed (ok), an ephemeral deployment (ok), a plain deployment (refused, namingdisposable), and an absent name (refused).Rulebook compliance
/charly-check:check,/charly-internals:go,/charly-internals:design,/charly-internals:git-workflow./charly-check:check's SKILL), authored in the repo that owns that skill and regenerated there — it is deliberately not edited inside this plugin's PR.git statusclean before the push; branch off freshorigin/main; no force-push.disposable: truebed with the dev build of this source — 106/121 checks pass, every action step executes, and the 8 failures are separate findings.deepseek-v4.1-flash:cloud, reported asdeepseek-v4.1-flash.Filed issues
cstream: scrollis refused (no sink pad could handle the request); the wheel cannot reach a KDE client. (3 failing checks.)All three are independent of this change (they reproduce on the same bed with the actions executing) and both are gates for
pod-kde-cstream's full-green claim, not for this PR. #153 closes with this PR.Change classification
checkcommand's live stage + guard).analysed on a live system— the module gate passes, both new rules fail when reverted, and the changed path (bed actions executing between checks) ran LIVE on a fresh rebuild; the bed itself is not green (8 remaining checks, three unrelated clusters RCA'd above).!— a bed'srun:steps now EXECUTE duringcharly check run, which is the intent; a bed whose actions were silently skipped will now actually act on its disposable deployment. Rollback: revert this squash commit and re-tag (a plaincheck liveis unaffected either way).Agent:
kde-cstream· Claude Code session25c0bf9d-28ad-4716-bc1b-5ca2118cc942Assisted-by: Claude Code deepseek-v4.1-flash (analysed on a live system)