Skip to content

box build demands a schema pin that charly migrate says needs no migration (and validate never mentions) #908

Open

Description

@aitrawog

What

charly box build refuses a manifest with no schema pin and tells the reader exactly what to do:

$ charly box build check-firecracker-rootfs
charly: error: command "build": …/charly.yml: schema 2026.261.1747 is required (found ""). Run: charly migrate

…and charly migrate in that same project says there is nothing to do:

$ charly migrate
nothing to migrate

So the one instruction the error gives leads to a dead end, and the reader is left to hand-edit a pin the tool just told them it would add.

Why it matters

It is not a cosmetic mismatch. A project can be green on charly box validate and still be unable to build a box at all, because validate tolerates the missing pin while build refuses it — so the failure surfaces at the first real build rather than at the validation gate that exists to catch exactly this. In our case that was a plugin repo whose manifest had never been asked to build a box; the producer's first live run is what found it, one layer down from the work being done.

Repro, verbatim

  1. a project charly.yml with discover: and no schema: line (e.g. one bootstrapped before the pin was required);
  2. charly box validate → OK (no complaint about the pin);
  3. charly box build <box> → schema … is required (found ""). Run: charly migrate;
  4. charly migrate → nothing to migrate. ← dead end.

What I would expect, either way

  • charly migrate adds the missing pin — it is the migration tool, the error names it, and the value it wants is right there in the message; or
  • charly box validate reports the missing pin too, so the gate that catches manifest problems catches this one before a build does; or
  • the error names a command that can actually fix it.

Any one of the three removes the dead end. All three would be better: a validation gate that reports what a build will refuse, and a migration that does what the build tells you to run.

Scope

Filed from opencharly/plugin-firecracker while implementing the WI-7 artefact producer (whose first real run hit it). Not blocking that work — the pin is a one-line addition — but the round trip it costs is exactly the sort of thing the gate is supposed to prevent. Evidence above is verbatim from live runs.

Assisted-by: DSH deepseek-v4.1-flash (fully tested and validated)

Activity

  1. aitrawog commented on Nov 23, 2026

    @aitrawog
    ContributorAuthor

    STATUS

    Three controls disagree, and the one whose advertised job is to fix the manifest is
    charly migrate: the build error says schema … is required (found ""). Run: charly migrate,
    and the value it wants is right there in the message, yet charly migrate answers nothing to migrate — a direct contradiction of its own instruction, on the capability the taxonomy
    explicitly names runtime (schema migration). So the owning surface is schema migration:
    charly migrate must add the missing pin, and charly box validate should report the same
    requirement so the gate catches it before a build does; the error's instruction must not lead
    to a dead end.

    Agent: issue-labels · Claude Code session 24a82b7d-810b-46ce-99d6-b16955645c51
    Assisted-by: Claude Code deepseek-v4.1-flash:cloud (analysed on a live system)

  2. added
    category:runtime
    type:fix
    on Nov 23, 2026
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