mirror of
https://github.com/morluto/rea.git
synced 2026-11-01 04:16:28 +00:00
build: add canonical product catalog and docs drift checks
Derive package, tool-family, provider, setup-client, schema-version, and CLI facts from the runtime contract sources into a deterministic checked-in catalog. Add non-mutating generated-file checks, exact TypeDoc regenerate-and-compare validation, caller-visible documentation fact checks, and CI enforcement through docs:check. Cover command-router parity, source-derived catalog values, deliberate documentation drift, and stale generated artifacts while preserving runtime behavior.
This commit is contained in:
1 parent
addc208f12
commit
beb9ece7d1
109 files changed
+1878
-281
No files matched your search
@@ -6,13 +6,14 @@ import {
|
||||
} from "./application/ProcessCli.js";
|
||||
import { logCliCommand } from "./cliLogging.js";
|
||||
import type { Logger } from "./logger.js";
|
||||
import { CLI_COMMANDS } from "./cliCommandNames.js";
|
||||
|
||||
/** Register Process Capture v4 one-shot commands through shared application services. */
|
||||
export const registerProcessCommands = (
|
||||
cli: ReturnType<typeof Cli.create>,
|
||||
logger: Logger,
|
||||
): void => {
|
||||
cli.command("capture-process", {
|
||||
cli.command(CLI_COMMANDS.captureProcess, {
|
||||
description: "Capture one approved Process Capture v4 JSON scenario",
|
||||
args: z.object({ scenario: z.string().describe("Scenario JSON path") }),
|
||||
run: ({ args }) =>
|
||||
@@ -20,7 +21,7 @@ export const registerProcessCommands = (
|
||||
captureProcessScenarioFile(args.scenario),
|
||||
),
|
||||
});
|
||||
cli.command("compare-process-captures", {
|
||||
cli.command(CLI_COMMANDS.compareProcessCaptures, {
|
||||
description: "Compare two Process Capture v4 Evidence JSON files",
|
||||
args: z.object({
|
||||
left: z.string().describe("Left capture Evidence JSON path"),
|
||||
|
||||
Reference in new issue
Block a user