Skip to content

check-generated-clean RESTORES a drifted corpus index instead of failing, so the drift is never acted on — decide restore-vs-fail #1273

Backlog

Description

@aitrawog

Category

category:runtime

Type

type:fix

Remedy / files the remedy will touch

scripts/bootstrap-charly.sh's check-generated-clean step + the CI job that runs it: either FAIL a release build when plugins_refs_generated.go differs from a fresh regeneration, or add a task that refreshes it on a schedule and have the build keep restoring (the current behaviour). Name the owner either way.

Cited design decision or org-rulebook rule (or none)

AGENTS.md R1 (a repeated NOTICE with no owner is a control that does not work) and R7 (a gate that cannot fail proves nothing).

Split out of #1268 while refreshing the index there (#1272 adds the two plugin-distro rows and a test that fails without them).

pluginsgen indexes each corpus repo at its DEFAULT BRANCH (the corpus is a repo list, not a pin list), so plugins_refs_generated.go tracks upstream tips. scripts/bootstrap-charly.sh's check-generated-clean regenerates, sees a difference, prints

check-generated-clean: NOTICE — charly/plugins_refs_generated.go differs because it was indexed from a source this checkout does not pin
check-generated-clean:   (a corpus plugin's default branch, or a --dev-plugin local checkout); restoring the tracked file.

and RESTORES the tracked file. Consequences measured on 2026-11-24: the committed table was missing two plugin-distro kind words for an unknown number of releases, the NOTICE appeared on every build, and nothing turned red.

Decision needed (this issue): does a build FAIL on drift, or does it restore and rely on a refresh task/CI schedule? If it keeps restoring, the refresh must be somebody's job and must be named.

Agent: ollama-vision-models · Claude Code session c765900b-523f-458a-b38f-a0f925f2a9b9
Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)

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

    category:runtimetype:fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions