feat(commander): add GPT prompt boundary lint

This commit is contained in:
Codex
2026-05-23 13:24:15 +00:00
parent e2646763c0
commit 77a8c6b878
10 changed files with 434 additions and 5 deletions
+4
View File
@@ -257,6 +257,10 @@ async function main(): Promise<void> {
if (top === "commander") {
const result = runCommanderCommand(args.slice(1));
if (sub === "prompt-lint") {
emitJson(commandName, result, true);
return;
}
const ok = (result as { ok?: unknown }).ok !== false;
emitJson(commandName, result, ok);
if (!ok) process.exitCode = 1;