diff --git a/scripts/gen-platform-skill.ts b/scripts/gen-platform-skill.ts index 04db2fc2..ee732594 100644 --- a/scripts/gen-platform-skill.ts +++ b/scripts/gen-platform-skill.ts @@ -60,7 +60,17 @@ export async function renderPlatformSkill(): Promise { const out = (s = '') => lines.push(s); out('---'); - out('name: Officer platform'); + /* + `name` is an IDENTIFIER, not a label: lowercase-hyphenated and equal to the directory, per both + harnesses' rules. The human name is `title`. + + This generator emitted `name: Officer platform` and was missed when c24859c fixed every skill by + hand — so the file on disk was right and running this script put the old shape back. `docs:check` + then failed on a line count that nobody could fix by regenerating, which is the worst place for a + drift check to point. + */ + out('name: platform'); + out('title: Officer platform'); // The description is the ENTIRE interface: the agent sees only this before deciding to open the body. // Vague makes a skill useless rather than merely verbose — see skills/load.ts. out('description: >-');