fix: generalize hwpod preinstall help
Pipelines as Code CI / hwlab-web-probe-sentinel-nc01- Success

This commit is contained in:
Codex
2026-07-09 10:55:41 +02:00
parent 37a6b70793
commit 9d86263992
+8 -8
View File
@@ -1,5 +1,5 @@
// SPEC: PJ2026-01010305 71FREQ预装 draft-2026-06-26-71freq-v03-hwpod-preinstall.
// Responsibility: Redacted YAML configRef graph and plan/status rendering for D601 71-FREQ HWPOD preinstall.
// Responsibility: Redacted YAML configRef graph and plan/status rendering for selected HWPOD preinstall targets.
import { createHash } from "node:crypto";
import { existsSync, readFileSync } from "node:fs";
import { repoRoot, rootPath } from "./config";
@@ -237,17 +237,17 @@ export function hwlabNodeHwpodPreinstallHelp(): Record<string, unknown> {
description: "Render the YAML-first HWPOD preinstall configRef graph for a selected node/lane without mutating runtime.",
configPath: hwlabRuntimeLaneConfigPath(),
examples: [
"bun scripts/cli.ts hwlab nodes hwpod-preinstall plan --node D601 --lane v03 --dry-run",
"bun scripts/cli.ts hwlab nodes hwpod-preinstall status --node D601 --lane v03",
"bun scripts/cli.ts hwlab nodes hwpod-preinstall gateway-plan --node D601 --lane v03 --dry-run",
"bun scripts/cli.ts hwlab nodes hwpod-preinstall gateway-status --node D601 --lane v03",
"bun scripts/cli.ts hwlab nodes hwpod-preinstall gateway-apply --node D601 --lane v03 --dry-run",
"bun scripts/cli.ts hwlab nodes hwpod-preinstall plan --node <node> --lane <lane> --dry-run",
"bun scripts/cli.ts hwlab nodes hwpod-preinstall status --node <node> --lane <lane>",
"bun scripts/cli.ts hwlab nodes hwpod-preinstall gateway-plan --node <node> --lane <lane> --dry-run",
"bun scripts/cli.ts hwlab nodes hwpod-preinstall gateway-status --node <node> --lane <lane>",
"bun scripts/cli.ts hwlab nodes hwpod-preinstall gateway-apply --node <node> --lane <lane> --dry-run",
],
actions: {
plan: "Validate D601/v03 hwpodPreinstall configRefs, cross-check ids, and render runtime artifact targets.",
plan: "Validate selected node/lane hwpodPreinstall configRefs, cross-check ids, and render runtime artifact targets.",
status: "Render the same redacted graph for the selected target as a read-only status view.",
"gateway-plan": "Render the v0.3+ Windows HWPOD node/gateway runner files and legacy-retire policy without touching runtime.",
"gateway-status": "Read D601 Windows task/process/file state and classify old v0.2 direct-url runners as legacy drift.",
"gateway-status": "Read selected target task/process/file state and classify old v0.2 direct-url runners as legacy drift.",
"gateway-apply": "Sync v0.3 source tools, overwrite the Windows runner from YAML, stop legacy v0.2 runners, and recreate managed tasks.",
},
notes: [