Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/mirror-cli/schemas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export const MIRROR_CLI_COMMAND_HELP: MirrorCliCommandHelp[] = [
description: "Verify canonical lore files against a lore manifest.",
args: [],
options: [
"--manifest <path>: lore manifest path (default: <MIRROR_LORE_DIR>/manifest.json)",
"--manifest <path>: lore manifest path (default: <resolved lore dir>/manifest.json)",
"--dir <path>: canonical lore directory (default: MIRROR_LORE_DIR or ./lore-scrolls)",
"--json: emit stable machine-readable JSON",
],
Expand Down
2 changes: 1 addition & 1 deletion src/mirror/telemetry_tail/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export function registerMirrorTelemetryCli(program: Command): void {
mirror
.command("verify-lore")
.description("Compatibility wrapper for mirror verify-lore")
.option("--manifest <path>", "Lore manifest path (default: <MIRROR_LORE_DIR>/manifest.json)")
.option("--manifest <path>", "Lore manifest path (default: <resolved lore dir>/manifest.json)")
.option("--dir <path>", "Canonical lore directory (default: MIRROR_LORE_DIR or ./lore-scrolls)")
.option("--json", "Output machine-readable JSON", false)
.action(async (opts: { manifest?: string; dir?: string; json?: boolean }) => {
Expand Down
2 changes: 1 addition & 1 deletion src/mirrordaemon/debug_api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { buildDebugSnapshot } from "./runtime_state.js";

export function getMirrordaemonDebugState(
daemon: Mirrordaemon,
params: { port?: number; baseUrl?: string | null; peersKnown?: number } = {},
params: { port?: number; baseUrl?: string | null } = {},
) {
return buildDebugSnapshot(daemon, params);
}
2 changes: 1 addition & 1 deletion src/mirrordaemon/runtime_state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export function buildHealthSummary(

export function buildDebugSnapshot(
daemon: Mirrordaemon,
overrides: RuntimeStateOverrides & { peersKnown?: number } = {},
overrides: RuntimeStateOverrides = {},
): MirrordaemonDebugSnapshot {
const observability = daemon.getObservability();
return {
Expand Down
3 changes: 3 additions & 0 deletions test/mirror-help-surface-boundary.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@ describe("mirror standalone help surface", () => {
expect(schemaSource).toContain('command: "status"');
expect(schemaSource).toContain('command: "verify-lore"');
expect(schemaSource).toContain('command: "sync"');
expect(schemaSource).toContain(
"--manifest <path>: lore manifest path (default: <resolved lore dir>/manifest.json)",
);
});
});
Loading