/**
 * olam flywheel — chain-runtime helpers.
 *
 * Migrates atlas-toolbox's `shared/engineering/scripts/` chain-runtime scripts
 * (breadcrumb emission, K5/K10 scoring, persona sanitization, skeleton
 * validation, diversity aggregation, shim installation) into olam under a
 * nested CLI namespace.
 *
 * Follows the existing nested-namespace convention established by
 * `olam kg`, `olam memory`, `olam mcp`, `olam worldspec`.
 *
 * Subcommands:
 *   emit-breadcrumb           — write K7 breadcrumb (with flock for parallel-safe writes)
 *   k5-score                  — compute K5 composite + boost from sub-scores
 *   k5-validate               — schema-check a plan's frontmatter k5_scores block
 *   k10-measure               — compute K1 budget ratio from plan + persona output
 *   sanitize-persona-output   — stdin→stdout pipe; reject header-injection / slug-mismatch
 *   check-persona-skeleton    — validate persona agent file structure
 *   diversity-check           — cross-plan breadcrumb diversity aggregator
 *   ping                      — no-op cold-start telemetry surface
 *   install-shims             — write delegating shims to ~/.claude/scripts/<name>
 *
 * Plan reference: docs/plans/olam-flywheel-cli-namespace/README.md
 */
import { registerFlywheelEmitBreadcrumb } from './emit-breadcrumb.js';
import { registerFlywheelK5Score } from './k5-score.js';
import { registerFlywheelK5Validate } from './k5-validate.js';
import { registerFlywheelK10Measure } from './k10-measure.js';
import { registerFlywheelSanitizePersonaOutput } from './sanitize-persona-output.js';
import { registerFlywheelCheckPersonaSkeleton } from './check-persona-skeleton.js';
import { registerFlywheelDiversityCheck } from './diversity-check.js';
import { registerFlywheelPing } from './ping.js';
import { registerFlywheelInstallShims } from './install-shims.js';
import { registerFlywheelMigrateOverlays } from './migrate-overlays.js';
export function registerFlywheel(program) {
    const flywheel = program
        .command('flywheel')
        .description('Chain-runtime helpers: breadcrumbs, K5/K10 scoring, persona ops, shims (emit-breadcrumb, k5-score, k5-validate, k10-measure, sanitize-persona-output, check-persona-skeleton, diversity-check, ping, install-shims)');
    registerFlywheelEmitBreadcrumb(flywheel);
    registerFlywheelK5Score(flywheel);
    registerFlywheelK5Validate(flywheel);
    registerFlywheelK10Measure(flywheel);
    registerFlywheelSanitizePersonaOutput(flywheel);
    registerFlywheelCheckPersonaSkeleton(flywheel);
    registerFlywheelDiversityCheck(flywheel);
    registerFlywheelPing(flywheel);
    registerFlywheelInstallShims(flywheel);
    registerFlywheelMigrateOverlays(flywheel);
}
//# sourceMappingURL=index.js.map