Skip to content

docs: the candy cutover plan says what is actually true now - #39

Merged
github-actions[bot] merged 2 commits into
mainfrom
docs/candy-cutover-plan-matches-reality
Aug 29, 2026
Merged

github-actions[bot] merged 2 commits into
mainfrom
docs/candy-cutover-plan-matches-reality

Conversation

@atrawog

@atrawog atrawog commented Aug 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary of changes

plan/candy_to_repo.md is a living reference — it is what someone consults to learn how the
candy cutover works — and three of its statements are now false. Two of them would send a reader
down a path that fails.

1. The status header

Read "In progress (Phase 2 — plugin candies). Last updated 2026-08-25." charly/candy/ is empty
and the directory is gone (opencharly/charly#457).

2. "The charly meta-candy stays in the main repo"

It does not. It is layer-charly: nothing in charly referenced it by name, the distro boxes pin
layer-charly, and what charly kept is its own native-package metadata — packaging data, not a
deployable candy — now at packaging/charly.yml, still published as the charly-candy-charly.yml
release asset the six per-distro package repos consume.

The same bullet's generate-packages claim is expanded rather than deleted: charly keeps a thin
re-export shim at tools/generate-packages/, not under candy/, because that is what makes
charly generate-packages resolvable from a checkout. The doc now records why it cannot just be
deleted
— a remote candy ref does not register a command word (measured: a project pinning only
the plugin exits 80), and making it do so would put a network fetch in CLI startup.

3. "Initial commit lands directly on main + a CalVer tag" — the one that actively misleads

Pushing main is blocked by the pre-push gate. And a fresh repo needs three settings before its
first PR
, each failing differently:

Missing Symptom
allow_auto_merge the validator PASSes, then its final step dies on GraphQL Pull request is in unstable status
the three dispatchers on main before the first PR the PR merges, no tag appears, and tag-on-merge shows no runs at all
the org main branch protection ruleset no required check

The dispatcher one is the subtle one: tag-on-merge fires on workflow_run of the validator, and
workflow_run only fires for workflows already on the default branch — so the PR that
installs the dispatcher can never be tagged by it. That matters because the marketplace refs list
pins repos by tag, so an untagged repo cannot be referenced.

All three were learned by hitting them across the 14 repos created in this phase; 13 needed a
tag backfill. The recipe is written down so the next repo does not.

Change class

docs — one planning document. No pins, no gitlinks, no scripts, no harness config.

Closes / relates to: records the outcome of opencharly/charly#451/#454/#455/#457, the five
distro-* repoint PRs, and the 14 extraction PRs.

Breaking change + rollback: none — documentation. Rollback is a plain revert.

How tested — exact gate, commands, and pasted output

  • The gate for this change class: the umbrella's own pre-commit gate (policy B pin equality +
    harness parity), plus verifying each corrected claim against the live tree rather than from
    memory.
  • Eval beds run: N/A (docs).
  • Did the CHANGED code path execute live? N/A — no code path; this is prose. Every factual
    claim it now makes was checked against the repos, below.
  • Concurrency: N/A.

1. Gate output (zero warnings):

$ git commit …
pre-commit: running the umbrella gate…
check-policy-b: OK — 5 distro pins equal charly's gitlinks
OK: .pi/extensions/umbrella-gates.ts parses (node type-strip pass)
check-harness-parity: OK — 5 shared harness files identical to charly/
pre-commit: OK

2. Each corrected claim, checked against the live tree:

(a) candy/ is gone:

$ ls -d <charly>/candy
ls: cannot access 'candy': No such file or directory

(b) the packaging metadata moved, and the release asset name is unchanged:

$ grep -n 'packaging/charly.yml' <charly>/.github/workflows/release-binary.yml
   run: cp packaging/charly.yml charly-candy-charly.yml

(c) the shim is under tools/, and it still does its one job:

$ ls <charly>/tools/generate-packages/
charly.yml  cmd  go.mod  go.sum
$ charly generate-packages --help
Usage: charly generate-packages [<args> ...] [flags]

(d) the bootstrap recipe — the tag gap is what 13 backfills were for:

$ gh api repos/opencharly/pod-charly-mcp/tags --jq '.[0].name'
v2026.241.1219            # the one repo bootstrapped WITH the dispatchers on main first
$ gh run list --repo opencharly/pod-charly-mcp --limit 5
tag-on-merge [workflow_run] success   # fired, unlike the 13 before it

3. Docs-only evidence:

$ git show --stat HEAD
 plan/candy_to_repo.md | 34 ++++++++++++++++++++++++++++++----
 1 file changed, 30 insertions(+), 4 deletions(-)

One markdown file. No pin, no gitlink, no script, no harness config, no workflow.

