Skip to content

chore(deps): repin plugin-box so the reconcile and warning fixes ship - #516

Merged
github-actions[bot] merged 1 commit into
mainfrom
chore/repin-plugin-box-reconcile
Aug 31, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
chore/repin-plugin-box-reconcile

Conversation

@atrawog

@atrawog atrawog commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Summary

Two fixes are merged and tagged in plugin-box but reach no charly binary, because charly
still pins the version from before them.

charly requires plugin-box/candy/plugin-box v0.2026243.729. Since that tag:

  • fix(validate): print the warnings, not just their count plugin-box#8 (v0.2026243.1040) — charly box validate reported N warnings
    and never said what any of them were. emitVerdict skipped warning-severity items on the way
    out, so a run said "10 warnings" and withheld all ten. A count nobody can act on is not a gate.
  • fix(reconcile): rewrite pins in place, not by re-serializing the document plugin-box#9 (v0.2026243.1718) — charly box reconcile, which the
    git-workflow rule names as the remedy for a resolved to multiple versions warning,
    changed the 4 pins it reported and 405 lines in total. It mutated the parsed scalar and
    re-serialized the whole document; yaml.v3 does not reproduce a folded block scalar (>-), so
    every authored description: in the file was reflowed. The remedy's own diff was a review
    blocker — the warning it exists to clear could not be cleared with it.

This is the consumer repin that makes both real. Same rule as the previous repin on this branch
lineage: a merged and tagged module is not a shipped fix until its consumer repins.

 charly/go.mod | 2 +-
 charly/go.sum | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

Generated from git diff --stat origin/main...HEAD. One require line and the go.sum entries
that move with it; no source changes.

How tested

Built from this tree with the repo's own task, and confirmed both fixes are actually compiled in
rather than merely required:

$ task build:binary
$ strings bin/charly | grep -c 'reported at line .* outside the'   # 1  (#9)
$ strings bin/charly | grep -c '^warning: %s$'                      # 1  (#8)

Then exercised with that stock binary against a real 160KB project, not a fixture.

#8 — the warnings are now named, where before only the count was printed:

warning: layer-xdg-portal resolved to multiple versions; using newest 2026.243.0909 …
warning: pod-pipewire     resolved to multiple versions; using newest 2026.243.0100 …
charly box validate: OK — … 2 warnings, 0 errors

#9 — the same 4 pins, and now nothing else moves:

before   2 files changed, 170 insertions(+), 235 deletions(-)
after    2 files changed,   4 insertions(+),   4 deletions(-)

The after-diff is exactly four @github…:vTAG lines. Both runs were made on a clean tree and
reverted afterwards.

Rulebook compliance

  • R1 (RCA) — both defects were root-caused in their owning repo before this repin; fix(postgresql): pgvector moved AUR→extra, install via pacman (arch) #9 was
    traced to yaml.v3's folded-scalar emission by round-tripping the real file and diffing, which
    is also why a literal scalar (|-) shows no damage and the bug looked selective.
  • R3 (no duplication) — the fixes live in plugin-box; charly only advances the pin.
  • R4 (no workarounds) — no replace directive, no vendored copy; the published module
    versions are used.
  • R5 (delete legacy) — N/A: a version bump.
  • R6 (git safety) — feature branch off current origin/main, no force-push, no hook bypass.
    The branch was rebased onto ef9f41c after #515 landed mid-work, before any commit.
  • R7 / R10 (prove the gate) — the binary was built from the committed tree and both changed
    paths were executed live, with before/after output pasted above. A go.mod diff alone would
    not have shown that either fix reached the binary.

Change classification

  • Change class: dependency pin — one require line plus its go.sum entries. No source, no
    behaviour authored here.
  • Verification gate: task build:binary succeeded on the committed tree, both fixes
    confirmed present in the binary, and both executed live against a real project.
  • Attribution tier: fully tested and validated — the repinned code ran from a stock build
    of this tree, with the before/after recorded.

Assisted-by: Claude Code Anthropic Opus 5 (fully tested and validated)

charly pinned plugin-box v0.2026243.729, from before two fixes merged and tagged
in the owning repo. A merged and tagged module is not a shipped fix until its
consumer repins, so neither was in any charly binary:

  #8 (v0.2026243.1040) -- `charly box validate` reported "N warnings" and never
     said what any of them were. The count was visible, the cause was not.

  #9 (v0.2026243.1718) -- `charly box reconcile`, which the git-workflow rule
     names as THE remedy for a `resolved to multiple versions` warning, rewrote
     the 4 pins it reported and 405 lines in total. It re-serialized the whole
     document, and yaml.v3 does not reproduce a folded block scalar (`>-`): every
     authored description: in the file was reflowed. The remedy's own diff was a
     review blocker, so the warning it exists to clear could not be cleared with it.

Both verified against a stock `task build:binary` of this tree, on a real 160KB
project rather than a fixture:

  box validate   now prints the two warnings by name, not just the count
  box reconcile  2 files changed, 4 insertions(+), 4 deletions(-)
                 (was 170 insertions(+), 235 deletions(-) on the same 4 pins)

go.sum moves with the require; no source changes.

Claude-Session: https://claude.ai/code/session_016fnPmYiC6ZkqXSi6D8PAP6
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 60324f45f3af (branch: feature branch off origin/main)

Security screen: PASS — dependency pin only; no secrets, no exfiltration, no weakened guardrails, no scope mismatch (the go.sum plugin-build entries corrected are a legitimate regeneration artifact fixing a pre-existing go.sum↔go.mod inconsistency).

Checklist: All applicable rules PASS or NA.

  • Change class: dependency pin (go.mod require + go.sum). Runtime-affecting → fresh-rebuild gate required and satisfied.
  • A1/A2/A3: Body accounts for the diff, names the gate (task build:binary), confirms fresh rebuild, pastes output for both fixes (strings-grep presence + live before/after). fully tested and validated tier justified — both changed paths executed live from the committed tree. Assisted-by: footer in exact form.
  • R1/R10: Both defects RCA'd in owning repo; build at zero warnings (the "2 warnings" in live output are the box-validate warnings feat(check): fail-fast SKIP for GPU beds with no matching host card #8 now names, not build warnings). Evidence internally consistent.
  • R2/R5/R6/R15: No surfaced issues split; single atomic commit; no force-push; rebased onto current base.
  • R3/R4: No duplication; no replace/vendored workaround.
  • B16 placement: CORRECT — capability lives in the plugin-box candy; charly only advances the pin.
  • RDD/ADE/SDD/B17/B18: N/A (no candy/schema/Go source changes; no autonomous destroy).

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) August 31, 2026 17:30
@github-actions
github-actions Bot merged commit 6cf9a46 into main Aug 31, 2026
3 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Aug 31, 2026
@aitrawog
aitrawog deleted the chore/repin-plugin-box-reconcile branch September 25, 2026 19:04
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