@happyvertical/smrt-ingestion 0.57.3 → 0.57.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/manifest.json +1 -1
- package/dist/models.js +1 -1
- package/dist/models.js.map +1 -1
- package/dist/smrt-knowledge.json +3 -3
- package/package.json +18 -18
package/dist/models.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","names":[],"sources":["../src/__smrt-register__.ts","../src/models.ts"],"sourcesContent":["// Generated by @happyvertical/smrt-core smrtPlugin at library build time.\n// The package manifest is inlined so self-registration cannot miss when a\n// downstream bundler relocates this module away from dist/manifest.json\n// (https://github.com/happyvertical/smrt/issues/1506,\n// https://github.com/happyvertical/smrt/issues/1507).\nimport { ObjectRegistry } from '@happyvertical/smrt-core';\n\nObjectRegistry.registerPackageManifest(JSON.parse(\"{\\\"version\\\":\\\"1.0.0\\\",\\\"timestamp\\\":0,\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"packageVersion\\\":\\\"0.57.3\\\",\\\"objects\\\":{\\\"@happyvertical/smrt-ingestion:IntakeItem\\\":{\\\"name\\\":\\\"intakeitem\\\",\\\"className\\\":\\\"IntakeItem\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeItem\\\",\\\"collection\\\":\\\"intakeitems\\\",\\\"description\\\":\\\"Durable IntakeItem record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"sourceId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"sourceVersion\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"deliveryKey\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"payloadDigest\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"scopeDigest\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"receiptState\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"processingState\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"visibility\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"receiptVersion\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"analysisRevision\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"fence\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"leaseToken\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"leaseUntil\\\":{\\\"type\\\":\\\"datetime\\\",\\\"required\\\":false,\\\"_meta\\\":{\\\"nullable\\\":true}},\\\"expiresAt\\\":{\\\"type\\\":\\\"datetime\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"replayUntil\\\":{\\\"type\\\":\\\"datetime\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"cancelled\\\":{\\\"type\\\":\\\"boolean\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"traceId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_items\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"source_id\\\",\\\"delivery_key\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_items_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_items_expiry_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"expiresAt\\\"]},{\\\"name\\\":\\\"intake_items_receipt_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"receiptState\\\",\\\"leaseUntil\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeItem\\\",\\\"collectionExportName\\\":\\\"IntakeItemCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"sourceId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"sourceVersion\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"deliveryKey\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"payloadDigest\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"scopeDigest\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"receiptState\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"processingState\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"visibility\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"receiptVersion\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"analysisRevision\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"fence\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"leaseToken\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"expiresAt\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"datetime\\\"},{\\\"field\\\":\\\"replayUntil\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"datetime\\\"},{\\\"field\\\":\\\"cancelled\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"boolean\\\"},{\\\"field\\\":\\\"traceId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_items\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_items\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"source_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"source_version\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"delivery_key\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"payload_digest\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"scope_digest\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"receipt_state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"processing_state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"visibility\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"receipt_version\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"analysis_revision\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"fence\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"lease_token\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"lease_until\\\\\\\" TIMESTAMP,\\\\n \\\\\\\"expires_at\\\\\\\" TIMESTAMP NOT NULL,\\\\n \\\\\\\"replay_until\\\\\\\" TIMESTAMP NOT NULL,\\\\n \\\\\\\"cancelled\\\\\\\" BOOLEAN NOT NULL,\\\\n \\\\\\\"trace_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"source_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"source_version\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"delivery_key\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"payload_digest\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"scope_digest\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"receipt_state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"processing_state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"visibility\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"receipt_version\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"analysis_revision\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"fence\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"lease_token\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"lease_until\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":false,\\\"unique\\\":false},\\\"expires_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"replay_until\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"cancelled\\\":{\\\"type\\\":\\\"BOOLEAN\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"trace_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_items_tenant_id_source_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"source_id\\\",\\\"delivery_key\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_items_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_items_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_items_expiry_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"expires_at\\\"]},{\\\"name\\\":\\\"intake_items_receipt_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"receipt_state\\\",\\\"lease_until\\\"]},{\\\"name\\\":\\\"intake_items_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]}],\\\"version\\\":\\\"c1267254\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeEvidence\\\":{\\\"name\\\":\\\"intakeevidence\\\",\\\"className\\\":\\\"IntakeEvidence\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeEvidence\\\",\\\"collection\\\":\\\"intakeevidences\\\",\\\"description\\\":\\\"Durable IntakeEvidence record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"partId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"parentEvidenceId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":false,\\\"related\\\":\\\"IntakeEvidence\\\",\\\"_meta\\\":{\\\"nullable\\\":true}},\\\"assetId\\\":{\\\"type\\\":\\\"crossPackageRef\\\",\\\"required\\\":false,\\\"related\\\":\\\"@happyvertical/smrt-assets:Asset\\\",\\\"_meta\\\":{\\\"nullable\\\":true,\\\"onDelete\\\":\\\"SET NULL\\\"}},\\\"state\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"contentHash\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"byteLength\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"mediaType\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"sourceUri\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_evidence\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"part_id\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_evidence_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_evidence_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]},{\\\"name\\\":\\\"intake_evidence_state_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"state\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeEvidence\\\",\\\"collectionExportName\\\":\\\"IntakeEvidenceCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"partId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"state\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"contentHash\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"byteLength\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"mediaType\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"sourceUri\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_evidence\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_evidence\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"part_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"parent_evidence_id\\\\\\\" UUID,\\\\n \\\\\\\"asset_id\\\\\\\" UUID,\\\\n \\\\\\\"state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"content_hash\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"byte_length\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"media_type\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"source_uri\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"part_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"parent_evidence_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":false,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_evidence\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"asset_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"crossPackageRef\\\",\\\"notNull\\\":false,\\\"unique\\\":false},\\\"state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"content_hash\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"byte_length\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"media_type\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"source_uri\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_evidence_tenant_id_item_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"part_id\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_evidence_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_evidence_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_evidence_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_evidence_state_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"state\\\"]},{\\\"name\\\":\\\"intake_evidence_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_evidence_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_evidence_parent_evidence_id_idx\\\",\\\"columns\\\":[\\\"parent_evidence_id\\\"]},{\\\"name\\\":\\\"intake_evidence_asset_id_idx\\\",\\\"columns\\\":[\\\"asset_id\\\"]}],\\\"version\\\":\\\"503a292c\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeAnalysis\\\":{\\\"name\\\":\\\"intakeanalysis\\\",\\\"className\\\":\\\"IntakeAnalysis\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeAnalysis\\\",\\\"collection\\\":\\\"intakeanalysises\\\",\\\"description\\\":\\\"Durable IntakeAnalysis record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"revision\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"fence\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"attemptNumber\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"currentAttemptId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":false,\\\"related\\\":\\\"IntakeAnalysisAttempt\\\",\\\"_meta\\\":{\\\"nullable\\\":true}},\\\"state\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"inputDigest\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_analyses\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"revision\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_analyses_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_analyses_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]},{\\\"name\\\":\\\"intake_analyses_state_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"state\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeAnalysis\\\",\\\"collectionExportName\\\":\\\"IntakeAnalysisCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"revision\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"fence\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"attemptNumber\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"state\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"inputDigest\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_analyses\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_analyses\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"revision\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"fence\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"attempt_number\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"current_attempt_id\\\\\\\" UUID,\\\\n \\\\\\\"state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"input_digest\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"revision\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"fence\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"attempt_number\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"current_attempt_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":false,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_analysis_attempts\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"input_digest\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_analyses_tenant_id_item_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"revision\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_analyses_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_analyses_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_analyses_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_analyses_state_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"state\\\"]},{\\\"name\\\":\\\"intake_analyses_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_analyses_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_analyses_current_attempt_id_idx\\\",\\\"columns\\\":[\\\"current_attempt_id\\\"]}],\\\"version\\\":\\\"7c76601a\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeAnalysisAttempt\\\":{\\\"name\\\":\\\"intakeanalysisattempt\\\",\\\"className\\\":\\\"IntakeAnalysisAttempt\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeAnalysisAttempt\\\",\\\"collection\\\":\\\"intakeanalysisattempts\\\",\\\"description\\\":\\\"Durable IntakeAnalysisAttempt record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"analysisId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeAnalysis\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"attemptNumber\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"fence\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"state\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"leaseToken\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"leaseUntil\\\":{\\\"type\\\":\\\"datetime\\\",\\\"required\\\":false,\\\"_meta\\\":{\\\"nullable\\\":true}},\\\"outputDigest\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"safeError\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"confidence\\\":{\\\"type\\\":\\\"decimal\\\",\\\"required\\\":false,\\\"_meta\\\":{\\\"nullable\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_analysis_attempts\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"analysis_id\\\",\\\"attempt_number\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_analysis_attempts_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_analysis_attempts_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]},{\\\"name\\\":\\\"intake_analysis_attempts_state_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"state\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeAnalysisAttempt\\\",\\\"collectionExportName\\\":\\\"IntakeAnalysisAttemptCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"analysisId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"attemptNumber\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"fence\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"state\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"leaseToken\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"outputDigest\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"safeError\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_analysis_attempts\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_analysis_attempts\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"analysis_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"attempt_number\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"fence\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"lease_token\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"lease_until\\\\\\\" TIMESTAMP,\\\\n \\\\\\\"output_digest\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"safe_error\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"confidence\\\\\\\" REAL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"analysis_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_analyses\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"attempt_number\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"fence\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"lease_token\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"lease_until\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":false,\\\"unique\\\":false},\\\"output_digest\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"safe_error\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidence\\\":{\\\"type\\\":\\\"REAL\\\",\\\"notNull\\\":false,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_analysis_attempts_tenant_id_analysis_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"analysis_id\\\",\\\"attempt_number\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_analysis_attempts_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_analysis_attempts_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_analysis_attempts_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_analysis_attempts_state_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"state\\\"]},{\\\"name\\\":\\\"intake_analysis_attempts_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_analysis_attempts_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_analysis_attempts_analysis_id_idx\\\",\\\"columns\\\":[\\\"analysis_id\\\"]}],\\\"version\\\":\\\"b51f7c2d\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakePlan\\\":{\\\"name\\\":\\\"intakeplan\\\",\\\"className\\\":\\\"IntakePlan\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakePlan\\\",\\\"collection\\\":\\\"intakeplans\\\",\\\"description\\\":\\\"Durable IntakePlan record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"planKey\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"revision\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"digest\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_plans\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"plan_key\\\",\\\"revision\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_plans_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_plans_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakePlan\\\",\\\"collectionExportName\\\":\\\"IntakePlanCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"planKey\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"revision\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"digest\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_plans\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_plans\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"plan_key\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"revision\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"digest\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"plan_key\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"revision\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"digest\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_plans_tenant_id_item_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"plan_key\\\",\\\"revision\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_plans_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_plans_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_plans_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_plans_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_plans_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]}],\\\"version\\\":\\\"ade3ae21\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeAction\\\":{\\\"name\\\":\\\"intakeaction\\\",\\\"className\\\":\\\"IntakeAction\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeAction\\\",\\\"collection\\\":\\\"intakeactions\\\",\\\"description\\\":\\\"Durable IntakeAction record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"actionKey\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"state\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"proposalRevision\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"reviewVersion\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"executionAttempt\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"fence\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"resultDigest\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_actions\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"action_key\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_actions_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_actions_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]},{\\\"name\\\":\\\"intake_actions_state_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"state\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeAction\\\",\\\"collectionExportName\\\":\\\"IntakeActionCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"actionKey\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"state\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"proposalRevision\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"reviewVersion\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"executionAttempt\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"fence\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"resultDigest\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_actions\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_actions\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"action_key\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"proposal_revision\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"review_version\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"execution_attempt\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"fence\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"result_digest\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"action_key\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"proposal_revision\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"review_version\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"execution_attempt\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"fence\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"result_digest\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_actions_tenant_id_item_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"action_key\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_actions_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_actions_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_actions_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_actions_state_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"state\\\"]},{\\\"name\\\":\\\"intake_actions_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_actions_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]}],\\\"version\\\":\\\"a6d52621\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeProposal\\\":{\\\"name\\\":\\\"intakeproposal\\\",\\\"className\\\":\\\"IntakeProposal\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeProposal\\\",\\\"collection\\\":\\\"intakeproposals\\\",\\\"description\\\":\\\"Durable IntakeProposal record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"actionId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeAction\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"analysisId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeAnalysis\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"analysisAttemptId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeAnalysisAttempt\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"revision\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"bindingHash\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_proposals\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"action_id\\\",\\\"revision\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_proposals_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_proposals_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeProposal\\\",\\\"collectionExportName\\\":\\\"IntakeProposalCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"actionId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"analysisId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"analysisAttemptId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"revision\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"bindingHash\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_proposals\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_proposals\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"action_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"analysis_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"analysis_attempt_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"revision\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"binding_hash\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"action_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_actions\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"analysis_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_analyses\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"analysis_attempt_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_analysis_attempts\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"revision\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"binding_hash\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_proposals_tenant_id_action_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"action_id\\\",\\\"revision\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_proposals_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_proposals_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_proposals_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_proposals_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_proposals_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_proposals_action_id_idx\\\",\\\"columns\\\":[\\\"action_id\\\"]},{\\\"name\\\":\\\"intake_proposals_analysis_id_idx\\\",\\\"columns\\\":[\\\"analysis_id\\\"]},{\\\"name\\\":\\\"intake_proposals_analysis_attempt_id_idx\\\",\\\"columns\\\":[\\\"analysis_attempt_id\\\"]}],\\\"version\\\":\\\"fe602385\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeReviewDecision\\\":{\\\"name\\\":\\\"intakereviewdecision\\\",\\\"className\\\":\\\"IntakeReviewDecision\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeReviewDecision\\\",\\\"collection\\\":\\\"intakereviewdecisions\\\",\\\"description\\\":\\\"Durable IntakeReviewDecision record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"actionId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeAction\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"proposalId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeProposal\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"reviewVersion\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"bindingHash\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"decision\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_review_decisions\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"action_id\\\",\\\"review_version\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_review_decisions_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_review_decisions_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeReviewDecision\\\",\\\"collectionExportName\\\":\\\"IntakeReviewDecisionCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"actionId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"proposalId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"reviewVersion\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"bindingHash\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"decision\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_review_decisions\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_review_decisions\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"action_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"proposal_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"review_version\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"binding_hash\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"decision\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"action_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_actions\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"proposal_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_proposals\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"review_version\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"binding_hash\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"decision\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_review_decisions_tenant_id_action_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"action_id\\\",\\\"review_version\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_review_decisions_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_review_decisions_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_review_decisions_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_review_decisions_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_review_decisions_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_review_decisions_action_id_idx\\\",\\\"columns\\\":[\\\"action_id\\\"]},{\\\"name\\\":\\\"intake_review_decisions_proposal_id_idx\\\",\\\"columns\\\":[\\\"proposal_id\\\"]}],\\\"version\\\":\\\"80f24292\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeExecution\\\":{\\\"name\\\":\\\"intakeexecution\\\",\\\"className\\\":\\\"IntakeExecution\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeExecution\\\",\\\"collection\\\":\\\"intakeexecutions\\\",\\\"description\\\":\\\"Durable IntakeExecution record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"actionId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeAction\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"attemptNumber\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"fence\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"state\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"bindingHash\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"resultDigest\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"idempotencyKey\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_executions\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"action_id\\\",\\\"attempt_number\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_executions_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_executions_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]},{\\\"name\\\":\\\"intake_executions_state_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"state\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeExecution\\\",\\\"collectionExportName\\\":\\\"IntakeExecutionCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"actionId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"attemptNumber\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"fence\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"state\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"bindingHash\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"resultDigest\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"idempotencyKey\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_executions\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_executions\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"action_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"attempt_number\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"fence\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"binding_hash\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"result_digest\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"idempotency_key\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"action_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_actions\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"attempt_number\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"fence\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"binding_hash\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"result_digest\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"idempotency_key\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_executions_tenant_id_action_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"action_id\\\",\\\"attempt_number\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_executions_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_executions_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_executions_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_executions_state_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"state\\\"]},{\\\"name\\\":\\\"intake_executions_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_executions_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_executions_action_id_idx\\\",\\\"columns\\\":[\\\"action_id\\\"]}],\\\"version\\\":\\\"6a14ec3c\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeFeedback\\\":{\\\"name\\\":\\\"intakefeedback\\\",\\\"className\\\":\\\"IntakeFeedback\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeFeedback\\\",\\\"collection\\\":\\\"intakefeedbacks\\\",\\\"description\\\":\\\"Durable IntakeFeedback record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"requestKey\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"supersedesId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":false,\\\"related\\\":\\\"IntakeFeedback\\\",\\\"_meta\\\":{\\\"nullable\\\":true}},\\\"kind\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_feedback\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"request_key\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_feedback_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_feedback_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeFeedback\\\",\\\"collectionExportName\\\":\\\"IntakeFeedbackCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"requestKey\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"kind\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_feedback\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_feedback\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"request_key\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"supersedes_id\\\\\\\" UUID,\\\\n \\\\\\\"kind\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"request_key\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"supersedes_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":false,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_feedback\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"kind\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_feedback_tenant_id_item_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"request_key\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_feedback_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_feedback_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_feedback_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_feedback_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_feedback_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_feedback_supersedes_id_idx\\\",\\\"columns\\\":[\\\"supersedes_id\\\"]}],\\\"version\\\":\\\"087279a0\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeDispatch\\\":{\\\"name\\\":\\\"intakedispatch\\\",\\\"className\\\":\\\"IntakeDispatch\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeDispatch\\\",\\\"collection\\\":\\\"intakedispatches\\\",\\\"description\\\":\\\"Durable IntakeDispatch record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"stage\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"revision\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"state\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"jobId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"deliveries\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_dispatches\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"stage\\\",\\\"revision\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_dispatches_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_dispatches_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]},{\\\"name\\\":\\\"intake_dispatches_state_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"state\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeDispatch\\\",\\\"collectionExportName\\\":\\\"IntakeDispatchCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"stage\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"revision\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"state\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"jobId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"deliveries\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_dispatches\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_dispatches\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"stage\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"revision\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"job_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"deliveries\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"stage\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"revision\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"job_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"deliveries\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_dispatches_tenant_id_item_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"stage\\\",\\\"revision\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_dispatches_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_dispatches_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_dispatches_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_dispatches_state_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"state\\\"]},{\\\"name\\\":\\\"intake_dispatches_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_dispatches_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]}],\\\"version\\\":\\\"037a8ea3\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeDeletion\\\":{\\\"name\\\":\\\"intakedeletion\\\",\\\"className\\\":\\\"IntakeDeletion\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeDeletion\\\",\\\"collection\\\":\\\"intakedeletions\\\",\\\"description\\\":\\\"Durable IntakeDeletion record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"state\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_deletions\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_deletions_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_deletions_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]},{\\\"name\\\":\\\"intake_deletions_state_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"state\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeDeletion\\\",\\\"collectionExportName\\\":\\\"IntakeDeletionCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"state\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_deletions\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_deletions\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_deletions_tenant_id_item_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_deletions_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_deletions_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_deletions_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_deletions_state_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"state\\\"]},{\\\"name\\\":\\\"intake_deletions_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_deletions_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]}],\\\"version\\\":\\\"474ffa09\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"}},\\\"moduleType\\\":\\\"smrt\\\",\\\"recipes\\\":[{\\\"id\\\":\\\"ingestion.inbox\\\",\\\"className\\\":\\\"IngestionInboxRecipe\\\",\\\"label\\\":\\\"Ingestion inbox\\\",\\\"summary\\\":\\\"Review incoming material and see which items need attention.\\\",\\\"synonyms\\\":[\\\"intake inbox\\\",\\\"incoming documents\\\",\\\"review queue\\\"],\\\"models\\\":[\\\"@happyvertical/smrt-ingestion:IntakeItem\\\",\\\"@happyvertical/smrt-ingestion:IntakeEvidence\\\"],\\\"nav\\\":[],\\\"requires\\\":[],\\\"group\\\":{\\\"id\\\":\\\"ingestion\\\",\\\"label\\\":\\\"Ingestion\\\",\\\"summary\\\":\\\"Review incoming material safely before it can change records.\\\"},\\\"section\\\":{\\\"id\\\":\\\"ingestion\\\",\\\"label\\\":\\\"Ingestion\\\",\\\"icon\\\":\\\"archive\\\",\\\"description\\\":\\\"Incoming material and its authenticated review workflow.\\\"},\\\"help\\\":{\\\"markdown\\\":\\\"## Overview\\\\n\\\\nThe ingestion inbox is where an authenticated reviewer finds incoming material\\\\nthat needs attention. It keeps the original material and its related evidence\\\\ntogether, so a reviewer can understand what arrived before choosing a next\\\\nstep.\\\\n\\\\n## Tasks\\\\n\\\\n### Check items that need attention\\\\n\\\\n1. Open the ingestion inbox in an application that has configured an\\\\n authenticated review host.\\\\n2. Choose an item to inspect its evidence and current review state.\\\\n3. Open the item in Ingestion review when it has a proposed action.\\\\n\\\\n### Keep uncertain material for review\\\\n\\\\n1. Leave material in the inbox when there is not enough information to decide.\\\\n2. Return after the application has new information or a reviewer can make a\\\\n decision.\\\\n3. Do not treat an inbox item as permission to change another record.\\\\n\\\\n## Preview status\\\\n\\\\nThis recipe describes a preview workflow. The published evaluation did not meet\\\\nquality gates and did not establish safety, so automation remains disabled. It\\\\ndoes not configure a source, provider, generic record route, or automatic\\\\naction. Applications continue to use the scoped callbacks described in the\\\\ningestion review documentation.\\\\n\\\",\\\"fieldRefs\\\":[]},\\\"surfaces\\\":[{\\\"kind\\\":\\\"route\\\",\\\"path\\\":\\\"/ingestion/inbox\\\",\\\"export\\\":\\\"@happyvertical/smrt-ingestion/svelte#IntakeInbox\\\",\\\"label\\\":\\\"Ingestion inbox\\\"}],\\\"runtime\\\":\\\"both\\\",\\\"demo\\\":{\\\"mode\\\":\\\"server\\\",\\\"reasons\\\":[\\\"Needs a server because its package depends on @happyvertical/smrt-agents, @happyvertical/smrt-jobs, @happyvertical/smrt-profiles, @happyvertical/smrt-reports, @happyvertical/smrt-secrets, @happyvertical/smrt-tenancy, @happyvertical/smrt-users, which do not build for a browser (#3615, #3617, #3624, #3625, #3626, #3627).\\\"]}},{\\\"id\\\":\\\"ingestion.review\\\",\\\"className\\\":\\\"IngestionReviewRecipe\\\",\\\"label\\\":\\\"Ingestion review\\\",\\\"summary\\\":\\\"Inspect evidence and approve, change, reject, or defer proposed actions.\\\",\\\"synonyms\\\":[\\\"intake review\\\",\\\"proposal review\\\",\\\"human approval\\\"],\\\"models\\\":[\\\"@happyvertical/smrt-ingestion:IntakeItem\\\",\\\"@happyvertical/smrt-ingestion:IntakeEvidence\\\",\\\"@happyvertical/smrt-ingestion:IntakeAnalysis\\\",\\\"@happyvertical/smrt-ingestion:IntakeAction\\\",\\\"@happyvertical/smrt-ingestion:IntakeReviewDecision\\\"],\\\"nav\\\":[],\\\"requires\\\":[],\\\"group\\\":{\\\"id\\\":\\\"ingestion\\\",\\\"label\\\":\\\"Ingestion\\\",\\\"summary\\\":\\\"Review incoming material safely before it can change records.\\\"},\\\"section\\\":{\\\"id\\\":\\\"ingestion\\\",\\\"label\\\":\\\"Ingestion\\\",\\\"icon\\\":\\\"archive\\\",\\\"description\\\":\\\"Incoming material and its authenticated review workflow.\\\"},\\\"help\\\":{\\\"markdown\\\":\\\"## Overview\\\\n\\\\nIngestion review lets an authorized person inspect the evidence behind a\\\\nproposed action before it can affect another record. A decision is tied to the\\\\nspecific material and proposal that the reviewer saw.\\\\n\\\\n## Tasks\\\\n\\\\n### Review a proposed action\\\\n\\\\n1. Open an inbox item that has a proposed action.\\\\n2. Read the evidence and the proposed result in the authenticated review host.\\\\n3. Approve, change, reject, or defer the proposal according to the current\\\\n application policy.\\\\n\\\\n### Return to an item after it changes\\\\n\\\\n1. Refresh the review when the host indicates that the material or proposal has\\\\n changed.\\\\n2. Review the current proposal before making a decision.\\\\n3. Leave a proposal deferred when its evidence or destination is still\\\\n uncertain.\\\\n\\\\n## Preview status\\\\n\\\\nThis recipe describes a preview workflow. The published evaluation did not meet\\\\nquality gates and did not establish safety, so automation remains disabled. It\\\\ndoes not create a generic editing surface or enable automatic execution. A host\\\\nrechecks the reviewer, scope, and current proposal before it accepts a decision.\\\\n\\\",\\\"fieldRefs\\\":[]},\\\"surfaces\\\":[{\\\"kind\\\":\\\"route\\\",\\\"path\\\":\\\"/ingestion/review\\\",\\\"export\\\":\\\"@happyvertical/smrt-ingestion/svelte#IntakeReview\\\",\\\"label\\\":\\\"Ingestion review\\\"}],\\\"runtime\\\":\\\"both\\\",\\\"demo\\\":{\\\"mode\\\":\\\"server\\\",\\\"reasons\\\":[\\\"Needs a server because its package depends on @happyvertical/smrt-agents, @happyvertical/smrt-jobs, @happyvertical/smrt-profiles, @happyvertical/smrt-reports, @happyvertical/smrt-secrets, @happyvertical/smrt-tenancy, @happyvertical/smrt-users, which do not build for a browser (#3615, #3617, #3624, #3625, #3626, #3627).\\\"]}}],\\\"smrtDependencies\\\":[\\\"@happyvertical/smrt-agents\\\",\\\"@happyvertical/smrt-assets\\\",\\\"@happyvertical/smrt-content\\\",\\\"@happyvertical/smrt-core\\\",\\\"@happyvertical/smrt-jobs\\\",\\\"@happyvertical/smrt-messages\\\",\\\"@happyvertical/smrt-playbooks\\\",\\\"@happyvertical/smrt-tenancy\\\",\\\"@happyvertical/smrt-users\\\"],\\\"browser\\\":{\\\"status\\\":\\\"server-only\\\",\\\"issues\\\":[\\\"#3615\\\",\\\"#3617\\\",\\\"#3624\\\",\\\"#3625\\\",\\\"#3626\\\",\\\"#3627\\\"],\\\"via\\\":[\\\"@happyvertical/smrt-agents\\\",\\\"@happyvertical/smrt-jobs\\\",\\\"@happyvertical/smrt-profiles\\\",\\\"@happyvertical/smrt-reports\\\",\\\"@happyvertical/smrt-secrets\\\",\\\"@happyvertical/smrt-tenancy\\\",\\\"@happyvertical/smrt-users\\\"]},\\\"stampsConstructors\\\":true}\"));\n","import './__smrt-register__.js';\nimport {\n crossPackageRef,\n field,\n foreignKey,\n SmrtObject,\n smrt,\n} from '@happyvertical/smrt-core';\nimport { TenantScoped, tenantId } from '@happyvertical/smrt-tenancy';\n\n/** Durable IntakeItem record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_items',\n conflictColumns: ['tenant_id', 'source_id', 'delivery_key'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_items_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_items_expiry_idx', columns: ['tenantId', 'expiresAt'] },\n {\n name: 'intake_items_receipt_idx',\n columns: ['tenantId', 'receiptState', 'leaseUntil'],\n },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeItem extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @field({ type: 'text', required: true })\n sourceId: string = '';\n\n @field({ type: 'text', required: true })\n sourceVersion: string = '';\n\n @field({ type: 'text', required: true })\n deliveryKey: string = '';\n\n @field({ type: 'text', required: true })\n payloadDigest: string = '';\n\n @field({ type: 'text', required: true })\n scopeDigest: string = '';\n\n @field({ type: 'text', required: true })\n receiptState: string = '';\n\n @field({ type: 'text', required: true })\n processingState: string = '';\n\n @field({ type: 'text', required: true })\n visibility: string = '';\n\n @field({ type: 'integer', required: true })\n receiptVersion: number = 0;\n\n @field({ type: 'integer', required: true })\n analysisRevision: number = 0;\n\n @field({ type: 'integer', required: true })\n fence: number = 0;\n\n @field({ type: 'text', required: true })\n leaseToken: string = '';\n\n @field({ type: 'datetime', nullable: true })\n leaseUntil: Date | null = null;\n\n @field({ type: 'datetime', required: true })\n expiresAt: Date = new Date();\n\n @field({ type: 'datetime', required: true })\n replayUntil: Date = new Date();\n\n @field({ type: 'boolean', required: true })\n cancelled: boolean = false;\n\n @field({ type: 'text', required: true })\n traceId: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeEvidence record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_evidence',\n conflictColumns: ['tenant_id', 'item_id', 'part_id'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_evidence_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_evidence_item_idx', columns: ['tenantId', 'itemId'] },\n { name: 'intake_evidence_state_idx', columns: ['tenantId', 'state'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeEvidence extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @field({ type: 'text', required: true })\n partId: string = '';\n\n @foreignKey('IntakeEvidence', { nullable: true })\n parentEvidenceId: string | null = null;\n\n // Privacy deletion clears the live owner link; evidence/receipt IDs survive.\n @crossPackageRef('@happyvertical/smrt-assets:Asset', {\n nullable: true,\n onDelete: 'SET NULL',\n })\n assetId: string | null = null;\n\n @field({ type: 'text', required: true })\n state: string = '';\n\n @field({ type: 'text', required: true })\n contentHash: string = '';\n\n @field({ type: 'integer', required: true })\n byteLength: number = 0;\n\n @field({ type: 'text', required: true })\n mediaType: string = '';\n\n @field({ type: 'text', required: true })\n sourceUri: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeAnalysis record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_analyses',\n conflictColumns: ['tenant_id', 'item_id', 'revision'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_analyses_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_analyses_item_idx', columns: ['tenantId', 'itemId'] },\n { name: 'intake_analyses_state_idx', columns: ['tenantId', 'state'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeAnalysis extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @field({ type: 'integer', required: true })\n revision: number = 0;\n\n @field({ type: 'integer', required: true })\n fence: number = 0;\n\n @field({ type: 'integer', required: true })\n attemptNumber: number = 0;\n\n @foreignKey('IntakeAnalysisAttempt', { nullable: true })\n currentAttemptId: string | null = null;\n\n @field({ type: 'text', required: true })\n state: string = '';\n\n @field({ type: 'text', required: true })\n inputDigest: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeAnalysisAttempt record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_analysis_attempts',\n conflictColumns: ['tenant_id', 'analysis_id', 'attempt_number'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_analysis_attempts_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n {\n name: 'intake_analysis_attempts_item_idx',\n columns: ['tenantId', 'itemId'],\n },\n {\n name: 'intake_analysis_attempts_state_idx',\n columns: ['tenantId', 'state'],\n },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeAnalysisAttempt extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @foreignKey('IntakeAnalysis', { required: true })\n analysisId: string = '';\n\n @field({ type: 'integer', required: true })\n attemptNumber: number = 0;\n\n @field({ type: 'integer', required: true })\n fence: number = 0;\n\n @field({ type: 'text', required: true })\n state: string = '';\n\n @field({ type: 'text', required: true })\n leaseToken: string = '';\n\n @field({ type: 'datetime', nullable: true })\n leaseUntil: Date | null = null;\n\n @field({ type: 'text', required: true })\n outputDigest: string = '';\n\n @field({ type: 'text', required: true })\n safeError: string = '';\n\n @field({ type: 'decimal', nullable: true })\n confidence: number | null = null;\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakePlan record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_plans',\n conflictColumns: ['tenant_id', 'item_id', 'plan_key', 'revision'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_plans_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_plans_item_idx', columns: ['tenantId', 'itemId'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakePlan extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @field({ type: 'text', required: true })\n planKey: string = '';\n\n @field({ type: 'integer', required: true })\n revision: number = 0;\n\n @field({ type: 'text', required: true })\n digest: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeAction record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_actions',\n conflictColumns: ['tenant_id', 'item_id', 'action_key'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_actions_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_actions_item_idx', columns: ['tenantId', 'itemId'] },\n { name: 'intake_actions_state_idx', columns: ['tenantId', 'state'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeAction extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @field({ type: 'text', required: true })\n actionKey: string = '';\n\n @field({ type: 'text', required: true })\n state: string = '';\n\n @field({ type: 'integer', required: true })\n proposalRevision: number = 0;\n\n @field({ type: 'integer', required: true })\n reviewVersion: number = 0;\n\n @field({ type: 'integer', required: true })\n executionAttempt: number = 0;\n\n @field({ type: 'integer', required: true })\n fence: number = 0;\n\n @field({ type: 'text', required: true })\n resultDigest: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeProposal record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_proposals',\n conflictColumns: ['tenant_id', 'action_id', 'revision'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_proposals_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_proposals_item_idx', columns: ['tenantId', 'itemId'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeProposal extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @foreignKey('IntakeAction', { required: true })\n actionId: string = '';\n\n @foreignKey('IntakeAnalysis', { required: true })\n analysisId: string = '';\n\n @foreignKey('IntakeAnalysisAttempt', { required: true })\n analysisAttemptId: string = '';\n\n @field({ type: 'integer', required: true })\n revision: number = 0;\n\n @field({ type: 'text', required: true })\n bindingHash: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeReviewDecision record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_review_decisions',\n conflictColumns: ['tenant_id', 'action_id', 'review_version'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_review_decisions_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n {\n name: 'intake_review_decisions_item_idx',\n columns: ['tenantId', 'itemId'],\n },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeReviewDecision extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @foreignKey('IntakeAction', { required: true })\n actionId: string = '';\n\n @foreignKey('IntakeProposal', { required: true })\n proposalId: string = '';\n\n @field({ type: 'integer', required: true })\n reviewVersion: number = 0;\n\n @field({ type: 'text', required: true })\n bindingHash: string = '';\n\n @field({ type: 'text', required: true })\n decision: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeExecution record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_executions',\n conflictColumns: ['tenant_id', 'action_id', 'attempt_number'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_executions_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_executions_item_idx', columns: ['tenantId', 'itemId'] },\n { name: 'intake_executions_state_idx', columns: ['tenantId', 'state'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeExecution extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @foreignKey('IntakeAction', { required: true })\n actionId: string = '';\n\n @field({ type: 'integer', required: true })\n attemptNumber: number = 0;\n\n @field({ type: 'integer', required: true })\n fence: number = 0;\n\n @field({ type: 'text', required: true })\n state: string = '';\n\n @field({ type: 'text', required: true })\n bindingHash: string = '';\n\n @field({ type: 'text', required: true })\n resultDigest: string = '';\n\n @field({ type: 'text', required: true })\n idempotencyKey: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeFeedback record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_feedback',\n conflictColumns: ['tenant_id', 'item_id', 'request_key'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_feedback_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_feedback_item_idx', columns: ['tenantId', 'itemId'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeFeedback extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @field({ type: 'text', required: true })\n requestKey: string = '';\n\n @foreignKey('IntakeFeedback', { nullable: true })\n supersedesId: string | null = null;\n\n @field({ type: 'text', required: true })\n kind: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeDispatch record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_dispatches',\n conflictColumns: ['tenant_id', 'item_id', 'stage', 'revision'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_dispatches_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_dispatches_item_idx', columns: ['tenantId', 'itemId'] },\n { name: 'intake_dispatches_state_idx', columns: ['tenantId', 'state'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeDispatch extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @field({ type: 'text', required: true })\n stage: string = '';\n\n @field({ type: 'integer', required: true })\n revision: number = 0;\n\n @field({ type: 'text', required: true })\n state: string = '';\n\n @field({ type: 'text', required: true })\n jobId: string = '';\n\n @field({ type: 'integer', required: true })\n deliveries: number = 0;\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeDeletion record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_deletions',\n conflictColumns: ['tenant_id', 'item_id'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_deletions_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_deletions_item_idx', columns: ['tenantId', 'itemId'] },\n { name: 'intake_deletions_state_idx', columns: ['tenantId', 'state'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeDeletion extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @field({ type: 'text', required: true })\n state: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n"],"mappings":";;;AAOA,eAAe,wBAAwB,KAAK,MAAM,++kEAAuo2E,CAAC;;;;;;;;;;;;;;;;;;ACuBnr2E,IAAM,aAAN,cAAyB,WAAW;CAEzC,WAAmB;CAEnB,sBAA8B;CAG9B,WAAmB;CAGnB,gBAAwB;CAGxB,cAAsB;CAGtB,gBAAwB;CAGxB,cAAsB;CAGtB,eAAuB;CAGvB,kBAA0B;CAG1B,aAAqB;CAGrB,iBAAyB;CAGzB,mBAA2B;CAG3B,QAAgB;CAGhB,aAAqB;CAGrB,aAA0B;CAG1B,4BAAkB,IAAI,KAAK;CAG3B,8BAAoB,IAAI,KAAK;CAG7B,YAAqB;CAGrB,UAAkB;CAGlB,OAAe;;CAGf,UAAmC;EACjC,MAAM,QACJ,OAAO,KAAK,SAAS,WAAW,KAAK,MAAM,KAAK,IAAI,IAAI,KAAK;EAC/D,IAAI,CAAC,SAAS,OAAO,UAAU,YAAY,MAAM,QAAQ,KAAK,GAC5D,MAAM,IAAI,MAAM,wBAAwB;EAC1C,OAAO;CACT;AACF;AApE6C,cAAhC,YAAuC,mBAAkB,+BAAA;AAEpE,gBAAA,CADC,SAAS,CAAA,GADC,WAEX,WAAA,YAAA,CAAA;AAEA,gBAAA,CADC,MAAM;CAAE,MAAM;CAAQ,UAAU;AAAK,CAAC,CAAA,GAH5B,WAIX,WAAA,uBAAA,CAAA;AAGA,gBAAA,CADC,MAAM;CAAE,MAAM;CAAQ,UAAU;AAAK,CAAC,CAAA,GAN5B,WAOX,WAAA,YAAA,CAAA;AAGA,gBAAA,CADC,MAAM;CAAE,MAAM;CAAQ,UAAU;AAAK,CAAC,CAAA,GAT5B,WAUX,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AQ,UAAU;AAAK,CAAC,CAAA,GAZ5B,eAaX,WAAA,QAAA,CAAA;AAbW,iBAAN,gBAAA,CAhBN,KAAK;CACJ,WAAW;CACX,iBAAiB,CAAC,aAAa,SAAS;CACxC,KAAK;CACL,KAAK;CACL,KAAK;CACL,SAAS;EACP;GACE,MAAM;GACN,SAAS,CAAC,YAAY,qBAAqB;EAC7C;EACA;GAAE,MAAM;GAA6B,SAAS,CAAC,YAAY,QAAQ;EAAE;EACrE;GAAE,MAAM;GAA8B,SAAS,CAAC,YAAY,OAAO;EAAE;CACvE;AACF,CAAC,GACA,aAAa,EAAE,MAAM,WAAW,CAAC,CAAA,GACrB,cAAA"}
|
|
1
|
+
{"version":3,"file":"models.js","names":[],"sources":["../src/__smrt-register__.ts","../src/models.ts"],"sourcesContent":["// Generated by @happyvertical/smrt-core smrtPlugin at library build time.\n// The package manifest is inlined so self-registration cannot miss when a\n// downstream bundler relocates this module away from dist/manifest.json\n// (https://github.com/happyvertical/smrt/issues/1506,\n// https://github.com/happyvertical/smrt/issues/1507).\nimport { ObjectRegistry } from '@happyvertical/smrt-core';\n\nObjectRegistry.registerPackageManifest(JSON.parse(\"{\\\"version\\\":\\\"1.0.0\\\",\\\"timestamp\\\":0,\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"packageVersion\\\":\\\"0.57.4\\\",\\\"objects\\\":{\\\"@happyvertical/smrt-ingestion:IntakeItem\\\":{\\\"name\\\":\\\"intakeitem\\\",\\\"className\\\":\\\"IntakeItem\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeItem\\\",\\\"collection\\\":\\\"intakeitems\\\",\\\"description\\\":\\\"Durable IntakeItem record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"sourceId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"sourceVersion\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"deliveryKey\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"payloadDigest\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"scopeDigest\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"receiptState\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"processingState\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"visibility\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"receiptVersion\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"analysisRevision\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"fence\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"leaseToken\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"leaseUntil\\\":{\\\"type\\\":\\\"datetime\\\",\\\"required\\\":false,\\\"_meta\\\":{\\\"nullable\\\":true}},\\\"expiresAt\\\":{\\\"type\\\":\\\"datetime\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"replayUntil\\\":{\\\"type\\\":\\\"datetime\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"cancelled\\\":{\\\"type\\\":\\\"boolean\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"traceId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_items\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"source_id\\\",\\\"delivery_key\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_items_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_items_expiry_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"expiresAt\\\"]},{\\\"name\\\":\\\"intake_items_receipt_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"receiptState\\\",\\\"leaseUntil\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeItem\\\",\\\"collectionExportName\\\":\\\"IntakeItemCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"sourceId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"sourceVersion\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"deliveryKey\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"payloadDigest\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"scopeDigest\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"receiptState\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"processingState\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"visibility\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"receiptVersion\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"analysisRevision\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"fence\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"leaseToken\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"expiresAt\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"datetime\\\"},{\\\"field\\\":\\\"replayUntil\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"datetime\\\"},{\\\"field\\\":\\\"cancelled\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"boolean\\\"},{\\\"field\\\":\\\"traceId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_items\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_items\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"source_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"source_version\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"delivery_key\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"payload_digest\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"scope_digest\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"receipt_state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"processing_state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"visibility\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"receipt_version\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"analysis_revision\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"fence\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"lease_token\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"lease_until\\\\\\\" TIMESTAMP,\\\\n \\\\\\\"expires_at\\\\\\\" TIMESTAMP NOT NULL,\\\\n \\\\\\\"replay_until\\\\\\\" TIMESTAMP NOT NULL,\\\\n \\\\\\\"cancelled\\\\\\\" BOOLEAN NOT NULL,\\\\n \\\\\\\"trace_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"source_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"source_version\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"delivery_key\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"payload_digest\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"scope_digest\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"receipt_state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"processing_state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"visibility\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"receipt_version\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"analysis_revision\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"fence\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"lease_token\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"lease_until\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":false,\\\"unique\\\":false},\\\"expires_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"replay_until\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"cancelled\\\":{\\\"type\\\":\\\"BOOLEAN\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"trace_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_items_tenant_id_source_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"source_id\\\",\\\"delivery_key\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_items_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_items_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_items_expiry_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"expires_at\\\"]},{\\\"name\\\":\\\"intake_items_receipt_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"receipt_state\\\",\\\"lease_until\\\"]},{\\\"name\\\":\\\"intake_items_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]}],\\\"version\\\":\\\"c1267254\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeEvidence\\\":{\\\"name\\\":\\\"intakeevidence\\\",\\\"className\\\":\\\"IntakeEvidence\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeEvidence\\\",\\\"collection\\\":\\\"intakeevidences\\\",\\\"description\\\":\\\"Durable IntakeEvidence record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"partId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"parentEvidenceId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":false,\\\"related\\\":\\\"IntakeEvidence\\\",\\\"_meta\\\":{\\\"nullable\\\":true}},\\\"assetId\\\":{\\\"type\\\":\\\"crossPackageRef\\\",\\\"required\\\":false,\\\"related\\\":\\\"@happyvertical/smrt-assets:Asset\\\",\\\"_meta\\\":{\\\"nullable\\\":true,\\\"onDelete\\\":\\\"SET NULL\\\"}},\\\"state\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"contentHash\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"byteLength\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"mediaType\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"sourceUri\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_evidence\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"part_id\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_evidence_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_evidence_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]},{\\\"name\\\":\\\"intake_evidence_state_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"state\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeEvidence\\\",\\\"collectionExportName\\\":\\\"IntakeEvidenceCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"partId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"state\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"contentHash\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"byteLength\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"mediaType\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"sourceUri\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_evidence\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_evidence\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"part_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"parent_evidence_id\\\\\\\" UUID,\\\\n \\\\\\\"asset_id\\\\\\\" UUID,\\\\n \\\\\\\"state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"content_hash\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"byte_length\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"media_type\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"source_uri\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"part_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"parent_evidence_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":false,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_evidence\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"asset_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"crossPackageRef\\\",\\\"notNull\\\":false,\\\"unique\\\":false},\\\"state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"content_hash\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"byte_length\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"media_type\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"source_uri\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_evidence_tenant_id_item_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"part_id\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_evidence_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_evidence_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_evidence_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_evidence_state_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"state\\\"]},{\\\"name\\\":\\\"intake_evidence_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_evidence_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_evidence_parent_evidence_id_idx\\\",\\\"columns\\\":[\\\"parent_evidence_id\\\"]},{\\\"name\\\":\\\"intake_evidence_asset_id_idx\\\",\\\"columns\\\":[\\\"asset_id\\\"]}],\\\"version\\\":\\\"503a292c\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeAnalysis\\\":{\\\"name\\\":\\\"intakeanalysis\\\",\\\"className\\\":\\\"IntakeAnalysis\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeAnalysis\\\",\\\"collection\\\":\\\"intakeanalysises\\\",\\\"description\\\":\\\"Durable IntakeAnalysis record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"revision\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"fence\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"attemptNumber\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"currentAttemptId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":false,\\\"related\\\":\\\"IntakeAnalysisAttempt\\\",\\\"_meta\\\":{\\\"nullable\\\":true}},\\\"state\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"inputDigest\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_analyses\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"revision\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_analyses_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_analyses_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]},{\\\"name\\\":\\\"intake_analyses_state_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"state\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeAnalysis\\\",\\\"collectionExportName\\\":\\\"IntakeAnalysisCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"revision\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"fence\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"attemptNumber\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"state\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"inputDigest\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_analyses\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_analyses\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"revision\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"fence\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"attempt_number\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"current_attempt_id\\\\\\\" UUID,\\\\n \\\\\\\"state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"input_digest\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"revision\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"fence\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"attempt_number\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"current_attempt_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":false,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_analysis_attempts\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"input_digest\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_analyses_tenant_id_item_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"revision\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_analyses_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_analyses_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_analyses_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_analyses_state_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"state\\\"]},{\\\"name\\\":\\\"intake_analyses_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_analyses_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_analyses_current_attempt_id_idx\\\",\\\"columns\\\":[\\\"current_attempt_id\\\"]}],\\\"version\\\":\\\"7c76601a\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeAnalysisAttempt\\\":{\\\"name\\\":\\\"intakeanalysisattempt\\\",\\\"className\\\":\\\"IntakeAnalysisAttempt\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeAnalysisAttempt\\\",\\\"collection\\\":\\\"intakeanalysisattempts\\\",\\\"description\\\":\\\"Durable IntakeAnalysisAttempt record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"analysisId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeAnalysis\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"attemptNumber\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"fence\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"state\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"leaseToken\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"leaseUntil\\\":{\\\"type\\\":\\\"datetime\\\",\\\"required\\\":false,\\\"_meta\\\":{\\\"nullable\\\":true}},\\\"outputDigest\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"safeError\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"confidence\\\":{\\\"type\\\":\\\"decimal\\\",\\\"required\\\":false,\\\"_meta\\\":{\\\"nullable\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_analysis_attempts\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"analysis_id\\\",\\\"attempt_number\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_analysis_attempts_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_analysis_attempts_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]},{\\\"name\\\":\\\"intake_analysis_attempts_state_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"state\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeAnalysisAttempt\\\",\\\"collectionExportName\\\":\\\"IntakeAnalysisAttemptCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"analysisId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"attemptNumber\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"fence\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"state\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"leaseToken\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"outputDigest\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"safeError\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_analysis_attempts\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_analysis_attempts\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"analysis_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"attempt_number\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"fence\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"lease_token\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"lease_until\\\\\\\" TIMESTAMP,\\\\n \\\\\\\"output_digest\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"safe_error\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"confidence\\\\\\\" REAL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"analysis_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_analyses\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"attempt_number\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"fence\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"lease_token\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"lease_until\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":false,\\\"unique\\\":false},\\\"output_digest\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"safe_error\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidence\\\":{\\\"type\\\":\\\"REAL\\\",\\\"notNull\\\":false,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_analysis_attempts_tenant_id_analysis_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"analysis_id\\\",\\\"attempt_number\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_analysis_attempts_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_analysis_attempts_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_analysis_attempts_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_analysis_attempts_state_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"state\\\"]},{\\\"name\\\":\\\"intake_analysis_attempts_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_analysis_attempts_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_analysis_attempts_analysis_id_idx\\\",\\\"columns\\\":[\\\"analysis_id\\\"]}],\\\"version\\\":\\\"b51f7c2d\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakePlan\\\":{\\\"name\\\":\\\"intakeplan\\\",\\\"className\\\":\\\"IntakePlan\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakePlan\\\",\\\"collection\\\":\\\"intakeplans\\\",\\\"description\\\":\\\"Durable IntakePlan record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"planKey\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"revision\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"digest\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_plans\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"plan_key\\\",\\\"revision\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_plans_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_plans_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakePlan\\\",\\\"collectionExportName\\\":\\\"IntakePlanCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"planKey\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"revision\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"digest\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_plans\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_plans\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"plan_key\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"revision\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"digest\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"plan_key\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"revision\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"digest\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_plans_tenant_id_item_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"plan_key\\\",\\\"revision\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_plans_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_plans_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_plans_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_plans_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_plans_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]}],\\\"version\\\":\\\"ade3ae21\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeAction\\\":{\\\"name\\\":\\\"intakeaction\\\",\\\"className\\\":\\\"IntakeAction\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeAction\\\",\\\"collection\\\":\\\"intakeactions\\\",\\\"description\\\":\\\"Durable IntakeAction record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"actionKey\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"state\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"proposalRevision\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"reviewVersion\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"executionAttempt\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"fence\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"resultDigest\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_actions\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"action_key\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_actions_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_actions_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]},{\\\"name\\\":\\\"intake_actions_state_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"state\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeAction\\\",\\\"collectionExportName\\\":\\\"IntakeActionCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"actionKey\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"state\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"proposalRevision\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"reviewVersion\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"executionAttempt\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"fence\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"resultDigest\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_actions\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_actions\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"action_key\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"proposal_revision\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"review_version\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"execution_attempt\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"fence\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"result_digest\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"action_key\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"proposal_revision\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"review_version\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"execution_attempt\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"fence\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"result_digest\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_actions_tenant_id_item_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"action_key\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_actions_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_actions_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_actions_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_actions_state_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"state\\\"]},{\\\"name\\\":\\\"intake_actions_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_actions_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]}],\\\"version\\\":\\\"a6d52621\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeProposal\\\":{\\\"name\\\":\\\"intakeproposal\\\",\\\"className\\\":\\\"IntakeProposal\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeProposal\\\",\\\"collection\\\":\\\"intakeproposals\\\",\\\"description\\\":\\\"Durable IntakeProposal record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"actionId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeAction\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"analysisId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeAnalysis\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"analysisAttemptId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeAnalysisAttempt\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"revision\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"bindingHash\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_proposals\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"action_id\\\",\\\"revision\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_proposals_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_proposals_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeProposal\\\",\\\"collectionExportName\\\":\\\"IntakeProposalCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"actionId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"analysisId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"analysisAttemptId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"revision\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"bindingHash\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_proposals\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_proposals\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"action_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"analysis_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"analysis_attempt_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"revision\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"binding_hash\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"action_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_actions\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"analysis_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_analyses\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"analysis_attempt_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_analysis_attempts\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"revision\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"binding_hash\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_proposals_tenant_id_action_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"action_id\\\",\\\"revision\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_proposals_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_proposals_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_proposals_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_proposals_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_proposals_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_proposals_action_id_idx\\\",\\\"columns\\\":[\\\"action_id\\\"]},{\\\"name\\\":\\\"intake_proposals_analysis_id_idx\\\",\\\"columns\\\":[\\\"analysis_id\\\"]},{\\\"name\\\":\\\"intake_proposals_analysis_attempt_id_idx\\\",\\\"columns\\\":[\\\"analysis_attempt_id\\\"]}],\\\"version\\\":\\\"fe602385\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeReviewDecision\\\":{\\\"name\\\":\\\"intakereviewdecision\\\",\\\"className\\\":\\\"IntakeReviewDecision\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeReviewDecision\\\",\\\"collection\\\":\\\"intakereviewdecisions\\\",\\\"description\\\":\\\"Durable IntakeReviewDecision record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"actionId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeAction\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"proposalId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeProposal\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"reviewVersion\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"bindingHash\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"decision\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_review_decisions\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"action_id\\\",\\\"review_version\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_review_decisions_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_review_decisions_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeReviewDecision\\\",\\\"collectionExportName\\\":\\\"IntakeReviewDecisionCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"actionId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"proposalId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"reviewVersion\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"bindingHash\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"decision\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_review_decisions\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_review_decisions\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"action_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"proposal_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"review_version\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"binding_hash\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"decision\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"action_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_actions\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"proposal_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_proposals\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"review_version\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"binding_hash\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"decision\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_review_decisions_tenant_id_action_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"action_id\\\",\\\"review_version\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_review_decisions_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_review_decisions_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_review_decisions_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_review_decisions_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_review_decisions_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_review_decisions_action_id_idx\\\",\\\"columns\\\":[\\\"action_id\\\"]},{\\\"name\\\":\\\"intake_review_decisions_proposal_id_idx\\\",\\\"columns\\\":[\\\"proposal_id\\\"]}],\\\"version\\\":\\\"80f24292\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeExecution\\\":{\\\"name\\\":\\\"intakeexecution\\\",\\\"className\\\":\\\"IntakeExecution\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeExecution\\\",\\\"collection\\\":\\\"intakeexecutions\\\",\\\"description\\\":\\\"Durable IntakeExecution record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"actionId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeAction\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"attemptNumber\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"fence\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"state\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"bindingHash\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"resultDigest\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"idempotencyKey\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_executions\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"action_id\\\",\\\"attempt_number\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_executions_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_executions_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]},{\\\"name\\\":\\\"intake_executions_state_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"state\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeExecution\\\",\\\"collectionExportName\\\":\\\"IntakeExecutionCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"actionId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"attemptNumber\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"fence\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"state\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"bindingHash\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"resultDigest\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"idempotencyKey\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_executions\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_executions\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"action_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"attempt_number\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"fence\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"binding_hash\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"result_digest\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"idempotency_key\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"action_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_actions\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"attempt_number\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"fence\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"binding_hash\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"result_digest\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"idempotency_key\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_executions_tenant_id_action_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"action_id\\\",\\\"attempt_number\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_executions_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_executions_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_executions_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_executions_state_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"state\\\"]},{\\\"name\\\":\\\"intake_executions_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_executions_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_executions_action_id_idx\\\",\\\"columns\\\":[\\\"action_id\\\"]}],\\\"version\\\":\\\"6a14ec3c\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeFeedback\\\":{\\\"name\\\":\\\"intakefeedback\\\",\\\"className\\\":\\\"IntakeFeedback\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeFeedback\\\",\\\"collection\\\":\\\"intakefeedbacks\\\",\\\"description\\\":\\\"Durable IntakeFeedback record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"requestKey\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"supersedesId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":false,\\\"related\\\":\\\"IntakeFeedback\\\",\\\"_meta\\\":{\\\"nullable\\\":true}},\\\"kind\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_feedback\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"request_key\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_feedback_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_feedback_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeFeedback\\\",\\\"collectionExportName\\\":\\\"IntakeFeedbackCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"requestKey\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"kind\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_feedback\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_feedback\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"request_key\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"supersedes_id\\\\\\\" UUID,\\\\n \\\\\\\"kind\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"request_key\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"supersedes_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":false,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_feedback\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"NO ACTION\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"kind\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_feedback_tenant_id_item_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"request_key\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_feedback_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_feedback_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_feedback_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_feedback_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_feedback_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_feedback_supersedes_id_idx\\\",\\\"columns\\\":[\\\"supersedes_id\\\"]}],\\\"version\\\":\\\"087279a0\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeDispatch\\\":{\\\"name\\\":\\\"intakedispatch\\\",\\\"className\\\":\\\"IntakeDispatch\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeDispatch\\\",\\\"collection\\\":\\\"intakedispatches\\\",\\\"description\\\":\\\"Durable IntakeDispatch record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"stage\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"revision\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"state\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"jobId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"deliveries\\\":{\\\"type\\\":\\\"integer\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_dispatches\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"stage\\\",\\\"revision\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_dispatches_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_dispatches_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]},{\\\"name\\\":\\\"intake_dispatches_state_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"state\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeDispatch\\\",\\\"collectionExportName\\\":\\\"IntakeDispatchCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"stage\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"revision\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"state\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"jobId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"deliveries\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"integer\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_dispatches\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_dispatches\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"stage\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"revision\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"job_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"deliveries\\\\\\\" INTEGER NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"stage\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"revision\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"job_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"deliveries\\\":{\\\"type\\\":\\\"INTEGER\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_dispatches_tenant_id_item_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\",\\\"stage\\\",\\\"revision\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_dispatches_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_dispatches_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_dispatches_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_dispatches_state_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"state\\\"]},{\\\"name\\\":\\\"intake_dispatches_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_dispatches_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]}],\\\"version\\\":\\\"037a8ea3\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"},\\\"@happyvertical/smrt-ingestion:IntakeDeletion\\\":{\\\"name\\\":\\\"intakedeletion\\\",\\\"className\\\":\\\"IntakeDeletion\\\",\\\"qualifiedName\\\":\\\"@happyvertical/smrt-ingestion:IntakeDeletion\\\",\\\"collection\\\":\\\"intakedeletions\\\",\\\"description\\\":\\\"Durable IntakeDeletion record; mutations belong to the server service.\\\",\\\"filePath\\\":\\\"/home/runner/work/smrt/smrt/packages/ingestion/src/models.ts\\\",\\\"packageName\\\":\\\"@happyvertical/smrt-ingestion\\\",\\\"fields\\\":{\\\"tenantId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"sqlType\\\":\\\"UUID\\\",\\\"__tenancy\\\":{\\\"isTenantIdField\\\":true,\\\"autoFilter\\\":true,\\\"required\\\":true,\\\"autoPopulate\\\":true,\\\"nullable\\\":false,\\\"mode\\\":\\\"required\\\",\\\"field\\\":\\\"tenantId\\\",\\\"allowSuperAdminBypass\\\":false}}},\\\"confidentialScopeId\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"itemId\\\":{\\\"type\\\":\\\"foreignKey\\\",\\\"required\\\":true,\\\"related\\\":\\\"IntakeItem\\\",\\\"_meta\\\":{\\\"required\\\":true}},\\\"state\\\":{\\\"type\\\":\\\"text\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}},\\\"data\\\":{\\\"type\\\":\\\"json\\\",\\\"required\\\":true,\\\"_meta\\\":{\\\"required\\\":true}}},\\\"methods\\\":{\\\"getData\\\":{\\\"name\\\":\\\"getData\\\",\\\"async\\\":false,\\\"parameters\\\":[],\\\"returnType\\\":\\\"Record<string, unknown>\\\",\\\"isStatic\\\":false,\\\"isPublic\\\":true}},\\\"decoratorConfig\\\":{\\\"tableName\\\":\\\"intake_deletions\\\",\\\"conflictColumns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"],\\\"api\\\":false,\\\"cli\\\":false,\\\"mcp\\\":false,\\\"indexes\\\":[{\\\"name\\\":\\\"intake_deletions_scope_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"confidentialScopeId\\\"]},{\\\"name\\\":\\\"intake_deletions_item_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"itemId\\\"]},{\\\"name\\\":\\\"intake_deletions_state_idx\\\",\\\"columns\\\":[\\\"tenantId\\\",\\\"state\\\"]}],\\\"tenantScoped\\\":{\\\"mode\\\":\\\"required\\\"}},\\\"extends\\\":\\\"SmrtObject\\\",\\\"exportName\\\":\\\"IntakeDeletion\\\",\\\"collectionExportName\\\":\\\"IntakeDeletionCollection\\\",\\\"validationRules\\\":[{\\\"field\\\":\\\"confidentialScopeId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"itemId\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"foreignKey\\\"},{\\\"field\\\":\\\"state\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"text\\\"},{\\\"field\\\":\\\"data\\\",\\\"rule\\\":\\\"required\\\",\\\"fieldType\\\":\\\"json\\\"}],\\\"schema\\\":{\\\"tableName\\\":\\\"intake_deletions\\\",\\\"ddl\\\":\\\"CREATE TABLE IF NOT EXISTS \\\\\\\"intake_deletions\\\\\\\" (\\\\n \\\\\\\"id\\\\\\\" UUID PRIMARY KEY NOT NULL,\\\\n \\\\\\\"slug\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"context\\\\\\\" TEXT NOT NULL DEFAULT '',\\\\n \\\\\\\"created_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"updated_at\\\\\\\" TIMESTAMP NOT NULL DEFAULT current_timestamp,\\\\n \\\\\\\"tenant_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"confidential_scope_id\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"item_id\\\\\\\" UUID NOT NULL,\\\\n \\\\\\\"state\\\\\\\" TEXT NOT NULL,\\\\n \\\\\\\"data\\\\\\\" JSON NOT NULL\\\\n);\\\",\\\"columns\\\":{\\\"id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"primaryKey\\\":true,\\\"referenceKind\\\":\\\"id\\\",\\\"notNull\\\":true},\\\"slug\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true},\\\"context\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"\\\"},\\\"created_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"updated_at\\\":{\\\"type\\\":\\\"TIMESTAMP\\\",\\\"notNull\\\":true,\\\"default\\\":\\\"current_timestamp\\\"},\\\"tenant_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"tenantId\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"confidential_scope_id\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"item_id\\\":{\\\"type\\\":\\\"UUID\\\",\\\"referenceKind\\\":\\\"foreignKey\\\",\\\"notNull\\\":true,\\\"unique\\\":false,\\\"foreignKey\\\":{\\\"table\\\":\\\"intake_items\\\",\\\"column\\\":\\\"id\\\",\\\"onDelete\\\":\\\"CASCADE\\\",\\\"onUpdate\\\":\\\"CASCADE\\\"}},\\\"state\\\":{\\\"type\\\":\\\"TEXT\\\",\\\"notNull\\\":true,\\\"unique\\\":false},\\\"data\\\":{\\\"type\\\":\\\"JSON\\\",\\\"notNull\\\":true,\\\"unique\\\":false}},\\\"indexes\\\":[{\\\"name\\\":\\\"intake_deletions_tenant_id_item_id_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"],\\\"unique\\\":true},{\\\"name\\\":\\\"intake_deletions_slug_context_idx\\\",\\\"columns\\\":[\\\"slug\\\",\\\"context\\\"]},{\\\"name\\\":\\\"intake_deletions_scope_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"confidential_scope_id\\\"]},{\\\"name\\\":\\\"intake_deletions_item_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"item_id\\\"]},{\\\"name\\\":\\\"intake_deletions_state_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"state\\\"]},{\\\"name\\\":\\\"intake_deletions_tenant_id_created_at_idx\\\",\\\"columns\\\":[\\\"tenant_id\\\",\\\"created_at\\\"]},{\\\"name\\\":\\\"intake_deletions_item_id_idx\\\",\\\"columns\\\":[\\\"item_id\\\"]}],\\\"version\\\":\\\"474ffa09\\\"},\\\"importPath\\\":\\\"@happyvertical/smrt-ingestion/models\\\"}},\\\"moduleType\\\":\\\"smrt\\\",\\\"recipes\\\":[{\\\"id\\\":\\\"ingestion.inbox\\\",\\\"className\\\":\\\"IngestionInboxRecipe\\\",\\\"label\\\":\\\"Ingestion inbox\\\",\\\"summary\\\":\\\"Review incoming material and see which items need attention.\\\",\\\"synonyms\\\":[\\\"intake inbox\\\",\\\"incoming documents\\\",\\\"review queue\\\"],\\\"models\\\":[\\\"@happyvertical/smrt-ingestion:IntakeItem\\\",\\\"@happyvertical/smrt-ingestion:IntakeEvidence\\\"],\\\"nav\\\":[],\\\"requires\\\":[],\\\"group\\\":{\\\"id\\\":\\\"ingestion\\\",\\\"label\\\":\\\"Ingestion\\\",\\\"summary\\\":\\\"Review incoming material safely before it can change records.\\\"},\\\"section\\\":{\\\"id\\\":\\\"ingestion\\\",\\\"label\\\":\\\"Ingestion\\\",\\\"icon\\\":\\\"archive\\\",\\\"description\\\":\\\"Incoming material and its authenticated review workflow.\\\"},\\\"help\\\":{\\\"markdown\\\":\\\"## Overview\\\\n\\\\nThe ingestion inbox is where an authenticated reviewer finds incoming material\\\\nthat needs attention. It keeps the original material and its related evidence\\\\ntogether, so a reviewer can understand what arrived before choosing a next\\\\nstep.\\\\n\\\\n## Tasks\\\\n\\\\n### Check items that need attention\\\\n\\\\n1. Open the ingestion inbox in an application that has configured an\\\\n authenticated review host.\\\\n2. Choose an item to inspect its evidence and current review state.\\\\n3. Open the item in Ingestion review when it has a proposed action.\\\\n\\\\n### Keep uncertain material for review\\\\n\\\\n1. Leave material in the inbox when there is not enough information to decide.\\\\n2. Return after the application has new information or a reviewer can make a\\\\n decision.\\\\n3. Do not treat an inbox item as permission to change another record.\\\\n\\\\n## Preview status\\\\n\\\\nThis recipe describes a preview workflow. The published evaluation did not meet\\\\nquality gates and did not establish safety, so automation remains disabled. It\\\\ndoes not configure a source, provider, generic record route, or automatic\\\\naction. Applications continue to use the scoped callbacks described in the\\\\ningestion review documentation.\\\\n\\\",\\\"fieldRefs\\\":[]},\\\"surfaces\\\":[{\\\"kind\\\":\\\"route\\\",\\\"path\\\":\\\"/ingestion/inbox\\\",\\\"export\\\":\\\"@happyvertical/smrt-ingestion/svelte#IntakeInbox\\\",\\\"label\\\":\\\"Ingestion inbox\\\"}],\\\"runtime\\\":\\\"both\\\",\\\"demo\\\":{\\\"mode\\\":\\\"server\\\",\\\"reasons\\\":[\\\"Needs a server because its package depends on @happyvertical/smrt-agents, @happyvertical/smrt-jobs, @happyvertical/smrt-profiles, @happyvertical/smrt-reports, @happyvertical/smrt-secrets, @happyvertical/smrt-tenancy, @happyvertical/smrt-users, which do not build for a browser (#3615, #3617, #3624, #3625, #3626, #3627).\\\"]}},{\\\"id\\\":\\\"ingestion.review\\\",\\\"className\\\":\\\"IngestionReviewRecipe\\\",\\\"label\\\":\\\"Ingestion review\\\",\\\"summary\\\":\\\"Inspect evidence and approve, change, reject, or defer proposed actions.\\\",\\\"synonyms\\\":[\\\"intake review\\\",\\\"proposal review\\\",\\\"human approval\\\"],\\\"models\\\":[\\\"@happyvertical/smrt-ingestion:IntakeItem\\\",\\\"@happyvertical/smrt-ingestion:IntakeEvidence\\\",\\\"@happyvertical/smrt-ingestion:IntakeAnalysis\\\",\\\"@happyvertical/smrt-ingestion:IntakeAction\\\",\\\"@happyvertical/smrt-ingestion:IntakeReviewDecision\\\"],\\\"nav\\\":[],\\\"requires\\\":[],\\\"group\\\":{\\\"id\\\":\\\"ingestion\\\",\\\"label\\\":\\\"Ingestion\\\",\\\"summary\\\":\\\"Review incoming material safely before it can change records.\\\"},\\\"section\\\":{\\\"id\\\":\\\"ingestion\\\",\\\"label\\\":\\\"Ingestion\\\",\\\"icon\\\":\\\"archive\\\",\\\"description\\\":\\\"Incoming material and its authenticated review workflow.\\\"},\\\"help\\\":{\\\"markdown\\\":\\\"## Overview\\\\n\\\\nIngestion review lets an authorized person inspect the evidence behind a\\\\nproposed action before it can affect another record. A decision is tied to the\\\\nspecific material and proposal that the reviewer saw.\\\\n\\\\n## Tasks\\\\n\\\\n### Review a proposed action\\\\n\\\\n1. Open an inbox item that has a proposed action.\\\\n2. Read the evidence and the proposed result in the authenticated review host.\\\\n3. Approve, change, reject, or defer the proposal according to the current\\\\n application policy.\\\\n\\\\n### Return to an item after it changes\\\\n\\\\n1. Refresh the review when the host indicates that the material or proposal has\\\\n changed.\\\\n2. Review the current proposal before making a decision.\\\\n3. Leave a proposal deferred when its evidence or destination is still\\\\n uncertain.\\\\n\\\\n## Preview status\\\\n\\\\nThis recipe describes a preview workflow. The published evaluation did not meet\\\\nquality gates and did not establish safety, so automation remains disabled. It\\\\ndoes not create a generic editing surface or enable automatic execution. A host\\\\nrechecks the reviewer, scope, and current proposal before it accepts a decision.\\\\n\\\",\\\"fieldRefs\\\":[]},\\\"surfaces\\\":[{\\\"kind\\\":\\\"route\\\",\\\"path\\\":\\\"/ingestion/review\\\",\\\"export\\\":\\\"@happyvertical/smrt-ingestion/svelte#IntakeReview\\\",\\\"label\\\":\\\"Ingestion review\\\"}],\\\"runtime\\\":\\\"both\\\",\\\"demo\\\":{\\\"mode\\\":\\\"server\\\",\\\"reasons\\\":[\\\"Needs a server because its package depends on @happyvertical/smrt-agents, @happyvertical/smrt-jobs, @happyvertical/smrt-profiles, @happyvertical/smrt-reports, @happyvertical/smrt-secrets, @happyvertical/smrt-tenancy, @happyvertical/smrt-users, which do not build for a browser (#3615, #3617, #3624, #3625, #3626, #3627).\\\"]}}],\\\"smrtDependencies\\\":[\\\"@happyvertical/smrt-agents\\\",\\\"@happyvertical/smrt-assets\\\",\\\"@happyvertical/smrt-content\\\",\\\"@happyvertical/smrt-core\\\",\\\"@happyvertical/smrt-jobs\\\",\\\"@happyvertical/smrt-messages\\\",\\\"@happyvertical/smrt-playbooks\\\",\\\"@happyvertical/smrt-tenancy\\\",\\\"@happyvertical/smrt-users\\\"],\\\"browser\\\":{\\\"status\\\":\\\"server-only\\\",\\\"issues\\\":[\\\"#3615\\\",\\\"#3617\\\",\\\"#3624\\\",\\\"#3625\\\",\\\"#3626\\\",\\\"#3627\\\"],\\\"via\\\":[\\\"@happyvertical/smrt-agents\\\",\\\"@happyvertical/smrt-jobs\\\",\\\"@happyvertical/smrt-profiles\\\",\\\"@happyvertical/smrt-reports\\\",\\\"@happyvertical/smrt-secrets\\\",\\\"@happyvertical/smrt-tenancy\\\",\\\"@happyvertical/smrt-users\\\"]},\\\"stampsConstructors\\\":true}\"));\n","import './__smrt-register__.js';\nimport {\n crossPackageRef,\n field,\n foreignKey,\n SmrtObject,\n smrt,\n} from '@happyvertical/smrt-core';\nimport { TenantScoped, tenantId } from '@happyvertical/smrt-tenancy';\n\n/** Durable IntakeItem record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_items',\n conflictColumns: ['tenant_id', 'source_id', 'delivery_key'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_items_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_items_expiry_idx', columns: ['tenantId', 'expiresAt'] },\n {\n name: 'intake_items_receipt_idx',\n columns: ['tenantId', 'receiptState', 'leaseUntil'],\n },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeItem extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @field({ type: 'text', required: true })\n sourceId: string = '';\n\n @field({ type: 'text', required: true })\n sourceVersion: string = '';\n\n @field({ type: 'text', required: true })\n deliveryKey: string = '';\n\n @field({ type: 'text', required: true })\n payloadDigest: string = '';\n\n @field({ type: 'text', required: true })\n scopeDigest: string = '';\n\n @field({ type: 'text', required: true })\n receiptState: string = '';\n\n @field({ type: 'text', required: true })\n processingState: string = '';\n\n @field({ type: 'text', required: true })\n visibility: string = '';\n\n @field({ type: 'integer', required: true })\n receiptVersion: number = 0;\n\n @field({ type: 'integer', required: true })\n analysisRevision: number = 0;\n\n @field({ type: 'integer', required: true })\n fence: number = 0;\n\n @field({ type: 'text', required: true })\n leaseToken: string = '';\n\n @field({ type: 'datetime', nullable: true })\n leaseUntil: Date | null = null;\n\n @field({ type: 'datetime', required: true })\n expiresAt: Date = new Date();\n\n @field({ type: 'datetime', required: true })\n replayUntil: Date = new Date();\n\n @field({ type: 'boolean', required: true })\n cancelled: boolean = false;\n\n @field({ type: 'text', required: true })\n traceId: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeEvidence record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_evidence',\n conflictColumns: ['tenant_id', 'item_id', 'part_id'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_evidence_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_evidence_item_idx', columns: ['tenantId', 'itemId'] },\n { name: 'intake_evidence_state_idx', columns: ['tenantId', 'state'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeEvidence extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @field({ type: 'text', required: true })\n partId: string = '';\n\n @foreignKey('IntakeEvidence', { nullable: true })\n parentEvidenceId: string | null = null;\n\n // Privacy deletion clears the live owner link; evidence/receipt IDs survive.\n @crossPackageRef('@happyvertical/smrt-assets:Asset', {\n nullable: true,\n onDelete: 'SET NULL',\n })\n assetId: string | null = null;\n\n @field({ type: 'text', required: true })\n state: string = '';\n\n @field({ type: 'text', required: true })\n contentHash: string = '';\n\n @field({ type: 'integer', required: true })\n byteLength: number = 0;\n\n @field({ type: 'text', required: true })\n mediaType: string = '';\n\n @field({ type: 'text', required: true })\n sourceUri: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeAnalysis record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_analyses',\n conflictColumns: ['tenant_id', 'item_id', 'revision'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_analyses_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_analyses_item_idx', columns: ['tenantId', 'itemId'] },\n { name: 'intake_analyses_state_idx', columns: ['tenantId', 'state'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeAnalysis extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @field({ type: 'integer', required: true })\n revision: number = 0;\n\n @field({ type: 'integer', required: true })\n fence: number = 0;\n\n @field({ type: 'integer', required: true })\n attemptNumber: number = 0;\n\n @foreignKey('IntakeAnalysisAttempt', { nullable: true })\n currentAttemptId: string | null = null;\n\n @field({ type: 'text', required: true })\n state: string = '';\n\n @field({ type: 'text', required: true })\n inputDigest: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeAnalysisAttempt record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_analysis_attempts',\n conflictColumns: ['tenant_id', 'analysis_id', 'attempt_number'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_analysis_attempts_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n {\n name: 'intake_analysis_attempts_item_idx',\n columns: ['tenantId', 'itemId'],\n },\n {\n name: 'intake_analysis_attempts_state_idx',\n columns: ['tenantId', 'state'],\n },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeAnalysisAttempt extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @foreignKey('IntakeAnalysis', { required: true })\n analysisId: string = '';\n\n @field({ type: 'integer', required: true })\n attemptNumber: number = 0;\n\n @field({ type: 'integer', required: true })\n fence: number = 0;\n\n @field({ type: 'text', required: true })\n state: string = '';\n\n @field({ type: 'text', required: true })\n leaseToken: string = '';\n\n @field({ type: 'datetime', nullable: true })\n leaseUntil: Date | null = null;\n\n @field({ type: 'text', required: true })\n outputDigest: string = '';\n\n @field({ type: 'text', required: true })\n safeError: string = '';\n\n @field({ type: 'decimal', nullable: true })\n confidence: number | null = null;\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakePlan record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_plans',\n conflictColumns: ['tenant_id', 'item_id', 'plan_key', 'revision'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_plans_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_plans_item_idx', columns: ['tenantId', 'itemId'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakePlan extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @field({ type: 'text', required: true })\n planKey: string = '';\n\n @field({ type: 'integer', required: true })\n revision: number = 0;\n\n @field({ type: 'text', required: true })\n digest: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeAction record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_actions',\n conflictColumns: ['tenant_id', 'item_id', 'action_key'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_actions_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_actions_item_idx', columns: ['tenantId', 'itemId'] },\n { name: 'intake_actions_state_idx', columns: ['tenantId', 'state'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeAction extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @field({ type: 'text', required: true })\n actionKey: string = '';\n\n @field({ type: 'text', required: true })\n state: string = '';\n\n @field({ type: 'integer', required: true })\n proposalRevision: number = 0;\n\n @field({ type: 'integer', required: true })\n reviewVersion: number = 0;\n\n @field({ type: 'integer', required: true })\n executionAttempt: number = 0;\n\n @field({ type: 'integer', required: true })\n fence: number = 0;\n\n @field({ type: 'text', required: true })\n resultDigest: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeProposal record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_proposals',\n conflictColumns: ['tenant_id', 'action_id', 'revision'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_proposals_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_proposals_item_idx', columns: ['tenantId', 'itemId'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeProposal extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @foreignKey('IntakeAction', { required: true })\n actionId: string = '';\n\n @foreignKey('IntakeAnalysis', { required: true })\n analysisId: string = '';\n\n @foreignKey('IntakeAnalysisAttempt', { required: true })\n analysisAttemptId: string = '';\n\n @field({ type: 'integer', required: true })\n revision: number = 0;\n\n @field({ type: 'text', required: true })\n bindingHash: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeReviewDecision record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_review_decisions',\n conflictColumns: ['tenant_id', 'action_id', 'review_version'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_review_decisions_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n {\n name: 'intake_review_decisions_item_idx',\n columns: ['tenantId', 'itemId'],\n },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeReviewDecision extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @foreignKey('IntakeAction', { required: true })\n actionId: string = '';\n\n @foreignKey('IntakeProposal', { required: true })\n proposalId: string = '';\n\n @field({ type: 'integer', required: true })\n reviewVersion: number = 0;\n\n @field({ type: 'text', required: true })\n bindingHash: string = '';\n\n @field({ type: 'text', required: true })\n decision: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeExecution record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_executions',\n conflictColumns: ['tenant_id', 'action_id', 'attempt_number'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_executions_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_executions_item_idx', columns: ['tenantId', 'itemId'] },\n { name: 'intake_executions_state_idx', columns: ['tenantId', 'state'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeExecution extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @foreignKey('IntakeAction', { required: true })\n actionId: string = '';\n\n @field({ type: 'integer', required: true })\n attemptNumber: number = 0;\n\n @field({ type: 'integer', required: true })\n fence: number = 0;\n\n @field({ type: 'text', required: true })\n state: string = '';\n\n @field({ type: 'text', required: true })\n bindingHash: string = '';\n\n @field({ type: 'text', required: true })\n resultDigest: string = '';\n\n @field({ type: 'text', required: true })\n idempotencyKey: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeFeedback record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_feedback',\n conflictColumns: ['tenant_id', 'item_id', 'request_key'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_feedback_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_feedback_item_idx', columns: ['tenantId', 'itemId'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeFeedback extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @field({ type: 'text', required: true })\n requestKey: string = '';\n\n @foreignKey('IntakeFeedback', { nullable: true })\n supersedesId: string | null = null;\n\n @field({ type: 'text', required: true })\n kind: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeDispatch record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_dispatches',\n conflictColumns: ['tenant_id', 'item_id', 'stage', 'revision'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_dispatches_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_dispatches_item_idx', columns: ['tenantId', 'itemId'] },\n { name: 'intake_dispatches_state_idx', columns: ['tenantId', 'state'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeDispatch extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @field({ type: 'text', required: true })\n stage: string = '';\n\n @field({ type: 'integer', required: true })\n revision: number = 0;\n\n @field({ type: 'text', required: true })\n state: string = '';\n\n @field({ type: 'text', required: true })\n jobId: string = '';\n\n @field({ type: 'integer', required: true })\n deliveries: number = 0;\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n\n/** Durable IntakeDeletion record; mutations belong to the server service. */\n@smrt({\n tableName: 'intake_deletions',\n conflictColumns: ['tenant_id', 'item_id'],\n api: false,\n cli: false,\n mcp: false,\n indexes: [\n {\n name: 'intake_deletions_scope_idx',\n columns: ['tenantId', 'confidentialScopeId'],\n },\n { name: 'intake_deletions_item_idx', columns: ['tenantId', 'itemId'] },\n { name: 'intake_deletions_state_idx', columns: ['tenantId', 'state'] },\n ],\n})\n@TenantScoped({ mode: 'required' })\nexport class IntakeDeletion extends SmrtObject { static __smrtPackage__ = \"@happyvertical/smrt-ingestion\";\n @tenantId()\n tenantId: string = '';\n @field({ type: 'text', required: true })\n confidentialScopeId: string = '';\n\n @foreignKey('IntakeItem', { required: true })\n itemId: string = '';\n\n @field({ type: 'text', required: true })\n state: string = '';\n\n @field({ type: 'json', required: true })\n data: string = '{}';\n\n /** Parse a bounded object payload; malformed persisted data fails closed. */\n getData(): Record<string, unknown> {\n const value: unknown =\n typeof this.data === 'string' ? JSON.parse(this.data) : this.data;\n if (!value || typeof value !== 'object' || Array.isArray(value))\n throw new Error('Invalid intake payload');\n return value as Record<string, unknown>;\n }\n}\n"],"mappings":";;;AAOA,eAAe,wBAAwB,KAAK,MAAM,++kEAAuo2E,CAAC;;;;;;;;;;;;;;;;;;ACuBnr2E,IAAM,aAAN,cAAyB,WAAW;CAEzC,WAAmB;CAEnB,sBAA8B;CAG9B,WAAmB;CAGnB,gBAAwB;CAGxB,cAAsB;CAGtB,gBAAwB;CAGxB,cAAsB;CAGtB,eAAuB;CAGvB,kBAA0B;CAG1B,aAAqB;CAGrB,iBAAyB;CAGzB,mBAA2B;CAG3B,QAAgB;CAGhB,aAAqB;CAGrB,aAA0B;CAG1B,4BAAkB,IAAI,KAAK;CAG3B,8BAAoB,IAAI,KAAK;CAG7B,YAAqB;CAGrB,UAAkB;CAGlB,OAAe;;CAGf,UAAmC;EACjC,MAAM,QACJ,OAAO,KAAK,SAAS,WAAW,KAAK,MAAM,KAAK,IAAI,IAAI,KAAK;EAC/D,IAAI,CAAC,SAAS,OAAO,UAAU,YAAY,MAAM,QAAQ,KAAK,GAC5D,MAAM,IAAI,MAAM,wBAAwB;EAC1C,OAAO;CACT;AACF;AApE6C,cAAhC,YAAuC,mBAAkB,+BAAA;AAEpE,gBAAA,CADC,SAAS,CAAA,GADC,WAEX,WAAA,YAAA,CAAA;AAEA,gBAAA,CADC,MAAM;CAAE,MAAM;CAAQ,UAAU;AAAK,CAAC,CAAA,GAH5B,WAIX,WAAA,uBAAA,CAAA;AAGA,gBAAA,CADC,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