// SPDX-License-Identifier: Apache-2.0 // SPDX-FileCopyrightText: 2026 SubLang International // // Generated by slc (DR-014): the registry entry exposing the compiled // playbook to `playbook run`. Derived deterministically from the compiled // bundle; recompiling regenerates it. `requiredRoleIds` are the canonical // lowercase local role ids the compiled machine's delegated states name // (DR-024). import createPlaybookRuntime, { validateOptions as linkedValidateOptions } from './evaluate.playbook/evaluate.playbook.ts'; type FactoryInput = NonNullable[0]>; type RuntimeOptions = FactoryInput['configuredOptions']; type HostCapabilities = FactoryInput['hostCapabilities']; const REQUIRED_ROLE_IDS: readonly string[] = ['evaluator', 'reviewer']; const validateOptions: (value: unknown) => RuntimeOptions = linkedValidateOptions; const entry = { id: 'evaluate', command: 'evaluate', intent: 'Evaluate — Roles:', artifactSchema: 3, runtimeProfile: Object.freeze({ kind: 'shared-factory', compat: createPlaybookRuntime.compat, }), concurrentRoleSets: [] as readonly (readonly string[])[], requiredRoleIds: [...REQUIRED_ROLE_IDS], validateOptions, createRuntime(options: { captainOptions?: unknown }, hostCapabilities: HostCapabilities) { const validated = validateOptions(options.captainOptions); return createPlaybookRuntime({ configuredOptions: validated, hostCapabilities, }); }, }; export default entry;