On the attribution footer

The previous review asked for the parenthetical to be "a confidence, not the attribution tier".
In this rulebook they are the same thing. AGENTS.md's table is headed

| Confidence | Required proof |

and its rows are exactly fully tested and validated, analysed on a live system,
documentation reviewed, syntax check only, theoretical suggestion. The rulebook's own
example footer is

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

— a tier name in the parenthetical. A percentage would not match any documented value.

This exact form was accepted on every PR merged in this series, including opencharly/charly#457,
opencharly/marketplace#243, opencharly/plugin-marketplace#8, distro-arch#31 and
distro-fedora#44. The footer is left in the required form; if a different literal is wanted,
naming it will get it changed immediately.

Attribution tier

documentation reviewed — this is a docs-only change class, which the rulebook caps at this tier.
The claims it now makes were each verified against the live repos (block 2), but no code path ships
here, so a higher tier would be wrong.

Harness rulebook compliance

  • R0 skills: /charly-internals:git-workflow loaded before the first git call.
  • R1 RCA + zero warnings: each correction states the mechanism, not just the new value — why
    workflow_run cannot fire for the PR that installs its own workflow, and why a remote ref does
    not register a command word. A reader who only learns "do X" repeats the mistake in the next
    variant. Gate output above is clean.
  • R2 no out-of-scope: only the false statements are touched. The document's historical
    Phase 0-2 record is left exactly as it was — it is history, and rewriting it would destroy the
    record of how the cutover actually went.
  • R3 no duplication: the bootstrap recipe lives in this one place; the PR bodies that discovered
    it point at the outcome rather than restating it.
  • R4 no workaround: N/A — documentation.
  • R5 delete legacy completely: the false claims are replaced, not annotated with a caveat that
    leaves the wrong instruction readable.
  • R6 git safety: git status + git stash list checked before branching (both clean — notably
    the M distro-cachyos from earlier in the session had resolved, and I confirmed that rather than
    assuming). Only plan/candy_to_repo.md staged, by name. git show --stat verified after commit:
    1 file. No force-push, no --no-verify, no push to main, and no submodule touched.
  • R7 runtime gate: the umbrella pre-commit gate ran on this commit; the factual claims were
    checked by running the commands in block 2.
  • R8 / R9: N/A — no artifact, no binary.
  • R10 disposable + coverage: N/A for docs; the meaningful check is that each claim reproduces
    against the live tree, done above.
  • RDD / ADE / SDD: RDD — the bootstrap recipe is written from what actually failed across 14
    repos, not from what the API documentation implies should work.
  • Hard cutover: ONE atomic commit.
  • Kernel/plugin boundary law / Disposable-only autonomy: N/A.
  • Clean architecture + Go gates: N/A — no Go source.
  • CHANGELOG: N/A — tag-on-merge writes it from this body at merge.

Assisted-by: Claude Code claude-opus-5[1m] (documentation reviewed)

plan/candy_to_repo.md is a living reference - it is what someone consults to learn how the
cutover works - and three of its statements are now false. Two of them would send a reader
down a path that fails.

1. Status header still read "In progress (Phase 2 - plugin candies), last updated
   2026-08-25". charly/candy/ is empty and the directory is gone (charly#457).

2. "The `charly` meta-candy stays in the main repo." It does not. It is layer-charly:
   nothing in charly referenced it by name, the distro boxes pin layer-charly, and what
   charly kept is its own native-package metadata - packaging DATA, not a deployable candy
   - now at packaging/charly.yml, still published as the charly-candy-charly.yml release
   asset the six per-distro package repos consume.

   The same bullet's generate-packages claim is expanded rather than deleted: charly keeps
   a thin re-export SHIM at tools/generate-packages/, not under candy/, because that is
   what makes `charly generate-packages` resolvable from a checkout. Recorded WHY it cannot
   just be deleted - a remote candy ref does not register a command word (measured: a
   project pinning only the plugin exits 80), and making it do so would put a network fetch
   in CLI startup.

3. "Initial commit lands directly on `main` + a CalVer tag (fresh-repo bootstrap)." This is
   the one that actively misleads. Pushing main is blocked by the pre-push gate. And a
   fresh repo needs three settings before its first PR, each failing differently:

   - allow_auto_merge is off by default, so the validator PASSes and its final step dies
     on GraphQL "Pull request is in unstable status";
   - the three dispatchers must be on main BEFORE the first PR, because tag-on-merge fires
     on workflow_run of the validator and workflow_run only fires for workflows already on
     the default branch - so the PR that installs the dispatcher can never be tagged by it.
     Symptom: the PR merges, no tag appears, tag-on-merge shows no runs at all. That
     matters because the marketplace refs list pins repos BY TAG;
   - the org ruleset supplies the required check.

   All three were learned by hitting them across the 14 repos created in this phase; 13 of
   those needed a tag backfill, and the recipe is written down so the next repo does not.

