/** * 活动包清单六区与资产形状(编码规范 §8.1;语义出处 OS 11.1,AM 11)。 * * 清单机器可读,系统**不执行代码即知包为何物** —— 导入登记、安装静态审、编排装配读的都是清单。 * 资产与包分离版本化(OS 11.3):包版本管代码 / 契约 / 交互模版 / Harness; * 资产版本管业务模型 / DMN / 技能 —— 包只携初始版,此后由进化管线在系统内产生。 */ import { z } from 'zod'; /** 范式只存在于**引擎层**;交互层不可区分(编码规范 §9 双层边界) */ export declare const PARADIGMS: readonly ["loop", "flow"]; export declare const paradigmSchema: z.ZodEnum<{ loop: "loop"; flow: "flow"; }>; export type Paradigm = z.infer; /** 活动类型两维分类之一(治理台活动库):标准活动 = flow,案例活动 = loop */ export declare const ACTIVITY_TYPE_LABEL: Readonly>; export declare const manifestIdentitySchema: z.ZodObject<{ activityId: z.core.$ZodBranded; name: z.ZodString; packageVersion: z.ZodString; category: z.ZodString; paradigm: z.ZodEnum<{ loop: "loop"; flow: "flow"; }>; sdkVersion: z.ZodString; checksum: z.ZodString; signature: z.ZodOptional; }, z.core.$strip>; export type ManifestIdentity = z.infer; export declare const harnessConfigSchema: z.ZodObject<{ memoryWindow: z.ZodDefault; stallAfter: z.ZodDefault; nudge: z.ZodDefault; }, z.core.$strip>>>; retry: z.ZodDefault; backoff: z.ZodDefault; }, z.core.$strip>>; }, z.core.$strip>; export type HarnessConfig = z.infer; export declare const manifestDeclarationsSchema: z.ZodObject<{ models: z.ZodDefault>; tools: z.ZodDefault; }, z.core.$strip>>>; ledger: z.ZodDefault; fields: z.ZodArray; label: z.ZodOptional; primaryKey: z.ZodDefault; masked: z.ZodDefault; }, z.core.$strip>>; }, z.core.$strip>>>; listeners: z.ZodDefault; eventType: z.ZodEnum<{ time: "time"; human: "human"; data: "data"; control: "control"; }>; keyFilter: z.ZodDefault>; condition: z.ZodOptional; semantic: z.ZodEnum<{ observe: "observe"; "complete-step": "complete-step"; }>; deadline: z.ZodString; escalation: z.ZodDefault>>; }, z.core.$strip>>>; harness: z.ZodObject<{ memoryWindow: z.ZodDefault; stallAfter: z.ZodDefault; nudge: z.ZodDefault; }, z.core.$strip>>>; retry: z.ZodDefault; backoff: z.ZodDefault; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export type ManifestDeclarations = z.infer; export declare const STEP_KINDS: readonly ["tool", "llm", "human", "pure-tool"]; export declare const stepKindSchema: z.ZodEnum<{ human: "human"; tool: "tool"; llm: "llm"; "pure-tool": "pure-tool"; }>; export type StepKind = z.infer; /** 失败策略:声明给定,不临场(AM 5.3) */ export declare const stepFailurePolicySchema: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; export type StepFailurePolicy = z.infer; export declare const flowStepSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"tool">; tool: z.ZodString; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"llm">; model: z.ZodString; template: z.ZodString; outputSchema: z.ZodRecord; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; card: z.ZodRecord; deadline: z.ZodString; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"pure-tool">; tool: z.ZodString; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>], "kind">; export type FlowStep = z.infer; export declare const flowModelSchema: z.ZodObject<{ paradigm: z.ZodLiteral<"flow">; steps: z.ZodArray; tool: z.ZodString; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"llm">; model: z.ZodString; template: z.ZodString; outputSchema: z.ZodRecord; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; card: z.ZodRecord; deadline: z.ZodString; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"pure-tool">; tool: z.ZodString; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>], "kind">>; parallelGroups: z.ZodDefault; }, z.core.$strip>>>; }, z.core.$strip>; export type FlowModel = z.infer; export declare const dmnDecisionTableSchema: z.ZodObject<{ id: z.ZodString; label: z.ZodString; hitPolicy: z.ZodDefault>; inputs: z.ZodArray>; outputs: z.ZodArray>; rules: z.ZodArray; then: z.ZodArray; annotation: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type DmnDecisionTable = z.infer; export declare const dmnModelSchema: z.ZodObject<{ drd: z.ZodArray>; inputs: z.ZodDefault>; }, z.core.$strip>>; tables: z.ZodArray>; inputs: z.ZodArray>; outputs: z.ZodArray>; rules: z.ZodArray; then: z.ZodArray; annotation: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; export type DmnModel = z.infer; export declare const loopModelSchema: z.ZodObject<{ paradigm: z.ZodLiteral<"loop">; cmmnXml: z.ZodString; narrative: z.ZodString; dmn: z.ZodObject<{ drd: z.ZodArray>; inputs: z.ZodDefault>; }, z.core.$strip>>; tables: z.ZodArray>; inputs: z.ZodArray>; outputs: z.ZodArray>; rules: z.ZodArray; then: z.ZodArray; annotation: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; export type LoopModel = z.infer; export declare const businessModelSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ paradigm: z.ZodLiteral<"loop">; cmmnXml: z.ZodString; narrative: z.ZodString; dmn: z.ZodObject<{ drd: z.ZodArray>; inputs: z.ZodDefault>; }, z.core.$strip>>; tables: z.ZodArray>; inputs: z.ZodArray>; outputs: z.ZodArray>; rules: z.ZodArray; then: z.ZodArray; annotation: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ paradigm: z.ZodLiteral<"flow">; steps: z.ZodArray; tool: z.ZodString; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"llm">; model: z.ZodString; template: z.ZodString; outputSchema: z.ZodRecord; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; card: z.ZodRecord; deadline: z.ZodString; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"pure-tool">; tool: z.ZodString; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>], "kind">>; parallelGroups: z.ZodDefault; }, z.core.$strip>>>; }, z.core.$strip>], "paradigm">; export type BusinessModel = z.infer; export declare const skillSchema: z.ZodObject<{ id: z.core.$ZodBranded; label: z.ZodString; applicability: z.ZodString; method: z.ZodString; crystallized: z.ZodDefault; }, z.core.$strip>>>; knowledgeRefs: z.ZodDefault>; version: z.ZodString; }, z.core.$strip>; export type Skill = z.infer; export declare const manifestAssetsSchema: z.ZodObject<{ businessModel: z.ZodDiscriminatedUnion<[z.ZodObject<{ paradigm: z.ZodLiteral<"loop">; cmmnXml: z.ZodString; narrative: z.ZodString; dmn: z.ZodObject<{ drd: z.ZodArray>; inputs: z.ZodDefault>; }, z.core.$strip>>; tables: z.ZodArray>; inputs: z.ZodArray>; outputs: z.ZodArray>; rules: z.ZodArray; then: z.ZodArray; annotation: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ paradigm: z.ZodLiteral<"flow">; steps: z.ZodArray; tool: z.ZodString; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"llm">; model: z.ZodString; template: z.ZodString; outputSchema: z.ZodRecord; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; card: z.ZodRecord; deadline: z.ZodString; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"pure-tool">; tool: z.ZodString; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>], "kind">>; parallelGroups: z.ZodDefault; }, z.core.$strip>>>; }, z.core.$strip>], "paradigm">; skills: z.ZodDefault; label: z.ZodString; applicability: z.ZodString; method: z.ZodString; crystallized: z.ZodDefault; }, z.core.$strip>>>; knowledgeRefs: z.ZodDefault>; version: z.ZodString; }, z.core.$strip>>>; viewTemplates: z.ZodDefault>>; cardSchemas: z.ZodDefault>>; distillHooks: z.ZodDefault; milestone: z.ZodOptional; prompt: z.ZodString; }, z.core.$strip>>>; }, z.core.$strip>; export type ManifestAssets = z.infer; export declare const sampleCaseSchema: z.ZodObject<{ name: z.ZodString; input: z.ZodRecord; message: z.ZodOptional; expect: z.ZodObject<{ ports: z.ZodArray; payloadShape: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>; export type SampleCase = z.infer; export declare const activityManifestSchema: z.ZodObject<{ identity: z.ZodObject<{ activityId: z.core.$ZodBranded; name: z.ZodString; packageVersion: z.ZodString; category: z.ZodString; paradigm: z.ZodEnum<{ loop: "loop"; flow: "flow"; }>; sdkVersion: z.ZodString; checksum: z.ZodString; signature: z.ZodOptional; }, z.core.$strip>; contract: z.ZodObject<{ activityId: z.core.$ZodBranded; version: z.ZodString; input: z.ZodObject<{ data: z.ZodRecord; messageAllowed: z.ZodDefault; messageHint: z.ZodOptional; }, z.core.$strip>; output: z.ZodObject<{ mandatory: z.ZodDefault; description: z.ZodOptional; }, z.core.$strip>>>; selective: z.ZodDefault; description: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>>; }, z.core.$strip>; requiredDeliverables: z.ZodDefault>; }, z.core.$strip>>>; acceptanceCriteria: z.ZodDefault; predicate: z.ZodOptional; modelRef: z.ZodOptional; }, z.core.$strip>>>; prohibitions: z.ZodDefault>>; authorization: z.ZodObject<{ discretion: z.ZodDefault>>; preauthorizedActions: z.ZodDefault; }, z.core.$strip>>>; humanCallBudget: z.ZodNumber; }, z.core.$strip>; resources: z.ZodObject<{ tools: z.ZodDefault; }, z.core.$strip>>>; skills: z.ZodDefault>>; models: z.ZodDefault>; roles: z.ZodDefault>; budget: z.ZodObject<{ steps: z.ZodNumber; tokens: z.ZodNumber; activeMinutes: z.ZodNumber; humanCalls: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; declarations: z.ZodObject<{ models: z.ZodDefault>; tools: z.ZodDefault; }, z.core.$strip>>>; ledger: z.ZodDefault; fields: z.ZodArray; label: z.ZodOptional; primaryKey: z.ZodDefault; masked: z.ZodDefault; }, z.core.$strip>>; }, z.core.$strip>>>; listeners: z.ZodDefault; eventType: z.ZodEnum<{ time: "time"; human: "human"; data: "data"; control: "control"; }>; keyFilter: z.ZodDefault>; condition: z.ZodOptional; semantic: z.ZodEnum<{ observe: "observe"; "complete-step": "complete-step"; }>; deadline: z.ZodString; escalation: z.ZodDefault>>; }, z.core.$strip>>>; harness: z.ZodObject<{ memoryWindow: z.ZodDefault; stallAfter: z.ZodDefault; nudge: z.ZodDefault; }, z.core.$strip>>>; retry: z.ZodDefault; backoff: z.ZodDefault; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; assets: z.ZodObject<{ businessModel: z.ZodDiscriminatedUnion<[z.ZodObject<{ paradigm: z.ZodLiteral<"loop">; cmmnXml: z.ZodString; narrative: z.ZodString; dmn: z.ZodObject<{ drd: z.ZodArray>; inputs: z.ZodDefault>; }, z.core.$strip>>; tables: z.ZodArray>; inputs: z.ZodArray>; outputs: z.ZodArray>; rules: z.ZodArray; then: z.ZodArray; annotation: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ paradigm: z.ZodLiteral<"flow">; steps: z.ZodArray; tool: z.ZodString; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"llm">; model: z.ZodString; template: z.ZodString; outputSchema: z.ZodRecord; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; card: z.ZodRecord; deadline: z.ZodString; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"pure-tool">; tool: z.ZodString; name: z.ZodString; label: z.ZodString; input: z.ZodDefault>; output: z.ZodOptional; }, z.core.$strip>>; when: z.ZodOptional; failure: z.ZodObject<{ retry: z.ZodObject<{ times: z.ZodNumber; backoff: z.ZodString; }, z.core.$strip>; fallback: z.ZodDiscriminatedUnion<[z.ZodObject<{ kind: z.ZodLiteral<"human">; workOrder: z.ZodEnum<{ execution: "execution"; acceptance: "acceptance"; }>; }, z.core.$strip>, z.ZodObject<{ kind: z.ZodLiteral<"blocked">; }, z.core.$strip>], "kind">; }, z.core.$strip>; }, z.core.$strip>], "kind">>; parallelGroups: z.ZodDefault; }, z.core.$strip>>>; }, z.core.$strip>], "paradigm">; skills: z.ZodDefault; label: z.ZodString; applicability: z.ZodString; method: z.ZodString; crystallized: z.ZodDefault; }, z.core.$strip>>>; knowledgeRefs: z.ZodDefault>; version: z.ZodString; }, z.core.$strip>>>; viewTemplates: z.ZodDefault>>; cardSchemas: z.ZodDefault>>; distillHooks: z.ZodDefault; milestone: z.ZodOptional; prompt: z.ZodString; }, z.core.$strip>>>; }, z.core.$strip>; samples: z.ZodArray; message: z.ZodOptional; expect: z.ZodObject<{ ports: z.ZodArray; payloadShape: z.ZodOptional>; }, z.core.$strip>; }, z.core.$strip>>; entry: z.ZodObject<{ file: z.ZodString; checksum: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; export type ActivityManifest = z.infer; export declare const staticAuditFindingSchema: z.ZodObject<{ code: z.ZodEnum<{ "signature-invalid": "signature-invalid"; "sdk-incompatible": "sdk-incompatible"; "schema-invalid": "schema-invalid"; "tool-contract-missing": "tool-contract-missing"; "model-name-unbound": "model-name-unbound"; "dangling-listener": "dangling-listener"; "template-has-script": "template-has-script"; "environment-capability": "environment-capability"; "dynamic-eval": "dynamic-eval"; "ledger-type-conflict": "ledger-type-conflict"; "acceptance-level-misreported": "acceptance-level-misreported"; }>; severity: z.ZodEnum<{ error: "error"; warn: "warn"; }>; message: z.ZodString; at: z.ZodOptional; }, z.core.$strip>; export type StaticAuditFinding = z.infer; export declare const replayAuditReportSchema: z.ZodObject<{ oldPassStillPass: z.ZodBoolean; checked: z.ZodNumber; regressions: z.ZodDefault>>; newlyBlocked: z.ZodDefault>>; skippedNoHistory: z.ZodDefault; }, z.core.$strip>; export type ReplayAuditReport = z.infer; export declare const installVerdictSchema: z.ZodObject<{ accepted: z.ZodBoolean; staticFindings: z.ZodArray; severity: z.ZodEnum<{ error: "error"; warn: "warn"; }>; message: z.ZodString; at: z.ZodOptional; }, z.core.$strip>>; replay: z.ZodObject<{ oldPassStillPass: z.ZodBoolean; checked: z.ZodNumber; regressions: z.ZodDefault>>; newlyBlocked: z.ZodDefault>>; skippedNoHistory: z.ZodDefault; }, z.core.$strip>; }, z.core.$strip>; export type InstallVerdict = z.infer;