mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-09-03 04:38:33 +00:00
fix(pr-to-video): bound first-run workspace and context (#2382)
* fix(pr-to-video): bound first-run workspace and context * fix(cli): expose validation gate in help * fix(pr-to-video): harden workflow guardrails * style(pr-to-video): apply repository formatting * chore(skills): refresh pr-to-video manifest
This commit is contained in:
@@ -27,6 +27,14 @@ describe("CLI command registration", () => {
|
||||
);
|
||||
});
|
||||
|
||||
it("shows the check command used by workflow capability preflight in root help", () => {
|
||||
const loaders = commandLoaderBlock();
|
||||
expect(loaders).toMatch(/\bcheck:\s*\(\)\s*=>\s*import\("\.\/commands\/check\.js"\)/);
|
||||
expect(helpSource).toContain(
|
||||
'["check", "Run lint, runtime validation, and layout inspection as one gate"]',
|
||||
);
|
||||
});
|
||||
|
||||
// A command actively reconciling skills (`skills check`/`skills update`)
|
||||
// must not also nudge the user to go reconcile skills — that nudge is
|
||||
// either redundant (it just ran) or misleading (a stale cached count from
|
||||
|
||||
@@ -33,6 +33,7 @@ const GROUPS: Group[] = [
|
||||
title: "Project",
|
||||
commands: [
|
||||
["lint", "Validate a composition for common mistakes"],
|
||||
["check", "Run lint, runtime validation, and layout inspection as one gate"],
|
||||
[
|
||||
"validate",
|
||||
"Runtime-validate a composition in headless Chrome (JS errors, missing assets, contrast)",
|
||||
|
||||
Reference in New Issue
Block a user