Skip to content

fix: the manifest speaks the language it ships in - #13

Merged
rodrigoteamx merged 1 commit into
mainfrom
fix/the-manifest-speaks-the-language-it-ships-in
Sep 10, 2026
Merged

rodrigoteamx merged 1 commit into
mainfrom
fix/the-manifest-speaks-the-language-it-ships-in

Conversation

@rodrigoteamx

Copy link
Copy Markdown
Contributor

What

extra.milpa.capability is copy a person reads, not metadata for a machine: title, briefing and every entry in unlocks are shown by coa capabilities and by the panel's Plugins section, and the operation's own schema documents unlocks as «what becomes possible once it is installed».

This package shipped one unlocks entry in Spanish, sitting next to a title and a briefing in English, for as long as the manifest has existed.

Why nothing caught it

The house's code-language ratchet reads src in the monorepo layout and never a manifest — so this string sat outside every instrument that looks at language.

The check therefore lives here, in the package that owns the file, rather than in a gate that does not scan it: a word list of Spanish function words run over every string in the capability, with the string that actually shipped as its positive control.

Verified adversarially — putting the old string back turns the test red and it names the joints it found (el, que).

One correction worth noting

The first draft of the word list included the very words it had just translated (elige, protegidas, operaciones). That list would have passed its own positive control while saying nothing about the next defect. The general function words catch both shipped strings on their own, which is the proof the tailored ones were unnecessary.

`extra.milpa.capability` is copy a person reads, not metadata for a machine: `title`, `briefing` and
every entry in `unlocks` are shown by `coa capabilities` and by the panel's Plugins section, and the
operation's own schema documents `unlocks` as «what becomes possible once it is installed».

This package's `persistence` capability shipped one `unlocks` entry in Spanish, sitting next to a title and a
briefing in English, for as long as the manifest has existed. It now reads «the token and entity backend that config/app.php chooses».

Nothing caught it, and that is the part worth fixing: the house's code-language ratchet reads `src` in
the monorepo layout and never a manifest, so this string sat outside every instrument that looks at
language. The check therefore lives HERE, in the package that owns the file, rather than in a gate that
does not scan it — a word list of Spanish function words, run over every string in the capability, with
the string that actually shipped as its positive control.

The list is deliberately general: the first draft included the very words it had just translated, which
would have passed its own control while saying nothing about the next one.
@rodrigoteamx
rodrigoteamx merged commit 247664e into main Sep 10, 2026
2 checks passed
@rodrigoteamx
rodrigoteamx deleted the fix/the-manifest-speaks-the-language-it-ships-in branch September 10, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant