Skip to content

feat(plugin): the deploy connect serves the plugins the deploy declares, and a step receives their paths (#1131) - #1134

Merged
github-actions[bot] merged 3 commits into
mainfrom
charly-plugins/leg-b
Nov 13, 2026
Merged

github-actions[bot] merged 3 commits into
mainfrom
charly-plugins/leg-b

Conversation

@aitrawog

@aitrawog aitrawog commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The loader already knows which built binary serves which plugin — loadPluginUnit resolves it and every run prints it (plugin <ref>: served from <path> (build <sha256>); source <dir>) — and then threw the mapping away. A step: that has only a plugin NAME therefore re-derived it by scanning a store directory and taking the newest match: a guess over a layout the plugin does not own, which cannot even run on a kind: cloud_image venue because no store exists there (opencharly/charly#1131).

Four pieces, one seam, plus the defect that proving them exposed:

  1. charly/plugin_connected_set.go (new) — records the served mapping (key, leaf, view_path, src_dir) as loadPluginUnit finishes registering a unit. Recorded AFTER registration (a unit that failed to register is not served), idempotent on (key, leaf, view_path), and snapshot() hands out a copy.
  2. charly/host_build_deploy_plugins_connect.go — the deploy-plugins-connect reply carries that set, so a consumer acts on PATHS IT WAS TOLD.
  3. charly/host_build_construct_step.go — the construct-step seam injects the set into a class:step's input under spec.ConnectedPluginsInputKey for a step whose DECLARED StepContract sets plugin_paths. Opt-in because a step's input is validated against the plugin's own usually-closed schema; core stays blind to the step's input shape (it hands over the WHOLE set; the step selects by leaf).
  4. charly/plugin_loader.go — the connect now SERVES the plugins the deploy DECLARES. The connect is dispatch-scoped (it scopes on the WORDS a plan step references), and a deploy's venue also dispatches through a shell no prescan can read: charly firecracker image build inside a command: step references no plan word at all. So a deployment composing plugin-firecracker never connected it, and the step correctly refused an incomplete set. A deploy's candy list IS its intent, so the DEPLOY connect also serves the plugin candies it declares: the node's from:-template candy: list (folded into the same typed ref list the scan receives — the merge does NOT copy it onto the node), plus its add_candy: and its nested children. Bounded to that closure; plugin candies only; out-of-tree sources only (a compiled-in plugin is already served); the build still goes through sdk/buildcache.

charly/check_cmd.go is the SECOND caller of deployNodePluginContext (the check-run path); it now threads cfg through as well, so both callers see the deploy's declared candy closure — the same one-line threading, no second behaviour.

And the defect this exposed, fixed here: charly/plugin_provider_common.go — charly's OWN pb→spec StepContract conversion built the carrier from Scope/Venue/Gate/Emits and dropped PluginPaths, so a plugin declared the flag, the transport carried it, and the host read false: the injection never ran. That is the third copy of one contract conversion (spec/exec, sdk, charly), and the new test pins the whole set by construction.

Adopts github.com/opencharly/spec v0.2026317.1755 (opencharly/spec#308, merged and tagged). The sdk half — the spec→pb capability build — landed as opencharly/sdk#505.

Catch-up merge. origin/main moved under this branch (charly#1133 adopted plugin-check v0.2026317.1844, which forces spec to v0.2026317.1828 via MVS). The branch carries a merge of origin/main (d4c1d555), with the one conflicted pin resolved to the NEWER spec — one spec, and the field this PR adds is in both — and the sums regenerated by go mod tidy. The bed below ran on the MERGED tree.

Round 2 — all three findings fixed

  1. A2/R10 — the widening had no coverage that fails without it. The ref-building in loadDeployPlugins is now the PURE deployConnectRefs (plan words + declared-candy words, joined in ONE function), and TestDeployConnectRefsJoinsBothHalves asserts the JOINED set — mutation-proven in both directions below. A test of either half alone stays green when its call is deleted; that was the gap.
  2. QUAL/R10 — a real nil-map panic. A step that opts in to plugin_paths and authors NO input marshals to null, which json.Unmarshal decodes into a nil map without an error, so the assignment panicked with "assignment to entry in nil map". Guarded, with TestConstructStepInjectsIntoAStepWithNoAuthoredInput covering it (mutation-proven: removing the guard panics the test).
  3. A1 — charly/check_cmd.go is accounted for in the Summary above (the second deployNodePluginContext caller, threading cfg).

RCA — the missed controls. (1) My pre-push pass treated a helper-level unit test as coverage of its CALL SITE, which is the exact gap the validator names; the control is to assert the seam a caller invokes, not the unit beneath it — done by extracting the pure joined function. (2) The nil-map path existed in code I wrote and read twice: json.Unmarshal("null", &m) leaving m nil is not visible in the source, only in the spec, so the control is a test for the EMPTY/absent authored input specifically — added. (3) The body accounted for five files and named five; check_cmd.go was the sixth. The control is to derive the file list from git show --stat, not from memory — the body now names every file in the diff.

Head 87901d69f929531703d04e5bdabb3d55d414cf36

How tested

Change class: charly Go code. The gate is go test ./... + go vet + the R9 worktree build, then a live charly check run bed on a disposable: true target driven by THAT binary, plus the end-to-end witness for the part no charly-own bed can reach.

$ git rev-parse HEAD
87901d69f929531703d04e5bdabb3d55d414cf36

$ go build ./... && echo BUILD_OK
BUILD_OK
exit=0

$ go vet ./...
VET_OK
exit=0

$ gofmt -l .
exit=0

$ GOTOOLCHAIN=go1.26.8 golangci-lint run ./...
0 issues.

$ go test ./...
ok  	github.com/opencharly/charly/charly	302.853s
ok  	github.com/opencharly/charly/charly/internal/pluginsgen	137.594s

R9 — the binary is the source. Built by this worktree's own scripts/bootstrap-charly.sh:

$ bash scripts/bootstrap-charly.sh
bootstrap-charly: built ./bin/charly (2026.317.1954)

$ ./bin/charly version
2026.317.1954
$ git rev-parse HEAD
87901d69f929531703d04e5bdabb3d55d414cf36

R10 — the bed, with the worktree binary. check-plugin-buildcache-local is the disposable host: local bed whose fixture project drives an out-of-tree plugin through the loader's host-build + connect arm — the path pieces 1 and 4 change:

$ ./bin/charly check run check-plugin-buildcache-local
charly check run check-plugin-buildcache-local: PASS (steps=6)

and its summary on the committed tree (ok: true, zero warnings, zero skipped, the fresh rebuild included):

bed: check-plugin-buildcache-local
calver: 2026.317.2005
driver: /home/atrawog/Sync/Atrapub/lo/dsh/opencharly/.worktrees/charly-plugins/charly/bin/charly
driver_version: 2026.317.1954
steps:
  - name: deploy-add
    duration_seconds: 260
    ok: true
    status: PASS
    skipped: 0
  - name: bring-up-members
    duration_seconds: 0
    ok: true
    status: PASS
    skipped: 0
  - name: check-live
    duration_seconds: 187
    ok: true
    status: PASS
    skipped: 0
      - id: buildcache-arms
        status: PASS
  - name: update
    duration_seconds: 240
    ok: true
    status: PASS
    skipped: 0
  - name: cleanup
    duration_seconds: 191
    ok: true
    status: PASS
    skipped: 0
  - name: cleanup-members
    duration_seconds: 0
    ok: true
    status: PASS
    skipped: 0
total_seconds: 878
diagnostics:
  errors: 0
  warnings: 0
  advisories: 0
ok: true
status: PASS

Z's end-to-end witness — a disposable host: local deploy, red without the widening and green with it. The charly-own bed above composes no candies, so it cannot reach the widening; this is the measured proof instead, on a scratch project (probe-template local: template composing plugin-deploy-firecracker + @…/plugin-firecracker:v2026.288.0016, deploy probe whose plan runs plugin-tree: {plugins: [plugin-firecracker]}):

$ charly deploy add probe     # MUTANT: addDeclaredDeployPluginWords call removed, binary rebuilt
plugin plugin-deploy-firecracker: served from …/plugin-deploy-firecracker-ade4a45bf5fddaa4
charly: error: … plugin-tree: plugin-firecracker: the engine connected no plugin with this leaf (connected: plugin-deploy-firecracker) - refusing to deliver a tree without it

$ charly deploy add probe     # RESTORED, binary rebuilt
plugin plugin-deploy-firecracker: served from …/plugin-deploy-firecracker-ade4a45bf5fddaa4
plugin github.com/opencharly/plugin-firecracker/candy/plugin-firecracker: served from …/plugin-firecracker-bca94ac3d6834d85
plugin github.com/opencharly/plugin-deploy-local/candy/plugin-deploy-local: served from …/plugin-deploy-local-2710b6ba365e9fe0
$ echo $?
0
$ ls -la /tmp/charly-plugins/plugin-firecracker
-rwxr-xr-x 1 atrawog atrawog 32108517 Nov 13 19:39 /tmp/charly-plugins/plugin-firecracker

Blast radius of Z, measured on that deploy: the deployment declares 3 candy refs — 2 plugin candies (plugin-deploy-firecracker local, plugin-firecracker remote) plus the plugin-deploy-local substrate — so the connect serves 2 declared plugin candies it previously skipped, at the cost of 1 additional host build (the local one was already connected) from the content-addressed sdk/buildcache store. A deployment that declares no plugin candies (every charly-own bed in this repo) gains no connect and no build: templateCandyRefs returns an empty list.

And an unbuildable declared plugin fails LOUD and BY NAME, so the delivered set is complete or the deploy stops — the property plugin-tree's fill-first refusal depends on:

$ charly deploy add probe     # the template also declares a candy whose Go module does not compile
charly: error: command "deploy": load deploy plugins: plugin "plugin-broken" (source github.com/example/plugin-broken/candy/plugin-broken): plugin "plugin-broken": go build in /tmp/inject-probe/candy/plugin-broken: exit status 1
               # github.com/example/plugin-broken/candy/plugin-broken
               ./plugin.go:3:22: syntax error: unexpected name does at end of statement

The units execute their changed paths, and the two defects are pinned by tests that die without their fix:

$ go test ./ -run "TestConnectedPluginSet|TestConstructStep|TestBuildCapMeta|TestAddDeclaredDeployPluginWords|TestTemplateCandyRefs|TestDeployConnectRefs" -count=1 -v
=== RUN   TestConstructStepInjectsTheConnectedPluginSetForAnOptedInStep --- PASS
=== RUN   TestConstructStepLeavesANonOptedInStepInputUntouched --- PASS
=== RUN   TestConnectedPluginSetRecordsWhatTheLoaderServed --- PASS
=== RUN   TestConnectedPluginSetIgnoresAnEntryWithNoServedBinary --- PASS
=== RUN   TestBuildCapMetaCarriesEveryDeclaredStepContractField --- PASS
=== RUN   TestAddDeclaredDeployPluginWordsAddsOnlyDeclaredOutOfTreePluginCandies --- PASS
=== RUN   TestTemplateCandyRefsFollowsTheFromChainAndSurvivesACycle --- PASS
=== RUN   TestDeployConnectRefsJoinsBothHalves --- PASS
=== RUN   TestConstructStepInjectsIntoAStepWithNoAuthoredInput --- PASS

Mutations, each restored afterwards (the tree is clean at the head above):

  • delete the injection line → TestConstructStepInjects… fails: an opted-in step's input carries no "plugin_paths" key.
  • make the injection unconditional → TestConstructStepLeavesANonOptedIn… fails: a step that did not opt in received "plugin_paths".
  • drop PluginPaths: sc.GetPluginPaths() from the carrier conversion → TestBuildCapMeta… fails: PluginPaths was dropped in the wire→carrier conversion.
  • drop the widening half from deployConnectRefs → TestDeployConnectRefsJoinsBothHalves fails: refs = map[planned:{}], want exactly the plan word plus the declared plugin's word.
  • drop the PLAN-word half from deployConnectRefs → the same test fails the other way: refs = map[venuecli:{}].
  • remove the nil-map guard → TestConstructStepInjectsIntoAStepWithNoAuthoredInput PANICS (assignment to entry in nil map), which the test reports as a failure.
  • drop the widening CALL from the production path → the Z live witness above goes red (the probe refuses with an incomplete set).

Where it is observable next in the cutover: opencharly/plugin-deploy-firecracker's PR consumes the injected paths and DELETES its pluginStoreDir() scan; its check-plugin-tree-vm bed is the consumer's discriminating run. opencharly/plugin-firecracker#11 and opencharly/layer-fireactions-runner#2 follow.

Rulebook compliance

  • R0 how: skills loaded before the first tool call — git-workflow, go, go-quality, plugin, check, disposable, strict-policy, root-cause-analyzer, plus charly/AGENTS.md (R9 build discipline, SDD, the boundary law).
  • R1 how: three anomalies were surfaced by this change's own gate and all three are FIXED here, each with a fresh RCA, none filed: (a) the carrier conversion dropping PluginPaths — mechanism: three copies of one pb↔spec conversion and only two were updated; missed control: I searched the field's uses instead of every construction of spec.StepContract in all three modules; blast radius: any field added to that contract silently disappears, and this feature was inert; root fix: the field plus a test that pins the WHOLE declared set. (b) the connect being dispatch-scoped so a venue-CLI plugin is never served — mechanism and blast radius are in the Summary; the fix is piece 4. (c) plugin_provider_common.go's conversion had no test at all — the new test is the control.
  • R2 how: the leaf name is derived by bakedPluginFileName (the ONE rule for the filename a baked plugin takes), never a second derivation; the input key is one constant in spec; the step's entry type is the engine's own wire type. One known duplication, FILED not folded (see ## Filed issues): the pb.StepContract ↔ spec.StepContract conversion exists in three places — spec/exec/executor.go, sdk/schema.go, charly/plugin_provider_common.go. This PR carries the field in all three (the third was the defect), and the extraction is a separate contract-module cutover.
  • R3 how: no sleep, retry, fallback, or directory scan anywhere in the change; every value comes from a resolver that already ran, and the one new build path is sdk/buildcache (the existing store).
  • R4 how: no documented command changed and no doc asserted anything this PR alters.
  • R5 how: nothing is deleted in this repo; the legacy — pluginStoreDir() in plugin-deploy-firecracker — is deleted in the next leg of the chain, where its home is, and this PR is what makes that deletion possible.
  • R6 how: git status read before committing; committed on charly-plugins/leg-b off origin/main (a41169a2); the branch is unpushed, so the two commits it carried during development were folded into one before the first push (legal: no amend after a push, no force-push ever).
  • R7 how: each changed unit has a test, and three of the four are behaviourally mutation-proven above; the one wiring step that a unit test cannot reach (the call from loadDeployPlugins) is proven LIVE, red→green, with both runs pasted. The emitted artifact — the step input — is asserted as JSON after the StepToView/StepFromView round trip.
  • R8 how: every run — the bed, the probe, the failure probe — went against real machinery (real plugin builds, the real store, a real deploy). Nothing is mocked.
  • R9 how: scripts/bootstrap-charly.sh in this worktree produced bin/charly 2026.317.1954 and every run above uses that binary; the version is pasted beside git rev-parse HEAD.
  • R10 how: check-plugin-buildcache-local (disposable: true, charly check run) on the committed tree, plus the Z witness on a disposable host: local deploy. The consumer's discriminating bed is named and runs in the next leg.

Change classification

  • Class: charly Go code (loader + two host seams + the deploy connect's declared-candy widening) plus a spec pin bump.
  • Breaking change + rollback: none for an existing deployment's authored config — the reply gains an optional field, the injection is opt-in, and the widening only ADDS connects for candies the deploy already declares (measured above: 2 more served plugins, 1 more build, on a deploy that declares 2 plugin candies). What changes behaviour is a deploy that declares a plugin candy which cannot be built: it now fails at connect, by name, instead of proceeding without it — that is the intended direction (a complete set or a loud stop). Rollback is git revert plus the module pin returning to spec v0.2026317.703.
  • Consumer ordering: producer-first. spec v0.2026317.1755 (spec#308) → sdk v0.2026317.1803 (sdk#505) → this PR → plugin-deploy-firecracker (consumes the paths, deletes the scan) → plugin-firecracker#11 and layer-fireactions-runner#2.

Filed issues

Agent: charly-plugins

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

charly added 2 commits November 13, 2026 19:28
A `step:` that has only a plugin NAME re-derived "which built binary serves this plugin" by
scanning a store directory and taking the newest match - a guess over a layout the plugin does
not own, which cannot even run on a cloud_image venue where no store exists
(#1131). The loader already knows the answer: loadPluginUnit resolves the served
binary and prints it (`served from <path> (build <sha>); source <dir>`).

Three pieces, one seam:

  - loadPluginUnit records the served mapping (key, leaf, view_path, src_dir) once the unit is
    registered - a unit that failed to register is not served, so it is not recorded.
  - the `deploy-plugins-connect` reply carries that set, so a consumer acts on PATHS IT WAS TOLD.
  - the `construct-step` seam injects the set into a class:step's input, under
    spec.ConnectedPluginsInputKey, for a step whose DECLARED StepContract sets plugin_paths.
    Opt-in because a step's input is validated against the plugin's own usually-closed schema, so
    an injected key a step did not declare would be a validation failure. Core stays blind to the
    step's input shape: it hands over the whole set and the step selects by leaf.

AND the connect must actually HAVE those plugins. Measured: it is dispatch-scoped - it scopes on
the WORDS a plan step references - so a plugin a deployment composes but dispatches through a
SHELL (`charly firecracker image build` inside a `command:` step) was never connected, and the
step correctly refused an incomplete set. A deploy's candy list IS its intent, so the DEPLOY
connect now also serves the plugin candies the deploy declares: the node's `from:` template's
`candy:` list (folded into the same typed ref list the scan gets), plus its `add_candy:` and its
nested children. Bounded to that closure, plugin candies only, out-of-tree sources only, and the
build still goes through sdk/buildcache.

Also fixed (found while proving the above, and part of this cutover): charly's OWN pb->spec
StepContract conversion dropped PluginPaths, so the flag was declared, transported, and then read
as false - the injection never ran. Its unit now carries a test that pins EVERY declared
field's survival, because that conversion is the third copy of one contract.

Adopts github.com/opencharly/spec v0.2026317.1755 (opencharly/spec#308).

Refs #1131

Agent: charly-plugins
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
`charly/go.mod`/`go.sum` conflicted on the `spec` pin: this branch pins
v0.2026317.1755 (adopted for the connected-plugin-set field) and origin/main now
pins v0.2026317.1828 (forced by plugin-check v0.2026317.1844's own go.mod, via
MVS, in charly#1133). Kept the NEWER pin — one spec, and the field this branch
adds is in both — and regenerated the sums with `go mod tidy`.

The `tools/*` lockstep modules arrive already aligned by charly#1133's
`charly task mods-tidy`.

Agent: charly-plugins
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 75fc5b1fcd863d25d6c24688eb7efbb6e945efbb (branch: charly-plugins/leg-b)

Change class: charly Go code + spec pin bump.

Blocks

  1. A2/R10 — the widening (piece 4) ships no test/bed that fails without it. The only proof of the addDeclaredDeployPluginWords(candyMap, extra, refs) call in loadDeployPlugins (charly/plugin_loader.go) is the manual Z witness on a scratch project — not shipped coverage. The body itself states the bed check-plugin-buildcache-local "composes no candies, so it cannot reach the widening," and its own mutation note confirms removing the call leaves the unit tests green ("the unit tests call the helper directly and stay green"). A2: "a bed that never exercises the touched path proves nothing"; R10: "a change whose new behavior has NO test that would FAIL without it BLOCKS." Fix: ship a test or bed that goes red when the addDeclaredDeployPluginWords call is removed (e.g. extract the ref-building in loadDeployPlugins into a pure, testable function, or add a bed whose deploy declares a plugin candy). The consumer's later check-plugin-tree-vm does not discharge this PR's own coverage.

  2. QUAL/R10 — nil-map panic in stepInputPayload on a null/empty opted-in input. charly/host_build_construct_step.go: the comment claims "null/empty (no authored input) is an object-less payload and starts empty," but json.Unmarshal([]byte("null"), &fields) sets fields to nil (literalStore zeroes maps on null), and the subsequent fields[spec.ConnectedPluginsInputKey] = set panics with "assignment to entry in nil map." Either marshalJSON(nil) returns an empty slice (making the comment inaccurate) or an opted-in step with no authored input panics. Add a nil guard (if fields == nil { fields = map[string]json.RawMessage{} }) and a test for the null/empty opted-in case.

  3. A1 — charly/check_cmd.go is not accounted for in the Summary. The diff changes deployNodePluginContext(dir, box) to deployNodePluginContext(cfg, dir, box) at this call site, but the body's Summary names only plugin_connected_set.go, host_build_deploy_plugins_connect.go, host_build_construct_step.go, plugin_loader.go, and plugin_provider_common.go. A1: "a diff item missing from the body's accounting is a defect." Add a line describing this caller's cfg threading.

Non-blocking note (filed, acknowledged): the pb.StepContract ↔ spec.StepContract three-way duplication (R2) is pre-existing, not introduced by this PR, the gate is green, and the claim is not false without extraction; the body files opencharly/spec#311 and carries the field in all three copies, so R1's "file it" is satisfied. This is not a surviving block.

Verdict: BLOCK


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

…input map

Round-2 fixes for #1134's three findings, all in-tree:

1. A2/R10 - the declared-candy widening shipped no coverage that goes red when its call is
   removed: the unit tested the helper directly, so deleting the call left it green. The
   ref-building in loadDeployPlugins is now the PURE deployConnectRefs, and
   TestDeployConnectRefsJoinsBothHalves asserts the JOINED set (mutation-proven in both
   directions: removing either half turns it red).

2. QUAL/R10 - a real nil-map panic: a step that opts in to plugin_paths and authors NO input
   marshals to `null`, which json.Unmarshal decodes into a NIL map without an error, so the
   assignment panicked with "assignment to entry in nil map". Guarded, and covered by
   TestConstructStepInjectsIntoAStepWithNoAuthoredInput (mutation-proven: removing the guard
   panics that test).

3. A1 - check_cmd.go's cfg threading is accounted for in the body.

Refs #1131

Agent: charly-plugins
Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)
@aitrawog

Copy link
Copy Markdown
Contributor Author

STATUS — round 2 pushed, all three findings fixed in-tree

Head 87901d69f929531703d04e5bdabb3d55d414cf36 (round 1 was 75fc5b1fcd863d25d6c24688eb7efbb6e945efbb). One appended commit, body re-keyed to this head, and the whole gate re-run on THIS tree.

Findings, all three fixed (nothing filed, nothing deferred):

  1. A2/R10 — shipped coverage for the widening. The validator's own named cure, taken literally: the ref-building in loadDeployPlugins is now the PURE deployConnectRefs(cfg, candyMap, refWords, declared), which JOINS the plan-word half and the declared-candy half in one function, and TestDeployConnectRefsJoinsBothHalves asserts the joined set. Mutation-proven in BOTH directions: removing either half turns it red (refs = map[planned:{}] / refs = map[venuecli:{}]). The earlier helper-only test could not see a removed call — that was the gap, and it is closed by asserting the seam rather than the unit beneath it.
  2. QUAL/R10 — the nil-map panic was real. json.Unmarshal([]byte("null"), &fields) leaves fields nil with no error, and the next assignment panics. Guarded, the comment that claimed the opposite corrected, and TestConstructStepInjectsIntoAStepWithNoAuthoredInput covers the no-authored-input opted-in case (mutation-proven: removing the guard panics it).
  3. A1 — charly/check_cmd.go accounted for in the Summary: the second deployNodePluginContext caller, threading cfg so both callers see the deploy's declared candy closure.

Gate on this head: go build/go vet/gofmt/golangci-lint clean; go test ./... green (ok charly 302.853s, ok internal/pluginsgen 137.594s); R9 bin/charly 2026.317.1954 built by this worktree's bootstrap-charly.sh; R10 check-plugin-buildcache-local on the committed tree — PASS (steps=6), ok: true, total_seconds: 878, diagnostics: 0 errors / 0 warnings / 0 skipped, fresh rebuild (update) included; summary pasted in the body.

RCA — the missed control. (1) I treated a helper-level unit test as coverage of its CALL SITE. The control is to assert the seam a caller invokes — hence the extraction. (2) I read the nil-map path twice and did not see it, because json.Unmarshal("null", &m) leaving m nil is a spec property, not a source property; the control is a test per authored SHAPE (absent/empty/object/non-object). (3) The body named five files while the diff carried six; the control is to derive the file list from git show --stat, which it now does.

Not claimed: the consumer's check-plugin-tree-vm is NOT this PR's coverage — the body says so explicitly, and it rides the plugin leg. spec#311 stays the filed R2 note (accepted as non-blocking).

Agent: charly-plugins

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (fully tested and validated)

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 87901d69f929531703d04e5bdabb3d55d414cf36 (branch: charly-plugins/leg-b)

Change class: charly Go code + spec adoption (net go.mod unchanged — main already carries spec v0.2026317.1828 via charly#1133's MVS; the branch's v0.2026317.1755 pin was subsumed by the merge, so no go.mod diff is expected and the pasted BUILD_OK is internally consistent).

Security screen: PASS — no T1–T4 findings; no secrets/egress, no weakened guardrails, no security-machinery edit, no embedded directive.

Checklist: All applicable rules PASS or NA.

Prior-block dispositions (re-derived against the current diff, not the prior comment):

  1. github-actions[bot] BLOCK @ 75fc5b1f — stale-superseded: all three findings no longer reproduce. (1) A2/R10: the widening is now the pure deployConnectRefs, and TestDeployConnectRefsJoinsBothHalves goes red when either half is dropped — the exact cure the prior finding named; the call-site wiring is additionally proven live (Z red→green). (2) QUAL/R10: stepInputPayload now re-creates the map on null (if fields == nil), pinned by TestConstructStepInjectsIntoAStepWithNoAuthoredInput. (3) A1: check_cmd.go is now named in the Summary.
  2. @aitrawog STATUS round-2 — verified-non-blocking: its described fixes are all present in the current diff; it is a STATUS coordination comment, not a sign-off (none is required — this PR does not touch T4 security machinery).

Non-blocking notes (not blocks):

  • The "Change classification" / rollback line still says "plus a spec pin bump" and "module pin returning to spec v0.2026317.703". The net diff has no go.mod change (the merge resolved to main's newer spec), so that wording is stale — correct it for accuracy, but it does not affect the shipped change.
  • The body's downstream consumer items are described as "next"/"follow" (planned), so no WAITING/HOLDING comment is required now; if plugin-deploy-firecracker's PR becomes an actively-open blocked item, add one naming both sides.

Verdict: PASS


ollama-cloud/deepseek-v4.1-flash — action-review.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) November 13, 2026 20:36
@github-actions
github-actions Bot merged commit e78c892 into main Nov 13, 2026
4 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant