Skip to content

fix(map): print via the canonical status verb; bump charly for the renderer - #255

Merged
github-actions[bot] merged 3 commits into
mainfrom
fix/map-canonical-status-verb
Sep 25, 2026
Merged

github-actions[bot] merged 3 commits into
mainfrom
fix/map-canonical-status-verb

Conversation

@aitrawog

@aitrawog aitrawog commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

charly task map printed no map. Two root causes, both fixed here, and the
charly gitlink is advanced to deliver the dependency.

Root cause 1 — map duplicated the canonical table and discarded its stdout

The umbrella map step used an inline command: that re-implemented the
verb:git-submodules status table (an R3 duplication), and the command verb's
pass path returns only exit=N — its stdout is asserted via matchers, never
echoed. So the table was built and discarded. map now composes
verb:git-submodules status directly, so the table becomes the step's
Result.Message.

A task: verb wrapper is deliberately not used: verb:task returns only a
one-line summary, which would discard the table again.

Root cause 2 — the task reporter dropped Result.Message

Even a verb-backed step's table was invisible because the charly task text
reporter rendered only the authored step Text. That is fixed in
opencharly/plugin-task#5 (merged), which charly now pins at
candy/plugin-task/v0.2026268.1402 (opencharly/charly#662, merged). This PR
advances the umbrella's charly gitlink 4f9c868 → 5d0b66e to deliver it.

What changed

  • charly.yml — map's step becomes git-submodules: {mode: status} (the ONE
    status implementation, shared with pins MODE=status).
  • charly — gitlink 4f9c868 → 5d0b66e (charly origin/main, which carries
    the merged plugin-task 1402). Every other pin is left at HEAD: routine sync
    noise belongs to the sync workflow, not this PR.

How tested

Rebuilt the umbrella binary from the bumped charly/ with the sanctioned
entrypoint, then ran map:

$ ./charly/scripts/bootstrap-charly.sh
bootstrap-charly: built ./bin/charly (2026.268.1428)
$ ./charly/bin/charly version
2026.268.1428

$ ./charly/bin/charly task map
task map: 1 step(s), 0 failed
  [pass] run — print the submodule map
      PATH                         BRANCH     PIN
      charly                       main       5d0b66e7
      charly-alpine                main       7b8ac76
      charly-arch                  main       b1fd79a
      charly-debian                main       2493b44
      charly-fedora                main       e8fb8db
      … (all 408 submodules)

The bump is policy-B safe and each pin is a merged default-branch HEAD:

$ ./charly/bin/charly task policy-b
task policy-b: 1 step(s), 0 failed
  [pass] check — policy B holds

$ git ls-remote https://github.com/opencharly/charly refs/heads/main
5d0b66e75316f4d06057f2561bb0a8315929f910

charly's own box/* gitlinks are unchanged between 4f9c868 and 5d0b66e
(SAME box/arch … box/ubuntu), so no distro-* pin moves with this bump.

