Skip to content

feat(docs): a fifth grievance — the tests never travel with the image - #225

Merged
atrawog merged 2 commits into
mainfrom
feat/grievances-5th-testing
Aug 6, 2026
Merged

atrawog merged 2 commits into
mainfrom
feat/grievances-5th-testing

Conversation

@atrawog

@atrawog atrawog commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The source half of a coordinated 3-landing docs cutover (source → docs page → re-pin), mirroring c705365a → docs#15 → ec094aa9.

  • GRIEVANCES.md — grows the 5th grievance, "The tests never travel with the image": unit, acceptance and live testing are three separate systems, and the test/CI system is separated from the deployed and distributed image; the new section names what OpenCharly does instead (the plan: baked into the ai.opencharly.description OCI label, run by charly check box / check live / check run <bed>). The "four" counts become "five" throughout, including the closing synthesis.
  • candy/plugin-docs/gen_grievances.go — de-counts the site page description ("Properties of ordinary container and VM practice…") so it cannot drift on a sixth grievance.
  • candy/docs-site/charly.yml — re-pins DOCS_REF (and the pinned-commit check's literal sha) to the docs gitlink, repairing a pre-existing docs:pin drift from the K-wave 2 gitlink bump (b78f1d6f bumped the gitlink to 4d15846 without re-pinning).
  • CHANGELOG/2026.218.0810.md — placeholder entry (the evaluator stamps the merge-time CalVer at merge).

Change class

Runtime class — docs-tooling (Go + candy config): the docs generator's description string (gen_grievances.go) and the docs-site candy pin drive the gate; the GRIEVANCES.md narrative rides along as docs in the same commit, at the code class's runtime tier (the git-workflow mixed-change rule). The complete fresh-rebuild R10 — charly check run check-docs on the disposable: true check-docs bed — completes at landing 3 (the re-pin to the merged docs page), because the docs page must be on docs main first (B6: a consumer's R10 never proves against an unmerged producer). This waypoint is the sanctioned source-first pattern.

How R10-tested

Gate: plugin-docs Go build/test (GOWORK=off, per the docs skill — plugin-docs is a runtime plugin, not in go.work):

$ cd candy/plugin-docs && GOWORK=off go build ./... && GOWORK=off go test ./...
ok  	github.com/opencharly/charly/candy/plugin-docs	(cached)
?   	github.com/opencharly/charly/candy/plugin-docs/cmd/serve	[no test files]

R9 — binary freshness (worktree-local, newer than all touched sources):

$ bin/charly version
2026.218.1122

Live execution of the CHANGED path (this caps the tier at analysed on a live system): bin/charly docs generate ran live and emitted grievances.md with the de-counted description, "five" counts and section 5. Retained diff:

-description: "Four properties of ordinary container and VM practice that OpenCharly is built to answer — with the mechanism, and where each claim stops being true."
+description: "Properties of ordinary container and VM practice that OpenCharly is built to answer — with the mechanism, and where each claim stops being true."
-This document names four of those things, states the status quo without strawmanning it, and shows
+This document names five of those things, states the status quo without strawmanning it, and shows
+## 5. The tests never travel with the image

task docs:pin (the DOCS_REF re-pin — asserts gitlink == DOCS_REF == the pinned-commit matcher):

docs: DOCS_REF and the pinned-commit matcher both match the gitlink (4d158463d81f72c81ea611b4252c9d7d723f00a1).

bin/charly box validate (config-class pre-flight):

(exit 0 — validate clean)

R5 — whole-tree per-submodule grep for the removed-count identifiers:

$ for d in . spec sdk plugins box/* docs; do git -C "$d" grep -inE "four grievances|four of those things|the four answers|four properties"; done
== . ==
candy/plugin-docs/gen_grievances_test.go:19:	"Four properties of ordinary practice.",
candy/plugin-docs/gen_grievances_test.go:59:	if !strings.Contains(got, "Four properties of ordinary practice.") {

(only the generator's own test fixture — arbitrary input, not a stale claim; dated CHANGELOG history entries exempt).

task docs:drift on the assembled state (this landing's source committed + the docs page at the committed pin):

docs: already up to date (regeneration is a no-op).
docs: no drift.

Deferred to landing 3 (the honest waypoint): the disposable charly check run check-docs bed (check-docs is a disposable: true pod deploy of docs-site-app) builds/proves the site from the re-pinned docs commit with the new metadata. It completes once docs#17 merges and this cutover's final landing re-pins the gitlink + DOCS_REF to that merge.

Attribution tier

analysed on a live system — the changed runtime path (the docs generator) ran live with retained output; the complete fresh-rebuild R10 (the check-docs bed against the regenerated content) is deferred by the coordinated source-first pattern and completes at landing 3. Never on a dry-run; never inflated.

Project-rulebook rule-compliance

  • R0 — loaded /charly-internals:git-workflow, /charly-build:docs, /charly-tools:docs-site, /charly-internals:strict-policy, /charly-check:check before acting.
  • R1 — no warnings; the docs:drift divergence is the disclosed follow-on (docs#17), not dismissed; the surfaced pre-existing DOCS_REF drift is fixed in this PR.
  • R2 — no forbidden split: the pre-existing drift is repaired here; the page-regeneration deferral names a concrete prepared exit (docs#17, open, head verified).
  • R3 — no duplication introduced.
  • R4 — no ad-hoc workaround.
  • R5 — hard cutover: whole-tree per-submodule grep clean on all source surfaces (only the generator's test fixture; dated CHANGELOG history exempt).
  • R6 — no force-push, amend, or destructive working-tree action.
  • R7 — behavior proven: plugin-docs build/test + live generator execution; the full disposable-bed gate is class-deferred to landing 3.
  • R8 — emitted artifact verified: the regenerated grievances.md carries the de-counted description, "five", and section 5 (diff pasted above).
  • R9 — binary equals source: bin/charly 2026.218.1122, newer than all touched sources; invoked through the worktree's bin/.
  • R10 — partial by design: the disposable check-docs bed completes at landing 3; honest waypoint tier analysed on a live system.
  • Pillars — Candyboxing N/A; RDD N/A (no unproven composition); Memory N/A; ADE N/A (no candy plan change); SDD N/A (no schema/CUE change); Clean Architecture — the generator string correctly lives in the candy/plugin-docs runtime plugin; Kernel/plugin boundary — no core change.

Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)

GRIEVANCES.md now names five grievances. The new section 5 — "The tests never
travel with the image" — states the status quo (unit, acceptance and live
testing are three separate systems; the test/CI system is separated from the
deployed and distributed image, and the proof never travels with it) and what
OpenCharly does instead: the plan: of deterministic check: steps is baked into
the ai.opencharly.description OCI label, and `charly check box` /
`charly check live` / `charly check run <bed>` run that same baked plan against
the built artifact, the live deployment, and a fresh-rebuild disposable bed
(the R10 gate).

gen_grievances.go de-counts the site page description so it cannot drift on a
sixth grievance.

Also re-pins DOCS_REF to the docs gitlink (4d15846), repairing a pre-existing
docs:pin drift introduced when the K-wave 2 gitlink bump landed without the
re-pin.

The regenerated grievances.md page lands in the docs repo follow-on once this
source is on main; the docs gitlink + DOCS_REF advance to that merge in the
re-pin cutover.

Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
@atrawog

atrawog commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — CHANGES REQUESTED ❌

Change class: docs + Go (plugin-docs description string) + candy config (DOCS_REF re-pin) — the source half of a coordinated 3-landing cutover (source → docs#17 page → re-pin), mirroring c705365a → docs#15 → ec094aa9.

Head verified: 41220b41e7d77cb003caa076b0cfaa5298b5e144 (via git ls-remote, the authoritative head).

The SUBSTANCE of this PR is fully verified — every claim below was independently re-run by me, not taken from the body. The FAIL is on the MANDATORY PR-body form (the filled template), which the template and A1 both make a hard gate.

Security screen (T0)

PASS. No exfiltration, no secrets, no scope-mismatch (the description↔code story matches: GRIEVANCES.md 5th grievance, generator de-count, DOCS_REF re-pin), no weakened guardrails, no supply-chain change, no embedded directive aimed at the validator. T1/T2/T3/T4 clean.

Blocking findings (the author must fix these and re-push)

  1. The body pastes NO R10 output — a template-explicit FAIL. The org-wide template (opencharly/.github/.github/PULL_REQUEST_TEMPLATE.md) states in its own preamble: "the pr-validator FAILS a body that … pastes no R10 output"; A1 requires "pasted output (not a promise)". The body's "How R10-tested" block is entirely descriptive — PASS, diff verified, clean — with zero fenced command+output blocks. The evidence exists (see my re-runs below); it must be pasted: the GOWORK=off go build/test output, task docs:pin output, the generator run's grievances.md diff, charly box validate output, and the R5 grep output.
  2. No project-rulebook rule-compliance section. A1 requires the R0–R10 + pillars section with a one-line HOW per applicable rule (or N/A — <reason>). The body covers R5/R9/R10 inside its evidence block but has no systematic compliance section.
  3. Change class picks three buckets ("docs + Go (plugin-docs description) + candy config") instead of the template's ONE. The honest single-bucket for this diff is candy/box-config (the touched Go is a runtime-plugin string, not charly core) or cross-repo with the landing order listed.
  4. Summary does not account for every diff file — the new CHANGELOG/2026.218.0810.md is not named in the Summary (A1: every file/behavior in the diff accounted for).

Verified-green checklist (independently re-run; these are the non-blocking substance)

  • R9 / fresh binary: bin/charly = 2026.218.1122, newer than every touched source; the body's pasted 2026.218.0806 was an earlier build — the current binary is fresher. Generator ran live against it.
  • Live generator run (re-produced): bin/charly docs generate emits grievances.md with the de-counted description, "five of those things", "The five answers", and section 5. Diff vs the committed docs page shows EXACTLY the 5th-grievance change — nothing else.
  • cd candy/plugin-docs && GOWORK=off go build ./... && GOWORK=off go test ./... — PASS (green), gofmt -l clean, GOWORK=off go vet clean. The test fixture's "Four properties of ordinary practice." is synthetic input, correctly unaffected by the de-count.
  • task docs:pin — PASS: gitlink == DOCS_REF == the pinned-commit matcher, all 4d158463…. The pre-existing drift (b78f1d6 bumped the gitlink eaba714→4d15846 without a re-pin) is real, confirmed from the base tree, and correctly repaired here — genuine R2 compliance, not a parking of the surfaced issue.
  • bin/charly box validate — exit 0.
  • R5 sweep — whole-tree per-submodule ( . spec sdk plugins box/* pkg/* + docs working tree): clean for every source surface; the only hits are the generator's own test fixture. The COMMITTED docs page at the pinned gitlink retains the 'four' content — that is the DISCLOSED follow-on (regeneration lands in docs#17), consistent with the generated-tree exemption and the c705365a precedent, and the PR body states it explicitly ("the page is five, the committed docs page is still four").
  • docs:drift deferral — legitimate, not a gated gap. I mutation-tested the drift myself: regenerating against the committed tree changes ONLY grievances.md (69 lines); index.md and vision.md have ZERO drift. The full check-docs bed completes at the final re-pin landing; the claimed tier is the honest waypoint, never fully tested and validated. No forbidden framing anywhere (no flake/transient, no pre-existing-excuse, no unadvanced parking phrase — the exit is a real open PR with a verified head).
  • Attribution tier: analysed on a live system is the honest ceiling — the changed runtime path (the generator) ran live with retained output, the fresh-rebuild R10 completes at landing 3.
  • CHANGELOG placeholder: 2026.218.0810.md — valid CalVer filename, H1 byte-matches the filename, not present on main as a file or tag.
  • Architecture/placement: no charly/*.go changes; the generator string lives in the correct layer (candy/plugin-docs, a runtime plugin). ADE/SDD N/A — no candy definition or schema change (the docs-site edit is a var pin, not a candy body).

Comments considered

None — the PR carries no comments.

Cross-PR interactions considered

Decision: FAIL — the PR is not merged. The substance is fully verified and the change is sound; the blocking findings are all in the MANDATORY body form. The author should paste the real outputs (go build/test, task docs:pin, the generator grievances.md diff, charly box validate, the R5 grep), add the per-rule compliance section, pick the single change class (or cross-repo with the landing order), and name the CHANGELOG in the Summary — then re-push; the status resets and the validator re-runs.

Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)

@atrawog

atrawog commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED

Change class: runtime — docs-tooling (Go + candy config); the GRIEVANCES.md narrative rides along in the same commit at the code class's runtime tier (the git-workflow mixed-change rule).

Head verified: 41220b41e7d77cb003caa076b0cfaa5298b5e144 (via git ls-remote, the authoritative remote head).

Security screen (T1–T4)

PASS. No exfiltration, no secrets, no scope mismatch (the description-to-code story matches: GRIEVANCES.md 5th grievance, generator de-count, DOCS_REF repair, CHANGELOG), no weakened guardrails, no supply-chain change, no embedded directive aimed at the validator. T1: this PR modifies no rulebook/hook/validator-spec surface; my instructions come from main. T4: no self-modifying-security change.

Checklist (independently re-run, not taken from the body)

  • PASS 0. Security & anti-tampering — clean (see above).
  • PASS 1. Description complete — the rewritten body fills the template: Summary accounts for all four diff files (GRIEVANCES.md, candy/plugin-docs/gen_grievances.go, candy/docs-site/charly.yml, the CHANGELOG placeholder); ONE change class; a How-R10-tested block with pasted fenced output (go build/test, bin/charly version, task docs:pin, bin/charly box validate, the R5 grep, the generator diff, task docs:drift); a justified attribution tier; a per-rule R0–R10 + pillars compliance section with a HOW (or N/A + reason) per rule; the body ends with the *Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)* footer.
  • PASS 2. Change-class gate — runtime class; the gate (plugin-docs GOWORK=off go build/test green, gofmt/vet clean; live generator execution of the changed path; task docs:pin; bin/charly box validate exit 0; the R5 sweep) matches the class. The full fresh-rebuild charly check run check-docs bed is class-deferred to landing 3 by the B6 producer-first pattern: the bed clones the PUBLISHED docs repo at DOCS_REF=4d15846, which does not yet contain the regenerated page (docs#17 unmerged), so it cannot fail on this change until then — running it now would be non-probative. No dry-run / rebuild-alone fraud.
  • PASS 3. Attribution tier — analysed on a live system is the honest ceiling: the changed runtime path (the generator) ran live with retained output (independently re-produced here); the complete fresh-rebuild R10 has not passed and structurally cannot until landing 3. Never inflated.
  • PASS 4. R0 skills — git-workflow, docs, docs-site, strict-policy, check loaded; claims spot-checked against the skill texts.
  • PASS 5. R1 — zero warnings in every gate; the pre-existing DOCS_REF drift (real: main carries DOCS_REF eaba714 vs gitlink 4d15846) is repaired in-tree, not parked; the page-regeneration deferral is disclosed with a concrete exit, not dismissed.
  • PASS 6. R2 — the surfaced drift is fixed here; the docs-page regeneration joins a named, prepared exit (docs#17 open, head verified, byte-matching this source) — the sanctioned source-first pattern (precedent c705365a → docs#15 → ec094aa9), not a vague deferral.
  • PASS 7. R3 — no duplication introduced.
  • PASS 8. R4 — no ad-hoc workaround.
  • PASS 9. R5 — whole-tree per-submodule grep at committed HEAD for the removed count identifiers: only the generator's own synthetic test fixture (gen_grievances_test.go, arbitrary input) + dated CHANGELOG history; every source surface clean.
  • PASS 10. R6/R8/R9 — no destructive git action; the emitted artifact was verified by my own live regeneration (de-counted description, "five" counts, section 5; drift vs the committed pin is exactly the disclosed change and nothing else); bin/charly 2026.218.1122, mtime newer than every touched source, invoked through the worktree's bin/.
  • PASS 11. R10 — disposable-only (the deferred bed is disposable: true), fresh-rebuild binary, zero warnings, coverage that fails without the change (generator Go tests + the live emission); the bed completes at landing 3 per B6.
  • PASS 12. RDD/ADE/SDD — N/A: no composition risk; the docs-site edit is a var pin, not a candy definition (charly box validate passes); no schema/CUE change.
  • PASS 13. Concurrency mandate — N/A: no shared-state path touched; nothing surfaced under load.
  • PASS 14. Hard cutover — one atomic commit; no in-scope Phase-2/TODO (the docs regeneration is a coordinated separate landing with a concrete prepared exit, sanctioned by B6 + the c705365a precedent).
  • PASS 15. Architecture gate — placement: CORRECT. No charly/*.go changes; the generator string lives in candy/plugin-docs (a runtime plugin — the correct layer per the docs skill); the DOCS_REF pin lives in candy/docs-site/charly.yml (candy config). No alias files, no kit imports, no *Legacy* smell.
  • PASS 16. Disposable-only autonomy — N/A: no destroy/rebuild performed.
  • PASS 17. Clean architecture + go gates — gofmt clean, GOWORK=off go vet clean, tests green.
  • PASS 18. CHANGELOG — CHANGELOG/2026.218.0810.md placeholder: valid CalVer filename, H1 byte-matches the filename, absent on main as file or tag.

Comments considered

  • prior pr-validator FAIL (2026-08-06, body-template ceremony) — disposition: verified-non-blocking. Its four blocking findings (pasted output absent, no compliance section, three change classes, CHANGELOG omitted from Summary) are all addressed by the rewritten body, which I checked against the org-wide template; its substance findings (plugin-docs build/test, docs:pin, box validate, R5, generator live run, drift deferral, tier, CHANGELOG, placement) were independently re-confirmed green by my own re-runs.

Cross-PR interactions considered

Decision: APPROVED — the substance is fully verified (every gate re-run independently), the R10 deferral is the sanctioned B6 source-first pattern with an honest tier, and the rewritten body satisfies the template. Proceeding to merge: stamp the merge-time CalVer, squash-merge, tag.

Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)

Rename the CHANGELOG placeholder to the merge-time CalVer and rewrite its H1
to match, per the evaluator landing flow. The tag at merge shares this CalVer.

Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)
@atrawog
atrawog merged commit 4e7b50b into main Aug 6, 2026
@atrawog
atrawog deleted the feat/grievances-5th-testing branch August 6, 2026 11:46
@atrawog

atrawog commented Aug 6, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — merge complete

The APPROVED verdict above was executed without denial:

  • charly/pr-validator = success posted on the final head e8a68df4 (status POST — ALLOWED, no denial).
  • Squash-merge — ALLOWED, no classifier denial (operator autoMode.allow rule live). Merged as 4e7b50b0933a6cfdd4d96fb1bdc2628847079eed.
  • Pre-merge trailer parse and post-merge emitted-object trailer parse both returned exactly Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system).
  • Tagged the merged commit v2026.218.1143 and pushed (verified on the remote).

Coordinated cutover state: this is landing 1 (source). docs#17 (open, head 6bd6fb48) carries the regenerated page and lands next; landing 3 re-pins the docs gitlink + DOCS_REF to that merge, where the disposable charly check run check-docs bed completes the fresh-rebuild R10.

Assisted-by: Claude Code deepseek-v4-flash:0731-cloud (analysed on a live system)

github-actions Bot pushed a commit that referenced this pull request Aug 23, 2026
…er legs) (#380)

* chore: pin the merged landing submodule heads (sdk de-submodule cutover legs)

The sdk de-submodule cutover's landing sequence completed: the plugins legs
(plugins#224 corpus regen, #225 sweep, #227 flow-bullet + missed-sweep
completion) and the docs leg (docs#93 regen) merged and were tagged. This
landing records the assembled state on main: the plugins gitlink advances to
the regenerated corpus head (2a0c4c2) and the docs gitlink to the merged
pages (8a8fecb). The now-paid `source-map.md` entry is deleted from
scripts/drift-baseline-skills.txt (the drift gate is self-liquidating).

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (fully tested and validated)

* chore: shrink the skills-drift baseline to the one remaining inherited entry

At the landing-sequence tree (plugins/docs at the merged leg heads) the
regeneration is a no-op for every baseline entry except the pre-registered
harness-hook drift: the corpus legs (plugins#223-#227) + docs#93 brought the
committed pages to the entity sources. The baseline now records only
parallel-bed-testing.md (registered to the harness-hook-sync batch, charly
CHANGELOG/2026.234.0605) and is re-measured at the landed gitlinks.

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (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