Skip to content

marketplace drift: the (stale) suffix marks an orphan and should say so #290

Closed as not planned

Description

@atrawog

charly marketplace drift reports two different failures under one headline, and the suffix that distinguishes them repeats the headline's word instead of naming the distinction.

marketplace drift: N generated artifact(s) are stale:
  plugins/.../evidence-and-freshness.md            <- behind its source
  plugins/.../zz-orphan-canary.md (stale)          <- projected by NOTHING

Both directions print are stale. The suffix marks the orphan — a generated path the emissions map does not claim — which is the rarer and less obvious case, and it is the only discriminator between the two outputs.

(orphan) would say it, and the code's own comment already uses that word, seven lines above the line that emits the suffix:

// Files that are currently generated (header/known-path) but absent from the emissions map
// are stale ORPHANS — report them too (a removed source entity must disappear).
        diffs = append(diffs, rel+" (stale)")

— candy/plugin-marketplace/generate.go

Why this was not fixed in the cutover that found it

opencharly/charly#289 corrected the sibling message in the same file: clean (N artifact(s) match the committed tree) asserted a git fact the command has no mechanism to establish — false, so under R4a the code had to move and prose could not be written around it.

(stale) is imprecise, not false: an orphan is a stale artifact, so the label is true about the thing it labels. That is the distinction R4a turns on, so the fix is filed rather than folded in. What #289 did instead is describe what the suffix marks, without teaching a reader to invert it — a page that teaches the compensation has documented the defect instead of removing it.

What the fix involves

  • candy/plugin-marketplace/generate.go — the suffix, and the doc comment above it;
  • candy/plugin-marketplace/generate_test.go — the drifted-path assertion;
  • the pasted transcripts in candy/charly-internals/charly.yml, which quote the current output at a named tree — so the citation has to be re-taken at a commit carrying the change, and that is the expensive half, not the string.

Found during opencharly/charly#289; raised by the docs#68 validator as an R4a inconsistency (the same defect class treated two ways seven lines apart), and confirmed by reading generate.go.

Assisted-by: Claude Code Anthropic Claude Opus 5 (documentation reviewed)

Activity

  1. atrawog commented on Aug 28, 2026

    @atrawog
    ContributorAuthor

    Validation (2026-08-28) — LOW VALUE, recommend close

    Verified against current plugin-marketplace main. candy/plugin-marketplace/generate.go:107 still emits rel+" (stale)" for orphaned artifacts; the requested (orphan) suffix has not landed.

    Sharp analysis: this is a cosmetic 1-line message change. The drift gate now runs automatically in the marketplace deploy workflow, so the message is visible either way, and the code's own comment already uses the word "orphan" seven lines above. Fixing it adds marginal value and would not change any behavior. Recommend closing as won't-fix.

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