Skip to content

docs(repo-setup): name git-workflow's pin-intent reference by its stem, not as a references/ path of this skill - #1232

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/cdi-xref-fix
Nov 22, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/cdi-xref-fix

Conversation

@aitrawog

@aitrawog aitrawog commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Head 721e5438666298bae2cb8d993096030c9e37dd1b. One line in .agents/skills/repo-setup/SKILL.md, at line 174.

The skill cited references/pin-intent-and-currency.md, a file that belongs to git-workflow, not to repo-setup. The docs generator resolves a backticked references/<file>.md against the citing skill's own directory (referencePathPattern in plugin-docs/candy/plugin-docs/links.go), so the pointer is unresolvable. Since opencharly/marketplace#632 published it on 2026-11-19, opencharly.ai has been frozen at marketplace 305aab7 (opencharly/marketplace#640).

The line already names /charly-internals:git-workflow, which resolves. The file is now named by its stem ("its pin-intent-and-currency reference"), which the reference pattern does not match. The other reference in #640, /charly-cdi:cdi, is corrected to /charly-distros:cdi at its three sources by opencharly/spec#423, opencharly/plugin-fleet#55 and opencharly/layer-cdi#17.

How tested

Change class: Documentation-only (one line in a SKILL.md). The umbrella's gate is charly task verify on the committed tree, plus the non-runtime standards.

$ git rev-parse HEAD
721e5438666298bae2cb8d993096030c9e37dd1b
$ git diff --numstat --diff-algorithm=myers origin/main...HEAD
1	1	.agents/skills/repo-setup/SKILL.md
$ ./charly/bin/charly task verify
task verify: 53 step(s), 0 failed, 0 skipped
verify-exit=0

R5: no umbrella-authored skill other than git-workflow (which owns the file) cites references/pin-intent-and-currency.md as its own reference:

$ git grep -n '`references/pin-intent-and-currency.md`' HEAD -- .agents/skills ':!.agents/skills/git-workflow' | wc -l
0

RDD spike: without the fix set the site fails; with it, it passes. Two copies of the corpus at marketplace 7cd432f4d0ce495fac134248081f035eeced2adc were run through the docs generator exactly as opencharly/docs' workflow runs it (plugin-docs v2026.289.0814, charly at that repo's CHARLY_PIN), with identical commands except for --plugins:

  • $S/spike/mk0 is the corpus as published (git archive 7cd432f);
  • $S/spike/mk is the same corpus with the fix set applied: the four corrected lines (/charly-cdi:cdi → /charly-distros:cdi in the pod, deploy and cdi-layer skills, and the repo-setup pointer), plus layer-cdi's current cdi and cdi-layer skills, which the corpus bump will publish.

Before (unpatched):

$ S=/tmp/claude-1000/-home-atrawog-claude-opencharly/9c238794-da74-429e-9589-14f42e9aaca2/scratchpad; G=$S/gen   # $G/charly = charly at CHARLY_PIN with the corpus wiring candy; $G/umb-new = git archive bfa37ca20389eb5f3c7bff49d3436740ca8ef7cf
$ cd $G/charly && $G/plugin-docs-bin generate --root $G/charly --narrative $G/umb-new --plugins $S/spike/mk0 --out $S/spike/docs0/src/content/docs; echo "gen-exit=$?"
charly docs: 2 unresolvable cross-reference(s) in the skill corpus:
  /charly-cdi:cdi
    referenced from: recipes/core/deploy.md, recipes/pod/pod.md
  references/pin-intent-and-currency.md
    referenced from: recipes/internals/repo-setup.md
every reference must resolve to a defined skill or reference file
gen-exit=1

After (fix set applied):

$ S=/tmp/claude-1000/-home-atrawog-claude-opencharly/9c238794-da74-429e-9589-14f42e9aaca2/scratchpad; G=$S/gen   # $G/charly = charly at CHARLY_PIN with the corpus wiring candy; $G/umb-new = git archive bfa37ca20389eb5f3c7bff49d3436740ca8ef7cf
$ cd $G/charly && $G/plugin-docs-bin generate --root $G/charly --narrative $G/umb-new --plugins $S/spike/mk --out $S/spike/docs/src/content/docs; echo "gen-exit=$?"
charly docs: 395 recipe pages, 190 plugin pages (200 provider words), 80 cli pages, 758 candy pages, 157 box pages (1578 generated pages cleared before regeneration)
gen-exit=0

The pre-commit gate on this commit printed the known printf: Broken pipe warning from scripts/sync-pin-evidence.sh:757 and passed. That pre-existing defect is filed as #1228.

Rulebook compliance

Filed issues

Change classification

  • Class: documentation-only.
  • Tier: documentation reviewed.
  • Breaking change + rollback: none — one corrected pointer; reverting the squash restores the previous line.

Agent: cdi-xref-fix · Claude Code session 9c238794-da74-429e-9589-14f42e9aaca2
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (documentation reviewed)

…m, not as a references/ path of this skill

repo-setup cited `references/pin-intent-and-currency.md`, but that file belongs to
git-workflow. The docs generator resolves a backticked `references/<file>.md` against the
citing skill's own directory, so the pointer was unresolvable. That has frozen opencharly.ai
at an old corpus since 2026-11-19 (opencharly/marketplace#640). The line already names
`/charly-internals:git-workflow`; the file is now named by its stem.

Relates to opencharly/marketplace#640

Agent: `cdi-xref-fix` · Claude Code session `9c238794-da74-429e-9589-14f42e9aaca2`
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (documentation reviewed)
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: 721e5438666298bae2cb8d993096030c9e37dd1b (branch: feat/cdi-xref-fix)

Change class: documentation-only (.agents/skills/repo-setup/SKILL.md, +1/−1).
Placement: placement: CORRECT — a one-line skill-doc edit in the umbrella's .agents/skills/; nothing moves between core/sdk/candy, no *_aliases.go growth, no new charly/ kit import.

Security screen: PASS — no secrets, no network egress, no change to the validator spec / AGENTS.md / branch-protection / pre-push gate, no dependency or version-pin edits, no instruction-shaped content aimed at the reviewer in the diff or body.

Blocks

  1. A1 / R7 / R10 — the spike's before/after evidence is mislabeled; the "fails without it" half is never pasted. In "How tested", the sentence "The unpatched corpus fails with 2 unresolvable cross-reference(s):" introduces a paste whose own inline comment defines $S/spike/mk = the patched corpus copy and which then runs generate … --plugins $S/spike/mk → gen-exit=0. The pasted block is therefore the patched success run, not the unpatched failure. The R7 answer ("the spike shows the fix set turns a failing generation into a passing one") depends on output that appears nowhere in the body, and the change's necessity is thus asserted, not shown. Fix: paste the real unpatched-corpus invocation together with its 2 unresolvable cross-reference(s) output, or drop the before/after claim and answer R7 as N/A — documentation-only with the reason.

  2. A1 — the same cross-repo item is named two different ways, so the spike is untraceable. Summary: the other dangling reference is /charly-cdi:cdi, "fixed at its three sources by docs(skills): reference the CDI doctrine skill by its published name, /charly-distros:cdi spec#423, docs(skills): reference the CDI doctrine skill by its published name, /charly-distros:cdi plugin-fleet#55 and docs(skills): reference the CDI doctrine skill by its published name, /charly-distros:cdi layer-cdi#17". How tested: "the three /charly-distros:cdi corrections". One item, two skill names — a reader cannot reconcile the patched corpus with the fix set the body claims to have applied. Fix: use a single, correct name in both places.

Considered and not blocking

  • Pre-commit printf: Broken pipe warning (scripts/sync-pin-evidence.sh:757): disclosed, RCA'd to file:line, filed as pre-commit prints 'printf: Broken pipe' from sync-pin-evidence.sh:757 (printf | grep -q under ignored SIGPIPE) and still passes #1228 and listed under ## Filed issues with a one-line description. The pasted change-class gate (charly task verify, 53 steps / 0 failed / 0 skipped / exit 0) is warning-free, and the script is untouched by this diff — the sanctioned file-it path for a non-blocking, separable finding. Not a block.
  • R9: no charly version line, but no target was exercised (docs-only class), so the rule does not apply here.
  • Comment thread: empty — nothing to verify, confirm or dismiss.

Verdict: BLOCK


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

View action run

@aitrawog

Copy link
Copy Markdown
Contributor Author

STATUS

STATUS — round 1, after the BLOCK of comment 7085024304 at head 721e5438666298bae2cb8d993096030c9e37dd1b. Only the body changed, so the head does not move and the failed run is re-run once through the REST re-run.

Block 1 (A1/R7/R10, the "fails without it" half was asserted, not pasted): fixed. The spike is now a before/after pair of real runs with identical commands except --plugins. Before, on the corpus as published (git archive 7cd432f), the generator prints 2 unresolvable cross-reference(s) naming both references, gen-exit=1. After, with the fix set applied, it passes, gen-exit=0. The sentence that introduced the patched run as "the unpatched corpus fails" is gone.

Block 2 (A1, one item named two ways): fixed. The Summary now says the three sources are "corrected to /charly-distros:cdi", and the spike names the edit /charly-cdi:cdi → /charly-distros:cdi. The ambiguous "the three /charly-distros:cdi corrections" no longer appears in the body.

RCA. I ran the unpatched generation (it is the measurement in opencharly/marketplace#640), but when I wrote the spike paragraph I pasted only the patched run and described the other in prose. Missed control: the claim "X fails without the change" names a run, and I did not check that the run was in a fence. It is the same failure as opencharly/layer-cdi#17's round 1, one level up: an evidence claim written from memory rather than from the body's own fences. Root fix on my side: every comparative claim (before/after, with/without) gets both runs pasted, or none is claimed. The two merged siblings (opencharly/spec#423, opencharly/plugin-fleet#55) carried the same one-sided spike; their threads get the unpatched run as a record.

Agent: cdi-xref-fix · Claude Code session 9c238794-da74-429e-9589-14f42e9aaca2
Assisted-by: Claude Code Anthropic Claude Opus 5.5 (documentation reviewed)

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 721e5438666298bae2cb8d993096030c9e37dd1b (branch: feat/cdi-xref-fix)

Security screen: PASS — one docs line in .agents/skills/repo-setup/SKILL.md; no secrets/egress, no guardrail or validator-spec edit, no dependency/pin change, no instruction-shaped content in diff or body.
Checklist: All applicable rules PASS or NA (docs-only class: bed coverage / RDD spike-bed / R7 artifact emission / R8 service boundary / R9 target / DISP are NA, each with a reason in the body).
Placement: placement: CORRECT — a skill-doc pointer correction inside .agents/skills/; nothing moves between core/sdk/candy, no alias growth, no new charly/ kit import.

Comment dispositions:

  • 7085024304 (@github-actions[bot], BLOCK) — stale-superseded. Both blocks are cured in the CURRENT body: the unpatched run is now pasted with --plugins $S/spike/mk0 and 2 unresolvable cross-reference(s) / gen-exit=1, and the cross-repo item is named one way throughout (/charly-cdi:cdi → /charly-distros:cdi).
  • 7085203393 (@aitrawog, STATUS) — verified-non-blocking. Its two "fixed" claims reproduce against the current body, and it carries the required round RCA naming the missed control (a comparative claim whose run was not in a fence); head unchanged is correct for a body-only remedy.
  • Considered, non-blocking: the disclosed printf: Broken pipe in scripts/sync-pin-evidence.sh:757 is RCA'd to file:line, untouched by this diff, does not redden the pasted change-class gate (53 steps / 0 failed / 0 skipped / exit 0), and is filed as pre-commit prints 'printf: Broken pipe' from sync-pin-evidence.sh:757 (printf | grep -q under ignored SIGPIPE) and still passes #1228 under ## Filed issues. The parallel fix-set PRs (spec#423, plugin-fleet#55, layer-cdi#17) assert no serialized dependency, so no WAITING/HOLDING is owed.

Verdict: PASS


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

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) November 22, 2026 20:26
@github-actions
github-actions Bot merged commit f401ca6 into main Nov 22, 2026
5 of 6 checks passed
charly-auto-merge Bot added a commit that referenced this pull request Nov 22, 2026
github-actions Bot pushed a commit to opencharly/marketplace that referenced this pull request Nov 22, 2026
…under the docs generator again (#641)

Advances the umbrella (v2026.326.2026), spec (v0.2026326.2005) and plugin-fleet
(v2026.326.2006) refs, and pins layer-cdi (v2026.326.2026) directly. It carries the
regenerated corpus. This publishes the corrected `/charly-distros:cdi` references
(opencharly/spec#423, opencharly/plugin-fleet#55, opencharly/layer-cdi#17), repo-setup's
fixed pointer (opencharly/opencharly#1232), and layer-cdi's current CDI doctrine those
references cite, plus the skill prose merged under the same tags. The docs generator
resolves every reference in the result, which unfreezes opencharly.ai
(#640).

Relates to #640

Agent: `cdi-xref-fix` · Claude Code session `9c238794-da74-429e-9589-14f42e9aaca2`
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