Skip to content

docs(internals): project batch-2.1 charly-internals prose fixes - #86

Merged
atrawog merged 2 commits into
mainfrom
feat/batch-21-internals-prose
Aug 19, 2026
Merged

atrawog merged 2 commits into
mainfrom
feat/batch-21-internals-prose

Conversation

@atrawog

@atrawog atrawog commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Summary of changes

Projection of the six batch-2.1 candy/charly-internals/charly.yml skill edits
into the docs site, regenerated by charly docs generate off the merged
plugins tree 437dd282 (plugins#214) — never hand-edited for the batch's
content. This is the docs leg of batch 2.1 (issues #292 #294 #295 #302 #317
#339); the superproject pin (gitlinks + DOC-REF) lands after this merges (B6a
documentation landing order).

  • recipes/internals/git-workflow/evidence-and-freshness.md (#302, #295): the
    guard symptom-row entry ("write a guard to enforce a claim"); the provenance
    clause now names the content-scoping rule explicitly instead of pointing "two
    paragraphs up"; the page-wide NONZERO-BEFORE detector paragraph.
  • recipes/internals/git-workflow/multi-repo-coordination.md (#317): B6a step 2
    notes superproject-facing drift is EXPECTED while a projection PR is in flight.
  • recipes/internals/libvirt-renderer.md (#339): sdk/vmshared/libvirt_yaml.go
    marked as the stub it is; LOC corrected (~480 → ~3, bridge ~1850 → ~1800,
    listen ~130 → ~24).
  • recipes/internals/vm-spec.md (#339): same stub row + CUE-row pointer.
  • recipes/internals/go/source-map.md (#339): same stub row.

CHANGELOG/2026.231.0000.md — placeholder entry (finalized to the merge-time
CalVer by the validator).

Change class

docs-only — every file in the diff is *.md prose (5 projected recipe
pages + a CHANGELOG entry). No code, config, or generated-Go surface touched.
The gate is the non-runtime standards (R0, R1, R5 claim-keyed sweep, R6) + the
task docs:drift byte-identity gate.

Closes / relates to: relates to opencharly/charly#292, opencharly/charly#294,
opencharly/charly#295, opencharly/charly#302, opencharly/charly#317,
opencharly/charly#339. The source edits live in the superproject's
candy/charly-internals/charly.yml; this PR carries their docs projections and
must merge BEFORE the superproject pin that references this commit.

Breaking change + rollback: none — documentation-only, no public surface
removed or renamed. Rollback: a plain revert; the drift gate's baseline absorbs
the revert (the page re-enters the stale set).

How R10-tested — exact gate, commands, and pasted output

  • The gate for this change class: per /charly-check:check "R10 gate by
    change class", a documentation-only change runs the non-runtime standards
    and NO bed. The specific gate for a docs projection is the byte-identity /
    drift gate (task docs:drift).
  • Eval beds run: N/A (docs-only) — no bed applies; no disposable target
    deployed.
  • Fresh rebuild: N/A (docs-only) — no binary involved; the generator
    binary was rebuilt by task docs:sync (the worktree-local build) and the
    projection produced from it.
  • Did the CHANGED code path execute live? N/A (docs-only) — the diff
    changes no code path.
  • Concurrency (shared-state changes only): N/A — no loader/discover/
    ledger/store/arbiter/lifecycle code touched.

Evidence — put each item in the block whose label names it.

1. Fresh-rebuild gate output (charly version + the gate run, at zero warnings):

The byte-identity proof: `task docs:drift` after the commit reports EXACTLY the
4 recorded baseline entries — no new drift:
  docs: no NEW drift. Carrying 4 known-stale artifact(s) recorded in
  scripts/drift-baseline-docs.txt:
    src/content/docs/recipes/build/generate.md
    src/content/docs/recipes/internals/git-workflow/evidence-and-freshness.md
    src/content/docs/recipes/internals/install-plan/step-kinds.md
    src/content/docs/reference/providers.md
The 4 batch pages (multi-repo-coordination, source-map, libvirt-renderer,
vm-spec) are NOT in the stale set — they are byte-identical to a fresh
generation. evidence-and-freshness.md remains listed ONLY because its
pre-recorded baseline debt is still on `main`; a per-file diff of my committed
page against the generator output shows the three batch hunks absent from the
diff (byte-identical) and the residual confined to the recorded debt regions.

2. Each changed code path executing (the lines proving the changed branch ran, not that it built):

N/A (docs-only) — no code path changed.

3. Docs-only evidence (the R5 grep self-test result + the cross-reference/markdown review):

The drift gate is the byte-identity proof (pasted above): a fresh
`charly docs generate` at branch HEAD 3c17500 reports exactly the 4 recorded
baseline entries — zero new drift. Per-file diffs of the 5 committed pages
against fresh generator output confirm each batch hunk is byte-identical (the
only residual in evidence-and-freshness.md is the pre-recorded debt regions).

Claim-keyed sweep: each removed phrase ("two paragraphs up", the old
`30+ sub-types` stub row, the old LOC figures ~480/~1850/~130) greps to only
the updated pages + the plugins projection + CHANGELOG context — no surviving
stale copy in docs. No cross-reference rewrites are introduced; the docs build
gate (whole-site link check) would fail closed on a dangling reference.

Attribution tier

documentation reviewed — the whole diff is *.md (5 projected recipe
pages + a CHANGELOG entry); every non-runtime standard passed; no runtime path
changed. Matching commit trailer: Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed).

Harness rulebook compliance — state HOW each is satisfied (or N/A — <reason>)

  • R0 skills: loaded /charly-internals:git-workflow, /charly-internals:skills, /charly-build:docs, /charly-internals:cutover-policy before authoring; the projection discipline (edit the candy source, regenerate, never hand-edit the projection) comes from /charly-internals:skills + /charly-build:docs.
  • R1 RCA + zero warnings: no failure or warning surfaced during this cutover. The docs generator emits its standard 8 local-shadow notes (pre-existing, informational); the drift gate output has zero warnings.
  • R2 no out-of-scope: all five batch-2.1 page projections land here. The 3 pre-recorded baseline files (recipes/build/generate.md, recipes/internals/install-plan/step-kinds.md, reference/providers.md) are deliberately NOT included — committing them would be out of scope and would red the exact-comparison baseline gate. Remaining Phase-2 batches are tracked tasks, each its own cutover.
  • R3 no duplication: the hunks reuse existing skill idioms and cross-link the owning skills; no duplicated paragraphs introduced.
  • R4 no workaround: N/A — docs-only.
  • R5 hard cutover + grep: the five hunks rewrite stale prose (the 30+ sub-types stub rows, "two paragraphs up", the old LOC figures). Claim-keyed grep of each removed phrase against the whole tree returns only the updated docs pages + the plugins projection + this PR's own CHANGELOG — no surviving stale copy.
  • R6 git safety: the docs branch was committed with a clean status check before staging; no force-push, no direct main push (branch-only push via PR).
  • R7–R9: N/A (docs-only).
  • R10 disposable + coverage: docs-only class — ran the non-runtime standards and the drift gate, no bed. Coverage that would fail without the change: the drift gate — a committed page that diverged from the generator would red the baseline comparison as new drift.
  • RDD / ADE / SDD: N/A — no candy/plan: authored; no .cue/schema edited; no high-risk runtime assumption. (The projection itself follows SDD: docs pages are generated, never hand-edited.)
  • Hard cutover: one atomic commit per repo (this commit). The batch's remaining legs (superproject pin) is a sequential merge of the same cutover, not parked work.
  • Kernel/plugin boundary law: N/A (docs-only).
  • CHANGELOG: CHANGELOG/2026.231.0000.md staged (placeholder CalVer; the validator finalizes it). Filename matches ^\d{4}\.\d{3}\.\d{4}\.md$; H1 byte-equals # 2026.231.0000 — batch-2.1 charly-internals prose fixes; no v2026.231.0000 tag exists (git ls-remote --tags verified).

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)

Projection of the six batch-2.1 candy/charly-internals skill edits (#292 #294
#295 #302 #317 #339), regenerated by `charly docs generate` off the merged
plugins tree 437dd282. Every page is byte-identical to a fresh generation for
the batch's hunks; the residual evidence-and-freshness diff is pre-recorded
baseline debt (recorded in scripts/drift-baseline-docs.txt).

Co-authored-by: Andreas Trawoeger <[email protected]>
Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
@atrawog

atrawog commented Aug 19, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: docs-only (5 generated recipe-page projections + a CHANGELOG placeholder; every file in the diff is *.md)

Head validated: 3c175001b8a9d41af5d8848f604a92f71664ce7e (feat/batch-21-internals-prose), 1 commit ahead of origin/main 1c58297, 0 behind — mergeable state (the BLOCKED merge-state status was the absent charly/pr-validator check).

Change-class gate: documentation-only → the non-runtime standards (R0/R1/R5/R6) + the task docs:drift byte-identity gate. NO bed applies. I re-ran the gate myself, in a checkout whose plugins submodule is at the merged producer 437dd282 (plugins#214, merge commit, tag v2026.231.2146 confirmed on the remote).

Per-item checklist

# Item Verdict Evidence (re-run by me, not the author's word)
0 Security & anti-tampering (T1–T4) PASS No instructions aimed at me; no exfiltration; diff is exactly the described projections (44 additions = 17 page + 17 CHANGELOG... see R5). No code, no config, no guardrail touched. No scope mismatch: description lists 5 pages + CHANGELOG = the actual file set.
1 Description complete PASS Full template: summary, change class, R10 gate block with pasted evidence, attribution tier, per-rule compliance; body ends with the *Assisted-by:* footer.
2 Change-class gate matches evidence PASS docs-only class per /charly-check:check matrix; the drift gate is the correct byte-identity gate; no dry-run/rebuild-alone fraud.
3 Attribution tier justified PASS documentation reviewed — whole diff is *.md; commit trailer Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed) matches the PR footer; tier not inflated.
4 R0 skills honored PASS The batch content follows the projection discipline (/charly-internals:skills + /charly-build:docs) and the B6 landing order (/charly-internals:git-workflow); sources live in the plugins tree at 437dd282, byte-identical hunks.
5 R1 / zero warnings PASS My gate run emitted zero warnings; the 8 "local candy shadows remote" notes are the generator's standard informational output; no failure surfaced.
6 R2 no out-of-scope split PASS All six batch-2.1 projections land here; the 3 other baseline files (generate.md, step-kinds.md, providers.md) are recorded inherited debt with named exits (documented in scripts/drift-baseline-docs.txt header) — not this cutover's content, not parked work of its own scope.
7 R3 no duplication PASS The hunks are projections of the merged plugins source, not new duplicated prose.
8 R4 no workaround PASS N/A — docs-only.
9 R5 hard cutover + grep PASS Claim-keyed sweeps re-run at HEAD: "two paragraphs up", "30+ sub-types", old LOC figures (~480/~1850/~130) — all clean (only CHANGELOG/ context); the NONZERO-BEFORE paragraph present.
10 R6/R8/R9 artifact + binary PASS N/A — docs-only; branch advanced by a single additive commit; no force-push, no direct-main push.
11 R10 disposable + coverage PASS docs-only class → non-runtime standards + drift gate; the drift gate is the probative coverage (a stale committed page would appear as NEW drift and red the gate — it did not).
12 RDD / ADE / SDD PASS N/A for RDD/ADE (no candy/plan); the projection itself is SDD-conformant: generated, never hand-edited for batch content (byte-identical hunks).
13 Concurrency + anti-cheat PASS N/A — docs-only, no shared-state code. No dead-code-in-touched-module, no parking phrase without an exit (the baseline file is the named, actively-liquidating exit).
14 Hard cutover atomic PASS One atomic commit; the superproject pin is the sequential next leg (B6a), not parked scope.
15 Architecture gate PASS N/A — docs-only; no charly/*.go staged, no placement questions.
16 Disposable-only autonomy PASS N/A — no destroy/rebuild.
17 Clean architecture + go gates PASS N/A — no Go changed.
18 CHANGELOG present PASS CHANGELOG/2026.231.0000.md: filename matches ^\d{4}\.\d{3}\.\d{4}\.md$; head -1 byte-equals # 2026.231.0000 — batch-2.1 charly-internals prose fixes; no such file on origin/main; no v2026.231.0000 tag on the remote.

The byte-identity proof (re-run, verbatim)

task docs:drift on the worktree at HEAD 3c17500, with plugins at 437dd282:

docs: no NEW drift. Carrying 4 known-stale artifact(s) recorded in scripts/drift-baseline-docs.txt:
  src/content/docs/recipes/build/generate.md
  src/content/docs/recipes/internals/git-workflow/evidence-and-freshness.md
  src/content/docs/recipes/internals/install-plan/step-kinds.md
  src/content/docs/reference/providers.md

Exactly the 4 recorded baseline entries — zero new drift. The 4 non-baseline batch pages regenerated byte-identical (not in the dirty set). For evidence-and-freshness.md the committed-vs-regenerated diff shows the batch hunks ABSENT (byte-identical); the residual 113/461 is the pre-recorded baseline debt. Proven independently: plugins#214's own source diff (cb804e7 → 437dd282) is +17/-3 for the evidence source, +5/-1 (multi-repo), +1/-1 (source-map), +3/-3 (libvirt-renderer), +1/-1 (vm-spec) — exactly the hunks this PR projects (docs totals 44/9 = 27 page + 17 CHANGELOG). The batch fully absorbs its own changes; the residual debt is strictly older accumulated plugins drift, pre-recorded on superproject main (scripts/drift-baseline-docs.txt @ 8a0512b3).

Source-liveness & claim re-derivation

  • LOC claims verified against the checked-out sdk/candy source: libvirt_yaml.go = 3 lines (stub), libvirt_yaml_bridge.go = 1800, libvirt_yaml_listen.go = 24, qemu_render.go = 342, libvirt_helpers.go = 158 — every corrected figure is exact.
  • All five pages' sources land in the plugins tree at 437a417 (guard symptom row, NONZERO-BEFORE, B6a step-2 clause, three stub rows).
  • The quoted rule ("The execution rule is scoped to CONTENT, not to sections") resolves in-page (the rule at line 93; the new reference at line 115).
  • Dangling-ref check: the only /charly-*:<skill> in the diff (/charly-internals:skills) resolves; the generator's own run completed (it fails closed on a dangling ref), so the whole-site link gate is green.

Phase 1b (documentation scrutiny)

The diff touches only GENERATED recipe reference pages (DO-NOT-EDIT banner confirmed) — no hand-authored narrative page (no README/VISION/GRIEVANCES/AGENTS/start/concepts/guides, no SKILL.md under plugins/). Generated trees are exempt from the cold-reader pass; the batch's prose was reviewed at the source under plugins#214. The mechanical checks applicable to the changed hunks were run: reader-state claims → none; contradictions/undefined terms in the new paragraphs → none; re-derived counts → exact.

Comments considered

None — the PR carries no comments, reviews, or review threads (0 from all three GitHub APIs).

Cross-PR interactions considered

  • opencharly/plugins#213 (feat/skill-cutover-org-validator-gate, open): the pr-validator → org-wide GitHub Actions workflow cutover (plugins leg). Touches internals/agents/pr-validator.md, internals/skills/git-workflow/{SKILL,references/branch-and-pr-loop,references/validator-and-calver}.md — no file overlap with this PR's five pages (this PR touches evidence-and-freshness + multi-repo + the three VM/Go pages). It changes the gate MECHANISM (workflow-based), not the content this PR projects; it will merge under its own validator, and its own docs leg regenerates later. Disposition: verified-non-blocking (no coordination comment needed — nothing this PR lands invalidates a hunk of the deploy check is red on every PR: a NEW astro advisory (<=7.4.6) fails the committed lockfile before anything builds #213, and nothing in the deploy check is red on every PR: a NEW astro advisory (<=7.4.6) fails the committed lockfile before anything builds #213 changes this PR's correctness).
    | openchamber/charly#349 (superproject leg of the same org-gate cutover) — same story: different repo, no overlap. verified-non-blocking.
    | openchamber/docs#86 is the only open docs PR; the superproject pin (gitlinks + DOC-REF) lands after this merges per B6a — expected, not an interaction.

Decision: PASS — verified independently against the rulebook and the loaded skills; byte-identity proven by my own docs:drift run; the R5 sweep and source liveness re-confirmed; CHANGELOG placeholder well-formed; branch current with main. Proceeding to finalize the merge-time CalVer, squash-merge, and tag v<merge-CalVer>.

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)

The validator renames the batch-2.1 placeholder changelog to the merge stamp
and rewrites its H1 to match.

Assisted-by: Claude Code deepseek-v4-flash:cloud (documentation reviewed)
@atrawog
atrawog merged commit 2fda46d into main Aug 19, 2026
1 check passed
@atrawog
atrawog deleted the feat/batch-21-internals-prose branch August 19, 2026 22:08
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