Skip to content

the migrate skill's "current table" index lists 11 of the 16 entries in migrations.cue #28

Closed

Description

@aitrawog

The finding. .agents/skills/migrate/SKILL.md — the section headed "The current table." — says that candy/plugin-migrate/migrations.cue "is the authoritative list — read it there", and then prints an 11-row index of it. The file holds 16 entries; the index carries 11.

Measured, at main and at the corpus's pinned tag v2026.295.2044 (identical at both):

$ gh api repos/opencharly/plugin-migrate/contents/candy/plugin-migrate/migrations.cue?ref=main \
    --jq '.content' | base64 -d | grep -c -E '^\s*name:'
16
$ gh api repos/opencharly/plugin-migrate/contents/.agents/skills/migrate/SKILL.md?ref=main \
    --jq '.content' | base64 -d | grep -E '^\| `'
11 rows (the op-vocabulary rows plus the 11 table rows)

The five entries the index omits:

name migrations.cue line
pipeline-lobster-syntax 157
retire-empty-group-node 177
podman-jobs-to-stage-parallelism 199
engine-word-containerd 224
engine-run-word-containerd 242

Why it matters. The section's own sentence makes the printed table an index of the authoritative file, so a reader who consults the index concludes that no such step exists. Two of the five missing entries are exactly the steps a reader most needs to find: podman-jobs-to-stage-parallelism (the key rename that carries a project across the --podman-jobs → --stage-parallelism cutover) and the two engine-word-containerd entries (the retired engine: word). The corpus projects this skill verbatim (opencharly/marketplace, the build family's migrate skill), so the stale index is published to every harness that loads the corpus.

The RCA.

  • Mechanism — the index is a hand-maintained COPY of a declarative list that lives in another file of the same repo. Nothing regenerates or checks it, so it drifts the moment an entry is appended to migrations.cue.
  • Missed control — no gate compares the printed index with the table. The CUE schema (#Migration) validates the TABLE's shape at process start; nothing validates the prose index against it.
  • Blast radius — every reader of the published /charly-build:migrate skill: the corpus, every harness that loads it, and any project that consults the index before running charly migrate.
  • Root fix — make the index DERIVED rather than hand-maintained (a generation step that prints it from migrations.cue), or delete the printed index and rely on the sentence the section already makes: the file is authoritative.

Filed from the stage_parallelism fan-out (opencharly/opencharly#785), where the corpus regeneration surfaced the gap: the projection is faithful to this owner, so the corpus carries exactly what this repo publishes.

Agent: charly · session ses_8efb271d-f2c0-47d3-85e3-2a1e00b11ae0

Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)

Activity

  1. aitrawog commented on Oct 28, 2026

    @aitrawog
    ContributorAuthor

    CLAIM

    Agent: charly · session ses_8efb271d-f2c0-47d3-85e3-2a1e00b11ae0

    I found this while regenerating the corpus for the stage_parallelism fan-out (opencharly/opencharly#785) and am the reporter; I am claiming it so the finding has one owner and is not re-filed.

    The measurement is in the issue body and is reproducible against main today. The fix belongs in this repo: the corpus publishes this skill verbatim, so a fix here is a fix everywhere the corpus is loaded. I am NOT fixing it inside this cutover's PR — it is separable from the stage_parallelism fan-out (the table's completeness is the owner's own staleness, not a product of the rename), so it is filed rather than folded in.

    If the maintainers would rather the fan-out carried it, say so here and I will take the fix in this repo's own PR, on its own branch, with its own gate.

    Assisted-by: Claude Code minimax/minimax-m3.1-flash:cloud (fully tested and validated)

  2. self-assigned this
    on Oct 28, 2026
  3. added a commit that references this issue on Nov 22, 2026
    448bd49
  4. aitrawog commented on Nov 22, 2026

    @aitrawog
    ContributorAuthor

    RESOLVED

    RESOLVED — fixed by #37, merged.

    • The index is complete and generated. The "current table" section listed 11 rows of a migrations.cue that holds 17; the table is now produced by parsing the file (name / declarative ops / apply: hook / touches_host) and lists all 17 — the five this issue named plus aur-not-a-build-format, which the unified builder chain added since. The table and its source cannot drift without the diff showing it.
    • The op vocabulary names all five ops. remove_list_value is documented with its shape and its emptied-list/loses-the-key behaviour, and the prose that counted "four" says "five" in all four places it enumerated the set.
    • No live text names the deleted symbol. git grep -n 'sdk/workflowkit' returns two CHANGELOG/ entries — history, which stays — and nothing in source, skill or comment. The two test comments now name plugin-pipeline's workflowkit.ValidatePipeline, the gate the assertions mirror.

    Agent: kde-cstream · Claude Code session 25c0bf9d-28ad-4716-bc1b-5ca2118cc942
    Assisted-by: Claude Code deepseek-v4.1-flash (documentation reviewed)

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

Metadata

Metadata

Assignees

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