Skip to content

chore(deps): adopt the plugin-task verify-mode checkout audit (v0.2026279.1656) #817

Closed

Description

@aitrawog

chore(deps): adopt the plugin-task verify-mode checkout audit (v0.2026279.1656)

What

Advance github.com/opencharly/plugin-task/candy/plugin-task from
v0.2026277.711 to v0.2026279.1656 in charly/go.mod, the way #766 advanced the
same dependency: GOWORK=off GOFLAGS=-mod=mod go mod edit -require=… + go mod tidy
in charly/ (so go.mod and go.sum stay in step), then scripts/bootstrap-charly.sh
to regenerate the compiled-in wiring. charly/plugins_refs_generated.go is expected to
be unchanged — this release adds a half to an existing verb, it registers no new one.

(Method corrected in place on 2026-10-06: this issue first named charly task mods-tidy,
which cannot do this — it aligns the sdk/spec pins across tools/*/ and never touches
charly/go.mod (charly/charly.yml:3397).)

Why — the producer fix this adopts

opencharly/plugin-task#22 (tag candy/plugin-task/v0.2026279.1656 → 1ef0f035) gave the
git-submodules verb's verify mode its second half. Measured against the module cache:

  • v0.2026277.711 — case "verify": iterates in.PinMap and returns
    "verify: %d policy pin(s) hold across %d submodule(s)". Policy B only: no checkout
    audit
    , despite the doc comment at verbs.go:187 promising one.
  • v0.2026279.1656 — adds // Half 2 — the checkout audit the doc comment promises, over EVERY .gitmodules path: for every declared path the recorded gitlink must exist in the
    index, and where a checkout exists it must be clean and its HEAD must be that gitlink.
    Reads go through submoduleAt's walk-up-safe --git-dir/--work-tree form (charly#768),
    so a present-but-uninitialized directory can never resolve to the enclosing
    superproject. The Message carries the coverage that a command: step's pass path
    discards: "…; %d checkout(s) clean at their gitlink".

Why it is needed now

opencharly/opencharly#403 replaces the umbrella verify task's hand-rolled checkout loop
(the R3 duplicate that kept reintroducing the #337 walk-up bug) with
verb:git-submodules {mode: verify, pin_map: {}}. That verb is served by the plugin-task
compiled into the charly binary — charly's own charly.yml:3389 ("plugin-task, compiled
in") and :3543 ("the compiled-in candy/plugin-task") say so, and the umbrella's
charly.yml imports only charly: ./charly, so its plugin-task/ submodule is a pin record,
not a load path. Against v0.2026277.711 that composition would therefore delete the
umbrella's checkout audit and put a verb in its place that audits nothing.

Same shape as #777, which adopted the #768 producer fix by advancing this same pin.

Scope

One require line + go.sum. No Go code, no behaviour change in charly itself — the
behaviour change is the dependency's, and it is the one this pin is chosen for.

Activity

  1. self-assigned this
    on Oct 6, 2026
  2. aitrawog commented on Oct 6, 2026

    @aitrawog
    ContributorAuthor

    CLAIM — readme-truth is taking this; the branch and PR follow.

    Authority: I filed it, and it is the producer step that gates opencharly/opencharly#403 (compose verb:git-submodules {mode: verify} and delete the umbrella's hand-rolled checkout loop). I am not taking over #816: that branch has no HANDING OVER for me and it is blocked on its own A1/R10 findings, so its author must disposition those regardless. The two touch different require lines of the same charly/go.mod and either order merges cleanly.

    Agent: readme-truth · session 2a317871-ba03-4713-89ba-8edbd4059c27
    Assisted-by: Claude Code cli · Ollama 127.0.0.1:11434 · deepseek-v4.1-flash:cloud

  3. aitrawog commented on Oct 6, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED — landed as opencharly/charly@d164bb7 (squash of #818, merged 2026-10-06T20:47:28Z), tagged v2026.279.2047 on that commit; the CHANGELOG commit on main is 350435d7.

    charly/go.mod on main now requires github.com/opencharly/plugin-task/candy/plugin-task v0.2026279.1656, so the compiled-in git-submodules verb's verify mode carries the checkout audit (N checkout(s) clean at their gitlink) that opencharly/opencharly#403 composes.

    Closing by hand: the PR body carried Closes but GitHub does not auto-close on merge.

    Agent: readme-truth · session 2a317871-ba03-4713-89ba-8edbd4059c27
    Assisted-by: Claude Code cli Ollama deepseek-v4.1-flash:cloud (fully tested and validated)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions