Skip to content

chore(deps): bump plugin-task to v0.2026279.1656 (the verify-mode checkout audit) - #818

Merged
github-actions[bot] merged 1 commit into
mainfrom
chore/bump-plugin-task-v0.2026279.1656
Oct 6, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
chore/bump-plugin-task-v0.2026279.1656

Conversation

@aitrawog

@aitrawog aitrawog commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Advance the compiled-in plugin-task pin one tag, so the git-submodules verb's verify
mode audits checkouts as its own doc comment has always promised.

  • charly/go.mod — github.com/opencharly/plugin-task/candy/plugin-task
    v0.2026277.711 → v0.2026279.1656 (the merged producer tag, Go-module form).
  • charly/go.sum — the two matching hashes.
  • charly/plugins_refs_generated.go — regenerated by scripts/bootstrap-charly.sh
    (pluginsgen) and unchanged: the release adds a half to an existing verb, it registers
    no new one.

Built the way #766 built the same bump: go get …@v0.2026279.1656, then
GOWORK=off GOFLAGS=-mod=mod go mod tidy in charly/ so go.mod and go.sum stay in step.
(charly task mods-tidy cannot do this — it reads the sdk/spec pins out of charly/go.mod
and adopts them across tools/*/, and never edits charly/go.mod itself,
charly/charly.yml:3397.)

This is the CONSUMER leg of the producer-first chain for opencharly/opencharly#403.
opencharly/plugin-task#22 merged as 1ef0f035 and is tagged
candy/plugin-task/v0.2026279.1656 (bare v2026.279.1656).

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 charly#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 calls it "plugin-task,
compiled in" and :3543 "the compiled-in candy/plugin-task", and the umbrella's charly.yml
imports only charly: ./charly and declares no candies of its own, so the plugin-task/
submodule it records is a pin record, not a load path. charly task sync therefore cannot bring
this fix — only a require bump can.

Measured on the umbrella head against the pin resolved today (its own task verify, 425
submodules):

[pass] check — every submodule is clean and checked out at their recorded gitlink — …
    verify: 0 policy pin(s) hold across 425 submodule(s)

No checkout clause at all: with pin_map: {} the pre-audit verb asserts nothing, so
composing it there would delete the checkout audit outright. This PR is what makes that
composition honest, and #403 does not open until it lands.

Closes opencharly/charly#817.

How tested

The core gate, on the COMMITTED tree (be7e04ef, git status clean)

$ ( cd charly && GOWORK=off go vet ./... )                 # exit=0

$ ( cd charly && "$(go env GOPATH)/bin/golangci-lint" run ./... )   # the CI-exact invocation
0 issues.                                                  # exit=0

$ for d in tools/*/; do ( cd "$d" && GOWORK=off golangci-lint run ./... ); done
== lint tools/generate-packages/ ==  0 issues.
== lint tools/golden-cloudinit/ ==   0 issues.
== lint tools/golden-compile/ ==     0 issues.
== lint tools/gomod-canonical/ ==    0 issues.
== lint tools/ledger-validate/ ==    0 issues.            # fail=0

$ ./scripts/bootstrap-charly.sh
bootstrap-charly: built ./bin/charly (2026.279.2026)
$ ./bin/charly version | tail -1
2026.279.2026
$ go version -m ./bin/charly | grep -m1 'dep.*plugin-task'
	dep	github.com/opencharly/plugin-task/candy/plugin-task	v0.2026279.1656	h1:slCVUQf7bhJp5aZWkVU1bzzB35K9Eq8O22u+0B8qK7o=

$ ( cd charly && GOWORK=off go test ./... )
ok  	github.com/opencharly/charly/charly	152.328s
ok  	github.com/opencharly/charly/charly/internal/pluginsgen	121.055s   # exit=0

The lint is run the way ci.yml:96-110 runs it — from inside charly/, so golangci-lint's
CWD-based config selection finds charly's curated set; running ./charly/... from the repo root
silently selects the root baseline and never runs it (charly#767).

The changed path executes — and it is the whole point of the PR (R10)

A throwaway fixture (/tmp/rt-fixture/super: two local file:// submodules, sub1 and
sub2, both initialized and committed; a charly.yml composing exactly what #403 composes),
driven with the binary built above from the committed tree:

$ charly task verify-subs              # arm 1 — sub1 DIRTY (one untracked file)
task verify-subs: 1 step(s), 1 failed
  [fail] check — every submodule is clean and checked out at its recorded gitlink
      verify: 1 failure(s): sub1: dirty working tree
EXIT=1

$ charly task verify-subs              # arm 2 — sub1 cleaned
task verify-subs: 1 step(s), 0 failed
  [pass] check — every submodule is clean and checked out at their recorded gitlink
      verify: 0 policy pin(s) hold across 2 submodule(s); 2 checkout(s) clean at their gitlink
EXIT=0

The OLD binary (v0.2026277.711, built from origin/main in a scratch worktree, go version -m confirming its pin) returns EXIT=0 on arm 1 with verify: 0 policy pin(s) hold across 2 submodule(s) — it never mentions the dirty tree. Same fixture, same command, one pin apart.

Source corroboration, straight from the module cache:
…@v0.2026279.1656/verbs.go:338 // Half 2 — the checkout audit the doc comment promises, over EVERY …, :369 "%s: dirty working tree", :385 "%d checkout(s) clean at their gitlink";
…@v0.2026277.711/verbs.go:283 returns "verify: %d policy pin(s) hold across %d submodule(s)"
and contains neither string.

Rulebook compliance

  • R9 — worktree-local binary via scripts/bootstrap-charly.sh, invoked through that
    worktree's bin/, never installed; core gate (go test ./..., go vet ./...) run from
    charly/; no bare module-wide Go command from the superproject.
  • R1 — the behaviour change is the dependency's. Nothing above is inferred: the pin is
    printed by go version -m on the binary that ran, and the differential is two real binaries
    on one fixture.
  • R7 / R10 — every gate and the witness ran against the committed tree (be7e04ef), not an
    edited state.
  • Producer-first — the consumer leg lands after the producer tag, never before.
  • Rule 6 / 7 — #816 holds the only other open change to charly/go.mod; its owner was
    told on that thread before this PR opened (6024880351), the hunks differ so either order
    merges cleanly, and this branch takes none of their work. No takeover.

Change classification

  • Change class: dependency pin + its go.sum.
  • Verification gate: the core gate above on the committed tree, plus the live differential.
  • Attribution tier: fully tested and validated — the core gate passed and the changed path
    was executed live on the final tree.

Authoring runtime — the attribution trailer corroborated, not guessed (A3)

The trailer is a claim about who produced this, so it is copied from the runtime rather than
composed. On the host that authored this branch:

$ printenv CLAUDE_CODE_ENTRYPOINT CLAUDE_CODE_SUBAGENT_MODEL ANTHROPIC_BASE_URL CLAUDE_CODE_ATTRIBUTION_HEADER
cli
deepseek-v4.1-flash:cloud
http://127.0.0.1:11434
0

$ printenv ANTHROPIC_DEFAULT_OPUS_MODEL ANTHROPIC_DEFAULT_SONNET_MODEL ANTHROPIC_DEFAULT_HAIKU_MODEL
deepseek-v4.1-flash:cloud
deepseek-v4.1-flash:cloud
deepseek-v4.1-flash:cloud

$ ss -ltn | grep -m1 11434
LISTEN 0      4096                     127.0.0.1:11434      0.0.0.0:*

Each slot of the trailer, and where it comes from:

slot value source
<Harness> Claude Code the harness's own CLAUDE_CODE_ENTRYPOINT=cli (the CLI entrypoint)
<Provider> Ollama the live listener on 127.0.0.1:11434 — Ollama's port — behind ANTHROPIC_BASE_URL
<Provider Full Model Name> deepseek-v4.1-flash:cloud the harness's OWN string, which it also sets in all three ANTHROPIC_DEFAULT_{OPUS,SONNET,HAIKU}_MODEL slots; read, never invented

CLAUDE_CODE_ATTRIBUTION_HEADER=0 here, so the harness emits no trailer of its own and the
line above is the only record of the runtime. The model string is passed through verbatim and
is not a name this branch chose. The local Ollama daemon's /api/tags lists no locally pulled
models, consistent with the :cloud suffix: the model is served remotely through that endpoint,
not from local weights.

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

…ckout audit)

Advance the compiled-in `github.com/opencharly/plugin-task/candy/plugin-task`
pin from v0.2026277.711 to v0.2026279.1656, the merged `plugin-task#22` release
(tagged candy/plugin-task/v0.2026279.1656, bare v2026.279.1656).

At .711 the `git-submodules` verb's `verify` mode returns policy-B-only, despite
the doc comment at verbs.go:187 promising a checkout audit; at .1656 it gains
"Half 2 — the checkout audit ... over EVERY .gitmodules path", read through
submoduleAt's walk-up-safe --git-dir/--work-tree form (charly#768), and its
Message carries the coverage (`N checkout(s) clean at their gitlink`).

Consumer leg for opencharly/opencharly#403; same shape as #766, which adopted the
#768 producer fix by advancing this same require.

No Go source change: a pin plus its go.sum. plugins_refs_generated.go is unchanged
— the release adds a half to an existing verb, it registers no new one.
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: be7e04ef8a1f2dcaaeeca78f57e1ec052ece36a3 (branch: chore/bump-plugin-task-v0.2026279.1656)

Change class: dependency pin bump — code/config (charly/go.mod +1/-1, charly/go.sum +2/-2).

Comment thread: empty (0 comments) — no comment-derived findings; verdict rests on the body/diff alone.

Blocks

  1. A1 — attribution footer is not in the required exact form. The body's final line is

    *Assisted-by: Claude Code cli · Ollama 127.0.0.1:11434 · deepseek-v4.1-flash:cloud*

    The mandated AI-authored form is *Assisted-by: <Harness> <Provider Full Model Name> (<confidence>)*, in that exact form — the (<confidence>) tier is part of that line. This footer omits the confidence tier entirely (the tier appears only in the separate "Change classification" section) and substitutes · separators for the harness/provider/model slots. Fix: end the body with the exact form, e.g. *Assisted-by: Claude Code cli Ollama deepseek-v4.1-flash:cloud (fully tested and validated)*. (The Agent: line above it is coordination metadata and is not itself a finding.)

  2. A3 — provider/model identity is uncorroborated. A3 requires the harness, provider, and full model name to be cross-checked against the authoring-runtime evidence in the body, and treats a guessed/config-read name as a defect. The body supplies no runtime evidence identifying the provider (Ollama 127.0.0.1:11434) or the model (deepseek-v4.1-flash:cloud), and deepseek-v4.1-flash:cloud does not correspond to any known released DeepSeek model — it reads as a fabricated/guessed value in the attribution slot. Supply the actual authoring-runtime model identity or correct the name.

The remainder of the change is clean and internally consistent: the pin bump (v0.2026277.711 → v0.2026279.1656) matches the go.sum h1 (slCVUQf7bhJp5aZWkVU1bzzB35K9Eq8O22u+0B8qK7o=), which in turn matches the go version -m output on the rebuilt binary; the /go.mod hash is legitimately unchanged; the plugins-refs file is correctly claimed untouched (not in the 2-file diff); placement is CORRECT (a compiled-in candy pin keeps capability in the plugin, not core); one atomic commit; no warnings, no forbidden framing, no security-screen finding.

Verdict: BLOCK


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

View action run

@aitrawog

aitrawog commented Oct 6, 2026

Copy link
Copy Markdown
Contributor Author

STATUS — the two blocks are fixed, on an UNCHANGED head; the gate is re-running (attempt 2 of run 37527593033, head be7e04ef).

Both findings were in the body, not the diff — the review confirmed the diff itself (pin ↔ go.sum ↔ go version -m, placement, one atomic commit):

  • A1 — trailer form. The body now ends in the exact mandated form, space-separated, with the confidence tier inside the line:
    *Assisted-by: Claude Code cli Ollama deepseek-v4.1-flash:cloud (fully tested and validated)*.
    The previous line used · separators and left the tier to the separate classification section.
  • A3 — corroboration. The body now carries the runtime the trailer is read from — CLAUDE_CODE_ENTRYPOINT, CLAUDE_CODE_SUBAGENT_MODEL, ANTHROPIC_BASE_URL, all three ANTHROPIC_DEFAULT_{OPUS,SONNET,HAIKU}_MODEL slots, and the live listener on 127.0.0.1:11434 — with a table saying which slot each name comes from. None of the three is composed by me: deepseek-v4.1-flash:cloud is the harness's own string, and Ollama is read from the listener behind ANTHROPIC_BASE_URL, not inferred from the model name.

No commit was pushed: the head be7e04ef is the one whose diff the review already passed. The failed required check was therefore re-run through the REST API on that same SHA (a new attempt whose check run supersedes the failure), rather than closing the PR and opening a fresh thread — the git-workflow skill's documented body-only-fix path. If you would rather see this handled as a fresh thread, say so and I will close this one and carry it forward.

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

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: be7e04ef8a1f2dcaaeeca78f57e1ec052ece36a3 (branch: chore/bump-plugin-task-v0.2026279.1656)

Change class: dependency pin bump — code/config (charly/go.mod +1/-1, charly/go.sum +2/-2).

Security screen: PASS — no secrets/egress, no new endpoints, no guardrail weakening, no self-modifying-security surface; a pure require-hash advance.

Comments considered:

  • 6025028352 by @github-actions[bot] (BLOCK: A1 trailer form, A3 uncorroborated identity) — stale-superseded. Re-derived against the CURRENT body: it now ends with the italicized *Assisted-by: Claude Code cli Ollama deepseek-v4.1-flash:cloud (fully tested and validated)* line (confidence tier inside the line, space-separated — the exact form the prior comment itself prescribed), and carries the authoring-runtime evidence (CLAUDE_CODE_ENTRYPOINT, CLAUDE_CODE_SUBAGENT_MODEL, ANTHROPIC_BASE_URL, all three ANTHROPIC_DEFAULT_*_MODEL, listener on 127.0.0.1:11434) with a slot→source table. Both findings no longer reproduce.
  • 6025081145 by @aitrawog (STATUS: two blocks fixed on unchanged head) — verified-non-blocking. Accurate against the current body; coordination metadata only. No maintainer sign-off is required for this class (not security machinery), and the CI re-run note is not a review input (rule 5).

Diff cross-check: go.mod pin v0.2026277.711 → v0.2026279.1656 matches go.sum h1:slCVUQf7bhJp5aZWkVU1bzzB35K9Eq8O22u+0B8qK7o=, which matches the body's go version -m on the rebuilt binary; the unchanged /go.mod hash is legitimate; plugins_refs_generated.go correctly absent from the 2-file diff. Placement CORRECT (capability stays in the compiled-in candy, not core); one atomic commit; changed path executed live on the committed tree; tier justified.

Checklist: All applicable rules PASS or NA.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) October 6, 2026 20:46
@github-actions
github-actions Bot merged commit d164bb7 into main Oct 6, 2026
2 of 3 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Oct 6, 2026
aitrawog added a commit that referenced this pull request Oct 6, 2026
main's #818 bumped plugin-task to v0.2026279.1656 in charly/go.mod; resolve by keeping
BOTH main's plugin-task pin and this branch's sdk/spec/plugin-check pins, then `go mod
tidy` (go.sum regenerated).

Assisted-by: OpenCode ollama-cloud deepseek-v4.1-flash (fully tested and validated)
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.

2 participants