Skip to content

docs(pr-template): elicit full per-rule + exact-R10 evidence for the validator - #15

Merged
atrawog merged 2 commits into
mainfrom
feat/pr-template-full-evidence
Jul 8, 2026
Merged

atrawog merged 2 commits into
mainfrom
feat/pr-template-full-evidence

Conversation

@atrawog

@atrawog atrawog commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary of changes

Expands the PR template so an author supplies EVERYTHING the pr-validator needs to verify CLAUDE.md compliance — the validator can only enforce what the body provides. Per operator direction: give the validator all the info it needs to verify all CLAUDE.md rules + exactly how R10-tested, and only pass PRs that include it.

  • "How R10-tested" section: now prompts the exact change-class gate, the disposable: true target name, the fresh-rebuild/R9 confirmation, whether the CHANGED code path (not just the success path) executed live (which caps the tier), and — for shared-state changes — the CONCURRENT roster evidence with the "no idle/serial passes" rule inline.
  • Rule-compliance section: grows from a partial R1–R9 tick-list into a full R0–R10 + pillars section, one prompt per pr-validator checklist item, each asking HOW the rule is satisfied (or N/A — reason): R0 skills, R1 RCA+zero-warnings, R2–R9, R10 coverage, RDD/ADE/SDD, hard-cutover, kernel/plugin boundary law, disposable-only autonomy, clean-arch + the Go gates, CHANGELOG.
  • Header states a bare checkbox / blank section / promise FAILS.

Change class

docs-only (.github/pull_request_template.md + CHANGELOG).

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

  • The gate for this change class: the non-runtime standards for docs-only (markdown integrity, cross-reference/consistency review). No bed run.
  • Disposable target(s) used: N/A (docs-only).
  • Fresh rebuild: N/A (no binary surface).
  • Did the CHANGED code path execute live? N/A (docs).
  • Concurrency: N/A.
sections: 5 ## headings; rule lines: 12 R-prefixed; markdown bold pairs balanced.
Each rule line maps 1:1 to a pr-validator Phase-1 checklist item (0-18).
No runtime surface touched.

Attribution tier

documentation reviewed — whole diff is .md.

CLAUDE.md rule compliance — state HOW each is satisfied (or N/A)

  • R0 skills: honors /charly-internals:git-workflow (the PR/landing surface) + /charly-internals:agents (the pr-validator it feeds).
  • R1 RCA + zero warnings: N/A — no failures/warnings (docs).
  • R2 no out-of-scope: the submodule template propagation + the validator item-1 "require the full template" strengthening are their own immediate-next cutovers (this superproject template is the canonical source they mirror).
  • R3 no duplication: the 11 repo templates are identical; this updates the canonical superproject copy, the others follow verbatim.
  • R4/R6/R7/R8/R9/R10/RDD/ADE/SDD/boundary-law/disposable-autonomy/Go-gates: N/A (docs-only, no runtime/schema/core surface).
  • R5 hard cutover + grep: additive prose; removes no identifier; no stale reference.
  • Hard cutover: one atomic commit.
  • Clean architecture: N/A (docs).
  • CHANGELOG: CHANGELOG/2026.189.0450.md staged (placeholder).

Assisted-by: Claude (documentation reviewed)

…validator