The full pin-audit gate — charly task verify — passed 3/3 on a CLEAN tree.
The pin-audit bed is the gate that exercises a gitlink bump, so it was run from a
fresh clone of this branch head (a clean tree; the operator checkout has other
concurrent sessions' dirty submodules, which this run does not touch). The fresh
clone was fully initialised first — including charly's NESTED box/* submodules,
which actions/checkout/a shallow clone leave uninitialised and which the gate
correctly fails on:

$ git clone --branch fix/map-canonical-status-verb https://github.com/opencharly/opencharly uv2
$ (cd uv2 && git submodule update --init --recursive)          # superproject 408 + charly's 6 nested
$ (cd uv2/charly && git submodule update --init --recursive)   # charly box/* (nested)
$ cd uv2 && ./charly/scripts/bootstrap-charly.sh
bootstrap-charly: built ./bin/charly (2026.268.1428)

$ ./charly/bin/charly task verify
task verify: 3 step(s), 0 failed
  [pass] check — policy B — every distro-* gitlink equals charly's own box/* gitlink
      ran 1 task(s), 0 step(s) failed
  [pass] check — every submodule is clean and checked out at its recorded gitlink, and its branch equals the remote default
      exit=0
  [pass] check — the opencode gate plugin contract (the check-opencode-plugin gate the former verify-pins.sh ran)
      exit=0
$ echo $?
0

$ git status --short | wc -l            # 0 = clean tree the gate ran on
0

The cheap per-commit gate + task surface:

$ bash hooks/pre-commit
pre-commit: OK
$ ./charly/bin/charly task self-test    # [pass]
$ ./charly/bin/charly task harness      # [pass] parity: 5 pair(s) identical
$ ./charly/bin/charly task policy-b     # [pass]
$ ./charly/bin/charly task org-map      # [pass]
$ ./charly/bin/charly box validate
charly box validate: OK — checked 628 candies, 129 boxes, 7 distros, 7 builders; 0 warnings, 0 errors

Rulebook compliance

  • R0 skills: /charly-internals:git-workflow, /charly-internals:strict-policy,
    /charly-internals:root-cause-analyzer, /charly-check:check.
  • R1 RCA: both root causes named with measured before/after, not patched.
  • R3 no duplication: map now composes the one verb:git-submodules status
    implementation; its inline copy of the table is deleted.
  • R4 no workaround: the reporter was fixed at its source (plugin-task), and
    the pin advanced — no consumer re-derives dropped output.
  • R5 hard cutover: the duplicated inline table is removed, not kept beside the
    verb.
  • R6 git safety: fix/ branch, no force-push, no direct push to main.
  • R7 / R9 prove the gate: charly task verify passed 3/3 on a clean fresh
    clone of this branch head (pasted above) — the pin-audit bed that exercises the
    change; plus hooks/pre-commit + every task self-test on the committed tree.
    The live map run used the rebuilt ./bin/charly (2026.268.1428).
  • Pin discipline: the charly pin is a merged default-branch HEAD; policy B
    holds; no PR branch is pinned.

Change classification

  • Change class: umbrella task config + gitlink bump (charly.yml + charly).
  • Verification gate: hooks/pre-commit + charly task policy-b|self-test|harness|org-map
    • charly box validate + the live map run on the rebuilt binary.
  • Attribution tier: fully tested and validated — the complete pin-audit bed
    (charly task verify, 3/3) passed on a clean tree, and the changed path
    (charly task map) ran live on the rebuilt binary with retained output.

Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)

…nderer

`charly task map` printed no map. Two root causes, both fixed here:

1. The umbrella `map` step used an inline `command:` that RE-implemented the
   `verb:git-submodules status` table (an R3 duplication), and the `command`
   verb's pass path returns only `exit=N` — its stdout is asserted via matchers,
   never echoed. So the table was built and discarded. `map` now composes
   `verb:git-submodules status` directly (NOT via a `task:` wrapper, whose
   one-line summary would discard the table again), so the table becomes the
   step's Result.Message.

