Skip to content

chore(deps): bump the plugin-task pin to the merged verb:prune release - #766

Merged
github-actions[bot] merged 2 commits into
mainfrom
feat/wprune
Oct 3, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
feat/wprune

Conversation

@aitrawog

@aitrawog aitrawog commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Bumps the compiled-in plugin-task pin to the just-merged verb:prune release and
regenerates the compiled-in plugin wiring, so charly task prune resolves.

  • charly/go.mod — github.com/opencharly/plugin-task/candy/plugin-task
    v0.2026272.822 → v0.2026276.1007 (the merged producer tag, Go-module form).
  • charly/go.sum — the two matching hashes.
  • charly/plugins_refs_generated.go — regenerated by pluginsgen
    (scripts/bootstrap-charly.sh); adds the one new line
    "verb:prune": "github.com/opencharly/plugin-task/candy/plugin-task".

This is the CONSUMER leg of the producer-first chain for issue
opencharly/opencharly#342: plugin-task#7 (the verb:prune reaper) merged as
a066323 and tagged v2026.276.1007 / candy/plugin-task/v0.2026276.1007.

No code change: a pin bump plus its generated projection. The generator is run, not
hand-edited (SDD).

How tested

Module gates (CI-exact, on this head)

$ cd charly && go test ./...
ok  	github.com/opencharly/charly/charly	203.682s
ok  	github.com/opencharly/charly/charly/internal/pluginsgen	77.982s

$ gofmt -l charly tools          # empty

$ golangci-lint run ./charly/...   # run from the repo ROOT with the root .golangci.yml — the exact CI invocation
0 issues.

