refactor(contracts): simplify workflows and drop readiness tool

This commit is contained in:
morluto committed 2026-09-29 09:22:44 +08:00
1 parent 0fe96d92df
commit 7acac615ca
37 files changed
+401 -505

No files matched your search

-16
View File
@@ -29,10 +29,6 @@ import {
buildReconstructionObligationLedgerEvidenceValidated,
resolveReconstructionObligationLedgerRequest,
} from "./application/ReconstructionObligationLedgerService.js";
import {
evaluateReconstructionReadinessValidated,
resolveReconstructionReadinessRequest,
} from "./application/ReconstructionReadinessService.js";
import { authorizeRootPermission } from "./application/DeferredFileAuthorization.js";
import { loadConfiguredPermissionAuthority } from "./application/PermissionConfiguration.js";
import { CLI_COMMANDS } from "./cliCommandNames.js";
@@ -151,7 +147,6 @@ export const registerApplicationCommands = (
executeNodeCharacterization(replayDependencies(config, authority), input),
});
registerObligationLedgerCommand(cli, logger);
registerReadinessCommand(cli, logger);
registerCoverageCommand(cli, logger);
};
@@ -169,17 +164,6 @@ const registerObligationLedgerCommand = (
workflow: buildReconstructionObligationLedgerEvidenceValidated,
});
const registerReadinessCommand = (cli: CliInstance, logger: Logger): void =>
registerJsonCommand({
cli,
logger,
name: CLI_COMMANDS.evaluateReconstructionReadiness,
description:
"Evaluate a complete Evidence-backed reconstruction readiness journey",
resolveInput: resolveReconstructionReadinessRequest,
workflow: evaluateReconstructionReadinessValidated,
});
interface AuthorizedJsonCommandOptions {
readonly cli: CliInstance;
readonly logger: Logger;