The validator can only enforce what the body supplies. Expands the PR template:
"How R10-tested" now prompts the exact change-class gate + disposable-target name
+ fresh-rebuild/R9 confirmation + whether the CHANGED code path ran live (caps the
tier) + the CONCURRENT roster evidence for shared-state changes (with "no
idle/serial passes"). The rule-compliance list grows from a partial tick-list into
a full R0-R10 + pillars section where each line asks HOW the rule is satisfied (or
N/A + reason) — one prompt per pr-validator checklist item (skills, RDD/ADE/SDD,
hard-cutover, boundary law, disposable-autonomy, Go gates, ...). Header: a bare
checkbox / blank section / promise FAILS.

Assisted-by: Claude (documentation reviewed)
@atrawog

atrawog commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: docs-only (.github/pull_request_template.md + CHANGELOG/2026.189.0450.md)

Fresh, independent re-validation against R0–R10 + the pillars, driven from the pr-validator spec + CLAUDE.md on main (T1). Every claim re-derived from the diff, not the author's word.

Diff integrity: all-documentation confirmed — git diff --raw origin/main...HEAD shows only 100644 (template, M) + 000000→100644 (CHANGELOG, A); NO 160000 gitlink, so NO submodule pointer change. The superproject records the SAME plugins pointer (bc4d343) on both feat and origin/main; the working-tree M plugins is another validator's local checkout and is NOT staged.

Content review (strengthens elicitation; drops nothing):

  • Every prior section survives: Summary of changes (strengthened: account for every file/behavior, mismatch = security FAIL), How tested (R10) → How R10-tested — exact gate, commands, and pasted output (now prompts the exact change-class gate, disposable: true target, fresh-rebuild/R9, whether the CHANGED path executed live → tier cap, and the CONCURRENT roster with the "no idle/serial passes" rule inline), Change class promoted to its own ## section, Attribution tier (strengthened with the inflation caps), rule-compliance grown from a partial R1–R9 tick-list into a full R0–R10 + pillars HOW-format section, CHANGELOG, and the Assisted-by trailer.
  • Prompts ADDED: R0 skills, R6, R8, RDD/ADE/SDD, hard-cutover, kernel/plugin boundary law, disposable-only autonomy, clean-arch + the Go gates.
  • The "bare checkbox / blank section / promise FAILS" stance is STRENGTHENED vs the old "empty/template-only body FAILS."
  • The 17 rule-compliance lines + the How-R10-tested prompts map 1:1 to the pr-validator Phase-1 checklist (items 0–18).

Markdown integrity: 5 ## sections; HTML comments balanced (28 <!-- / 28 -->); bold markers balanced (44 ** = 22 pairs); Assisted-by trailer present.

Checklist:

  • [PASS] 0. security & anti-tampering (T1–T4): no exfiltration / scope-mismatch / weakened-gate / supply-chain; the template STRENGTHENS what authors must supply (T4-adjacent); no embedded instruction to the validator (T2); diff matches description exactly (T3); my spec == plugins origin/main (T1)
  • [PASS] 1. description complete (template filled, change class, R10 gate, tier, full rule-compliance, evidence)
  • [PASS] 2. change-class gate matches evidence — docs-only → non-runtime standards; no dry-run/rebuild-alone fraud (no runtime surface)
  • [PASS] 3. attribution tier justified — whole diff is *.md → documentation reviewed correct; runtime tiers N/A
  • [PASS] 4. R0 skills honored — /charly-internals:git-workflow + /charly-internals:agents (the surfaces this template feeds); content consistent with them
  • [N/A] 5. R1 RCA + zero warnings — no failures/warnings (docs)
  • [PASS] 6. R2 no out-of-scope — sibling-template propagation + the validator item-1 strengthening are spun as their OWN immediate-next cutovers, not parked to justify landing; this superproject template is the canonical source
  • [PASS] 7. R3 no duplication — updates the canonical superproject template; the identical siblings follow verbatim (their propagation is its own cutover)
  • [N/A] 8. R4 no workaround (docs)
  • [PASS] 9. R5 hard cutover + grep — additive/reorganized prose; removes NO identifier; no stale reference
  • [N/A] 10. R6/R8/R9 — no destructive git action; no generation/binary surface
  • [N/A] 11. R10 disposable + coverage — docs-only; non-runtime standards ARE the gate
  • [N/A] 12. RDD/ADE/SDD — no candy/schema surface
  • [N/A] 13. concurrency + anti-cheat — no shared-state code
  • [PASS] 14. hard cutover — ONE atomic commit on feat, current with main
  • [N/A] 15. kernel/plugin boundary law — no core/sdk
  • [N/A] 16. disposable-only autonomy — no destroy/rebuild
  • [N/A] 17. clean arch + Go gates — no Go
  • [PASS] 18. CHANGELOG present — CHANGELOG/2026.189.0450.md staged (placeholder; finalized at merge)

Decision: APPROVED. A documentation-only change that strictly STRENGTHENS the PR template — it adds per-rule HOW prompts and the exact-R10 evidence block, drops no prior prompt, hardens the "no promises / bare-tick FAILS" stance, and maps 1:1 to the validator's checklist. No submodule pointer leaked into the diff. Finalizing the merge-time CalVer, merging --rebase, and tagging.

Assisted-by: Claude (documentation reviewed)

…e full-evidence)

Merge-time version stamp for PR #15 (docs-only PR-template strengthening).
Renames the placeholder CHANGELOG to the merge-time CalVer and restamps its
header. Applied by the fresh pr-validator on PASS.

Assisted-by: Claude (documentation reviewed)
Claude-Session: https://claude.ai/code/session_01LjLm6DGQasmXaXw2ZorwhE
@atrawog
atrawog merged commit 43282c4 into main Jul 8, 2026
@atrawog
atrawog deleted the feat/pr-template-full-evidence branch July 8, 2026 05:01
atrawog added a commit that referenced this pull request Aug 19, 2026
… naming boxes here was the defect

