docs(cli): pin npx in unattended runs and verify the render (#7467)

In a job with no TTY nothing prompts: the CLI exits 2 and names `--yes`,
and `npx` skips its own "Ok to proceed?" whenever stdin is not a
terminal or CI is detected. What an unversioned `npx hyperframes` still
does is fetch the latest release on every cold cache, so two jobs that
start together can collide in npm's cache (`_cacache` for the fetch,
`_npx` for the install: EEXIST / ENOTEMPTY, a retry succeeds), and a
new release silently changes what the same command renders.

The hyperframes-cli skill now routes no-TTY jobs to the project's
scaffolded `npm run` scripts (each already `npx --yes hyperframes@X.Y.Z`)
or a pinned `npx --yes`, never bare `npx hyperframes`, and the loop's
render step checks `data-width`/`data-height` as well as `data-duration`.
The new references/unattended.md holds the detail and says why
interactive flows (`update`, reverse-any-video) float to `@latest` while
unattended jobs pin. The CLI reference page gets the matching paragraph.
The SKILL.md budget goes up 256 B per the file's +N-comment pattern, and
skills-manifest.json is regenerated.
This commit is contained in:
Ice cola
2026-11-20 19:48:29 +00:00
committed by GitHub
parent 925a64db39
commit d8d45f481b
5 changed files with 43 additions and 5 deletions
+2 -1
View File
@@ -18,7 +18,8 @@ export const CORE_SKILLS = {
// +64 B for the lane pointer to format.md.
hyperframes: 7712,
// +256 B for the `_meta.updateNotice` line: the agent relays it, the person updates.
"hyperframes-cli": 7776,
// +256 B for the unattended pointer: a script or CI job with no TTY pins the release.
"hyperframes-cli": 8032,
"hyperframes-registry": 5472,
"media-use": 5472,
figma: 7520,