perf(cli): skip plugin preflight for audit (#124595)

This commit is contained in:
Peter Steinberger
2026-08-16 06:32:10 -07:00
committed by GitHub
parent 9a555b6a9d
commit eafeeec537
2 changed files with 14 additions and 0 deletions
+9
View File
@@ -217,6 +217,15 @@ export const cliCommandCatalog: readonly CliCommandCatalogEntry[] = [
},
route: { id: "health" },
},
{
commandPath: ["audit"],
policy: {
configGuard: "skip",
loadPlugins: "never",
ensureCliPath: false,
networkProxy: "bypass",
},
},
{
commandPath: ["gateway"],
policy: {
@@ -1,6 +1,7 @@
import type { Command } from "commander";
export const COLD_READ_COMMAND_PATHS: string[][] = [
["audit"],
["skills", "info"],
["skills", "search"],
["hooks"],
@@ -11,6 +12,10 @@ export const COLD_READ_COMMAND_PATHS: string[][] = [
];
export function registerColdReadCommandFixtures(program: Command, skills: Command): void {
program
.command("audit")
.option("--json")
.action(() => {});
for (const skillCommand of ["info", "search"]) {
skills
.command(skillCommand)