docs#82's validator falsified the composition attribution the previous commit
added. It said "`box/cachyos` for both, `box/fedora` for the CUDA assertion
only". At the gitlinks this branch pins — which are those repositories' `main` —
NEITHER submodule composes EITHER backend candy:

  $ git -C box/fedora  grep -nE 'ollama-(cuda|rocm)' bccbd28    -> no output
  $ git -C box/cachyos grep -nE 'ollama-(cuda|rocm)' 942a5f8    -> no output

The composition exists only on the UNMERGED `feat/ollama-plugin` branches of
distro-fedora#18 and distro-cachyos#15. I checked it against a `box/fedora`
working tree that was still on that branch instead of at the pin — the same
submodule-ref confusion that had already cost two bed runs earlier in this
cutover, repeated while writing the fix for something else.

Wrong in the consequential direction, too: on Arch this candy installs only the
packaged `ollama` and deliberately does NOT require `ollama-cuda`, so today's
CachyOS ollama image is the 66 MiB CPU-only base — while that sentence told an
AMD reader `box/cachyos` composes `ollama-rocm`.

The enumeration is deleted rather than corrected. Naming boxes on this page was
the defect: that list lives in the distro submodules, moves there, and any copy
here goes stale the moment #18 or #15 lands. A corrected list would have been
false again in a day. What the page states now is the part that does not move —
both backends package only on Arch, off Arch `ollama-cuda` degrades to an
assertion and `ollama-rocm` has no path at all — plus an instruction to read any
submodule list through that rule.

"So an AMD box is an Arch-family box today" goes with it: it presupposed an AMD
ollama box exists, and at the pins none does. It now describes the constraint
("a ROCm image is therefore an Arch-family image") rather than asserting an
inventory.

