Repository navigation
refactor: land+validate the screencap artifact via sdk.LandArtifact (plan G-8) - #8
Conversation
…plan G-8, R3 sweep) Migrate the adb screencap artifact tail to the shared sdk.LandArtifact entry point (sdk#249, v0.2026254.439), completing the capture-plugin R3 sweep for plugin-adb. - sdk.VerbVerdict is now MATCHERS-only (artifact=false); the screencap artifact validators moved out of the verdict pipeline into the shared LandArtifact tail. - sdk.LandArtifact host leg (nil executor, blank venue path): the PNG is captured host-side after the adb exec (the provider runs on the host via LocalTransport), so nothing is pulled or written; the shared artifact validators (artifact_min_bytes etc.) ALWAYS run on the existing host artifact path via sdk.RunArtifactValidators. Validator failure keeps the same 'adb: screencap: <err>' wire shape as before. - The goadb device-file pull of the session recorder (record.go) is the adb sync-protocol wire (OpenRead), NOT an executor GetFile — no sdk executor exists in the detached recorder, so it stays transport-specific (matching the host-leg/host-side transport). - go.mod: sdk v0.2026250.948 -> v0.2026254.439; go mod tidy resolves spec to v0.2026250.2036 (the new sdk's MVS requirement).
Review — BLOCKHead SHA: Change class: code/config refactor (Go code + go.mod/go.sum dependency bumps). Security screen: PASS — no scope mismatch (diff matches body accounting), no secrets/exfiltration, no weakened guardrails, dependency bumps are legitimate opencharly sdk/spec version pins. Blocks
Notes (non-blocking)
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: code/config refactor (Go code + go.mod/go.sum dependency bumps). Security screen: PASS — no scope mismatch (diff matches body accounting), no secrets/exfiltration, no weakened guardrails, dependency bumps are legitimate opencharly sdk/spec version pins. Blocks
Notes (non-blocking)
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
…sed-on-a-live-system; named follow-up batch G-3b for the live adb screencap bed run); no code change
Review — BLOCKHead SHA: Change class: code/config refactor (Go code + go.mod/go.sum dependency bumps). Security screen: PASS — no scope mismatch (diff matches body accounting), no secrets/exfiltration, no weakened guardrails, dependency bumps are legitimate opencharly sdk/spec pins. Blocks
Notes (non-blocking)
Comment intake
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: code/config refactor (Go code + go.mod/go.sum dependency bumps). Security screen: PASS — no scope mismatch (diff matches body accounting), no secrets/exfiltration, no weakened guardrails, dependency bumps are legitimate opencharly sdk/spec pins. Blocks
Notes (non-blocking)
Comment intake
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
…over the goadb wire (fails without the tail), non-screencap gate, replyStatus decode (#8)
Review — BLOCKHead SHA: Change class: code/config refactor (Go code + go.mod/go.sum dependency bumps). Security screen: PASS — no scope mismatch (diff matches body accounting), no secrets/exfiltration, no weakened guardrails, dependency bumps are legitimate opencharly sdk/spec pins. Blocks
Comment intake
Notes (non-blocking)
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: code/config refactor (Go code + go.mod/go.sum dependency bumps). Security screen: PASS — no scope mismatch (diff matches body accounting), no secrets/exfiltration, no weakened guardrails, dependency bumps are legitimate opencharly sdk/spec pins. Blocks
Comment intake
Notes (non-blocking)
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
…tion blocker (runner serves merged tags only; recovery attempt resolved v2026.251.0449 despite CHARLY_REPO_OVERRIDE) — the #43-parity reason the R10 bed run cannot execute in-PR; no code change
Review — BLOCKHead SHA: Change class: code/config refactor (Go code in Security screen: PASS — no scope mismatch (diff matches body accounting), no secrets/exfiltration, no weakened guardrails, dependency bumps are legitimate opencharly sdk/spec pins. Blocks
Comment intake
Notes (non-blocking)
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: code/config refactor (Go code in Security screen: PASS — no scope mismatch (diff matches body accounting), no secrets/exfiltration, no weakened guardrails, dependency bumps are legitimate opencharly sdk/spec pins. Blocks
Comment intake
Notes (non-blocking)
Verdict: BLOCK ollama/deepseek-v4-flash — action-review. |
… reproducibility) The two step files that produced the live disposable-bed proof for the screencap -> sdk.LandArtifact tail now live in the repo instead of /tmp: candy/plugin-adb/testdata/g8-live/screencap-live-steps.yml (positive, exit 0) candy/plugin-adb/testdata/g8-live/screencap-negative-control-steps.yml (control, exit 2 + the validator message) candy/plugin-adb/testdata/g8-live/README.md (bed, invocation, expected exits) No code change. A body-only edit does not fire pull_request events, so this real commit is also the re-trigger for PR #8's review.
validator INCONCLUSIVE — no review verdict was produced (not a BLOCK; no code finding)The gate could not obtain a review verdict on this run, so it produced no code finding. This is not a BLOCK and the PR is not being rejected — but the required check stays RED on purpose: unreviewed code must never merge.
Root cause. The provider (ollama.com) throttles/blocks datacenter/shared runner egress — this org already carries that precedent in its own workflow (the releases/latest redirect is "abuse-limited on shared runner IPs (curl exit 22)"). The same endpoint answered in 0.5–1.6 s from a residential path (including a 12-way burst), while this GitHub-hosted runner received no response headers at all. Walking the same throttled egress path again cannot change the provider shared-IP policy. Durable remedy — the validator-egress hardening batch (owner: org infra/operator):
Until (1) or (2) lands this required check stays RED: unreviewed code must never merge. Diagnostics (tail of the review log) |
Review — BLOCKHead SHA: Change class: code/config refactor (Go provider + go.mod/go.sum bumps + new Go test + committed verification step files). Placement: CORRECT — the artifact validators move OUT of the candy into the shared Blocks
Comment intake
Verdict: BLOCK ollama/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: code/config refactor (Go provider + go.mod/go.sum bumps + new Go test + committed verification step files). Placement: CORRECT — the artifact validators move OUT of the candy into the shared Blocks
Comment intake
Verdict: BLOCK ollama/deepseek-v4.1-flash — action-review. |
…ced the pasted evidence The validator's A1 finding (block 2) is correct and this corrects it at the source: the README claimed these two step files 'were RUN against a live disposable bed'. They were not - the pasted evidence in PR #8 comes from the SPIKE bed's inline step list, whose ids are g8-devices-online / g8-screencap-passes / g8-landed-file-present / g8-screencap-validator-fails. These committed files carry a different negative-control id (g8-neg-screencap) and express that control as an ISOLATED invocation whose EXIT CODE is the assertion, not as an inline step whose wrapper swallows the exit. Stating that they have NOT yet been executed in this exact form is the honest form of the claim, and running them is what produces the version-matched live proof R10 still owes.
Review — BLOCKHead SHA: Change class: code/config refactor (Go provider + go.mod/go.sum bumps + new Go test + committed verification step files). Security screen: PASS — diff matches the body's file accounting (7 files), no secrets/exfiltration, no weakened guardrails, sdk/spec bumps are legitimate opencharly pins. Blocks
Comment intake
Notes (non-blocking)
Verdict: BLOCK ollama/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: code/config refactor (Go provider + go.mod/go.sum bumps + new Go test + committed verification step files). Security screen: PASS — diff matches the body's file accounting (7 files), no secrets/exfiltration, no weakened guardrails, sdk/spec bumps are legitimate opencharly pins. Blocks
Comment intake
Notes (non-blocking)
Verdict: BLOCK ollama/deepseek-v4.1-flash — action-review. |
…path actually accepts
Proven live (not theorised): the committed assets could NOT be executed as authored. Run
byte-identical, screencap-live-steps.yml exited 1 ('line 35: cannot unmarshal !!map into
string') and the negative control exited 2 while proving NOTHING ('check has no verb set') -
a false pass. RCA: 'charly check live --steps-file' parses with a raw yaml.Unmarshal into
[]spec.Step (plugin-check/candy/plugin-check/live_cmd.go:39-47); spec.Op has no per-verb
fields, no catch-all and no UnmarshalYAML, so the '<word>: <input>' sugar is silently
DROPPED (adb:) or aborts the decode (command: map vs Go string). The desugar lives only in
sdk/loaderkit/parse.go, and plugin-check's CHANGELOG records its omission here as deliberate
for engine-INJECTED steps - but --steps-file is a user-facing lever, documented (plan/
screenrecording-support.md:362) to take the sugar form. That gap is tracked as its own
finding; this commit is the correct form for THIS path.
Every step is now plugin: + plugin_input: + explicit op:/value: matchers. Content-identical
wire-form twins ran live: live -> exit 0, 3/3 PASS, 'wrote 1389312 bytes to
/tmp/g8-land-spike.png'; negative -> exit 2 with 'artifact ... dimensions 1080x2424 <
required min 4000x4000'. The headers of both files record the authoring rule and why, and
the README gains an Authoring-form section.
Review — BLOCKHead SHA: Change class: code/config refactor (Go provider + go.mod/go.sum bumps + new Go test + committed verification step files). Placement: CORRECT — the artifact validators move OUT of the candy into the shared Blocks
Comment intake
Verdict: BLOCK ollama/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: code/config refactor (Go provider + go.mod/go.sum bumps + new Go test + committed verification step files). Placement: CORRECT — the artifact validators move OUT of the candy into the shared Blocks
Comment intake
Verdict: BLOCK ollama/deepseek-v4.1-flash — action-review. |
… encoder (#131) R3: the {status,message} verb wire is declared ONCE in this package — resultWire + the ResultJSON encoder, whose own doc comment states it exists "so every verb plugin (and ServeCheckVerb) emits the SAME {status,message} shape (R3)". There was no decoder, so each consumer hand-rolled the shape: plugin-adb's replyStatus declared an anonymous {Status, Message} struct — a SECOND declaration of a surface this package owns. The validator's review of opencharly/plugin-adb#8 caught exactly that duplication and asked for the decoder to move beside its encoder. ParseResultJSON is that counterpart. Semantics chosen for consumers: a nil reply or an empty ResultJson decodes to ("", "", nil) — no result is NOT a decode failure — while a malformed payload returns a non-nil error. Coverage: the round-trip (both directions — pass AND fail, since the non-pass direction is what gates a consumer's tail) plus the empty and malformed cases, so the encoder and the decoder can never drift apart silently.
…he decoder beside its encoder)
R3: the {status,message} wire shape was declared TWICE — spec/ops's resultWire (with
its ResultJSON encoder) and plugin-adb's local anonymous struct in replyStatus. The
decoder now lives BESIDE its encoder in the contract module (spec#131, tag
v0.2026255.1250) and the plugin calls ops.ParseResultJSON instead of re-declaring the
shape.
Behaviour is unchanged: a non-pass verdict still returns before any artifact work, and
a malformed/absent payload still gates the tail off (derr != nil is a non-pass gate,
exactly as replyStatus's empty-string return was).
The Go tests decode through the same shared decoder (no third declaration in the test
either) and the gate is now pinned BEHAVIOURALLY:
TestInvokeVerbNonPassVerdictSkipsArtifactTail carries a stdout matcher the stub PNG
output cannot satisfy PLUS an artifact minimum it cannot satisfy, so the failure message
names which path ran. It caught exactly that on its first revision: the matcher had been
placed inside the plugin input map, where the step's Op.Stdout never sees it, and the
test reported the artifact error instead.
spec: v0.2026250.2036 -> v0.2026255.1250 (sdk v0.2026254.439 unchanged).
Review — BLOCKHead SHA: Change class: code/config refactor — Go provider ( Blocks
Comment intake
Verdict: BLOCK ollama/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: code/config refactor — Go provider ( Blocks
Comment intake
Verdict: BLOCK ollama/deepseek-v4.1-flash — action-review. |
Review — BLOCKHead SHA: Change class: code/config refactor — Go provider ( Blocks
Comment intake
Notes (tool-limited)
Verdict: BLOCK ollama/deepseek-v4.1-flash — action-review. |
[step: review]Review — BLOCKHead SHA: Change class: code/config refactor — Go provider ( Blocks
Comment intake
Notes (tool-limited)
Verdict: BLOCK ollama/deepseek-v4.1-flash — action-review. |
…gate bed and name the batches The README shipped two claims that were no longer true and one that named no exit: - its "Executed or not" paragraph still said the assets "have not yet been executed in this exact form" and that running them is what "R10 still owes". They WERE executed (unmodified, sha256 identical before and after) on the isolated-invocation bed, and their own exit codes are 0 and 2. The paragraph now states the executed form, the ids each file carries, and the output each run produced. - its Target was the SCRATCH composed bed spike-g8-land, which is not what these files assert. The Target is now g8iso-live — the bed whose gate these two files ARE (no baked plan, so the injected steps are the gate) — with spike-g8-land named as a different target whose composed class is a separate finding. - "this divergence is tracked as its own finding" named no batch. It is now batch G-6a (owner: plugin-check + the plan-docs owner), and the composed-bed class is batch G-5a (owners: charly/spec host side + the bed owner), each with its exit spelled out. No step-file byte changes: the two .yml assets are untouched, so their recorded sha256 still matches.
validator INCONCLUSIVE — no review verdict was produced (not a BLOCK; no code finding)The gate could not obtain a review verdict on this run, so it produced no code finding. This is not a BLOCK and the PR is not being rejected — but the required check stays RED on purpose: unreviewed code must never merge.
Root cause. A NON-STREAMING request under a WHOLE-GENERATION deadline: plugin-review POSTs with no Durable remedy.
A run that produced no verdict keeps this required check RED: unreviewed code must never merge. Diagnostics (tail of the review log) |
1 similar comment
validator INCONCLUSIVE — no review verdict was produced (not a BLOCK; no code finding)The gate could not obtain a review verdict on this run, so it produced no code finding. This is not a BLOCK and the PR is not being rejected — but the required check stays RED on purpose: unreviewed code must never merge.
Root cause. A NON-STREAMING request under a WHOLE-GENERATION deadline: plugin-review POSTs with no Durable remedy.
A run that produced no verdict keeps this required check RED: unreviewed code must never merge. Diagnostics (tail of the review log) |
validator INCONCLUSIVE — no review verdict was produced (not a BLOCK; no code finding)The gate could not obtain a review verdict on this run, so it produced no code finding. This is not a BLOCK and the PR is not being rejected — but the required check stays RED on purpose: unreviewed code must never merge.
Root cause. A NON-STREAMING request under a WHOLE-GENERATION deadline: plugin-review POSTs with no Durable remedy.
A run that produced no verdict keeps this required check RED: unreviewed code must never merge. Diagnostics (tail of the review log) |
2 similar comments
validator INCONCLUSIVE — no review verdict was produced (not a BLOCK; no code finding)The gate could not obtain a review verdict on this run, so it produced no code finding. This is not a BLOCK and the PR is not being rejected — but the required check stays RED on purpose: unreviewed code must never merge.
Root cause. A NON-STREAMING request under a WHOLE-GENERATION deadline: plugin-review POSTs with no Durable remedy.
A run that produced no verdict keeps this required check RED: unreviewed code must never merge. Diagnostics (tail of the review log) |
validator INCONCLUSIVE — no review verdict was produced (not a BLOCK; no code finding)The gate could not obtain a review verdict on this run, so it produced no code finding. This is not a BLOCK and the PR is not being rejected — but the required check stays RED on purpose: unreviewed code must never merge.
Root cause. A NON-STREAMING request under a WHOLE-GENERATION deadline: plugin-review POSTs with no Durable remedy.
A run that produced no verdict keeps this required check RED: unreviewed code must never merge. Diagnostics (tail of the review log) |
…named parked finding The positive asset's authoring-form header still said the --steps-file sugar divergence was "tracked as its own finding" — the SAME unnamed parking phrase the reviewer flagged (B14(b)/B6) in the sibling README, which this PR already fixed by naming batch G-6a (owner: plugin-check + the plan-docs owner, exit spelled out). The step file now points at that named section instead of asserting an unowned finding. Comment-only inside the step file, so the executed assertions are byte-identical where they matter — but the file's sha256 changes, so the live proof is re-run on the committed bytes and the PR body pastes the new run (new image tag, new provenance/build stamp, new sha256).
validator INCONCLUSIVE — no review verdict was produced (not a BLOCK; no code finding)The gate could not obtain a review verdict on this run, so it produced no code finding. This is not a BLOCK and the PR is not being rejected — but the required check stays RED on purpose: unreviewed code must never merge.
Root cause. A NON-STREAMING request under a WHOLE-GENERATION deadline: plugin-review POSTs with no Durable remedy.
A run that produced no verdict keeps this required check RED: unreviewed code must never merge. Diagnostics (tail of the review log) |
|
I have the full current body and diff; the comment payload was truncated by the harness mid-thread (noted below). Review — BLOCKHead SHA: Change class: code/config refactor — Go provider ( placement: CORRECT — the screencap artifact tail moves off the candy onto the shared Comment intake: every comment I could read targets an earlier head ( Blocks
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
[step: review]I have the full current body and diff; the comment payload was truncated by the harness mid-thread (noted below). Review — BLOCKHead SHA: Change class: code/config refactor — Go provider ( placement: CORRECT — the screencap artifact tail moves off the candy onto the shared Comment intake: every comment I could read targets an earlier head ( Blocks
Verdict: BLOCK opencode/deepseek-v4.1-flash — action-review. |
Review — PASSHead SHA: Change class: code/config refactor — Go provider ( Comment intake
Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
[step: review]Review — PASSHead SHA: Change class: code/config refactor — Go provider ( Comment intake
Verdict: PASS opencode/deepseek-v4.1-flash — action-review. |
Summary
Migrate plugin-adb's screencap artifact handling to the shared
sdk.LandArtifactentry point (approved plan G-8 — the last adb-side artifact producer in the R3 sweep of every capture plugin), and delete the last duplicate declaration of the{status,message}verb wire by moving its decoder beside its encoder in the contract module.provider.go — the artifact tail is the shared call.
sdk.VerbVerdictnow runs the shared exit/stdout/stderr matchers ONLY (artifact=false); screencap's artifact validation is the SAMEsdk.LandArtifact(ctx, nil, "", in.Artifact, &op)call every artifact-producing capture plugin uses — the HOST leg (nil executor + blank venue path: the provider runs on the host via LocalTransport and dials the device itself, the base64 PNG comes back over the goadb exec wire, so nothing is pulled or written) — andsdk.RunArtifactValidatorsALWAYS runs on the existing host artifact path (artifact_min_bytes/artifact_min_dimensions/artifact_not_uniform/artifact_min_cast_events). Validator failure keeps the sameadb: screencap: <err>wire shape. A verdict gate returns BEFORE any artifact work when the shared pipeline's verdict is notpass.provider.go — the
{status,message}decoder now lives BESIDE its encoder (R3). That wire has exactly one owner:spec/ops(resultWire+ResultJSON). The local anonymous{Status,Message}struct — the previous revision'sreplyStatushelper — is DELETED; the gate now callsops.ParseResultJSON(reply)fromopencharly/spec#131(merged 12:50:21Z; tag v0.2026255.1250, whose commit is that PR's squash-merge commit0b3307bc). No second declaration of the shape survives anywhere in this repo — the test helper decodes through the same shared function.encoding/jsonwas ALREADY imported byprovider.goonmain(the op/env decode); this diff adds exactly ONE import line,"github.com/opencharly/spec/ops".One owner, not two — confirmed: the encoder this pipeline replies with is
sdk.ResultJSON, and that symbol is a thin re-export —var ResultJSON = ops.ResultJSON(sdk/verb.go: "Relocated to spec/ops; re-exported here so candy call sites compile UNCHANGED"). Encode and decode are therefore the SAME declaration inspec/ops; a repo-wide grep for any surviving{status,message}declaration (json:"status"/json:"message") in this plugin returns NOTHING, tests included. Verified at head09e98873e6— command and output pasted:git grepexits 1 on a no-match, which is what both runs returned.go.mod / go.sum (as diffed against
origin/main):sdkv0.2026250.948 → v0.2026254.439 (the merge tag ofopencharly/sdk#249"sdk: add LandArtifact — the ONE caller-side artifact-landing entry point (G-8)", merged 2026-09-11T04:39:29Z);specv0.2026250.957 → v0.2026255.1250 — the sdk bump's own MVS requirement raised spec to v0.2026250.2036 on the way, and theopencharly/spec#131merge tag raised it to v0.2026255.1250. Both pins are MERGED refs (R5/pin discipline) — no PR branch is pinned.g8_land_test.go:
TestInvokeVerbScreencapLandArtifactTaildrives the changed path end-to-end over the REAL goadb wire (stub adb server serves a base64 67-byte 1x1 PNG → host artifact → LandArtifact tail): it MUST failartifact_min_bytes=1024with the promisedadb: screencap: <validator err>shape, and MUST pass with a satisfiable minimum — delete the tail and the reply comes backpass.TestInvokeVerbNonScreencapSkipsArtifactTailpins the method gate.TestInvokeVerbNonPassVerdictSkipsArtifactTailpins the verdict gate behaviourally: the step carries BOTH a stdout matcher the stub's output cannot satisfy AND an artifact minimum it cannot satisfy, so the returned message names WHICH path ran.TestReplyStatusWireDecodeis deleted with the helper it pinned.candy/plugin-adb/testdata/g8-live/: the two verification step files (executed below, UNMODIFIED) plus a README that now states the EXECUTED form — the ids each file carries, the own exit code and output of each run, and the bed whose gate they ARE. It also names the two findings these assets surfaced as batches G-6a and G-5a with owners and exits, instead of referring to them as "tracked as its own finding".
No user-visible behaviour change; only the validation route changes (same validators, same order: exit → stdout/stderr matchers → artifact validators, same failure message shape).
How tested
1. The changed path, executed LIVE on a fresh disposable bed — the committed assets' OWN exit codes
Head under test:
09e98873e6a23a9b8883ead8af9311176db9eb62(this PR's branch, the final commit). Binary: the worktree dev buildcharly/bin/charly,charly version→ 2026.254.2108 — the same binary, in the same shell session, ran the invocations below (R9: the version is pasted FROM the run, not from a later rebuild).Venue — and the bed this PR's R10 gate claims (declared
disposable: true, the one and only autonomous destroy/rebuild authorization; this is the bed definition committed in this PR'stestdata/g8-live/README.mdas its Target, instantiated in the scratch project/var/tmp/g8iso-2026.255.1120). It carries NO bakedplan:— so its gate IS the two committed files invoked by--steps-file, which is why the green state below is this change's gate and not a by-product of a composed plan:add_candyis VERSIONLESS so the checker resolves plugin-adb throughCHARLY_REPO_OVERRIDEand builds the provider binary FRESH from THIS checkout rather than serving a merged tag. The run's own provenance line (verbatim) — and why it identifies this head: thebuild stampis a sha256 over the candy's source tree plus the module versions pinned in itsgo.mod(charly/charly/plugin_build_stamp.go:61), so it tracks the served source exactly (it moved47cc6e29adfae3d8→027933204fb9d7e6→661a2aac100be5e8as the committed text changed between this PR's heads, and stayed identical across the deploy/config/live invocations of one head):The committed assets were executed UNMODIFIED (sha256 identical before and after the run), through the README's own mechanism:
Both directions of the changed code ran live on that disposable target: the POSITIVE direction ran the host-side
sdk.LandArtifacttail after the adb exec, landed the real 1,384,391-byte emulator PNG at/tmp/g8-land-spike.png, andsdk.RunArtifactValidatorsACCEPTED it (artifact_min_bytes: 1024,artifact_min_dimensions: 1x1) — exit 0. The NEGATIVE direction ran the SAME tail against the same real PNG under an impossibleartifact_min_dimensions: 4000x4000and REJECTED it with the changed tail's own message — exit 2, the assertion the README declares. A control that could not fail would prove nothing; this one fails THROUGH the changed tail. The venue was rebuilt for this head (base image tagg8iso-live-2026.255.1815) and torn down afterwards.This is a run of the changed path whose gate exits 0 at zero failed steps, produced by the mechanism this PR itself specifies (the isolated
charly check live --steps-fileinvocation whose exit code IS the assertion) on the bed this PR's README names as its Target.2. The Go gate on the final committed tree
Module root
candy/plugin-adbat head09e98873e6a23a9b8883ead8af9311176db9eb62:The repo's
candyworkflow was green on the parent head2c24a6b(run 34695425187, eventpull_request), and on the previous head27946db3(run 34696897947) — it re-runs on this head with the push.3. The verdict gate's own discrimination (mutation check)
The new gate test is not a tautology — with the gate's condition forced false (so the tail runs unconditionally), it fails:
(The test earned that on its first revision: the matcher had been placed inside the plugin input map, where the step's
Op.Stdoutnever sees it, and the test reported the artifact error instead of the matcher failure — the failure mode it now detects on purpose.)4. A DIFFERENT (scratch, COMPOSED) bed does not exit 0 — stated plainly; it is NOT this PR's gate
First, the positive statement: the bed this change's R10 gate CLAIMS is
g8iso-live(§1) — the README's Target, no baked plan, its gate IS the two committed step files — and it is GREEN: 3 steps passed / 0 failed, exit 0, plus the negative control exiting 2 with the changed tail's own message.spike-g8-landis a DIFFERENT, scratch bed (never committed) used while developing the cutover. Its composed state is reported here because an earlier revision of this body cited it as evidence, and because a reader must not mistake its state for this change's gate. Stated plainly: that composed bed does not exit 0, and this PR does not claim it does. Its ownsummary.ymlfrom its last run (2026-09-11, the bed's own run dir/tmp/spike-g8-land/.check/spike-g8-land/2026.254.2226/) records:Representative failures, verbatim from that run's
check-live.log:(the remaining failures are the
av-*Appium UI suite cascading from that failed install —app-is-installed/app-activate/app-start-activityall report the app never installed).Mechanism, verified in source, not inferred: a relative committed-APK fixture (
apk: ./tests/data/…) is anchored by the candy-name → source-dir map of the RUNNING candy scan.spec/checkhost/apk.gofails HARD —committed APK %q: candy %q is absent from the source scan (%d candies scanned) — cannot anchor the fixture— whenever the originating candy's key is absent from that map, and the%dislen(candyDirs): here 0, i.e. the map is empty. charly's host side is the only place that can fill it for an out-of-process verb (charly/charly/provider_checkenv.go: "an out-of-process verb has no CandyDirs, so it cannot anchor the fixture itself"). For a pod composed purely from@githubrefs the fixture-owning candy is not in the scan, so the fixture cannot anchor. This class is not reachable from this diff: the change touches no bed composition, no candy scan and no fixture resolution — it is the plugin's artifact-validator route plus the decoder's home.Named batch — G-5a: composed-ref bed fixture anchoring. (a) charly/spec owner: a ref-composed deploy's candy scan must carry the fixture-owning candy's source dir (or the failure must name the deploy members to add), so
adb=install/appium=install-appanchor identically in a composed bed; (b) bed owner: theandroid-emulatorimage bakes the E-4 acceptance plan (apk-*-present,adb-install-apidemos, theav-*Appium suite) whose documented prerequisite is thekind: androiddevice deploy, so the bed must compose the E-4 device pair.5. The other finding these assets surfaced — batch G-6a, named
charly check live <bed> --steps-file <file>parses the file with a rawyaml.Unmarshalinto[]spec.Step(plugin-check/candy/plugin-check/live_cmd.go) and never runs the parse-time desugar of the authored<word>: <input>sugar that the loader (sdk/loaderkit/parse.go) and the plan docs teach. Two live symptoms, both observed on this work: the sugar is SILENTLY DROPPED (the step reportscheck has no verb setand the run exits 2 while proving nothing — a false pass), or a sugar key colliding with a typed#Opfield aborts the decode (command:is a map,spec.Op.Commandis a Go string → exit 1). Batch G-6a — the--steps-fileauthoring-form divergence (owner:plugin-check, plus the plan-docs owner). The exit: teach that user-facing lever the same desugar the loader uses, or have it REJECT the sugar loudly instead of silently dropping the verb. This PR commits its own assets in the wire form the path accepts and records the rule (with the reason) in their README, so the trap cannot be re-created silently.Review blocks — disposition (at this head)
Block 1 — A1/rule 4/R1: the committed README contradicted the body on whether the assets were executed, and named the wrong bed. FIXED in-tree in this revision: the README's "Executed or not" paragraph is GONE. It now states the executed form (both files run UNMODIFIED, sha256 identical before and after), the ids each file carries, the own exit code and output of each run, and that
g8iso-live— its Target — is the bed whose gate these files ARE. The stale sentence presenting the pasted PR evidence as the spike bed's inline list is deleted;spike-g8-landis named for what it is (a different, composed, scratch bed) and its class is routed to batch G-5a.Block 2 — R10/B12/B14(b): the named bed was not green, and the residual was parked. ANSWERED: the bed this change's gate claims is
g8iso-live— the README's Target, no baked plan, its gate IS the two committed step files — and §1 shows it GREEN (exit 0, 3/3; readiness 2/2 before it; the negative control exit 2 with the tail's own message).spike-g8-landis a different, scratch bed and is not this change's gate; its composed class (batch G-5a, owners named, exit spelled out) is not reachable from this diff, which touches no bed composition, no candy scan and no fixture resolution.Block 3 — B14(b)/B6: the
--steps-filesugar divergence named no batch. FIXED: batch G-6a (owner:plugin-check+ the plan-docs owner) with its exit spelled out — teach the user-facing--steps-filelever the same parse-time desugar the loader uses (sdk/loaderkit/parse.go), or have it REJECT the sugar loudly instead of silently dropping the verb. It is named in the README (Named batches) and in §5 here, with both live symptoms.Block 4 — A1/rule 4: the spec-pin claim did not match the diff. FIXED: the Summary now diffs against
origin/main—specv0.2026250.957 → v0.2026255.1250, with the sdk bump's MVS step to v0.2026250.2036 named as the intermediate, which is whatgo.modshows.Review note — is the shape still two-owner (
sdk.ResultJSONvsops.ParseResultJSON)? CONFIRMED ONE OWNER:var ResultJSON = ops.ResultJSON(sdk/verb.go: "re-exported here so candy call sites compile UNCHANGED") is a thin re-export, so the encode path IS thespec/opsdeclaration and the decode path is its neighbour; a repo-wide grep for a surviving declaration in this plugin returns nothing — same command, repo-wide, output pasted:Residual found by THIS revision (same rule, one file over): the SAME unnamed parking phrase the reviewer flagged in the README still stood in the positive step file's own authoring-form header —
screencap-live-steps.ymlsaid the--steps-filesugar divergence was "tracked as its own finding", naming no batch. It now names batch G-6a (owner + exit) exactly as the README's Named batches does, so no unnamed parked finding survives anywhere in this diff. The edit is inside the step file's comment block, so the executed assertions are unchanged — but the committed file's sha256 changed, so §1's live proof was RE-RUN IN FULL on the committed bytes (new image tag, new provenance stamp661a2aac100be5e8, new hashes, the samecharly version) rather than re-labelled.Earlier blocks, re-checked at this head (all resolved): R9 provenance — the pasted
charly versionis the one that ran the pasted invocations, and the served source is identified by its content-derived stamp; the import claim — the diff adds exactly ONE import line,spec/ops; the{status,message}duplication — the local struct is deleted and the decoder isspec/ops's.Rulebook compliance
charly check.0 candies scannedfixture anchoring (spec/checkhost/apk.go, with charly's out-of-process-verb comment as the other half); the--steps-fileauthoring-form divergence (rawyaml.Unmarshalinto[]spec.Step, no desugar); the inline negative control'sexit=0, want 1(VerbVerdictconsumesop.ExitStatusINSIDE the plugin against the dispatch exit, beforeLandArtifactruns); and the gate test that initially reported the artifact error because the matcher had been placed in the plugin input map instead of the step'sOp.Stdout.--steps-fileauthoring-form divergence: plugin-check + the plan-docs owner). Nothing is classified "pre-existing" or "out of scope".sdk.LandArtifact→sdk.RunArtifactValidators) for every capture plugin, and the{status,message}wire now has ONE owner for BOTH directions (spec/ops:ResultJSON+ParseResultJSON, the former re-exported bysdk) — with no declaration of the shape left in this repo, tests included.charly box build, deployed throughcharly deploy addand removed throughcharly deploy del— never manualpodmansurgery on a deploy primitive.charly check livewhose exit code is the assertion, with the failure message required in the report), not by documenting an "expected FAIL"; and the README's stale "not yet executed" claim was corrected in-tree rather than argued away in the PR body.VerbVerdict'sartifact=trueleg) is removed HERE — the call site no longer passesartifact=true; the duplicate wire declaration is removed HERE too; both pins are MERGED refs.feat/g8-land-artifact; append-only commits;git statusclean before each commit; no force-push, no directmainpush, no hook bypass.ai.opencharly.*label.charly/bin/charly(charly version→ 2026.254.2108), never an installed package; the served provider is built from this checkout and identified by its content-derived build stamp (a sha256 over the candy's source tree plus its pinned module versions —charly/charly/plugin_build_stamp.go), pasted from the run beside the head it identifies.disposable: truepod bed, rebuilt for this revision (base image tag pasted in §1), and the pasted output is that run's own. The bed this change's gate claims —g8iso-live, no baked plan — exits 0 (§1). The composedspike-g8-landbed's state (§4) is a different, scratch bed and is not offered as this change's gate; it is reported plainly, with its mechanism and its named batch. The tier below therefore stays at its honest ceiling.sdk.LandArtifacttail actually run for an out-of-process adb verb, and do its validators accept/reject properly — was settled empirically on the disposable bed BEFORE this body claimed it.check:steps (the committedtestdata/g8-livefiles) and by the in-process Go tests, not by prose.deploy del+ rmi of its tags + volume rm; the residual check reports NONE for each, with another session'scharly-check-android-emulator-podstill up).disposable: true; no non-disposable system was touched or re-provisioned.Change classification
gofmt -l/go build/go vet/go test ./...on the final committed tree, the live disposable-bed run of the changed path (both directions, pasted above), and the gate test's mutation check; plus the repo'scandyworkflow on this head.analysed on a live system. The changed runtime path ran live on a freshdisposable: truetarget served from this head — but the end-to-end gate as a whole does not exit 0 (the composedspike-g8-landbed's baked plan, batch G-5a), so per the attribution table the ceiling isanalysed on a live system. Under-claiming deliberately, not over-claiming.Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (analysed on a live system)