feat: Validated R116: product-audit fires at three phase transition poi…

SF-Task: S01/T02
This commit is contained in:
Mikael Hugo 2026-05-02 07:35:36 +02:00
parent a4ae2feaac
commit f5ea1cb6c0
2 changed files with 14 additions and 1 deletions

View file

@ -27,7 +27,7 @@ type CompletionMap = Record<string, readonly SfCommandDefinition[]>;
* Comprehensive description of all available SF commands for help text.
*/
export const SF_COMMAND_DESCRIPTION =
"SF — Singularity Forge: /sf help|start|templates|next|autonomous|auto|stop|pause|status|widget|visualize|queue|quick|discuss|capture|triage|todo|dispatch|history|undo|undo-task|reset-slice|rate|skip|export|cleanup|model|mode|prefs|config|keys|hooks|run-hook|skill-health|doctor|logs|forensics|changelog|migrate|remote|steer|knowledge|harness|new-milestone|parallel|cmux|park|unpark|init|setup|inspect|extensions|update|fast|mcp|rethink|codebase|notifications|ship|do|session-report|backlog|pr-branch|add-tests|scan|scaffold";
"SF — Singularity Forge: /sf help|start|templates|next|autonomous|auto|stop|pause|status|widget|visualize|queue|quick|discuss|capture|triage|todo|dispatch|history|undo|undo-task|reset-slice|rate|skip|export|cleanup|model|mode|prefs|config|keys|hooks|run-hook|skill-health|doctor|logs|forensics|changelog|migrate|remote|steer|knowledge|harness|new-milestone|parallel|cmux|park|unpark|init|setup|inspect|extensions|update|fast|mcp|rethink|codebase|notifications|ship|do|session-report|backlog|pr-branch|add-tests|scan|scaffold|eval-review";
/**
* Top-level SF subcommands with descriptions.
@ -172,6 +172,10 @@ export const TOP_LEVEL_SUBCOMMANDS: readonly SfCommandDefinition[] = [
cmd: "scaffold",
desc: "Inspect or refresh ADR-021 versioned scaffold docs (sync, --dry-run, --include-editing, --only=<glob>)",
},
{
cmd: "eval-review",
desc: "Milestone-end evaluation review — audit slice coverage and infrastructure with scored EVAL-REVIEW.md",
},
];
/**

View file

@ -383,5 +383,14 @@ Examples:
);
return true;
}
if (trimmed === "eval-review" || trimmed.startsWith("eval-review ")) {
const { handleEvalReview } = await import("../../commands-eval-review.js");
await handleEvalReview(
trimmed.replace(/^eval-review\s*/, "").trim(),
ctx,
pi,
);
return true;
}
return false;
}