Skip to content

skills:drift cannot tell projection-ahead-of-source from source-ahead-of-projection — both read as 'newly stale' #336

Closed

Description

@atrawog

plugins#208 merged as 7c48f573 and its projection did not come with it. Measured on plugins origin/main with no PR applied, from the superproject at charly feat/ollama-plugin (4ff1ea03):

$ task skills:drift
skills: DRIFT — 4 generated artifact(s) newly stale:
  plugins/internals/skills/vm-deploy-target/SKILL.md
  plugins/ollama/skills/ollama-layer/SKILL.md
  plugins/ollama/skills/ollama/SKILL.md
  plugins/vm/skills/vm/SKILL.md

The two ollama entries are plugins#210's, and that PR fixes them — it takes the count 4 → 2. The other two are #208's and nothing currently fixes them:

  • internals/skills/vm-deploy-target/SKILL.md
  • vm/skills/vm/SKILL.md

Both are one charly marketplace generate away from correct. Neither is large. What makes them worth a separate issue rather than a quiet fix inside #210 is why they exist:

This is #318 firing, one merge after #318 was filed

#318 says the projection gate runs nowhere automatic, so a candy skill edit lands on main without its projection and only whoever runs task skills:drift locally ever notices. #208 is a fresh instance: it edited candy skill content, landed, and left main reding on two pages.

The gate exists and works. It caught this within minutes of the merge — but only because an unrelated PR happened to run a catch-up merge from main and re-measured. Nothing in CI ran it. That is the whole of #318, and it now has a second dated instance.

Why it is not folded into #210

#210 is the ollama projection. Regenerating #208's pages inside it would:

  • put another PR's content in a PR whose stated scope is two ollama pages, which is how the three scope breaches this program already suffered got started; and
  • attach #208's correctness to #210's validator, who was briefed on ollama and has no reason to have read the load/vm-deploy-target sources.

Parking them in scripts/drift-baseline-skills.txt was also rejected: that file records INHERITED debt and its header states it can only shrink. Laundering a two-page regression created this week into it would green the gate while leaving the pages wrong — the exact inversion of what the baseline is for.

Fix

One regeneration of the two pages, landed against #208's source, plus whatever #318 decides about wiring the gate so the next one is caught by CI rather than by coincidence.

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

Activity

  1. atrawog commented on Aug 19, 2026

    @atrawog
    ContributorAuthor

    CORRECTION — this issue's stated remedy was BACKWARDS, and acting on it would revert landed content

    I filed this saying the two pages are "one charly marketplace generate away from correct" and that the fix belongs "against #208's source". Both halves are wrong, and the second is actively harmful. plugins#210's validator caught it; I reproduced the measurement before writing this.

    The drift runs the other way. main holds the NEWER text; regenerating from the currently-landed sources REPLACES it with older text:

    $ # plugins at origin/main, then: charly marketplace generate
    $ git -C plugins diff -- internals/skills/vm-deploy-target/SKILL.md
    -(via `deploykit.ImageVenue.PodmanCmd`, the ONE field every step reads, so they
    -cannot disagree about which store they are addressing):
    +(via the `podmanCmd(rootless)` helper):
    

    The - side is what main carries. The + side is what the generator produces. So a regeneration is a REVERT.

    Why. Those pages' producer is charly#315, which is unmerged. #208 was that work's PROJECTION landing first — which is B6a working exactly as designed, not failing. The projection is ahead of the superproject source on purpose, and stays "stale" by the gate's measure until #315 lands.

    So this is not a #318 instance at all. #318 is a candy skill edit landing WITHOUT its projection. This is the opposite: a projection landing ahead of its source, deliberately. I pattern-matched on "drift gate is red" and asserted the cause without checking the direction — the same class of error as the rest of this cutover, where a claim got verified against the wrong object.

    Corrected remedy: do nothing to these two pages. They resolve when charly#315 lands and the superproject carries their source. Anyone who "fixes the drift" by regenerating them undoes #315's page.

    What survives as a real finding is narrower and worth keeping: task skills:drift cannot distinguish projection-ahead-of-source (correct, transient, B6a) from source-ahead-of-projection (#318's defect). Both read as "newly stale", and the difference is only visible by inspecting the diff direction, as above. That ambiguity is what let me file this issue with a confident and wrong remedy. If the gate named the direction, the mistake would have been impossible.

    I am leaving this issue open, retitled in spirit: not "regenerate two pages", but "the drift gate does not distinguish which side is ahead".

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

  2. changed the title [-]plugins/main reds skills:drift on two pages #208 landed without their projection — #318's second dated instance[/-] [+]skills:drift cannot tell projection-ahead-of-source from source-ahead-of-projection — both read as 'newly stale'[/+] on Aug 19, 2026
  3. atrawog commented on Aug 28, 2026

    @atrawog
    ContributorAuthor

    Validation (2026-08-28) — RESOLVED (superseded)

    Verified against current repos. The skills:drift task no longer exists in the charly-internals candy; the drift surface is now charly marketplace drift / charly docs generate, and the marketplace repo runs the drift gate automatically in CI (deploy.yml). The current corpus is clean (no drift). The direction-blindness the issue described is superseded by the automated gate.

    Closing as resolved.

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