text stringlengths 3 8.33k | repo stringclasses 52
values | path stringlengths 6 141 | language stringclasses 35
values | sha stringlengths 64 64 | chunk_index int32 0 273 | n_tokens int32 1 896 |
|---|---|---|---|---|---|---|
: "last"
},
{
"expression": "source_record_id",
"isExpression": false,
"asc": true,
"nulls": "last"
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 23ad8e9b3945f73623c6ae98c5d9ef25b85dd4e9a5175deb7b49b9558493e966 | 1 | 896 |
: "id",
"type": "uuid",
"primaryKey": true,
"notNull": true,
"default": "gen_random_uuid()"
},
"run_id": {
"name": "run_id",
"type": "uuid",
"primaryKey": false,
"notNull": true
},
"task_id": {
"nam... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | a473c653f2c3046cba40fd9f103ab0b546065f2944541311883fd4436d2df3f5 | 2 | 896 |
"columns": [
{
"expression": "task_id",
"isExpression": false,
"asc": true,
"nulls": "last"
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
},
"a... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | aea39cd074b81c7d0f8788d9b8e2b4ef84acd72a6b34aa95966e538588afad78 | 3 | 896 |
sha256:[0-9a-f]{64}$'"
},
"artifact_versions_sections_array": {
"name": "artifact_versions_sections_array",
"value": "jsonb_typeof(\"artifact_versions\".\"sections\") = 'array'"
},
"artifact_versions_export_metadata_object": {
"name": "artifact_versions_expo... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 5547e449fba202a922840ed23240db2722cdb34772dfe9c253294a7d7c405011 | 4 | 896 |
: "timestamp with time zone",
"primaryKey": false,
"notNull": true,
"default": "now()"
}
},
"indexes": {
"artifacts_run_idx": {
"name": "artifacts_run_idx",
"columns": [
{
"expression": "run_id",
"isExp... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 05bc008a7f7a982d734348c3527045e0f6b9578f5cbff6c392df4513f1a4c22e | 5 | 896 |
primaryKey": false,
"notNull": true
},
"evidence_id": {
"name": "evidence_id",
"type": "uuid",
"primaryKey": false,
"notNull": false
},
"artifact_key": {
"name": "artifact_key",
"type": "text",
"primaryKey": ... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | dce5681f65030a7f2bacfe506379ee44bad9111529fdb55d6e4ea6bed6e46b5b | 6 | 896 |
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
},
"browser_smoke_artifacts_capture_status_idx": {
"name": "browser_smoke_artifacts_capture_status_idx",
"columns": [
{
"expression": "capture_status",
... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 84f34d3573db6cb29d3eb0226b61a57d8b1b0f355002860e25d6ea2d16dcf8ff | 7 | 896 |
browser_smoke_artifacts_byte_length_positive_when_present": {
"name": "browser_smoke_artifacts_byte_length_positive_when_present",
"value": "\"browser_smoke_artifacts\".\"byte_length\" is null or \"browser_smoke_artifacts\".\"byte_length\" > 0"
},
"browser_smoke_artifacts_item_count_... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 7f57185d1180d4b6d1967099e2ac6e09dcaee7cf0ae7990d166952aeb1c35a12 | 8 | 896 |
with time zone",
"primaryKey": false,
"notNull": false
},
"duration_ms": {
"name": "duration_ms",
"type": "integer",
"primaryKey": false,
"notNull": false
},
"viewport": {
"name": "viewport",
"type": "jsonb",... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | df497e51f5538e2dc250068eeda87c1a6d07100677c6cfa4c343b8ccef1f37e0 | 9 | 896 |
": "verification_run_id",
"isExpression": false,
"asc": true,
"nulls": "last"
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
},
"browser_smoke_runs_verification_check_idx... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 81cbd9349722cb0c7118a21abf8a36f78a749d7d70020c14bd48e4e5fab9625f | 10 | 896 |
,
"columnsTo": ["id"],
"onDelete": "cascade",
"onUpdate": "no action"
},
"browser_smoke_runs_verification_run_id_verification_runs_id_fk": {
"name": "browser_smoke_runs_verification_run_id_verification_runs_id_fk",
"tableFrom": "browser_smoke_runs",
... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | c06bce34b659b159c52d332dde86ddd2c64d6cfaf4e842e8156acde388e24546 | 11 | 896 |
browser_smoke_runs\".\"duration_ms\" is null or \"browser_smoke_runs\".\"duration_ms\" > 0"
},
"browser_smoke_runs_viewport_object": {
"name": "browser_smoke_runs_viewport_object",
"value": "jsonb_typeof(\"browser_smoke_runs\".\"viewport\") = 'object'"
},
"browser_smo... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | f68c73e29970175e1e992792cea01ef323f361f7d09895f640121008ad28d264 | 12 | 896 |
: "id",
"type": "uuid",
"primaryKey": true,
"notNull": true,
"default": "gen_random_uuid()"
},
"run_id": {
"name": "run_id",
"type": "uuid",
"primaryKey": false,
"notNull": true
},
"decision_key": {
... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 82156c8354c38018350a586e88e835b9fd0f011e13c319e33391362af34b6e19 | 15 | 896 |
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
},
"derived_knowledge_source_links_recovery_decision_idx": {
"name": "derived_knowledge_source_links_recovery_decision_idx",
"columns": [
{
... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 7b50b2b2a888b21df4c2e37108da2fc87fc92d412d60b8ac611cdf60e93f67b1 | 17 | 896 |
": false,
"notNull": true,
"default": "'system'"
},
"task_id": {
"name": "task_id",
"type": "uuid",
"primaryKey": false,
"notNull": false
},
"decision_id": {
"name": "decision_id",
"type": "uuid",
"... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 38e087844ca5980ce58144904481fdd9c93d9274ac47f6424a63259c3726cda6 | 18 | 896 |
last"
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
}
},
"foreignKeys": {
"events_run_id_runs_id_fk": {
"name": "events_run_id_runs_id_fk",
"tableFrom": "events",
"table... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | d54fbc9046b0cb462ac95b3402186ef55b53658a0ef8b1a7894d96f6d249fbb5 | 19 | 896 |
,
"public.evidence": {
"name": "evidence",
"schema": "",
"columns": {
"id": {
"name": "id",
"type": "uuid",
"primaryKey": true,
"notNull": true,
"default": "gen_random_uuid()"
},
"run_id": {
"name": "run_id",
... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 528111f577fff32903d781724997a46f9ea82b42a2e0b081673d83b4659cdc0d | 20 | 896 |
type": "uuid",
"primaryKey": false,
"notNull": false
},
"finding_key": {
"name": "finding_key",
"type": "text",
"primaryKey": false,
"notNull": true
},
"title": {
"name": "title",
"type": "text",
"p... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | e5a65cc99e46b8c3bb1fa3c6a1fb8a5b91684d36d14848d1c82df5846a509b53 | 22 | 896 |
]'::jsonb"
},
"manifest_version": {
"name": "manifest_version",
"type": "text",
"primaryKey": false,
"notNull": true
},
"contract_status": {
"name": "contract_status",
"type": "text",
"primaryKey": false,
"no... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 7b67f8bc88a1575ca5dcbb400eb4c2f1d4eafc78aeb489b6a68d2de32132be32 | 24 | 896 |
,
"onDelete": "set null",
"onUpdate": "no action"
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {
"generated_repositories_run_repository_key_unique": {
"name": "generated_repositories_run_repository_key_unique",
"nullsNotDistinct": false,... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 809f7eb225150c08eea4efa55538175e8d98d4f23284b285412b73920a0c5fa5 | 25 | 896 |
": false,
"notNull": true,
"default": "now()"
},
"updated_at": {
"name": "updated_at",
"type": "timestamp with time zone",
"primaryKey": false,
"notNull": true,
"default": "now()"
}
},
"indexes": {
"generat... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | ee03db90f9eab9fc106683e05eb1d907d746498c3c5c69dd3f68b7e71d0da0b4 | 26 | 896 |
".\"descriptor_state\")) > 0"
},
"generated_repository_command_log_descriptors_descriptor_state_allowed": {
"name": "generated_repository_command_log_descriptors_descriptor_state_allowed",
"value": "\"generated_repository_command_log_descriptors\".\"descriptor_state\" in ('expected',... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 205caa5797371f1dcd69b97ed58a6485db549c7e2d3d6f78580bb6ff438e5970 | 27 | 896 |
notNull": true,
"default": "'[]'::jsonb"
},
"timeout_hint": {
"name": "timeout_hint",
"type": "text",
"primaryKey": false,
"notNull": false
},
"resource_hints": {
"name": "resource_hints",
"type": "jsonb",
"p... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | d2fed97848c214018c1f4fb9c19a9aaae71d08624699035cc8eb2560c35d784d | 28 | 896 |
": "generated_repository_revisions",
"columnsFrom": ["revision_id"],
"columnsTo": ["id"],
"onDelete": "cascade",
"onUpdate": "no action"
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {
"generated_repository_command_specs_revision_command_... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 4888ff8f2b2cd83466fb717065f33cebf7c777f6da072489afa2999119408d3a | 29 | 896 |
generated_repository_command_specs_log_descriptor_keys_array": {
"name": "generated_repository_command_specs_log_descriptor_keys_array",
"value": "jsonb_typeof(\"generated_repository_command_specs\".\"log_descriptor_keys\") = 'array'"
},
"generated_repository_command_specs_evidence_o... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 8b237a9da1c439ac3a2cb49f69fd943d4a0bf28e8764908e0f55a040e5433c28 | 30 | 896 |
": false,
"method": "btree",
"with": {}
},
"generated_repository_dependency_locks_revision_idx": {
"name": "generated_repository_dependency_locks_revision_idx",
"columns": [
{
"expression": "revision_id",
"isExpression": fal... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 0f9a335ad4de2f5f0fbd5011a1063eb55c30de49972185416fb43597394a4fb8 | 31 | 896 |
": "gen_random_uuid()"
},
"run_id": {
"name": "run_id",
"type": "uuid",
"primaryKey": false,
"notNull": true
},
"repository_id": {
"name": "repository_id",
"type": "uuid",
"primaryKey": false,
"notNull": true... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 75b7af5b19f68517833ceb1bfcc25ccd24be0eda15dbe90e7bedbdcf5307ad0a | 32 | 896 |
[
{
"expression": "descriptor_state",
"isExpression": false,
"asc": true,
"nulls": "last"
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
},
"gen... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 07324e007e133fdf9fb678e7d5d78a8c87e68223787ecb9910e40243cc392089 | 33 | 896 |
\"evidence_id\" is not null) or (\"generated_repository_evidence_output_descriptors\".\"descriptor_state\" <> 'captured' and \"generated_repository_evidence_output_descriptors\".\"evidence_id\" is null)"
},
"generated_repository_evidence_output_descriptors_path_descriptor_not_blank": {
"name":... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | f010bcbbbe53b8dc9f614c4b11fd0a477d690413aca417e992dcb7881d11efc9 | 34 | 896 |
"name": "generated_repository_limitation_reports_run_idx",
"columns": [
{
"expression": "run_id",
"isExpression": false,
"asc": true,
"nulls": "last"
}
],
"isUnique": false,
"concurrently": false,
... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 6b297a0c6574ebd4bae16461eb29ba18eac807e5c58ee8767b6c39e44aa7eaf8 | 35 | 896 |
tableTo": "evidence",
"columnsFrom": ["evidence_id"],
"columnsTo": ["id"],
"onDelete": "set null",
"onUpdate": "no action"
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {
"generated_repository_limitation_reports_repository_limitation_key_... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 497cb46732fb34e3670883178420fe691ca209ae8488de863c8d8480f107da7f | 36 | 896 |
,
"primaryKey": false,
"notNull": true,
"default": "'unknown'"
},
"metadata": {
"name": "metadata",
"type": "jsonb",
"primaryKey": false,
"notNull": true,
"default": "'{}'::jsonb"
},
"created_at": {
... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 223ca8d3d6669d134de551a4d35fe1406f637da0fee57094ed205d32a1f51e8a | 37 | 896 |
parent_revision_key\")) > 0"
},
"generated_repository_revisions_manifest_version_not_blank": {
"name": "generated_repository_revisions_manifest_version_not_blank",
"value": "length(trim(\"generated_repository_revisions\".\"manifest_version\")) > 0"
},
"generated_repos... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 66fc2541626063d0d5e6fe2089643672fae27e177605773c9dd37fff3583857d | 38 | 896 |
last"
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
},
"generated_repository_runtime_services_revision_idx": {
"name": "generated_repository_runtime_services_revision_idx",
"columns": [
... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | cd09832dce2b54c9210b57d3a964de86ca5ab1473e5ccf517274b53c8fefa072 | 39 | 896 |
: false,
"notNull": true
},
"source_path": {
"name": "source_path",
"type": "text",
"primaryKey": false,
"notNull": true
},
"locator_kind": {
"name": "locator_kind",
"type": "text",
"primaryKey": false,
... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 45858aeb3591c89e85ec2db0fb686ddf9c7f0194e619598af07ce925c3fbb0a5 | 41 | 896 |
},
"knowledge_source_references_metadata_object": {
"name": "knowledge_source_references_metadata_object",
"value": "jsonb_typeof(\"knowledge_source_references\".\"metadata\") = 'object'"
}
},
"isRLSEnabled": false
},
"public.model_call_progress_events": {
"... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 5cf89b95b4a96156e375a7c66a81a2330eb16b427851473cb55e01b1af17a045 | 42 | 896 |
"],
"onDelete": "cascade",
"onUpdate": "no action"
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {
"model_call_progress_events_call_sequence_unique": {
"name": "model_call_progress_events_call_sequence_unique",
"nullsNotDistinct": false,
... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 51f3ac58f7f78d125eeb2836c4ca8f59cd2056fd37f0af5bf7e2dd4a0a67ac6d | 43 | 896 |
"validation_status",
"type": "text",
"primaryKey": false,
"notNull": true,
"default": "'not_validated'"
},
"validation_issues": {
"name": "validation_issues",
"type": "jsonb",
"primaryKey": false,
"notNull": true,
... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | b182008dc9516d0a1edffc286208d3c5a321911c2efe97c3f3c72d837b535243 | 44 | 896 |
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
},
"model_call_records_task_attempt_idx": {
"name": "model_call_records_task_attempt_idx",
"columns": [
{
"expression": "task_attem... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | d961bc3f168d2dcabe60fa2b053fd1ea278f76ea11f7599cf3937bb89b1eac72 | 45 | 896 |
value": "length(trim(\"model_call_records\".\"validation_status\")) > 0"
},
"model_call_records_status_not_blank": {
"name": "model_call_records_status_not_blank",
"value": "length(trim(\"model_call_records\".\"status\")) > 0"
},
"model_call_records_failure_class_not_... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 221e2a5cf023255cd25a9f3d90b669b258f7400e7b2a08b9c3e0c77942dad224 | 46 | 896 |
": "",
"columns": {
"id": {
"name": "id",
"type": "uuid",
"primaryKey": true,
"notNull": true,
"default": "gen_random_uuid()"
},
"project_key": {
"name": "project_key",
"type": "text",
"primaryKey": false,
... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | fc5ce466b8c3b7a391330ef1b10596094575d972edb7b91910a22b73bf8a7016 | 48 | 896 |
,
"checkConstraints": {
"prior_project_records_project_key_not_blank": {
"name": "prior_project_records_project_key_not_blank",
"value": "length(trim(\"prior_project_records\".\"project_key\")) > 0"
},
"prior_project_records_title_not_blank": {
"name": "prior_... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | bdc4d1d7311ef6511fd54a433b1f7c885e4ce0f0909b1135281a2c577f3de45b | 49 | 896 |
": "'unknown'"
},
"attempted_at": {
"name": "attempted_at",
"type": "timestamp with time zone",
"primaryKey": false,
"notNull": false
},
"completed_at": {
"name": "completed_at",
"type": "timestamp with time zone",
"pr... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | c098604247c17cc73b8b2a5f02003970f234ace94a59ec637dc5b029e9663387 | 52 | 896 |
\"repairs\".\"status\")) > 0"
},
"repairs_metadata_object": {
"name": "repairs_metadata_object",
"value": "jsonb_typeof(\"repairs\".\"metadata\") = 'object'"
}
},
"isRLSEnabled": false
},
"public.runs": {
"name": "runs",
"schema": "",
"co... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 45e33d161e7a2bcf3633a44efe2dfd42b5c8722622f35e4c8db9b34c285388ff | 53 | 896 |
"onDelete": "restrict",
"onUpdate": "no action"
}
},
"compositePrimaryKeys": {},
"uniqueConstraints": {
"runs_project_run_number_unique": {
"name": "runs_project_run_number_unique",
"nullsNotDistinct": false,
"columns": ["project_id", "run_number... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | fc11b80c1712fba73d9818bea6c63ae8e918e685131c3146e6b5bf486ea35d66 | 54 | 896 |
isExpression": false,
"asc": true,
"nulls": "last"
}
],
"isUnique": false,
"concurrently": false,
"method": "btree",
"with": {}
},
"sandbox_execution_logs_execution_idx": {
"name": "sandbox_execution_logs... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 14395aa109df53a39378577019523f897897efba3ecebd4f2b9c2110150e08db | 55 | 896 |
: "sandbox_execution_logs_safe_content_bounded",
"value": "\"sandbox_execution_logs\".\"sanitized_content\" is null or octet_length(\"sandbox_execution_logs\".\"sanitized_content\") <= \"sandbox_execution_logs\".\"max_content_bytes\""
},
"sandbox_execution_logs_content_optional_when_unsafe": {... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | cf550fb3516702cce69fb0c14476d8044a5765deb647a4a1b52c76bb6f77d53d | 56 | 896 |
"type": "text",
"primaryKey": false,
"notNull": false
},
"policy_key": {
"name": "policy_key",
"type": "text",
"primaryKey": false,
"notNull": true
},
"network_mode": {
"name": "network_mode",
"type": "text",... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 11f7882aa4ec4bec52f792efca9a1c4bf65ea73bffc8622cda9b037ba34953b8 | 57 | 896 |
false,
"method": "btree",
"with": {}
},
"sandbox_executions_command_key_idx": {
"name": "sandbox_executions_command_key_idx",
"columns": [
{
"expression": "command_key",
"isExpression": false,
"asc": true,
... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 4f8f883a17d1784dc1ed4a8cc4c0bbb051b6a7f92c6cd4c87c1b28a86faedb07 | 59 | 896 |
)) > 0"
},
"sandbox_executions_command_key_not_blank": {
"name": "sandbox_executions_command_key_not_blank",
"value": "length(trim(\"sandbox_executions\".\"command_key\")) > 0"
},
"sandbox_executions_command_kind_not_blank": {
"name": "sandbox_executions_com... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 4a6ea2ba499e4d28cc09930b3e7e28a0db3badea75c244880cd74f2bffe2cb18 | 60 | 896 |
".\"workspace_snapshot_descriptor\" is null or (length(trim(\"sandbox_executions\".\"workspace_snapshot_descriptor\")) > 0 and \"sandbox_executions\".\"workspace_snapshot_descriptor\" not like '/%' and \"sandbox_executions\".\"workspace_snapshot_descriptor\" not like '%:%' and lower(\"sandbox_executions\".\"workspace_s... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 7de26fcc61f74d3ade28b722d8a4e44fd412944f6e25536c14cf98fdd81cfcbd | 62 | 896 |
compositePrimaryKeys": {},
"uniqueConstraints": {
"tasks_run_task_key_unique": {
"name": "tasks_run_task_key_unique",
"nullsNotDistinct": false,
"columns": ["run_id", "task_key"]
}
},
"policies": {},
"checkConstraints": {
"tasks_task_key_not_... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 2d0a2b8bf4c4feece86e0a303f066de9938e1e14dfca06cf35e7e19b5d93f733 | 67 | 896 |
notNull": true,
"default": "gen_random_uuid()"
},
"verification_check_id": {
"name": "verification_check_id",
"type": "uuid",
"primaryKey": false,
"notNull": true
},
"run_id": {
"name": "run_id",
"type": "uuid",
... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | ff2f748a89ce6b39c4c288343830521adbc53517d263562dc197d09e41ae215e | 68 | 896 |
": "btree",
"with": {}
},
"verification_acceptance_criterion_links_evidence_idx": {
"name": "verification_acceptance_criterion_links_evidence_idx",
"columns": [
{
"expression": "evidence_id",
"isExpression": false,
"asc"... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | a5b5e1b870425dc50ce4c9f8c9085d7f45f51837a658e843d18e53f18e1c3a30 | 69 | 896 |
,
"primaryKey": true,
"notNull": true,
"default": "gen_random_uuid()"
},
"verification_run_id": {
"name": "verification_run_id",
"type": "uuid",
"primaryKey": false,
"notNull": true
},
"run_id": {
"name": "ru... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | f296ad4321a2ba7cf2bbf57342952bb9feb768c3aef72463c5b7371dbdf41232 | 70 | 896 |
type": "text",
"primaryKey": false,
"notNull": false
},
"metadata": {
"name": "metadata",
"type": "jsonb",
"primaryKey": false,
"notNull": true,
"default": "'{}'::jsonb"
},
"started_at": {
"name": "started_at... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 210b87284eda15ef15e3ad9d5a4479a805bfb5dd58ce6b1458b12880c3e378eb | 71 | 896 |
": false,
"concurrently": false,
"method": "btree",
"with": {}
},
"verification_checks_evidence_output_descriptor_idx": {
"name": "verification_checks_evidence_output_descriptor_idx",
"columns": [
{
"expression": "evidence_outpu... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 0ac9d466b079b894c407b91ce836ca8359bc2da5c512ae723209a13dba1e42f0 | 72 | 896 |
verification_checks_metadata_object",
"value": "jsonb_typeof(\"verification_checks\".\"metadata\") = 'object'"
},
"verification_checks_completed_after_started": {
"name": "verification_checks_completed_after_started",
"value": "\"verification_checks\".\"completed_at\" is nu... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | 7c6b240b9d484c124db212d45c0de3aaa4fdbbe503306cc5a42b0117f315bab5 | 74 | 896 |
"method": "btree",
"with": {}
},
"verification_runs_task_idx": {
"name": "verification_runs_task_idx",
"columns": [
{
"expression": "task_id",
"isExpression": false,
"asc": true,
"nulls": "last"
... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | d4b5cc9effb2e12454008cd3458ff74338e646af70b962d1372eec931df4e6c8 | 75 | 896 |
: "\"verification_runs\".\"policy_hash\" ~ '^sha256:[0-9a-f]{64}$'"
},
"verification_runs_status_not_blank": {
"name": "verification_runs_status_not_blank",
"value": "length(trim(\"verification_runs\".\"status\")) > 0"
},
"verification_runs_status_supported": {
... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/0008_snapshot.json | JSON | b338fca23f326593920e808f8b929d1417d9bd04d65050f28ce4470b52e65804 | 76 | 408 |
{
"version": "7",
"dialect": "postgresql",
"entries": [
{
"idx": 0,
"version": "7",
"when": 1781969030268,
"tag": "0000_initial_durable_state",
"breakpoints": true
},
{
"idx": 1,
"version": "7",
"when": 1782043242921,
"tag": "0001_derived_knowledge... | diplomarbeit-os | apps/studio/drizzle/migrations/meta/_journal.json | JSON | 85e92fe70f00e2f6c310c004761e4950cb5f7c988153f8cbb5973f7e1d37ebab | 0 | 356 |
import { describe, expect, test } from "vitest";
import type { Database, DatabaseConnectionAvailability } from "./db/client";
import { projectSpecs, projects } from "./db/schema";
import {
buildCompleteIntakeInput,
intakeFixtureIds,
intakeFixtureTimestamp,
} from "./domain/intake";
import { createProjectSpecSubmi... | diplomarbeit-os | apps/studio/src/intake-action.test.ts | TypeScript | cbd1a6ffb4f6707e6be5032c91943ba562c4a8168802c134694d2780205fb9ec | 0 | 756 |
import { randomUUID } from "node:crypto";
import { createDatabaseClientFromEnv, type DatabaseConnectionAvailability } from "./db/client";
import {
buildIntakeProjectSlug,
createProjectSpecRecord,
type IntakeInput,
type IntakeRecordIds,
normalizeIntakeInput,
} from "./domain/intake";
export type IntakePersist... | diplomarbeit-os | apps/studio/src/intake-action.ts | TypeScript | 6cbb68b78ebedf54f415d28235e2ae65280c880c3bf25e3a754fd43b4f4c4b60 | 0 | 756 |
import { createElement, type ReactNode } from "react";
import { type IntakeShellModel, intakeCopy, intakeNavigation } from "./intake-shell";
export { buildIntakeShellModel, intakeCopy, intakeNavigation } from "./intake-shell";
export function IntakeShell({
action,
shell,
}: {
readonly action?: (formData: FormDa... | diplomarbeit-os | apps/studio/src/intake-shell-view.ts | TypeScript | 228b528601f747113b723378f9417e0c6f62f2eee036fd313ce161d334f60b2a | 0 | 896 |
,
{ className: "primary-action", type: "submit" },
intakeCopy.primaryCta,
),
createElement(
"button",
{ className: "secondary-action", type: "submit" },
intakeCopy.secondaryCta,
),
),
),
);
}
function renderValidationSummary(shell: I... | diplomarbeit-os | apps/studio/src/intake-shell-view.ts | TypeScript | 8a12e32aed8dc18b7d382497840c8f2300221412616207756df8dac8acaa55f0 | 1 | 896 |
: IntakeShellModel) {
return renderPanel(
"gaps",
"Gaps",
shell.payload === null
? createElement("p", null, "No questions, assumptions, or research flags exist yet.")
: createElement(
"div",
null,
renderValueList(
"Questions",
shell.payload... | diplomarbeit-os | apps/studio/src/intake-shell-view.ts | TypeScript | 9feb8b153aee963660bfcb466f965d48883e4522d8c71fa805b2203b0317dae4 | 2 | 896 |
"h3", null, label),
values.length === 0
? createElement("p", null, "None")
: createElement(
"ul",
{ className: "trace-list" },
values.map((item) =>
createElement(
"li",
{ key: `${item.label}:${item.message}` },
`${item.l... | diplomarbeit-os | apps/studio/src/intake-shell-view.ts | TypeScript | 2e1407c013e5e66f81755ab31e6d70098fbc54ee9cfdb7b9f2af7f8e315e8042 | 3 | 204 |
import { createElement } from "react";
import { renderToStaticMarkup } from "react-dom/server";
import { describe, expect, test } from "vitest";
import { buildCompleteIntakeInput, buildProjectSpecPayload } from "./domain/intake";
import {
buildIntakeShellModel,
IntakeShell,
intakeCopy,
intakeNavigation,
} from ... | diplomarbeit-os | apps/studio/src/intake-shell.test.ts | TypeScript | cee740d60c79cd456624fd8b3a05eed53b362d3d0356508c6c38352d69602d7e | 0 | 896 |
("feasible");
expect(rendered).toContain("A timetable planning web application for HTL project teams");
expect(rendered).toContain("A reviewer can create a milestone.");
expect(rendered).toContain("Definition of done");
expect(rendered).toContain("Readiness: eligible for later orchestration");
expec... | diplomarbeit-os | apps/studio/src/intake-shell.test.ts | TypeScript | 2cd5d86dec5918e41edf32463e8a4013c11d86653e7cb408aeaae307df07bb7b | 1 | 896 |
evidence with browser-verifiable responsive behavior and deterministic tests.",
);
expect(rejected).toContain("rejected");
expect(rejected).toContain("Reason: The request is outside responsible project scope.");
expect(unsupported).not.toContain("Start run");
expect(unsupported).not.toContain("Gener... | diplomarbeit-os | apps/studio/src/intake-shell.test.ts | TypeScript | 944e13875798e2c1477a770ea28f54eb5db84cd7140808e8a17ad6147e33b869 | 2 | 114 |
import {
buildProjectSpecPayload,
deriveProjectSpecState,
type IntakeInput,
normalizeIntakeInput,
type ProjectSpecPayloadV1,
} from "./domain/intake";
export const intakeCopy = {
productLabel: "Diplomarbeit OS",
primaryCta: "Create ProjectSpec",
secondaryCta: "Save draft",
emptyStateHeading: "No inta... | diplomarbeit-os | apps/studio/src/intake-shell.ts | TypeScript | dc37fe22eb4f1fe1f0018260b31f902e3fd06d00e8af08c49ef4a4cc6fc9e5c3 | 0 | 896 |
: "Field limits", value: payload?.fieldLimitIssues.length ?? "-" },
{ label: "Questions", value: payload?.questions.length ?? 0 },
{ label: "Assumptions", value: payload?.assumptions.length ?? 0 },
{ label: "Research flags", value: payload?.researchFlags.length ?? 0 },
{ label: "Acceptance crite... | diplomarbeit-os | apps/studio/src/intake-shell.ts | TypeScript | a7e8e9ae8980f16283437907e7a99e191f56c1a29287fd8ec87c98c62f023d9d | 1 | 836 |
import { describe, expect, test } from "vitest";
import { productBaseline } from "./product-baseline";
describe("product baseline copy contract", () => {
test("exposes product identity and operational status", () => {
expect(productBaseline.productName).toBe("Diplomarbeit OS");
expect(productBaseline.statusL... | diplomarbeit-os | apps/studio/src/product-baseline.test.ts | TypeScript | 4906b82e4196013d5f8b408f2af8eed6daa153c989a2cd59d76383ac9548bc5f | 0 | 180 |
export const productBaseline = {
productName: "Diplomarbeit OS",
statusLabel: "Operational baseline",
boundarySignal: "Product runtime separate from GSD harness",
summary:
"A runnable product shell for the Autonomous Studio. It proves the runtime starts, while later workspace data remains explicitly inactiv... | diplomarbeit-os | apps/studio/src/product-baseline.ts | TypeScript | a0ea69071089d129b0710eb4c742ec9515152827ff58f0efdd1e5f9e56f3ea17 | 0 | 294 |
import { createElement } from "react";
export const workspaceErrorCopy =
"Workspace state could not be reconstructed. Refresh the page, then run the product checks if the problem repeats.";
export function WorkspaceErrorPanel() {
return createElement(
"main",
{ className: "shell" },
createElement(
... | diplomarbeit-os | apps/studio/src/workspace-error-view.ts | TypeScript | 2e4e7402dff402e8c5e4244303cb2abbe97a5fa1a95b6ead76636c5b23db13f7 | 0 | 124 |
import { createElement } from "react";
import { workspaceShellCopy } from "./workspace-shell";
export function EmptyState() {
return createElement(
"div",
{ className: "empty-state" },
createElement("h3", null, workspaceShellCopy.emptyStateHeading),
createElement("p", null, workspaceShellCopy.emptySt... | diplomarbeit-os | apps/studio/src/workspace-shell-empty-state.ts | TypeScript | 084fe52167a7141f5c243b7c89757226e0f80832e87d401f7c34178702d3844e | 0 | 74 |
import { createElement, type ReactNode } from "react";
import {
type WorkspaceShellModel,
workspaceNavigation,
workspaceShellCopy,
} from "./workspace-shell";
import { EmptyState } from "./workspace-shell-empty-state";
export function WorkspaceShell({ shell }: { readonly shell: WorkspaceShellModel }) {
return ... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | c76eff3b2b0e53e4fbd6a69a448573cc2d0395324a70ee239a61b9e77c5fbe89 | 0 | 896 |
,
createElement(
"span",
{
className: `status-chip ${
completenessState === "complete" ? "state-complete" : "state-failed"
}`,
},
`Completeness: ${completenessState}`,
),
renderDescriptorField("Slice title", slice.titl... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | 8f4f167fe3171ec00266050a1bfe5ae35e6a0b08303b83cfdbe28f61e907a6e8 | 1 | 896 |
trace-list walking-slice-list", (file) =>
createElement(
"li",
{ key: file.pathDescriptor },
createElement("h4", null, file.pathDescriptor),
renderDescriptorField("Operation", file.operation),
renderDescriptorField("Content hash", file.contentHash),
renderDescriptor... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | 5ab9dcecd4197c0ceadc5c0f889b1e81a3aa888f2d60880fa09becd42dc31f44 | 2 | 896 |
"p",
null,
"Run ID: ",
createElement("span", { className: "id-chip" }, shell.runId),
),
createElement("p", null, `Run status state: ${shell.runStatus.label}`),
createElement("p", null, `Last event sequence: ${shell.lastEventSequence ?? "-"}`),
createElement(
"p",
null,
... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | 276616c6ecb499df241e963f77bb8012af70bee833c2c72f634c21aa553d46f7 | 3 | 896 |
},
createElement("h3", { id: "final-showcase-risks-title" }, "Unresolved risks"),
emptyOrList(manifest.risks, "trace-list final-showcase-list", (risk) =>
createElement(
"li",
{ key: risk.riskKey },
createElement("h4", null, risk.riskKey),
renderD... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | 67c907d94e2745278dd198ef22ca694385e08fc7ab28d015f57dc502ce4f8008 | 4 | 896 |
copilot-readiness-contracts-title" }, "Supported contracts"),
emptyOrList(review.supportedContracts, "trace-list copilot-readiness-list", (contract) =>
createElement(
"li",
{ key: contract.contractKey },
createElement("h4", null, contract.title),
renderD... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | f358015462278550320acf8372508c288abdf07840498641e38dc58b0bd1b498 | 5 | 896 |
(
"div",
{ className: "generated-repository-panel-body" },
createElement(
"div",
{ className: "generated-boundary-row" },
createElement(
"span",
{ className: "evidence-boundary" },
workspaceShellCopy.generatedRepositoryBoundaryLabel,
),
... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | 5e9626b463683a6c0434ae5afa7b15535fb19c00ccddb81843a820520e914d8f | 6 | 896 |
"),
createElement(
"p",
{ className: "evidence-boundary" },
workspaceShellCopy.sandboxCapabilityBoundaryLabel,
),
createElement(
"p",
{ className: "generated-boundary-copy" },
workspaceShellCopy.sandboxCapabilityBoundaryCopy,
),
createElement(
"div",
{... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | 0be2a4cfe6864368956fde0adee54028c8f3bd2c174228975fb89d44108f5868 | 7 | 896 |
.healthDescriptor ?? "none"),
renderDescriptorField("Status", service.state, true),
renderDescriptorField(
"Deferred execution note",
service.reason ?? "Runtime service descriptor only; no service is started in this view.",
),
),
),
);
}
function renderGeneratedR... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | 1bc9e1476920c65fe5512063debb78c37e09f1cbb801c364b7770478c8d1e3e8 | 8 | 896 |
,
renderDescriptorField("Artifact link", descriptor.artifactId ?? "none"),
renderDescriptorField("Description", descriptor.description),
),
),
),
createElement(
"section",
{ className: "generated-nested-section", "aria-labelledby": "command-log-title" },
... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | a9110ec60e78177275688777b5cfa494a11754acb99c5df44230846813fa62ee | 9 | 896 |
),
renderDescriptorField("Missing signal", summary.missingSignalCount),
renderDescriptorField("Console error", summary.consoleErrorCount),
renderDescriptorField("Page error", summary.pageErrorCount),
renderDescriptorField("Request failed", summary.requestFailedCount),
renderDescriptorField... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | 81f3bee29ee04d48876d5807cafab347e87c9da25cecd8f12854b2f2e3fafb41 | 10 | 896 |
),
createElement(
"section",
{ className: "repair-loop-subsection", "aria-labelledby": "repair-loop-summary-title" },
createElement("h3", { id: "repair-loop-summary-title" }, "Summary"),
renderDescriptorField("Routes", summary.routeCount),
renderDescriptorField("Findings", ... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | b1b995427e1a88eefb144422ecaf277a81fd1e1d3fd48a1a83c0975a52b06824 | 11 | 896 |
"li",
{ key: call.id },
createElement("h3", null, call.contractKey),
createElement(
"p",
null,
`${call.modelIdentity.providerName} ${call.modelIdentity.resolvedModelId}`,
),
createElemen... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | 22dc3cec9b76dc4873dc05cb9489a94168478a62a915903da14901a99120edeb | 12 | 896 |
.decisionCount} decisions`),
),
),
),
);
}
function renderTaskGraph(shell: WorkspaceShellModel) {
const hasGraph = shell.taskGraph.nodes.length > 0;
return renderPanel(
"task-graph",
"Task graph",
hasGraph
? createElement(
"div",
null,
createElem... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | cb6398b3841933337ce11976452d2c3274686d596036594f2d46eb8291a40459 | 13 | 896 |
view.viewKey),
renderDescriptorField("Worker roles", view.counts.roleCount),
renderDescriptorField("Selected parallel tasks", view.counts.selectedTaskCount),
renderDescriptorField("Deferred tasks", view.counts.deferredTaskCount),
renderDescriptorField("Approval-required tasks", view.coun... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | 8a8b763423789c11de6e9f1e6a8cc037fc171d69d54ef3f520a0a24fb8a0ac3f | 14 | 896 |
}, "Running and exhausted work"),
emptyOrList(
[...view.runningTasks, ...view.exhaustedTasks, ...view.blockedTasks],
"trace-list worker-orchestration-list",
(task) =>
createElement(
"li",
{ key: `${task.reason}:${task.taskKey}` },
... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | 3ea8c27e28598dae9a9c34fbc4cdfba42163115cac19d3be45b95877ddc47b75 | 15 | 896 |
.repairable ? "yes" : "no"),
renderDescriptorField("Message", rule.message),
renderChipList("Source records", rule.sourceRecordKeys),
renderChipList("Affected artifacts", rule.affectedArtifactIds),
renderChipList("Affected evidence", rule.affectedEvidenceKeys),
... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | efb7c3647a65c3bea5f45eb2e995c660ff17f2d3087bbb4d7a80d415d6a0c691 | 16 | 896 |
summary.overallLevel),
renderDescriptorField("Criteria", summary.counts.criterionCount),
renderDescriptorField("Strong criteria", summary.counts.strongCount),
renderDescriptorField("Adequate criteria", summary.counts.adequateCount),
renderDescriptorField("Limited criteria", summary.count... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | ed825bad6b487e4d4def6f9cf1066f9711ef7da118768943b68bdd5be34ce90f | 17 | 896 |
{
return renderPanel(
"evidence",
"Evidence",
createElement(
"div",
null,
createElement(
"p",
{ className: "evidence-boundary" },
workspaceShellCopy.productEvidenceLabel,
),
emptyOrList(shell.evidence, "trace-list", (item) =>
createElement(
... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | acf1ec9db1718f9e0b135b4f1ad34baf8e7c3031d9d7c501937d04999fef5f6f | 18 | 896 |
none",
),
renderDescriptorField("Source format", item.sourceFormat ?? "none"),
renderDescriptorField("Language", item.sourceLanguage ?? "none"),
renderDescriptorField("Source sections", item.sourceSectionCount ?? 0),
renderDescriptorField("Stale reas... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | c36dd584aceb574bddc5da66ef3b686c412a81d71b11ed9713e9c7b7cd96834e | 19 | 896 |
, null, `Repairs: ${item.repairCount}`),
createElement(
"p",
null,
"Task:",
item.taskId === null
? " none"
: createElement("span", { className: "id-chip" }, item.taskId),
),
createElement(
"p",
null,
"A... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | a74659851c5bb9194c1b5c6383ce83fc2283c67ffedc8cac754f8c72c32b30c0 | 20 | 896 |
: "trace-list" },
shell.displayStates.map((state) =>
createElement(
"li",
{ key: state.key },
createElement("span", { className: `status-chip ${state.className}` }, state.label),
),
),
),
),
createElement(
"section",
{ "ar... | diplomarbeit-os | apps/studio/src/workspace-shell-view.ts | TypeScript | 222c186b25be7e11fe91bb6aaf635c83e1de9a646886c3587631577063acfab9 | 21 | 761 |
import { createElement } from "react";
import { renderToStaticMarkup } from "react-dom/server";
import { describe, expect, test } from "vitest";
import type { Task, TaskAttempt, TaskDependency } from "./db/schema";
import type { BrowserSmokeEvidenceSummary } from "./domain/browser-evidence/read-model";
import { emptyBr... | diplomarbeit-os | apps/studio/src/workspace-shell.test.ts | TypeScript | 9d4cd056e2207a55db214674bad0d49b3e06ec6bb6e1a217f828274754d16590 | 0 | 896 |
Repairs" },
{ id: "decisions", label: "Decisions" },
{ id: "limitations", label: "Limitations" },
]);
});
test("builds required top-level metrics and identifiers from deterministic records", () => {
const records = buildReconstructionFixtureRecords();
const state = reconstructCurrentRunStat... | diplomarbeit-os | apps/studio/src/workspace-shell.test.ts | TypeScript | 64bbe73e2d9e1087b992c2cab5b97152d237b09931397617192927e5e0a63706 | 1 | 896 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.