Assisted-by: Claude Code Anthropic Claude Opus 5 (fully tested and validated)
atrawog added a commit that referenced this pull request Aug 30, 2026
…uild it (#497)

`charly vm build omarchy-vm` fails on main:

    charly: error: command "vm": vm "omarchy-vm": unsupported source.kind "iso"
            (want one of cloud_image, bootc, bootstrap)

and `charly check run check-omarchy-iso-vm` therefore dies at its first step,
[vm-build], after 637ms. The bed cannot assert anything.

## Root cause

`source.kind: iso` is implemented in plugin-vm and landed in opencharly/plugin-vm#8,
first tagged `v0.2026242.1242`:

    v0.2026242.812   var knownVmSourceKinds = []string{"cloud_image", "bootc", "bootstrap"}
    v0.2026242.1242  var knownVmSourceKinds = []string{"cloud_image", "bootc", "bootstrap", "iso"}

charly/go.mod required `v0.2026242.812` — the version immediately BEFORE it.

charly#495 and #496 advanced the `box/omarchy` gitlink to a distro-omarchy that
ships `omarchy-vm` (`source.kind: iso`) and `check-omarchy-iso-vm`, but neither
bumped the plugin-vm require. So charly gained the ENTITIES that need the
capability without gaining the capability. Nothing caught it: the entity is data,
`charly box validate` checks it against the schema (which has the iso arm, from
spec#71), and the rejection only happens at `vm build` time inside the plugin —
a path no unit test and no CI job exercises.

This is the "partial repin" class: a gitlink advanced while its consumer's own
dependency pin stayed put, and the two only disagree at runtime.

## The fix

Bump to the newest published plugin-vm, `v0.2026242.1912`, which also carries the
per-domain serial log (#15) that makes a headless guest's console readable.

`go get` also resolved sdk from a pseudo-version onto a released tag —
`v0.2026242.914-0.20260830150119-f476722d55eb` → `v0.2026242.1217` — which is a
strict improvement: an untagged commit pin becomes a released one.

## How tested

Before, on a `task build:binary` of main:

    $ charly vm build omarchy-vm
    charly: error: ... unsupported source.kind "iso" ...   [exit 1]

After, same command, same tree, rebuilt:

    $ charly vm build omarchy-vm
    Building VM "omarchy-vm" (source.kind=iso)
    ...
    Disk .../omarchy-vm/disk.qcow2 is content-fresh
      (installer sha256=69cbb4e10d98ad831c3c9f245b5757a9d1fedfd0c9592780e977d6f950dea8c3)
    Wrote .../omarchy-vm/disk.qcow2 (blank — the installer partitions it)
    Wrote .../omarchy-vm/seed.iso (answers: authorized_keys, user_configuration.json,
      user_credentials.json, user_email_address.txt, user_full_name.txt)
    [exit 0]

Full unit suite from the module dir, uncached, complete output:

    $ go test -count=1 ./...
    ok  github.com/opencharly/charly/charly                     91.423s
    ok  github.com/opencharly/charly/charly/internal/pluginsgen  27.047s
    [exit 0]

    $ task build:binary
    [exit 0]   (go.work.sum unchanged — the tracked-checksum guard did not trip)

Claude-Session: https://claude.ai/code/session_01YKF2VLqeHHbrBDz8XftaD3

Co-authored-by: atrawog <[email protected]>
github-actions Bot pushed a commit that referenced this pull request Aug 31, 2026
…equence assertions (#518)

box/omarchy   10a1d66c -> 5857c1a5
    import pin    v2026.243.1249 -> v2026.243.1722

Three distro-omarchy PRs, all merged and each proven on the exact tree this pins:

    #14  the desktop bed's 18 shell-IPC steps assert through the `quickshell:` verb
         instead of `command: omarchy-shell …`, which reported IPC failures on STDOUT
         while exiting ZERO. Two failure-open holes closed: eight summon steps were
         passing one argument to a two-argument QML function, and all ten had no stdout
         assertion at all — `summon` answers "ok" or "unknown" and exits zero either way,
         so they would have passed against a shell that opened nothing.

    #15  UPSTREAM-TEST-TRIAGE.md — the scope boundary between what upstream's 224-entry
         shell.d suite tests and what these beds assert, recorded as a table that can be
         re-run rather than a claim.

    #16  five Class B assertions on the ISO bed from that triage: the vconsole layout,
         the initramfs hook list, logind's inhibit delay, the locale profile hook and the
         managed browser-policy directory. Every path was probed on a live guest first —
         five sibling candidates came back ABSENT by design and are deliberately not
         asserted, because asserting them would fail a CORRECT guest.

Policy B is preserved by construction: this repo's box/omarchy IS the pin the umbrella
mirrors, so the umbrella syncs to this rather than being hand-pinned.

## How tested

    $ charly box validate
    OK — checked 607 candies, 119 boxes, 44 deploys, 7 distros, 7 builders; 0 warnings, 0 errors

The beds were proven on the EXACT commits this pins, in their own PRs:

    check-omarchy-desktop-vm   (#14)  PASS (steps=9)
                                      106 steps: 104 passed, 0 failed, 2 skipped
                                      identical live and after update destroyed and
                                      rebuilt the guest from nothing

    check-omarchy-iso-vm       (#16)  PASS (steps=9)
                                      57 steps: 57 passed, 0 failed, 0 skipped
                                      identical live and after the unattended reinstall,
                                      with all five new assertions verified PASS rather
                                      than skipped in BOTH passes

Claude-Session: https://claude.ai/code/session_01YKF2VLqeHHbrBDz8XftaD3

Co-authored-by: atrawog <[email protected]>
github-actions Bot pushed a commit that referenced this pull request Sep 20, 2026
…ame 404 (#624)

* fix(release): weld plugin-review v2026.263.1956 — it fixes the bare-name 404

Bump the WELDED plugin-review pin from v2026.263.1642 -> v2026.263.1956 so the
next charly release's plugin bundle carries the owner/repo slug fix merged into
opencharly/plugin-review#15.

The #14 weld (v2026.263.1642) made the engine FAST but exposed a regression: the
ghkit adoption collapsed (owner, repo) into ONE slug argument, while the tool
dispatch kept passing the BARE repo name. Every read-only tool 404'd
(/repos/spec/pulls/140), so the model correctly returned a BLOCK -- "No
retrievable PR state". Measured on umbrella #231 (charly v2026.263.1828, run
35531666727): get_pr_meta -> /repos/opencharly/pulls/231 404. That is why
spec#140, action-review#7 and umbrella #231 stayed BLOCKED after the #14 weld.

#15 adds toolSet.slug() -- the one place the engine's split (owner, repo) meets
ghkit's single slug -- resolves it once in call(), passes it at all seven
dispatch sites, and fails loudly on an empty owner instead of silently
re-creating the bare-name path. A stub-GitHub regression test drives all seven
tools and reproduces the 404s without the fix.

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

* docs: re-freeze the PR body with the real change-class bed evidence

Paste the release workflow's own plugin-build step run verbatim on the pinned
tag (plus the built binary's fix strings and the .providers manifest), correct
the R5 sweep to a real command+output, and lower the attribution tier to
`analysed on a live system` (the post-merge release build is the full R10).

Assisted-by: opencode ollama-cloud/deepseek-v4.1-flash (analysed on a live system)

---------

Co-authored-by: Andreas Trawoeger <[email protected]>
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