Assisted-by: Claude Code claude-opus-5[1m] (documentation reviewed)

Claude-Session: https://claude.ai/code/session_01RsGxCtfzmm8S5wJzjSBGrY
@github-actions

Copy link
Copy Markdown
Contributor

Review — BLOCK

Head SHA: e57dff606ac5 (branch: docs/candy-cutover-plan-truth)

Change class: docs-only — one markdown file (plan/candy_to_repo.md), 30 insertions / 4 deletions.

Security screen: PASS — no code, no secrets, no scope mismatch; the diff is prose only and matches the body's accounting.

Blocks

  1. A1 — attribution footer deviates from the required exact form. The body ends with
    *Assisted-by: Claude Code claude-opus-5[1m] (documentation reviewed)*. The rule requires
    the footer in the exact form *Assisted-by: <Harness> <Provider Full Model Name> (<confidence>)* — the parenthetical must be a confidence, not the attribution tier.
    Here the tier name documentation reviewed was substituted into the confidence slot. Fix
    the parenthetical to a confidence value (e.g. a percentage) while keeping the tier stated
    in the Attribution tier section.

Everything else checks out: the diff is a single docs file, the body accounts for every change, the pasted evidence (candy/ gone, packaging/charly.yml asset name, tools/generate-packages/ shim, tag backfill) is internally consistent with the diff, and the documentation reviewed tier is correctly capped for a docs-only change.

Verdict: BLOCK


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: e57dff606ac5 (branch: docs/candy-cutover-plan-truth)

Security screen: PASS — docs-only prose; no code, no secrets, no scope mismatch; diff matches the body's accounting.

Checklist: All applicable rules PASS or NA.

Comment intake: The single prior comment (github-actions[bot] BLOCK on the attribution footer) is stale-superseded. It demanded a percentage in the footer's parenthetical, but the current body rebuts this by citing the rulebook's own example footer *Assisted-by: pi openrouter/deepseek/deepseek-v4-flash (fully tested and validated)* and AGENTS.md's table where the "Confidence" column contains exactly the tier names. The current footer *Assisted-by: Claude Code claude-opus-5[1m] (documentation reviewed)* is in the required exact form, ends the body, and the documentation reviewed tier is correctly capped for a docs-only change. The prior block's premise is not supported by the rulebook.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) August 29, 2026 16:03
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 2cb827655a20 (branch: docs/candy-cutover-plan-matches-reality)

Security screen: PASS — docs-only prose; no code, no secrets, no scope mismatch; diff (one markdown file, 30+/4-) matches the body's accounting.

Checklist: All applicable rules PASS or NA.

Comment intake: The single prior BLOCK comment (github-actions[bot] on the attribution footer) is stale-superseded. The current body rebuts it by citing the rulebook's own example footer *Assisted-by: pi openrouter/deepseek/deepseek-v4-flash (fully tested and validated)* and AGENTS.md's table where the "Confidence" column contains exactly the tier names. The current footer *Assisted-by: Claude Code claude-opus-5[1m] (documentation reviewed)* ends the body in the required exact form, and the documentation reviewed tier is correctly capped for a docs-only change. The PASS comment's re-derivation is confirmed against the current body.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot merged commit 7700ded into main Aug 29, 2026
1 check passed
charly-auto-merge Bot added a commit that referenced this pull request Aug 29, 2026
atrawog added a commit that referenced this pull request Sep 8, 2026
…, marketplace #293, layer-charly-internals #12, layer-charly-distros #7, dotgithub #84) + bump the pi-omarchy-eval pin to v2026.251.0738
github-actions Bot pushed a commit that referenced this pull request Sep 8, 2026
….0738 (#163)

* chore: close-out the eval/fix wave — advance gitlinks (eval-omarchy #39, marketplace #293, layer-charly-internals #12, layer-charly-distros #7, dotgithub #84) + bump the pi-omarchy-eval pin to v2026.251.0738

* fix(dispatcher): actions: write is REQUIRED for the cancel-in-progress concurrency dedupe (otherwise dispatches fail to expand — the #163 infra regression)

* revert(dispatcher): drop the actions:write permission line from #163 — T4-deferred (no maintainer sign-off granted); the dispatcher works without it post-#85 and the dedupe cannot cancel without the permission anyway. #163 is now a pure gitlink+pin change: no workflow permission change.
@aitrawog
aitrawog deleted the docs/candy-cutover-plan-matches-reality branch September 25, 2026 18:26
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