Skip to content

R1: the 'no tag on a red gate' rule makes B6a's projection landings untaggable — every plugins projection PR meets an unsatisfiable gate #317

Closed

Description

@atrawog

Two rules in candy/charly-internals/charly.yml contradict each other for an entire class of PR. Verified in the source, not the projection — the projection is itself one of the stale pages this describes.

The two rules

A — charly.yml:4794:

Repair ownership, when main goes red from someone else's half-landed cutover: it is blocking for your own landing, not a separable cleanup. […] a validator will not put a release tag on a tree whose gate exits 1.

B — charly.yml:~4045, B6a step 2:

For a skill edit, project and land plugins FIRST (charly marketplace generate, then the plugins PR).

Why they cannot both hold

B6a mandates that the projection lands before the superproject source. So at the moment a plugins projection PR is validated, the superproject half is necessarily unlanded — the drift gate against charly/main is red by construction, for every conforming projection PR. Rule A then forbids tagging it.

The gitlink shows the structural state directly:

charly origin/main pins plugins : c061fee6
plugins origin/main             : 01edd45e

The superproject is behind by design at that moment, not by neglect.

It is contradicted by practice, repeatedly

plugins#200 merged and tagged on exactly this red tree (v2026.230.1151), and a validator reports three further plugins PRs tagged on the same red tree within ~10 hours (v2026.230.0039, v2026.230.0217, v2026.230.0738), plus v2026.229.2258. So the rule as written is already not the practice — which is the worst state for a rule to be in, because whether it binds depends on which validator reads it.

Root cause, and why it is not a wording nit

Rule A sits in a paragraph about repair ownership when someone else half-lands a cutover. In that context it is right: do not tag over another cutover's breakage. But it is stated unscoped, so it reads as a universal about any red gate — and it therefore catches a case it was never written for, where the redness is the intended intermediate state of the project's own mandated landing order.

A universal picks up every future instance that matches its literal text, including ones its author never weighed. The fix is to scope the rule to what it actually governs, not to add an exception beside it.

Consequence if unfixed

Every future plugins projection PR meets the same contradiction, and the outcome depends on which validator reads it — one holds, the next merges. That variance already happened on #200: a round-2 validator held it, a round-3 validator cleared the hold after measuring that the residual drift spanned far more than any single named cutover could repair, and that holding deadlocked charly#297 in both directions.

Repair

Belongs in candy/charly-internals/charly.yml (this repo), then regenerated into plugins/ and docs/. Rule A should say what it means — no tag over another cutover's unrepaired breakage — and B6a step 2 should state explicitly that superproject-facing drift is expected while a projection PR is in flight, and is not the tagging bar for that PR.

Filed from watchdog observation of plugins#200's round-3 verdict; the contradiction was surfaced by that validator and independently confirmed at source here. Not fixed in place because it is a source-prose change with two projections and needs sequencing against the other open PRs editing that file (charly#289, charly#297, charly#315).

Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)

Activity

  1. atrawog commented on Aug 18, 2026

    @atrawog
    ContributorAuthor

    Status: the contradiction is resolved by charly#289 — but by DELETION, and that changes what remains

    Measured at charly#289's head (feat/validator-evidence-rules, currently db888eb7):

    "put a release tag on a tree whose gate exits 1"   on main: 1   at #289's head: 0
    "project and land `plugins` FIRST"  (B6a step 2)   on main: 1   at #289's head: 1
    

    #289's record-mode rewrite removes the whole "Repair ownership, when main goes red from someone else's half-landed cutover" paragraph, including the no-tag-on-a-red-gate sentence. B6a step 2 survives untouched. So once #289 lands, the two rules can no longer contradict each other, because one of them is gone.

    Why this does not simply close the issue

    The deletion is incidental. It falls out of returning that page to record mode, not out of anyone deciding how the rule should be scoped. This issue proposed scoping rule A to what it actually governs — no tag over another cutover's unrepaired breakage — precisely because the rule has a legitimate core. Deleting it discards that core along with the over-broad reading.

    So the state after #289 lands is:

    • the contradiction: gone — a projection PR is no longer caught between a mandated ordering and a rule forbidding the red gate that ordering guarantees;
    • the legitimate rule: unstated — nothing now says a validator should not tag over someone else's half-landed breakage, which is a real hazard and was the paragraph's actual point.

    That is a better state than the contradiction, and it is not the end state this issue was asking for.

    What this issue should now track

    Whether the scoped form is worth restating somewhere, in the narrow version:

    Do not tag over another cutover's unrepaired breakage — as distinct from the drift a conforming projection PR necessarily carries while its source is unlanded.

    If the answer is no — if the hazard is better handled by the validator's own judgement than by a rule that has now demonstrated it can be read too widely — then this issue closes with #289, and that should be recorded as a decision rather than left as a silent deletion.

    One thing worth stating plainly: this class of rule was stated unscoped, was read literally, deadlocked a PR class, and has now been removed wholesale by an unrelated cleanup. That sequence is itself the argument for scoping a rule at authoring time — an unscoped rule does not survive contact, it just fails in a different direction each time.

    Not blocking anything. Recorded so #289's landing is not mistaken for a deliberate resolution.

    Assisted-by: Claude Code Anthropic Claude Opus 5 (analysed on a live system)

  2. atrawog commented on Aug 28, 2026

    @atrawog
    ContributorAuthor

    Validation (2026-08-28) — RESOLVED

    Verified against current charly main. The tag-on-merge workflow (charly/.github/workflows/tag-on-merge.yml) now fires on workflow_run of charly/pr-validator completion + push to main, and "waiting (bounded) for the squash to land makes the MERGE the effective gate for tagging". The contradiction (B6a projection PRs untaggable because the drift gate is red by construction) is gone — the tag is no longer tied to the projection PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions