Skip to content

feat(skill): route /charly-core:charly-config through the generated dispatcher - #42

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/rulebook-first-principles
Dec 2, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/rulebook-first-principles

Conversation

@aitrawog

@aitrawog aitrawog commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Add triggers: to the charly-config skill node (candy/plugin-pod/charly.yml) so charly marketplace generate emits its row
in the generated marketplace/DISPATCHER.md. The umbrella AGENTS.md keeps only the cross-cutting
process rows and routes every domain trigger to that generated table (opencharly/opencharly#1377,
opencharly/opencharly#1394); this PR is the producer leg that must land BEFORE the umbrella removes
its hand-curated row (coordination: HOLDING on this thread, WAITING on opencharly/opencharly#1394).
What got simpler: this skill's routing moves from a hand-maintained umbrella row to its own skill
entity, the one home the generator reads.

How tested

Every command below ran on this head; the binary is the worktree-local umbrella build (C10):

$ ./charly/bin/charly version      # built by `charly task worktree` from the umbrella's pinned charly gitlink
2026.335.1816
$ git -C charly rev-parse HEAD     # = the umbrella's recorded gitlink (git ls-tree HEAD charly)
755f81f764f90058ffd797d6863e1a3c8f44bdad
$ git -C /home/atrawog/coder/claude00/opencharly/.worktrees/rulebook-first-principles/plugin-pod diff --stat origin/main...HEAD
 1 file changed, 2 insertions(+)
$ ./charly/bin/charly -C /home/atrawog/coder/claude00/opencharly/.worktrees/rulebook-first-principles/plugin-pod box validate
charly box validate: OK — checked 19 candies, 2 boxes, 2 deploys, 6 distros, 7 builders; 0 warnings, 0 errors

A triggers: change alters a GENERATED artifact, so the gate is the emitted row
(/charly-internals:skills, "Adding a triggers: is a CONFIG change"). The generation root is a
git archive export of the umbrella's pinned marketplace tree (/tmp/claude-1000/-home-atrawog-coder-claude00-opencharly/1e71081b-b9b8-4d2a-87e3-756a4c2518ed/scratchpad/mk); ONLY this repo is
overridden, so every added row is this PR's:

$ git -C /home/atrawog/coder/claude00/opencharly/.worktrees/rulebook-first-principles/plugin-pod rev-parse HEAD
86891759cbb4fe5d7d92b4180e9f675ef5a804d3
$ CHARLY_REPO_OVERRIDE=github.com/opencharly/plugin-pod=/home/atrawog/coder/claude00/opencharly/.worktrees/rulebook-first-principles/plugin-pod ./charly/bin/charly -C /tmp/claude-1000/-home-atrawog-coder-claude00-opencharly/1e71081b-b9b8-4d2a-87e3-756a4c2518ed/scratchpad/mk marketplace generate --root /tmp/claude-1000/-home-atrawog-coder-claude00-opencharly/1e71081b-b9b8-4d2a-87e3-756a4c2518ed/scratchpad/mk --out /tmp/claude-1000/-home-atrawog-coder-claude00-opencharly/1e71081b-b9b8-4d2a-87e3-756a4c2518ed/scratchpad/gen-plugin-pod > /tmp/claude-1000/-home-atrawog-coder-claude00-opencharly/1e71081b-b9b8-4d2a-87e3-756a4c2518ed/scratchpad/gen-plugin-pod.log 2>&1; echo rc=$?
rc=0
$ diff <(grep '^| ' marketplace/DISPATCHER.md) <(grep '^| ' /tmp/claude-1000/-home-atrawog-coder-claude00-opencharly/1e71081b-b9b8-4d2a-87e3-756a4c2518ed/scratchpad/gen-plugin-pod/DISPATCHER.md); echo rc=$?
39a40
> | `charly config` / set up an image deployment / quadlet generation / secrets provisioning / encrypted volumes / data seeding / volume backing | `/charly-core:charly-config` |
rc=1
$ grep -c '/charly-core:charly-config`' marketplace/DISPATCHER.md     # baseline: the pinned corpus, no override
0

The pinned corpus has no charly-config row (baseline 0); generating with this branch adds exactly ONE row,
this skill's, and nothing else.

Spike

RCA claim: /charly-core:charly-config has no generated dispatcher row because its skill node carries no triggers: (opencharly/opencharly#1377).
Candidates spiked: one — add triggers: to the node: the generation above, exit 0, emits the row (works). No other plausible candidate exists for this cause: the generator emits a dispatcher row ONLY from a node's triggers: (plugin-marketplace emit_dispatcher.go: if s.Type == "agent" || len(s.Triggers) == 0 { continue }), so no other input can produce the row; a hand-written row in the umbrella table does not remove the cause, it is the duplication #1377 deletes.
Winner: add triggers: to the node.
RCA verdict: confirmed — the one candidate works.

Rulebook compliance

  • C0 — /charly-internals:git-workflow, /charly-internals:skills, /charly-internals:marketplace, /charly-internals:strict-policy, /charly-internals:design loaded.
  • C1 — no anomaly in this repo; the gap is #1377's RCA. Round-1 BLOCK RCA is posted on this thread.
  • C2 — the round above.
  • C3 — the map below quotes the requirement each surface conforms to.
  • C4/C6 — the routing has one home (this node); the umbrella row is deleted in the umbrella PR of AGENTS.md restates its skills, lacks first-principles/RSI guidance, and allows a third stop (the ~80% goal budget) opencharly#1394, producer-first.
  • C5 — no workaround: the row is generated from its source, not hand-added downstream.
  • C7 — the generator's input is fixed at its source; no doc routes around it.
  • C8/C11 — the emitted artifact is validated at its boundary (the generated row, with a no-override baseline).
  • C9 — no live-service boundary.
  • C10 — ./charly/bin/charly 2026.335.1816, the worktree-local build from the pinned charly gitlink above; this change is data (a YAML field), so no code of this repo is compiled into it.
  • C12 — fresh clone in the session worktree area, branch feat/rulebook-first-principles.

Plan conformance

Winning candidate: add triggers: to the skill node.

Planned change Requirement Disposition
the triggers: value on the charly-config skill: node DESIGN.cue #Skill; design/dulling.tsv row kind:skill (today's triggers is that field, disposition sharp) conforms — "trigger?: #TextSet"
the emitted DISPATCHER.md row DESIGN.md §3.1 Ownership (the placement table) conforms — "the skill, hook, marketplace and doc kinds, the doc generate and marketplace generate commands" belong to the documentation plugin, and the row is that command's output

Change classification

Change class: candy config — a skill entity's triggers: (its gate: the emitted dispatcher row).
Attribution tier: fully tested and validated.
Breaking change + rollback: none — the change only adds a generated row; nothing that routed before stops routing. Rollback: revert.

Filed issues

None.

Agent: rulebook-first-principles · Claude Code session 1e71081b-b9b8-4d2a-87e3-756a4c2518ed
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)

…ispatcher

Add triggers: to the charly-config skill node so charly marketplace generate emits its
DISPATCHER.md row. The umbrella AGENTS.md keeps only cross-cutting process rows
and routes every domain trigger to the generated table (opencharly/opencharly#1377).

Refs opencharly/opencharly#1377

Claude-Session: https://claude.ai/code/session_01Tvdn3w64HKk5Vk4BYRGN63
Agent: rulebook-first-principles · Claude Code session 1e71081b-b9b8-4d2a-87e3-756a4c2518ed
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

Review — BLOCK

Head SHA: 86891759cbb4fe5d7d92b4180e9f675ef5a804d3 (branch: feat/rulebook-first-principles)

Change class: candy config — a skill entity's triggers: field (candy/plugin-pod/charly.yml, +2/−0). Diff is internally consistent with the body's git diff --stat (1 file, 2 insertions). Security screen: PASS (no secrets, no code paths, no guardrail/rulebook edits, no embedded directives).

Comment thread: empty (0 comments) — nothing to disposition.

Blocks

  1. COORD — required cross-PR coordination comment is missing. The body states the hand-curated umbrella row "is deleted in AGENTS.md restates its skills, lacks first-principles/RSI guidance, and allows a third stop (the ~80% goal budget) opencharly#1394's umbrella PR, producer-first," i.e. this PR must land before #1394. That is a body-shown block relationship with an open item, which obligates a WAITING/HOLDING comment naming both sides (rulebook Part II feat: relocate the check-pod bed from distro-fedora #6/feat(pod): read the deploy engine through the EngineName type #7/fix: consume the schema-versioning-removal cutover (opencharly/charly#717) #11), on both threads. The comment thread here is empty — no such comment exists. Post a WAITING comment naming this PR and opencharly#1394 (and confirm the counterpart exists on #1394), or rebut with evidence that #1394 is not an open item this PR blocks.

  2. C2 — a named spike candidate was not actually spiked. The ### Spike block lists candidate (b) ("keep a hand-curated row in the umbrella table") as "rejected by C4 without a run" — no instrument, no pasted command output, no exit code, no result. C2 requires every candidate be spiked with pasted output, or that a candidate be excluded with a stated reason it is not plausible. Either spike (b) with real output, or stop listing it as a spiked candidate and state why no second candidate to the stated cause (a missing triggers: field) exists.

Non-blocking notes

  • C10/L3 (minor inconsistency, not blocking): the C10 line claims the generator ran from ./charly/bin/charly, but the pasted commands invoke bare charly. Clarify that the PATH charly is the worktree build.
  • L3 (tool-limited): the Assisted-by: model string "Claude Opus 5.5" is not something I can verify against authoring runtime evidence in the body; I cannot confirm or refute it, so I do not block on it — but a guessed model name would be an L3 defect if it does not match the authoring session.

Verdict: BLOCK


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

View action run

@aitrawog

aitrawog commented Dec 2, 2026

Copy link
Copy Markdown
Contributor Author

HOLDING

HOLDING — this PR is a producer leg that BLOCKS the umbrella change of opencharly/opencharly#1394 (AGENTS.md restructure, opencharly/opencharly#1377 dispatcher slimming). The umbrella PR is opened only after this merges, the marketplace corpus regenerates and the pin advances. Counterpart: WAITING on opencharly/opencharly#1394. CLEARED follows on both threads when this merges.

Agent: rulebook-first-principles · Claude Code session 1e71081b-b9b8-4d2a-87e3-756a4c2518ed
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)

@aitrawog

aitrawog commented Dec 2, 2026

Copy link
Copy Markdown
Contributor Author

STATUS

STATUS — round 1 BLOCK, fixed in the body (the diff is unchanged, so this is a REST re-run on the same head):

  1. COORD — HOLDING posted here and WAITING on AGENTS.md restates its skills, lacks first-principles/RSI guidance, and allows a third stop (the ~80% goal budget) opencharly#1394.
  2. C2 — the spike now names its ONE candidate and why no other exists (the generator emits a row only from triggers:); the hand-row is no longer listed as a candidate.
  • C10 note — every command is now pasted literally with ./charly/bin/charly (2026.335.1816, built from the pinned charly gitlink).
  • L3 note — Claude Opus 5.5 is this session's runtime model (claude-opus-5-5).
    Missed control: I did not run the pre-validator self-audit (/charly-internals:git-workflow references/pre-validator-self-audit.md) before the first push: its step 3 (paste only executed commands, no placeholders), step 12 (every C2 candidate spiked or excluded with a reason) and the coordination duty for a producer-first dependency would each have caught a block. Root fix: the audit runs before every push of this cutover, including the umbrella PR.

Agent: rulebook-first-principles · Claude Code session 1e71081b-b9b8-4d2a-87e3-756a4c2518ed
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (fully tested and validated)

@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

Review — PASS

Head SHA: 86891759cbb4fe5d7d92b4180e9f675ef5a804d3 (branch: feat/rulebook-first-principles)

Security screen: PASS — data-only YAML addition (candy/plugin-pod/charly.yml +2/−0), no secrets/egress, no guardrail, validator-spec or rulebook edits, no embedded directives.

Checklist: L1/L2/L3 PASS (body supplies summary, executed-command evidence, spike, per-rule compliance, plan-conformance map, ## Filed issues, and the Agent:→Assisted-by: footer; gate matches the candy-config class — the emitted DISPATCHER.md row with a no-override baseline 0); C1 PASS (0 warnings/errors from box validate, round-1 findings fixed with a fresh missed-control RCA); C2 PASS (single candidate spiked with pasted exit 0, no-other-candidate reasoning grounded in the generator's triggers-only emission); C3 PASS — placement: CORRECT (capability/routing data stays in the plugin candy, nothing into core/sdk; winning candidate matches the spike winner; no design-file edit); C4/C5/C6 PASS (one home for the routing, no workaround, single squash-shaped commit, no transitional path in the diff); C7/C9 NA (no docs-vs-code conflict, no live-service boundary); C8/C11 PASS (before/after artifact diff at the change's real boundary; box validate OK; no new code needing a failing test); C10 PASS (version 2026.335.1816 cross-checked against the pinned charly gitlink); C12 PASS (fresh worktree, no force-push/history rewrite).

Comments considered

  • @github-actions[bot] BLOCK (round 1) — stale-superseded: COORD satisfied by the HOLDING comment naming this PR + opencharly#1394 (with WAITING on the counterpart); C2 satisfied by the reworked single-candidate spike; the C10 bare-charly and L3 model notes are addressed (literal ./charly/bin/charly; session model claude-opus-5-5 asserted). No surviving finding.
  • @aitrawog HOLDING — coordination metadata, valid label, both sides named, footer well-formed. Not a finding.
  • @aitrawog STATUS — round-1 fix record with missed-control RCA; valid label and footer. Not a finding.

Tool-limited (non-blocking): I cannot re-run the generator/box validate or read DESIGN.cue/design/dulling.tsv/emit_dispatcher.go; the pasted outputs are internally consistent with the diff (exactly one added row, counts/stat match) and I could not contradict the Assisted-by: model string from the body's runtime evidence, so neither is a defect on this state.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) December 2, 2026 10:06
@github-actions
github-actions Bot merged commit 1a49b42 into main Dec 2, 2026
5 of 6 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Dec 2, 2026
@aitrawog

aitrawog commented Dec 2, 2026

Copy link
Copy Markdown
Contributor Author

CLEARED

CLEARED — merged; this producer leg no longer holds opencharly/opencharly#1394.

Agent: rulebook-first-principles · Claude Code session 1e71081b-b9b8-4d2a-87e3-756a4c2518ed
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (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.

1 participant