Add tenant contract doctor probe and automated regression test matrix
This commit is contained in:
1 parent
e76af01480
commit
733ede97d9
12 files changed
+1741
-4
No files matched your search
@@ -143,6 +143,17 @@ export const HELP_REGISTRY: AreaHelp[] = [
|
||||
name: "add-link",
|
||||
summary: "Import enterprise configuration from a Hose assistance link",
|
||||
usage: ["seal-use corps add-link <https://.../web/thirdparty.html?...> [--name <customName>] [--overwrite]"]
|
||||
},
|
||||
{
|
||||
name: "regression",
|
||||
aliases: ["test-regression"],
|
||||
summary: "Run automated rule regression test matrix against paired test enterprise",
|
||||
usage: ["seal-use corps regression [--corp <corpId>] [--samples <N>] [--dry-run] [--fail-on-flips]"],
|
||||
options: [
|
||||
{ flag: "--samples <N>", description: "Number of historical production runs to replay (default: 10)" },
|
||||
{ flag: "--dry-run", description: "Preview sample documents and verify quota without executing replayed audits" },
|
||||
{ flag: "--fail-on-flips", description: "Exit with non-zero code if any decision flip is detected" }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -1009,6 +1020,38 @@ export const HELP_REGISTRY: AreaHelp[] = [
|
||||
aliases: ["dirs"],
|
||||
summary: "Inspect core filesystem paths and directory health",
|
||||
usage: ["seal-use doctor paths"]
|
||||
},
|
||||
{
|
||||
name: "tenant",
|
||||
aliases: ["corp", "enterprise"],
|
||||
summary: "Inspect tenant-level health contract, auth permissions, AI approval quota, and rules state",
|
||||
usage: ["seal-use doctor tenant [--corp <corpId>] [--quiet]"],
|
||||
options: [
|
||||
{ flag: "--corp <corpId>", description: "Enterprise ID or selector to diagnose" },
|
||||
{ flag: "--quiet", description: "Suppress formatted dashboard on stderr" }
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
area: "test",
|
||||
title: "Automated test harnesses and rule regression matrix",
|
||||
description: "Run automated regression tests and decision comparison matrix across paired production and test environments.",
|
||||
commands: [
|
||||
{
|
||||
name: "regression",
|
||||
aliases: ["regress", "matrix"],
|
||||
summary: "Run automated rule regression test matrix against paired test enterprise",
|
||||
usage: ["seal-use test regression [--corp <corpId>] [--samples <N>] [--dry-run] [--fail-on-flips]"],
|
||||
options: [
|
||||
{ flag: "--corp <corpId>", description: "Target test enterprise or production parent (must be paired)" },
|
||||
{ flag: "--samples <N>", description: "Number of historical production runs to replay (default: 10)" },
|
||||
{ flag: "--dry-run", description: "Preview sample documents and verify quota without executing replayed audits" },
|
||||
{ flag: "--fail-on-flips", description: "Exit with non-zero code if any decision flip is detected" },
|
||||
{ flag: "--prod-corp <id>", description: "Explicit production enterprise source for sample documents" },
|
||||
{ flag: "--test-corp <id>", description: "Explicit test enterprise target for replay" },
|
||||
{ flag: "--quiet", description: "Suppress formatted summary dashboard on stderr" }
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user