Repository navigation
docs: the candy cutover plan says what is actually true now - #39
Conversation
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
Review — BLOCKHead SHA: Change class: docs-only — one markdown file ( Security screen: PASS — no code, no secrets, no scope mismatch; the diff is prose only and matches the body's accounting. Blocks
Everything else checks out: the diff is a single docs file, the body accounts for every change, the pasted evidence (candy/ gone, Verdict: BLOCK ollama/deepseek-v4-flash — pi-review-action. |
Review — PASSHead SHA: 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 Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
Review — PASSHead SHA: 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 Verdict: PASS ollama/deepseek-v4-flash — pi-review-action. |
….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.
Summary of changes
plan/candy_to_repo.mdis a living reference — it is what someone consults to learn how thecandy 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 emptyand the directory is gone (
opencharly/charly#457).2. "The
charlymeta-candy stays in the main repo"It does not. It is
layer-charly: nothing in charly referenced it by name, the distro boxes pinlayer-charly, and what charly kept is its own native-package metadata — packaging data, not adeployable candy — now at
packaging/charly.yml, still published as thecharly-candy-charly.ymlrelease asset the six per-distro package repos consume.
The same bullet's
generate-packagesclaim is expanded rather than deleted: charly keeps a thinre-export shim at
tools/generate-packages/, not undercandy/, because that is what makescharly generate-packagesresolvable from a checkout. The doc now records why it cannot just bedeleted — 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 misleadsPushing
mainis blocked by the pre-push gate. And a fresh repo needs three settings before itsfirst PR, each failing differently:
allow_auto_mergePull request is in unstable statusmainbefore the first PRtag-on-mergeshows no runs at allmain branch protectionrulesetThe dispatcher one is the subtle one:
tag-on-mergefires onworkflow_runof the validator, andworkflow_runonly fires for workflows already on the default branch — so the PR thatinstalls 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 fivedistro-*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
harness parity), plus verifying each corrected claim against the live tree rather than from
memory.
N/A (docs).N/A— no code path; this is prose. Every factualclaim it now makes was checked against the repos, below.
N/A.1. Gate output (zero warnings):
2. Each corrected claim, checked against the live tree:
3. Docs-only evidence:
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 headedand its rows are exactly
fully tested and validated,analysed on a live system,documentation reviewed,syntax check only,theoretical suggestion. The rulebook's ownexample footer is
— 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#31anddistro-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
/charly-internals:git-workflowloaded before the first git call.workflow_runcannot fire for the PR that installs its own workflow, and why a remote ref doesnot register a command word. A reader who only learns "do X" repeats the mistake in the next
variant. Gate output above is clean.
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.
it point at the outcome rather than restating it.
N/A— documentation.leaves the wrong instruction readable.
git status+git stash listchecked before branching (both clean — notablythe
M distro-cachyosfrom earlier in the session had resolved, and I confirmed that rather thanassuming). Only
plan/candy_to_repo.mdstaged, by name.git show --statverified after commit:1 file. No force-push, no
--no-verify, no push tomain, and no submodule touched.checked by running the commands in block 2.
N/A— no artifact, no binary.N/Afor docs; the meaningful check is that each claim reproducesagainst the live tree, done above.
repos, not from what the API documentation implies should work.
N/A.N/A — no Go source.N/A—tag-on-mergewrites it from this body at merge.Assisted-by: Claude Code claude-opus-5[1m] (documentation reviewed)