2. The task text reporter only rendered a step's authored `Text`, discarding
   Result.Message — so even a verb-backed step's table was invisible. Fixed in
   opencharly/plugin-task#5 (merged), which charly now pins at
   candy/plugin-task/v0.2026268.1402 (charly#662, merged). This PR advances the
   charly gitlink from 4f9c868 to 5d0b66e to deliver it.

Proven on the rebuilt umbrella binary: `charly task map` now prints the full
408-submodule PATH/BRANCH/PIN table (pasted in the PR body). All other pins are
left at HEAD (routine sync noise belongs to the sync workflow, not this PR).

Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 3979fceceeb1ef561855345d35d1e4f058f254b2 (branch: fix/map-canonical-status-verb)

Change class: umbrella task config (charly.yml) + submodule gitlink bump — code/config class.

Blocks

  1. A2 / B12 — the bed that actually exercises a gitlink bump was not run, and the stated reason is a forbidden deferral. For a submodule-pin change the pin-audit bed (charly task verify) is the gate that exercises the change; the body admits it did not run and explains the omission with "another concurrent session's dirty sdk worktree". That is a transient/environmental framing (R1 / B14): a dirty worktree is a state the author must resolve (clean or coordinate the tree), not a licence to skip the gate for the very pin being changed. Run charly task verify on a clean tree and paste its real output — or route the blocker to its named batch — before landing. As written the change ships with its own gate unproven.

  2. A1 / A3 — the body self-contradicts on the gate and lands at a reduced tier for a code/config change. The rulebook section asserts "R7 / R9 prove the gate" while the same body admits the pin-audit bed was skipped, so the gate is not proven and analysed on a live system is a coverage gap here, not sufficient proof for this change class. Either run the gate and set the tier accordingly, or state plainly that the change is not ready to land.

Verdict: BLOCK


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

View action run

Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: f1cca1f16cb6df158e05db0bad3a80d8985d2749 (branch: fix/map-canonical-status-verb)

Change class: code/config — umbrella task config (charly.yml) + submodule gitlink bump.

Blocks

  1. A1 / A3 — the body contradicts itself on its own attribution tier. The "Attribution tier" section claims fully tested and validated ("the complete pin-audit bed … passed on a clean tree, and the changed path … ran live"), while the mandatory closing footer claims a different tier: *Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (analysed on a live system)*. A body must state ONE tier, and the Assisted-by: … (<confidence>) footer is the canonical one that A3 cross-checks against the proof. These two do not agree (fully tested and validated ≠ analysed on a live system). Fix: reconcile them — either raise the footer confidence to match the now-proven bed/live run, or lower the section — so the declared tier and the footer are identical and both justified by the pasted evidence. As written the body cannot be relied on to tell the reader which tier it is landing at.

Comment intake: Comment 5834330019 (github-actions[bot], against head 3979fce…) — finding 1 ("pin-audit bed not run; dirty-worktree deferral") is stale-superseded: the current body pastes charly task verify 3/3 run on a clean fresh clone with git status --short | wc -l = 0. Its finding 2 ("gate self-contradiction") is stale-superseded for the gate portion (the bed is now proven), but its A1/A3 tier concern re-derives against the current body as block 1 above.

Verdict: BLOCK


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

View action run

…oter)

Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (fully tested and validated)
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: c063f6890f8834ac5faa847b71785aaf2d800415 (branch: fix/map-canonical-status-verb)

Security screen: PASS — the only supply-chain surface is the intended charly gitlink 4f9c868 → 5d0b66e, to the org's own repo, at a merged default-branch HEAD (git ls-remote … refs/heads/main = 5d0b66e…), policy-B green; no secrets, no weakened guardrails, no rulebook/validator edits, no injected directives.
Checklist: All applicable rules PASS or NA. Diff (charly.yml map-step composition + gitlink bump) matches the body's accounting; the duplicated inline table is removed (R3/R5); the changed path charly task map ran live on the rebuilt binary (2026.268.1428) producing the verb's table, and the pin-audit bed charly task verify passed 3/3 on a clean fresh clone — so the single tier fully tested and validated is justified.
Comments:

  • 5834330019 (bed-not-run / dirty-worktree deferral; gate self-contradiction) — stale-superseded: current body pastes charly task verify 3/3 on a clean fresh clone with git status --short | wc -l = 0.
  • 5834899151 (footer vs section tier contradiction) — stale-superseded: current body states one tier, fully tested and validated, in both the section and the closing footer (re-frozen at this head).

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) September 25, 2026 15:27
@github-actions
github-actions Bot merged commit ecf5c46 into main Sep 25, 2026
1 check passed
charly-auto-merge Bot added a commit that referenced this pull request Sep 25, 2026
@aitrawog
aitrawog deleted the fix/map-canonical-status-verb branch September 25, 2026 18:28
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