Add doctor command for read-only system diagnostic and embedded guide

Embed system architecture and 10-tier directory specifications directly into the binary with zero disk footprint.
This commit is contained in:
gitea committed 2026-09-11 17:57:41 +08:00
1 parent 76d288b882
commit 4c8389bf0c
10 files changed
+980 -147

No files matched your search

+27
View File
@@ -921,6 +921,33 @@ export const HELP_REGISTRY: AreaHelp[] = [
usage: ["seal-use openapi"]
}
]
},
{
area: "doctor",
title: "System diagnostic and environment health check",
description: "Inspects runtime executable, filesystem paths, enterprise assets, and embedded specifications without modifying any files.",
commands: [
{
name: "",
summary: "Run complete system diagnostic health check",
usage: ["seal-use doctor [--quiet]"],
options: [
{ flag: "--quiet", description: "Suppress formatted human dashboard on stderr" }
]
},
{
name: "guide",
aliases: ["doc", "knowledge"],
summary: "Read embedded system architecture & directory specification whitepaper",
usage: ["seal-use doctor guide"]
},
{
name: "paths",
aliases: ["dirs"],
summary: "Inspect core filesystem paths and directory health",
usage: ["seal-use doctor paths"]
}
]
}
];