(The lint command is the CI-exact one: golangci-lint run ./charly/... from the repo
root, which selects the root .golangci.yml — 0 issues. A scoped run from inside
charly/ selects charly/.golangci.yml (the curated, stricter set) and reports two
findings — engine_provider.go unconvert, plugin_requires_test.go unparam — in
files NOT in this diff. Those two are confirmed pre-existing: git checkout origin/main -- charly/go.mod charly/go.sum charly/plugins_refs_generated.go then the scoped run
reproduces both. They are also evidence of a separate, now-filed defect — charly#767:
the CI-exact invocation uses the ROOT config and never reaches charly/.golangci.yml,
so the curated linter set does not run in CI. That is a distinct, non-blocking issue
with its own filed batch (charly#767), not part of this pin bump.)

The changed path executes: verb:prune now resolves in the rebuilt binary (R9)

scripts/bootstrap-charly.sh regenerated the wiring and built the binary, then the
built binary was driven against a real git fixture (a merged branch + an unmerged
one):

$ bash scripts/bootstrap-charly.sh
bootstrap-charly: regenerating compiled-in plugin wiring
Downloading github.com/opencharly/plugin-task:candy/plugin-task/v0.2026276.1007...
bootstrap-charly: building bin/charly
bootstrap-charly: built ./bin/charly (2026.276.0451)

$ grep -n 'verb:prune' charly/plugins_refs_generated.go
189:	"verb:prune":                "github.com/opencharly/plugin-task/candy/plugin-task"

$ ./bin/charly task prune          # in a fixture repo with one merged + one unmerged worktree
task prune: 1 step(s), 0 failed
  [pass] run — prune merged worktrees and branches
      prune (report, base=main, gh=off (local_only)): would prune 1 worktree(s) + 0 branch(es)
        worktree .                            …/.worktrees/aa — tip is an ancestor of main

The new verb resolves through the COMPILED-IN provider registry (the regenerated
plugins_refs_generated.go line), and the sweep correctly selects the merged
worktree and ignores the unmerged one.

The charly R10 gate — check-task (the compiled-in charly task witness)

$ ./bin/charly check run check-task
charly check run check-task: [deploy-add] PASS after 4m12.878s [allowlisted=1]
charly check run check-task: [bring-up-members] PASS after 4ms
charly check run check-task: [check-live] PASS after 4m11.746s [allowlisted=1]
charly check run check-task: [update] PASS after 3m36.951s [allowlisted=1]
charly check run check-task: [cleanup] PASS after 37.603s [allowlisted=1]
charly check run check-task: [cleanup-members] PASS after 0s
charly check run check-task: PASS (steps=6)

The run's summary.yml records every step ok: true, errors: 0,
warnings: 0 (the one allowlisted line is the benign dev-worktree-binary notice).
check-task is the repo's sole R10 witness of the compiled-in charly task
surface — a disposable kind:local deploy on host: local that lists the declared
tasks through command:task and composes one through a task: verb step — so it
exercises the SAME compiled-in plugin this pin bump re-registers.

Rulebook compliance

  • R0 (skills first): loaded /charly-internals:go, /charly-internals:plugin,
    /charly-internals:git-workflow, and /charly-check:check before editing.
  • R1 (RCA every anomaly): N/A — no anomaly; the two scoped-lint findings were
    root-caused to a wrong-config invocation, not a defect (see above).
  • R2 (finish the whole cutover): the pin, go.sum, and the regenerated index
    ship together; the producer (plugin-task#7) and the umbrella entity are the
    same batch (#342).
  • R3 (no duplication): the index is REGENERATED by pluginsgen; not hand-edited.
  • R4 (no workarounds): scripts/bootstrap-charly.sh is the sanctioned generator
    entrypoint; no manual edit of a generated file.
  • R5 (delete legacy completely): N/A — no removal.
  • R6 (Git safety): no force-push; fast-forward onto origin/main only.
  • R7 (prove behavior): the built binary drives the changed path (verb:prune)
    live on a real fixture.
  • R8 (preserve emitted artifacts): plugins_refs_generated.go is regenerated
    (reproducible; a clean re-run is a no-op).
  • R9 (binary equals source): scripts/bootstrap-charly.sh built the worktree
    binary with the new pin; ./bin/charly version = 2026.276.0451.
  • R10 (fresh disposable proof): the check-task bed runs the full sequence on a
    disposable: true deploy.

Change classification

  • Change class: charly Go code — a compiled-in plugin pin bump + its generated
    wiring projection (no hand-written Go).
  • Verification gate: module suite (go test ./charly/... + gofmt + CI-exact
    golangci-lint) + the check-task R10 bed (the compiled-in charly task witness)
    • the live verb:prune fixture proof.
  • Attribution tier: fully tested and validated.

Refs: opencharly/opencharly#342

Agent: wprune · session ses_eff40584bffe0JqilUWOh4UlTY
Assisted-by: OpenCode DeepSeek V4.1 Flash (fully tested and validated)

Bumps github.com/opencharly/plugin-task/candy/plugin-task v0.2026268.1402 ->
  v0.2026276.1007 (the merged plugin-task#7 tag) and regenerates the compiled-in
  plugin wiring via scripts/bootstrap-charly.sh, so charly task prune resolves.
  Consumer leg of the producer-first chain for opencharly/opencharly#342.

Refs: opencharly/opencharly#342
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 3bb9f3d4699de5d10b0269ee7fe404bb4cf95df4 (branch: feat/wprune)

Change class: charly Go/config — a compiled-in plugin-task pin bump (charly/go.mod, charly/go.sum) plus its regenerated wiring projection (charly/plugins_refs_generated.go).

Blocks

  1. A1 (body ↔ diff contradiction — rule 4) — the body misstates the change it gates. The Summary says the pin moves v0.2026268.1402 → v0.2026276.1007, but the diff shows the actual previous pin is v0.2026272.822: the removed line in charly/go.mod is - github.com/opencharly/plugin-task/candy/plugin-task v0.2026272.822, and the removed charly/go.sum lines are likewise .../plugin-task v0.2026272.822 .... The body therefore does not accurately account for the change. Fix: correct the Summary (and any text derived from it) to v0.2026272.822 → v0.2026276.1007.

  2. B14(b) / R2 — forbidden "pre-existing … not in this diff" dismissal with no named exit. The body disposes of the two scoped-lint findings with the parking phrase "pre-existing findings in files NOT in this diff … byte-identical to origin/main", supported only by the bare assertion that "the root-config invocation is the authoritative one and is clean". No scoped-run command/config nor its output is pasted to substantiate the "wrong-config invocation" root cause, and no thematic batch is named. Fix: paste the actual scoped invocation, its output, and the differing config that proves the findings spurious, or route them to the named batch.

Verdict: BLOCK


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

View action run

Round-1 BLOCK was body-only: (1) the Summary misstated the base pin
  (v0.2026272.822, not v0.2026268.1402); (2) the lint framing parked two scoped
  findings without an exit. Fixed: corrected the pin, pasted the scoped invocation
  + evidence, and routed the underlying config divergence to its own filed issue
  (charly#767). Re-key the head so the required gate re-runs against the body.

Refs: opencharly/opencharly#342
@github-actions

github-actions Bot commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: dcc13c61009214f753875b99f20ee4e95398ed50 (branch: feat/wprune)

Security screen: PASS — diff is a dependency pin bump (charly/go.mod, charly/go.sum) plus its regenerated projection (charly/plugins_refs_generated.go); no secrets/egress, no guardrail weakening, no CI/rulebook edits, no scope mismatch (the single added ref line matches the Summary and the producer's new verb).

Checklist: All applicable rules PASS or NA. Body accounts for all 3 files, matches the diff exactly (v0.2026272.822 → v0.2026276.1007; +2/-2 hashes; +1 "verb:prune" line), names the gate/bed, pastes output, and ends with the required Assisted-by: footer.

Comment intake (1):

  • @github-actions[bot] #5968357646 — Finding 1 (A1 pin-version mismatch): stale-superseded — the current body states v0.2026272.822 → v0.2026276.1007, which matches the removed/added lines in charly/go.mod and charly/go.sum.
  • Finding 2 (B14b/R2 "pre-existing" dismissal with no named exit): verified-non-blocking — the body now names a filed batch (charly#767) for the underlying curated-lint/CI-config gap, satisfying R2's named-batch routing; the two findings are in files absent from this diff.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) October 3, 2026 10:41
@github-actions
github-actions Bot merged commit 6801339 into main Oct 3, 2026
2 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Oct 3, 2026
@aitrawog
aitrawog deleted the feat/wprune branch October 3, 2026 11:51
aitrawog pushed a commit that referenced this pull request Oct 4, 2026
…sumer pins

Two disjoint pin movements met in charly/go.mod and git conflicted on the
adjacent lines (plugin-task on main's side, spec on this branch's side).

Resolution is the union, and it downgrades nothing:
  - plugin-task v0.2026276.1007  -> origin/main (#766, the merged verb:prune release)
  - spec v0.2026273.203          -> this branch (#762, the spec#188 consumer leg)

Then the #765 consumer pins:
  - spec                   v0.2026273.203 -> v0.2026276.1103 (spec#190 released;
    the del seam's ancestor_paths/ancestor_nodes)
  - plugin-fleet/candy/plugin-fleet v0.2026276.526 -> v0.2026276.1113 (plugin-fleet#31
    merged; the del walk now ships the target's root-first ancestor chain)

The two halves of charly#765 are producer-first: the wire is released, the
producer that populates it is released, and this commit makes charly consume
both. `charly task mods-tidy` carries the shared spec pin into the lockstep
tools/* modules (their own go.mod + go.sum), so TestContractPinsMatchShared
stays green.

Refs #765, #762
github-actions Bot pushed a commit that referenced this pull request Oct 6, 2026
…ckout audit) (#818)

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.

Co-authored-by: atrawog <[email protected]>
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