@soddong/agentic-runtime 0.16.0
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/.tbls.yml +103 -0
- package/CHANGELOG.md +229 -0
- package/README.md +707 -0
- package/dist/agent-router.d.ts +39 -0
- package/dist/agent-router.d.ts.map +1 -0
- package/dist/agent-router.js +175 -0
- package/dist/agent-router.js.map +1 -0
- package/dist/bundle-installer.d.ts +25 -0
- package/dist/bundle-installer.d.ts.map +1 -0
- package/dist/bundle-installer.js +149 -0
- package/dist/bundle-installer.js.map +1 -0
- package/dist/bundle-registry.d.ts +30 -0
- package/dist/bundle-registry.d.ts.map +1 -0
- package/dist/bundle-registry.js +102 -0
- package/dist/bundle-registry.js.map +1 -0
- package/dist/claude-code-adapter.d.ts +27 -0
- package/dist/claude-code-adapter.d.ts.map +1 -0
- package/dist/claude-code-adapter.js +177 -0
- package/dist/claude-code-adapter.js.map +1 -0
- package/dist/cli.d.ts +3 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +1731 -0
- package/dist/cli.js.map +1 -0
- package/dist/codex-adapter.d.ts +23 -0
- package/dist/codex-adapter.d.ts.map +1 -0
- package/dist/codex-adapter.js +264 -0
- package/dist/codex-adapter.js.map +1 -0
- package/dist/database.d.ts +22 -0
- package/dist/database.d.ts.map +1 -0
- package/dist/database.js +184 -0
- package/dist/database.js.map +1 -0
- package/dist/execution-projects.d.ts +71 -0
- package/dist/execution-projects.d.ts.map +1 -0
- package/dist/execution-projects.js +333 -0
- package/dist/execution-projects.js.map +1 -0
- package/dist/execution-query.d.ts +73 -0
- package/dist/execution-query.d.ts.map +1 -0
- package/dist/execution-query.js +370 -0
- package/dist/execution-query.js.map +1 -0
- package/dist/execution.d.ts +47 -0
- package/dist/execution.d.ts.map +1 -0
- package/dist/execution.js +153 -0
- package/dist/execution.js.map +1 -0
- package/dist/hook-command.d.ts +3 -0
- package/dist/hook-command.d.ts.map +1 -0
- package/dist/hook-command.js +13 -0
- package/dist/hook-command.js.map +1 -0
- package/dist/hook-record.d.ts +16 -0
- package/dist/hook-record.d.ts.map +1 -0
- package/dist/hook-record.js +427 -0
- package/dist/hook-record.js.map +1 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -0
- package/dist/kiro-adapter.d.ts +38 -0
- package/dist/kiro-adapter.d.ts.map +1 -0
- package/dist/kiro-adapter.js +374 -0
- package/dist/kiro-adapter.js.map +1 -0
- package/dist/module-registry.d.ts +21 -0
- package/dist/module-registry.d.ts.map +1 -0
- package/dist/module-registry.js +75 -0
- package/dist/module-registry.js.map +1 -0
- package/dist/runtime-info.d.ts +8 -0
- package/dist/runtime-info.d.ts.map +1 -0
- package/dist/runtime-info.js +15 -0
- package/dist/runtime-info.js.map +1 -0
- package/dist/seed-importer.d.ts +77 -0
- package/dist/seed-importer.d.ts.map +1 -0
- package/dist/seed-importer.js +570 -0
- package/dist/seed-importer.js.map +1 -0
- package/docs/build.md +129 -0
- package/docs/configuration.md +61 -0
- package/docs/delivery.md +90 -0
- package/docs/operations.md +112 -0
- package/docs/publishing.md +196 -0
- package/docs/schema/generated/README.md +31 -0
- package/docs/schema/generated/agentic_execution_logs.md +90 -0
- package/docs/schema/generated/agentic_execution_logs.svg +52 -0
- package/docs/schema/generated/agentic_execution_outputs.md +85 -0
- package/docs/schema/generated/agentic_execution_outputs.svg +52 -0
- package/docs/schema/generated/agentic_execution_project_activities.md +83 -0
- package/docs/schema/generated/agentic_execution_project_activities.svg +71 -0
- package/docs/schema/generated/agentic_execution_project_stages.md +69 -0
- package/docs/schema/generated/agentic_execution_project_stages.svg +71 -0
- package/docs/schema/generated/agentic_execution_projects.md +82 -0
- package/docs/schema/generated/agentic_execution_projects.svg +92 -0
- package/docs/schema/generated/agentic_execution_runs.md +111 -0
- package/docs/schema/generated/agentic_execution_runs.svg +92 -0
- package/docs/schema/generated/agentic_project_bundles.md +106 -0
- package/docs/schema/generated/agentic_project_bundles.svg +91 -0
- package/docs/schema/generated/agentic_project_modules.md +77 -0
- package/docs/schema/generated/agentic_project_modules.svg +49 -0
- package/docs/schema/generated/agentic_runtime_metadata.md +62 -0
- package/docs/schema/generated/agentic_runtime_metadata.svg +28 -0
- package/docs/schema/generated/agentic_schema_migrations.md +65 -0
- package/docs/schema/generated/agentic_schema_migrations.svg +32 -0
- package/docs/schema/generated/agentic_seed_import_items.md +85 -0
- package/docs/schema/generated/agentic_seed_import_items.svg +47 -0
- package/docs/schema/generated/agentic_seed_import_runs.md +103 -0
- package/docs/schema/generated/agentic_seed_import_runs.svg +68 -0
- package/docs/schema/generated/agentic_user_requests.md +66 -0
- package/docs/schema/generated/agentic_user_requests.svg +52 -0
- package/docs/schema/generated/schema.json +1976 -0
- package/docs/schema/generated/schema.mmd +167 -0
- package/docs/schema/generated/schema.svg +266 -0
- package/docs/schema/migrations.md +163 -0
- package/docs/usage.md +774 -0
- package/package.json +32 -0
- package/src/database/migrations/0001_runtime_base.sql +231 -0
- package/src/database/migrations/0002_runtime_bundles.sql +61 -0
- package/src/database/migrations/0003_runtime_seed_imports.sql +121 -0
- package/src/database/migrations/0004_runtime_seed_apply_status.sql +76 -0
- package/src/database/migrations/0005_runtime_execution_projects.sql +92 -0
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
erDiagram
|
|
2
|
+
|
|
3
|
+
"agentic_execution_runs" }o--o| "agentic_user_requests" : ""
|
|
4
|
+
"agentic_execution_logs" }o--|| "agentic_execution_runs" : ""
|
|
5
|
+
"agentic_execution_outputs" }o--|| "agentic_execution_runs" : ""
|
|
6
|
+
"agentic_project_bundles" }o--|| "agentic_project_modules" : ""
|
|
7
|
+
"agentic_seed_import_runs" }o--|| "agentic_project_bundles" : ""
|
|
8
|
+
"agentic_seed_import_items" }o--|| "agentic_seed_import_runs" : ""
|
|
9
|
+
"agentic_execution_projects" }o--|| "agentic_project_bundles" : ""
|
|
10
|
+
"agentic_execution_project_stages" }o--|| "agentic_execution_projects" : ""
|
|
11
|
+
"agentic_execution_project_activities" }o--|| "agentic_execution_project_stages" : ""
|
|
12
|
+
"agentic_execution_project_activities" }o--|| "agentic_execution_projects" : ""
|
|
13
|
+
|
|
14
|
+
"agentic_runtime_metadata" {
|
|
15
|
+
VARCHAR_128_ metadata_key "metadata 항목 식별자"
|
|
16
|
+
TEXT metadata_value "metadata 값"
|
|
17
|
+
VARCHAR_16_ value_type "metadata 값의 논리 타입"
|
|
18
|
+
TEXT metadata_description "metadata 항목 설명"
|
|
19
|
+
DATETIME updated_at "metadata 최종 수정 시각"
|
|
20
|
+
}
|
|
21
|
+
"agentic_schema_migrations" {
|
|
22
|
+
VARCHAR_214_ package_name "migration을 제공한 패키지명"
|
|
23
|
+
VARCHAR_128_ migration_id "migration 식별자"
|
|
24
|
+
CHAR_64_ checksum_sha256 "migration 파일 내용 검증용 SHA-256 checksum"
|
|
25
|
+
VARCHAR_64_ applied_by_runtime_version "migration을 적용한 runtime version"
|
|
26
|
+
DATETIME applied_at "migration 적용 시각"
|
|
27
|
+
}
|
|
28
|
+
"agentic_project_modules" {
|
|
29
|
+
VARCHAR_214_ package_name "Agentic package 이름"
|
|
30
|
+
VARCHAR_64_ package_version "등록된 package version"
|
|
31
|
+
VARCHAR_32_ module_layer "runtime, domain, capability, application, support 등 패키지 계층"
|
|
32
|
+
JSON manifest_json "package manifest snapshot"
|
|
33
|
+
INTEGER is_enabled "프로젝트 내 활성화 여부"
|
|
34
|
+
DATETIME registered_at "프로젝트에 등록된 시각"
|
|
35
|
+
DATETIME updated_at "등록 상태 최종 수정 시각"
|
|
36
|
+
}
|
|
37
|
+
"agentic_user_requests" {
|
|
38
|
+
CHAR_36_ request_id "사용자 지시 식별자"
|
|
39
|
+
TEXT request_text "사용자 지시 원문"
|
|
40
|
+
VARCHAR_32_ request_source "지시 유입 경로"
|
|
41
|
+
JSON context_json "지시 context snapshot"
|
|
42
|
+
DATETIME created_at "지시 접수 시각"
|
|
43
|
+
}
|
|
44
|
+
"agentic_execution_runs" {
|
|
45
|
+
CHAR_36_ run_id "실행 식별자"
|
|
46
|
+
CHAR_36_ request_id "사용자 지시 식별자"
|
|
47
|
+
VARCHAR_214_ package_name "실행을 담당한 package 이름"
|
|
48
|
+
VARCHAR_128_ command_name "실행된 command 또는 agent 식별자"
|
|
49
|
+
VARCHAR_32_ run_type "실행 종류"
|
|
50
|
+
VARCHAR_32_ run_status "실행 상태"
|
|
51
|
+
DATETIME started_at "실행 시작 시각"
|
|
52
|
+
DATETIME ended_at "실행 종료 시각"
|
|
53
|
+
INTEGER duration_ms "실행 소요 시간"
|
|
54
|
+
INTEGER exit_code "process exit code"
|
|
55
|
+
TEXT error_message "실패 또는 취소 사유"
|
|
56
|
+
JSON run_options_json "실행 option snapshot"
|
|
57
|
+
DATETIME created_at "실행 생성 시각"
|
|
58
|
+
}
|
|
59
|
+
"agentic_execution_logs" {
|
|
60
|
+
INTEGER log_id "로그 식별자"
|
|
61
|
+
CHAR_36_ run_id "실행 식별자"
|
|
62
|
+
INTEGER sequence_no "실행 내 로그 순번"
|
|
63
|
+
VARCHAR_16_ log_level "로그 레벨"
|
|
64
|
+
VARCHAR_32_ log_type "로그 종류"
|
|
65
|
+
TEXT message "로그 메시지"
|
|
66
|
+
JSON payload_json "구조화 로그 payload"
|
|
67
|
+
DATETIME created_at "로그 생성 시각"
|
|
68
|
+
}
|
|
69
|
+
"agentic_execution_outputs" {
|
|
70
|
+
INTEGER output_id "실행 결과 식별자"
|
|
71
|
+
CHAR_36_ run_id "실행 식별자"
|
|
72
|
+
VARCHAR_32_ output_type "결과 종류"
|
|
73
|
+
TEXT content_text "text 결과"
|
|
74
|
+
JSON content_json "JSON 결과"
|
|
75
|
+
TEXT file_path "파일 결과 경로"
|
|
76
|
+
DATETIME created_at "결과 생성 시각"
|
|
77
|
+
}
|
|
78
|
+
"agentic_project_bundles" {
|
|
79
|
+
INTEGER bundle_id ""
|
|
80
|
+
VARCHAR_214_ package_name ""
|
|
81
|
+
VARCHAR_64_ package_version ""
|
|
82
|
+
VARCHAR_128_ bundle_code ""
|
|
83
|
+
VARCHAR_64_ bundle_version ""
|
|
84
|
+
VARCHAR_128_ methodology_code ""
|
|
85
|
+
VARCHAR_255_ display_name ""
|
|
86
|
+
TEXT description ""
|
|
87
|
+
JSON bundle_manifest_json ""
|
|
88
|
+
JSON validation_result_json ""
|
|
89
|
+
INTEGER is_enabled ""
|
|
90
|
+
DATETIME installed_at ""
|
|
91
|
+
DATETIME updated_at ""
|
|
92
|
+
}
|
|
93
|
+
"agentic_seed_import_runs" {
|
|
94
|
+
INTEGER seed_import_run_id ""
|
|
95
|
+
INTEGER bundle_id ""
|
|
96
|
+
VARCHAR_214_ package_name ""
|
|
97
|
+
VARCHAR_64_ package_version ""
|
|
98
|
+
VARCHAR_128_ bundle_code ""
|
|
99
|
+
VARCHAR_64_ bundle_version ""
|
|
100
|
+
VARCHAR_128_ methodology_code ""
|
|
101
|
+
VARCHAR_16_ import_mode ""
|
|
102
|
+
VARCHAR_32_ import_status ""
|
|
103
|
+
JSON summary_json ""
|
|
104
|
+
JSON validation_result_json ""
|
|
105
|
+
DATETIME created_at ""
|
|
106
|
+
DATETIME updated_at ""
|
|
107
|
+
}
|
|
108
|
+
"agentic_seed_import_items" {
|
|
109
|
+
INTEGER seed_import_item_id ""
|
|
110
|
+
INTEGER seed_import_run_id ""
|
|
111
|
+
INTEGER item_order ""
|
|
112
|
+
VARCHAR_64_ source_section ""
|
|
113
|
+
VARCHAR_214_ target_package ""
|
|
114
|
+
VARCHAR_64_ target_domain ""
|
|
115
|
+
VARCHAR_128_ target_operation ""
|
|
116
|
+
VARCHAR_255_ item_key ""
|
|
117
|
+
INTEGER item_count ""
|
|
118
|
+
VARCHAR_32_ item_status ""
|
|
119
|
+
VARCHAR_128_ reason_code ""
|
|
120
|
+
TEXT reason_message ""
|
|
121
|
+
JSON item_payload_json ""
|
|
122
|
+
DATETIME created_at ""
|
|
123
|
+
}
|
|
124
|
+
"agentic_execution_projects" {
|
|
125
|
+
INTEGER execution_project_id ""
|
|
126
|
+
VARCHAR_128_ project_code ""
|
|
127
|
+
VARCHAR_256_ project_name ""
|
|
128
|
+
VARCHAR_32_ project_status_code ""
|
|
129
|
+
INTEGER bundle_id ""
|
|
130
|
+
VARCHAR_214_ package_name ""
|
|
131
|
+
VARCHAR_64_ package_version ""
|
|
132
|
+
VARCHAR_128_ bundle_code ""
|
|
133
|
+
VARCHAR_64_ bundle_version ""
|
|
134
|
+
VARCHAR_128_ methodology_code ""
|
|
135
|
+
VARCHAR_128_ lifecycle_code ""
|
|
136
|
+
VARCHAR_128_ phase_code ""
|
|
137
|
+
VARCHAR_128_ process_code ""
|
|
138
|
+
JSON metadata_json ""
|
|
139
|
+
DATETIME created_at ""
|
|
140
|
+
DATETIME updated_at ""
|
|
141
|
+
}
|
|
142
|
+
"agentic_execution_project_stages" {
|
|
143
|
+
INTEGER execution_project_stage_id ""
|
|
144
|
+
INTEGER execution_project_id ""
|
|
145
|
+
VARCHAR_128_ stage_code ""
|
|
146
|
+
VARCHAR_256_ stage_name ""
|
|
147
|
+
VARCHAR_32_ stage_status_code ""
|
|
148
|
+
INTEGER sort_order ""
|
|
149
|
+
JSON metadata_json ""
|
|
150
|
+
DATETIME created_at ""
|
|
151
|
+
DATETIME updated_at ""
|
|
152
|
+
}
|
|
153
|
+
"agentic_execution_project_activities" {
|
|
154
|
+
INTEGER execution_project_activity_id ""
|
|
155
|
+
INTEGER execution_project_id ""
|
|
156
|
+
INTEGER execution_project_stage_id ""
|
|
157
|
+
VARCHAR_128_ activity_code ""
|
|
158
|
+
VARCHAR_256_ activity_name ""
|
|
159
|
+
VARCHAR_32_ activity_status_code ""
|
|
160
|
+
VARCHAR_128_ primary_artifact_standard_code ""
|
|
161
|
+
VARCHAR_64_ primary_artifact_standard_version ""
|
|
162
|
+
VARCHAR_64_ artifact_instance_id ""
|
|
163
|
+
INTEGER sort_order ""
|
|
164
|
+
JSON metadata_json ""
|
|
165
|
+
DATETIME created_at ""
|
|
166
|
+
DATETIME updated_at ""
|
|
167
|
+
}
|
|
@@ -0,0 +1,266 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
|
|
3
|
+
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|
4
|
+
<!-- Generated by graphviz version 12.1.2 (20240928.0832)
|
|
5
|
+
-->
|
|
6
|
+
<!-- Title: agentic-runtime Pages: 1 -->
|
|
7
|
+
<svg width="2317pt" height="1070pt"
|
|
8
|
+
viewBox="0.00 0.00 2317.07 1070.40" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
9
|
+
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 1066.4)">
|
|
10
|
+
<title>agentic-runtime</title>
|
|
11
|
+
<polygon fill="white" stroke="none" points="-4,4 -4,-1066.4 2313.07,-1066.4 2313.07,4 -4,4"/>
|
|
12
|
+
<!-- agentic_runtime_metadata -->
|
|
13
|
+
<g id="node1" class="node">
|
|
14
|
+
<title>agentic_runtime_metadata</title>
|
|
15
|
+
<polygon fill="#efefef" stroke="none" points="43.2,-957.8 43.2,-1003.8 386.34,-1003.8 386.34,-957.8 43.2,-957.8"/>
|
|
16
|
+
<polygon fill="none" stroke="black" points="43.2,-957.8 43.2,-1003.8 386.34,-1003.8 386.34,-957.8 43.2,-957.8"/>
|
|
17
|
+
<text text-anchor="start" x="84.68" y="-981.6" font-family="Arial Bold" font-size="18.00">agentic_runtime_metadata</text>
|
|
18
|
+
<text text-anchor="start" x="275.6" y="-981.6" font-family="Arial" font-size="14.00"> </text>
|
|
19
|
+
<text text-anchor="start" x="306.72" y="-981.6" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
20
|
+
<text text-anchor="start" x="59.94" y="-967.2" font-family="Arial" font-size="14.00" fill="#333333">런타임 DB 식별과 runtime-level metadata를 관리한다.</text>
|
|
21
|
+
<polygon fill="none" stroke="black" points="43.2,-927 43.2,-957.8 386.34,-957.8 386.34,-927 43.2,-927"/>
|
|
22
|
+
<text text-anchor="start" x="50.2" y="-939.2" font-family="Arial" font-size="14.00">metadata_key </text>
|
|
23
|
+
<text text-anchor="start" x="142.03" y="-939.2" font-family="Arial" font-size="14.00" fill="#666666">[VARCHAR(128)]</text>
|
|
24
|
+
<text text-anchor="start" x="250.95" y="-939.2" font-family="Arial" font-size="14.00"> metadata 항목 식별자</text>
|
|
25
|
+
</g>
|
|
26
|
+
<!-- agentic_schema_migrations -->
|
|
27
|
+
<g id="node2" class="node">
|
|
28
|
+
<title>agentic_schema_migrations</title>
|
|
29
|
+
<polygon fill="#efefef" stroke="none" points="490.76,-973.2 490.76,-1019.2 914.77,-1019.2 914.77,-973.2 490.76,-973.2"/>
|
|
30
|
+
<polygon fill="none" stroke="black" points="490.76,-973.2 490.76,-1019.2 914.77,-1019.2 914.77,-973.2 490.76,-973.2"/>
|
|
31
|
+
<text text-anchor="start" x="567.67" y="-997" font-family="Arial Bold" font-size="18.00">agentic_schema_migrations</text>
|
|
32
|
+
<text text-anchor="start" x="768.61" y="-997" font-family="Arial" font-size="14.00"> </text>
|
|
33
|
+
<text text-anchor="start" x="799.73" y="-997" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
34
|
+
<text text-anchor="start" x="497.76" y="-982.6" font-family="Arial" font-size="14.00" fill="#333333">runtime 및 각 패키지의 SQLite schema migration 적용 이력을 관리한다.</text>
|
|
35
|
+
<polygon fill="none" stroke="black" points="490.76,-942.4 490.76,-973.2 914.77,-973.2 914.77,-942.4 490.76,-942.4"/>
|
|
36
|
+
<text text-anchor="start" x="497.76" y="-954.6" font-family="Arial" font-size="14.00">package_name </text>
|
|
37
|
+
<text text-anchor="start" x="597.39" y="-954.6" font-family="Arial" font-size="14.00" fill="#666666">[VARCHAR(214)]</text>
|
|
38
|
+
<text text-anchor="start" x="706.31" y="-954.6" font-family="Arial" font-size="14.00"> migration을 제공한 패키지명</text>
|
|
39
|
+
<polygon fill="none" stroke="black" points="490.76,-911.6 490.76,-942.4 914.77,-942.4 914.77,-911.6 490.76,-911.6"/>
|
|
40
|
+
<text text-anchor="start" x="497.76" y="-923.8" font-family="Arial" font-size="14.00">migration_id </text>
|
|
41
|
+
<text text-anchor="start" x="577.91" y="-923.8" font-family="Arial" font-size="14.00" fill="#666666">[VARCHAR(128)]</text>
|
|
42
|
+
<text text-anchor="start" x="686.83" y="-923.8" font-family="Arial" font-size="14.00"> migration 식별자</text>
|
|
43
|
+
</g>
|
|
44
|
+
<!-- agentic_project_modules -->
|
|
45
|
+
<g id="node3" class="node">
|
|
46
|
+
<title>agentic_project_modules</title>
|
|
47
|
+
<polygon fill="#efefef" stroke="none" points="786.54,-74 786.54,-120 1153,-120 1153,-74 786.54,-74"/>
|
|
48
|
+
<polygon fill="none" stroke="black" points="786.54,-74 786.54,-120 1153,-120 1153,-74 786.54,-74"/>
|
|
49
|
+
<text text-anchor="start" x="844.67" y="-97.8" font-family="Arial Bold" font-size="18.00">agentic_project_modules</text>
|
|
50
|
+
<text text-anchor="start" x="1025.61" y="-97.8" font-family="Arial" font-size="14.00"> </text>
|
|
51
|
+
<text text-anchor="start" x="1056.73" y="-97.8" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
52
|
+
<text text-anchor="start" x="793.54" y="-83.4" font-family="Arial" font-size="14.00" fill="#333333">현재 실행 프로젝트에 등록된 Agentic package 상태를 관리한다.</text>
|
|
53
|
+
<polygon fill="none" stroke="black" points="786.54,-43.2 786.54,-74 1153,-74 1153,-43.2 786.54,-43.2"/>
|
|
54
|
+
<text text-anchor="start" x="793.54" y="-55.4" font-family="Arial" font-size="14.00">package_name </text>
|
|
55
|
+
<text text-anchor="start" x="893.17" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[VARCHAR(214)]</text>
|
|
56
|
+
<text text-anchor="start" x="1002.09" y="-55.4" font-family="Arial" font-size="14.00"> Agentic package 이름</text>
|
|
57
|
+
</g>
|
|
58
|
+
<!-- agentic_user_requests -->
|
|
59
|
+
<g id="node4" class="node">
|
|
60
|
+
<title>agentic_user_requests</title>
|
|
61
|
+
<polygon fill="#efefef" stroke="none" points="1622.45,-503 1622.45,-549 1883.09,-549 1883.09,-503 1622.45,-503"/>
|
|
62
|
+
<polygon fill="none" stroke="black" points="1622.45,-503 1622.45,-549 1883.09,-549 1883.09,-503 1622.45,-503"/>
|
|
63
|
+
<text text-anchor="start" x="1638.67" y="-526.8" font-family="Arial Bold" font-size="18.00">agentic_user_requests</text>
|
|
64
|
+
<text text-anchor="start" x="1797.61" y="-526.8" font-family="Arial" font-size="14.00"> </text>
|
|
65
|
+
<text text-anchor="start" x="1828.73" y="-526.8" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
66
|
+
<text text-anchor="start" x="1641.91" y="-512.4" font-family="Arial" font-size="14.00" fill="#333333">사용자 지시 원문과 접수 정보를 관리한다.</text>
|
|
67
|
+
<polygon fill="none" stroke="black" points="1622.45,-472.2 1622.45,-503 1883.09,-503 1883.09,-472.2 1622.45,-472.2"/>
|
|
68
|
+
<text text-anchor="start" x="1629.45" y="-484.4" font-family="Arial" font-size="14.00">request_id </text>
|
|
69
|
+
<text text-anchor="start" x="1698.72" y="-484.4" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
70
|
+
<text text-anchor="start" x="1771.06" y="-484.4" font-family="Arial" font-size="14.00"> 사용자 지시 식별자</text>
|
|
71
|
+
</g>
|
|
72
|
+
<!-- agentic_execution_runs -->
|
|
73
|
+
<g id="node5" class="node">
|
|
74
|
+
<title>agentic_execution_runs</title>
|
|
75
|
+
<polygon fill="#efefef" stroke="none" points="1576.95,-743.2 1576.95,-789.2 1928.59,-789.2 1928.59,-743.2 1576.95,-743.2"/>
|
|
76
|
+
<polygon fill="none" stroke="black" points="1576.95,-743.2 1576.95,-789.2 1928.59,-789.2 1928.59,-743.2 1576.95,-743.2"/>
|
|
77
|
+
<text text-anchor="start" x="1632.67" y="-767" font-family="Arial Bold" font-size="18.00">agentic_execution_runs</text>
|
|
78
|
+
<text text-anchor="start" x="1803.61" y="-767" font-family="Arial" font-size="14.00"> </text>
|
|
79
|
+
<text text-anchor="start" x="1834.73" y="-767" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
80
|
+
<text text-anchor="start" x="1583.95" y="-752.6" font-family="Arial" font-size="14.00" fill="#333333">사용자 지시 또는 runtime command의 실행 단위를 관리한다.</text>
|
|
81
|
+
<polygon fill="none" stroke="black" points="1576.95,-712.4 1576.95,-743.2 1928.59,-743.2 1928.59,-712.4 1576.95,-712.4"/>
|
|
82
|
+
<text text-anchor="start" x="1583.95" y="-724.6" font-family="Arial" font-size="14.00">run_id </text>
|
|
83
|
+
<text text-anchor="start" x="1626.75" y="-724.6" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
84
|
+
<text text-anchor="start" x="1699.1" y="-724.6" font-family="Arial" font-size="14.00"> 실행 식별자</text>
|
|
85
|
+
<polygon fill="none" stroke="black" points="1576.95,-681.6 1576.95,-712.4 1928.59,-712.4 1928.59,-681.6 1576.95,-681.6"/>
|
|
86
|
+
<text text-anchor="start" x="1583.95" y="-693.8" font-family="Arial" font-size="14.00">request_id </text>
|
|
87
|
+
<text text-anchor="start" x="1653.22" y="-693.8" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
88
|
+
<text text-anchor="start" x="1725.56" y="-693.8" font-family="Arial" font-size="14.00"> 사용자 지시 식별자</text>
|
|
89
|
+
</g>
|
|
90
|
+
<!-- agentic_execution_runs->agentic_user_requests -->
|
|
91
|
+
<g id="edge1" class="edge">
|
|
92
|
+
<title>agentic_execution_runs:request_id->agentic_user_requests:request_id</title>
|
|
93
|
+
<path fill="none" stroke="black" d="M1753.46,-670.3C1763.64,-599.96 1883,-662.82 1926.29,-592.2 1954.15,-546.73 1963.89,-510.02 1926.29,-472.2 1871.91,-417.51 1752.77,-394.08 1752.77,-471.2"/>
|
|
94
|
+
<polygon fill="black" stroke="black" points="1753.46,-670.29 1748.3,-679.96 1753.1,-675.61 1752.81,-679.93 1752.81,-679.93 1752.81,-679.93 1753.1,-675.61 1757.28,-680.57 1753.46,-670.29"/>
|
|
95
|
+
</g>
|
|
96
|
+
<!-- agentic_execution_logs -->
|
|
97
|
+
<g id="node6" class="node">
|
|
98
|
+
<title>agentic_execution_logs</title>
|
|
99
|
+
<polygon fill="#efefef" stroke="none" points="1598.63,-957.8 1598.63,-1003.8 1884.91,-1003.8 1884.91,-957.8 1598.63,-957.8"/>
|
|
100
|
+
<polygon fill="none" stroke="black" points="1598.63,-957.8 1598.63,-1003.8 1884.91,-1003.8 1884.91,-957.8 1598.63,-957.8"/>
|
|
101
|
+
<text text-anchor="start" x="1622.17" y="-981.6" font-family="Arial Bold" font-size="18.00">agentic_execution_logs</text>
|
|
102
|
+
<text text-anchor="start" x="1792.11" y="-981.6" font-family="Arial" font-size="14.00"> </text>
|
|
103
|
+
<text text-anchor="start" x="1823.23" y="-981.6" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
104
|
+
<text text-anchor="start" x="1605.63" y="-967.2" font-family="Arial" font-size="14.00" fill="#333333">실행 중 발생한 로그와 이벤트를 순서대로 관리한다.</text>
|
|
105
|
+
<polygon fill="none" stroke="black" points="1598.63,-927 1598.63,-957.8 1884.91,-957.8 1884.91,-927 1598.63,-927"/>
|
|
106
|
+
<text text-anchor="start" x="1605.63" y="-939.2" font-family="Arial" font-size="14.00">run_id </text>
|
|
107
|
+
<text text-anchor="start" x="1648.44" y="-939.2" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
108
|
+
<text text-anchor="start" x="1720.78" y="-939.2" font-family="Arial" font-size="14.00"> 실행 식별자</text>
|
|
109
|
+
</g>
|
|
110
|
+
<!-- agentic_execution_logs->agentic_execution_runs -->
|
|
111
|
+
<g id="edge2" class="edge">
|
|
112
|
+
<title>agentic_execution_logs:run_id->agentic_execution_runs:run_id</title>
|
|
113
|
+
<path fill="none" stroke="black" d="M1741.11,-915.94C1731.42,-846.94 1617.84,-901.88 1576.95,-832.4 1553.37,-792.33 1529.46,-727.8 1575.95,-727.8"/>
|
|
114
|
+
<polygon fill="black" stroke="black" points="1741.09,-915.69 1737.26,-925.96 1741.44,-921.01 1741.72,-925.33 1741.72,-925.33 1741.72,-925.33 1741.44,-921.01 1746.24,-925.37 1741.09,-915.69"/>
|
|
115
|
+
</g>
|
|
116
|
+
<!-- agentic_execution_outputs -->
|
|
117
|
+
<g id="node7" class="node">
|
|
118
|
+
<title>agentic_execution_outputs</title>
|
|
119
|
+
<polygon fill="#efefef" stroke="none" points="1989.67,-957.8 1989.67,-1003.8 2265.87,-1003.8 2265.87,-957.8 1989.67,-957.8"/>
|
|
120
|
+
<polygon fill="none" stroke="black" points="1989.67,-957.8 1989.67,-1003.8 2265.87,-1003.8 2265.87,-957.8 1989.67,-957.8"/>
|
|
121
|
+
<text text-anchor="start" x="1996.67" y="-981.6" font-family="Arial Bold" font-size="18.00">agentic_execution_outputs</text>
|
|
122
|
+
<text text-anchor="start" x="2189.61" y="-981.6" font-family="Arial" font-size="14.00"> </text>
|
|
123
|
+
<text text-anchor="start" x="2220.73" y="-981.6" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
124
|
+
<text text-anchor="start" x="2038.31" y="-967.2" font-family="Arial" font-size="14.00" fill="#333333">실행 결과를 구조화하여 관리한다.</text>
|
|
125
|
+
<polygon fill="none" stroke="black" points="1989.67,-927 1989.67,-957.8 2265.87,-957.8 2265.87,-927 1989.67,-927"/>
|
|
126
|
+
<text text-anchor="start" x="1996.67" y="-939.2" font-family="Arial" font-size="14.00">run_id </text>
|
|
127
|
+
<text text-anchor="start" x="2039.47" y="-939.2" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
128
|
+
<text text-anchor="start" x="2111.82" y="-939.2" font-family="Arial" font-size="14.00"> 실행 식별자</text>
|
|
129
|
+
</g>
|
|
130
|
+
<!-- agentic_execution_outputs->agentic_execution_runs -->
|
|
131
|
+
<g id="edge3" class="edge">
|
|
132
|
+
<title>agentic_execution_outputs:run_id->agentic_execution_runs:run_id</title>
|
|
133
|
+
<path fill="none" stroke="black" d="M1978.61,-941.54C1899.71,-926.77 2024.84,-727.8 1929.59,-727.8"/>
|
|
134
|
+
<polygon fill="black" stroke="black" points="1978.37,-941.51 1987.95,-946.85 1983.69,-941.97 1988,-942.34 1988,-942.34 1988,-942.34 1983.69,-941.97 1988.72,-937.89 1978.37,-941.51"/>
|
|
135
|
+
</g>
|
|
136
|
+
<!-- agentic_project_bundles -->
|
|
137
|
+
<g id="node8" class="node">
|
|
138
|
+
<title>agentic_project_bundles</title>
|
|
139
|
+
<polygon fill="#efefef" stroke="none" points="840.17,-304 840.17,-339.6 1099.37,-339.6 1099.37,-304 840.17,-304"/>
|
|
140
|
+
<polygon fill="none" stroke="black" points="840.17,-304 840.17,-339.6 1099.37,-339.6 1099.37,-304 840.17,-304"/>
|
|
141
|
+
<text text-anchor="start" x="847.17" y="-317.4" font-family="Arial Bold" font-size="18.00">agentic_project_bundles</text>
|
|
142
|
+
<text text-anchor="start" x="1023.11" y="-317.4" font-family="Arial" font-size="14.00"> </text>
|
|
143
|
+
<text text-anchor="start" x="1054.23" y="-317.4" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
144
|
+
<polygon fill="none" stroke="black" points="840.17,-273.2 840.17,-304 1099.37,-304 1099.37,-273.2 840.17,-273.2"/>
|
|
145
|
+
<text text-anchor="start" x="847.17" y="-285.4" font-family="Arial" font-size="14.00">bundle_id </text>
|
|
146
|
+
<text text-anchor="start" x="911.78" y="-285.4" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
147
|
+
<polygon fill="none" stroke="black" points="840.17,-242.4 840.17,-273.2 1099.37,-273.2 1099.37,-242.4 840.17,-242.4"/>
|
|
148
|
+
<text text-anchor="start" x="847.17" y="-254.6" font-family="Arial" font-size="14.00">package_name </text>
|
|
149
|
+
<text text-anchor="start" x="946.8" y="-254.6" font-family="Arial" font-size="14.00" fill="#666666">[VARCHAR(214)]</text>
|
|
150
|
+
</g>
|
|
151
|
+
<!-- agentic_project_bundles->agentic_project_modules -->
|
|
152
|
+
<g id="edge4" class="edge">
|
|
153
|
+
<title>agentic_project_bundles:package_name->agentic_project_modules:package_name</title>
|
|
154
|
+
<path fill="none" stroke="black" d="M970.33,-231.24C980.9,-142.56 1136.52,-246.94 1196.2,-163.2 1227.15,-119.77 1233.82,-81 1196.2,-43.2 1160.69,-7.54 969.77,8.12 969.77,-42.2"/>
|
|
155
|
+
<polygon fill="black" stroke="black" points="970.34,-231.08 965.29,-240.82 970.05,-236.41 969.81,-240.73 969.81,-240.73 969.81,-240.73 970.05,-236.41 974.28,-241.32 970.34,-231.08"/>
|
|
156
|
+
</g>
|
|
157
|
+
<!-- agentic_seed_import_runs -->
|
|
158
|
+
<g id="node9" class="node">
|
|
159
|
+
<title>agentic_seed_import_runs</title>
|
|
160
|
+
<polygon fill="#efefef" stroke="none" points="643.17,-523.6 643.17,-559.2 916.37,-559.2 916.37,-523.6 643.17,-523.6"/>
|
|
161
|
+
<polygon fill="none" stroke="black" points="643.17,-523.6 643.17,-559.2 916.37,-559.2 916.37,-523.6 643.17,-523.6"/>
|
|
162
|
+
<text text-anchor="start" x="650.17" y="-537" font-family="Arial Bold" font-size="18.00">agentic_seed_import_runs</text>
|
|
163
|
+
<text text-anchor="start" x="840.12" y="-537" font-family="Arial" font-size="14.00"> </text>
|
|
164
|
+
<text text-anchor="start" x="871.23" y="-537" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
165
|
+
<polygon fill="none" stroke="black" points="643.17,-492.8 643.17,-523.6 916.37,-523.6 916.37,-492.8 643.17,-492.8"/>
|
|
166
|
+
<text text-anchor="start" x="650.17" y="-505" font-family="Arial" font-size="14.00">seed_import_run_id </text>
|
|
167
|
+
<text text-anchor="start" x="777.8" y="-505" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
168
|
+
<polygon fill="none" stroke="black" points="643.17,-462 643.17,-492.8 916.37,-492.8 916.37,-462 643.17,-462"/>
|
|
169
|
+
<text text-anchor="start" x="650.17" y="-474.2" font-family="Arial" font-size="14.00">bundle_id </text>
|
|
170
|
+
<text text-anchor="start" x="714.78" y="-474.2" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
171
|
+
</g>
|
|
172
|
+
<!-- agentic_seed_import_runs->agentic_project_bundles -->
|
|
173
|
+
<g id="edge5" class="edge">
|
|
174
|
+
<title>agentic_seed_import_runs:bundle_id->agentic_project_bundles:bundle_id</title>
|
|
175
|
+
<path fill="none" stroke="black" d="M927.21,-474.66C939.15,-465.75 928.18,-437.09 916.37,-418.8 896.06,-387.33 860.38,-414.33 840.17,-382.8 817.58,-347.55 797.3,-288.6 839.17,-288.6"/>
|
|
176
|
+
<polygon fill="black" stroke="black" points="927.33,-474.63 916.49,-472.97 922.19,-476.06 918.01,-477.22 918.01,-477.22 918.01,-477.22 922.19,-476.06 918.9,-481.65 927.33,-474.63"/>
|
|
177
|
+
</g>
|
|
178
|
+
<!-- agentic_seed_import_items -->
|
|
179
|
+
<g id="node10" class="node">
|
|
180
|
+
<title>agentic_seed_import_items</title>
|
|
181
|
+
<polygon fill="#efefef" stroke="none" points="639.17,-733 639.17,-768.6 920.37,-768.6 920.37,-733 639.17,-733"/>
|
|
182
|
+
<polygon fill="none" stroke="black" points="639.17,-733 639.17,-768.6 920.37,-768.6 920.37,-733 639.17,-733"/>
|
|
183
|
+
<text text-anchor="start" x="646.17" y="-746.4" font-family="Arial Bold" font-size="18.00">agentic_seed_import_items</text>
|
|
184
|
+
<text text-anchor="start" x="844.11" y="-746.4" font-family="Arial" font-size="14.00"> </text>
|
|
185
|
+
<text text-anchor="start" x="875.23" y="-746.4" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
186
|
+
<polygon fill="none" stroke="black" points="639.17,-702.2 639.17,-733 920.37,-733 920.37,-702.2 639.17,-702.2"/>
|
|
187
|
+
<text text-anchor="start" x="646.17" y="-714.4" font-family="Arial" font-size="14.00">seed_import_run_id </text>
|
|
188
|
+
<text text-anchor="start" x="773.8" y="-714.4" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
189
|
+
</g>
|
|
190
|
+
<!-- agentic_seed_import_items->agentic_seed_import_runs -->
|
|
191
|
+
<g id="edge6" class="edge">
|
|
192
|
+
<title>agentic_seed_import_items:seed_import_run_id->agentic_seed_import_runs:seed_import_run_id</title>
|
|
193
|
+
<path fill="none" stroke="black" d="M780.48,-691.04C789.58,-630.18 883.61,-665.69 916.37,-602.4 935.62,-565.22 959.24,-508.2 917.37,-508.2"/>
|
|
194
|
+
<polygon fill="black" stroke="black" points="780.49,-690.89 775.3,-700.55 780.12,-696.21 779.82,-700.53 779.82,-700.53 779.82,-700.53 780.12,-696.21 784.28,-701.18 780.49,-690.89"/>
|
|
195
|
+
</g>
|
|
196
|
+
<!-- agentic_execution_projects -->
|
|
197
|
+
<g id="node11" class="node">
|
|
198
|
+
<title>agentic_execution_projects</title>
|
|
199
|
+
<polygon fill="#efefef" stroke="none" points="1020.68,-523.6 1020.68,-559.2 1300.86,-559.2 1300.86,-523.6 1020.68,-523.6"/>
|
|
200
|
+
<polygon fill="none" stroke="black" points="1020.68,-523.6 1020.68,-559.2 1300.86,-559.2 1300.86,-523.6 1020.68,-523.6"/>
|
|
201
|
+
<text text-anchor="start" x="1027.68" y="-537" font-family="Arial Bold" font-size="18.00">agentic_execution_projects</text>
|
|
202
|
+
<text text-anchor="start" x="1224.6" y="-537" font-family="Arial" font-size="14.00"> </text>
|
|
203
|
+
<text text-anchor="start" x="1255.72" y="-537" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
204
|
+
<polygon fill="none" stroke="black" points="1020.68,-492.8 1020.68,-523.6 1300.86,-523.6 1300.86,-492.8 1020.68,-492.8"/>
|
|
205
|
+
<text text-anchor="start" x="1027.68" y="-505" font-family="Arial" font-size="14.00">execution_project_id </text>
|
|
206
|
+
<text text-anchor="start" x="1159.99" y="-505" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
207
|
+
<polygon fill="none" stroke="black" points="1020.68,-462 1020.68,-492.8 1300.86,-492.8 1300.86,-462 1020.68,-462"/>
|
|
208
|
+
<text text-anchor="start" x="1027.68" y="-474.2" font-family="Arial" font-size="14.00">bundle_id </text>
|
|
209
|
+
<text text-anchor="start" x="1092.29" y="-474.2" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
210
|
+
</g>
|
|
211
|
+
<!-- agentic_execution_projects->agentic_project_bundles -->
|
|
212
|
+
<g id="edge7" class="edge">
|
|
213
|
+
<title>agentic_execution_projects:bundle_id->agentic_project_bundles:bundle_id</title>
|
|
214
|
+
<path fill="none" stroke="black" d="M1009.83,-474.66C997.87,-465.73 1008.76,-437.02 1020.68,-418.8 1041.74,-386.62 1078.41,-415.05 1099.37,-382.8 1122.18,-347.69 1142.23,-288.6 1100.37,-288.6"/>
|
|
215
|
+
<polygon fill="black" stroke="black" points="1009.73,-474.63 1018.15,-481.65 1014.86,-476.06 1019.04,-477.22 1019.04,-477.22 1019.04,-477.22 1014.86,-476.06 1020.57,-472.98 1009.73,-474.63"/>
|
|
216
|
+
</g>
|
|
217
|
+
<!-- agentic_execution_project_stages -->
|
|
218
|
+
<g id="node12" class="node">
|
|
219
|
+
<title>agentic_execution_project_stages</title>
|
|
220
|
+
<polygon fill="#efefef" stroke="none" points="1146.69,-748.4 1146.69,-784 1472.85,-784 1472.85,-748.4 1146.69,-748.4"/>
|
|
221
|
+
<polygon fill="none" stroke="black" points="1146.69,-748.4 1146.69,-784 1472.85,-784 1472.85,-748.4 1146.69,-748.4"/>
|
|
222
|
+
<text text-anchor="start" x="1153.69" y="-761.8" font-family="Arial Bold" font-size="18.00">agentic_execution_project_stages</text>
|
|
223
|
+
<text text-anchor="start" x="1396.59" y="-761.8" font-family="Arial" font-size="14.00"> </text>
|
|
224
|
+
<text text-anchor="start" x="1427.71" y="-761.8" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
225
|
+
<polygon fill="none" stroke="black" points="1146.69,-717.6 1146.69,-748.4 1472.85,-748.4 1472.85,-717.6 1146.69,-717.6"/>
|
|
226
|
+
<text text-anchor="start" x="1153.69" y="-729.8" font-family="Arial" font-size="14.00">execution_project_stage_id </text>
|
|
227
|
+
<text text-anchor="start" x="1328.03" y="-729.8" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
228
|
+
<polygon fill="none" stroke="black" points="1146.69,-686.8 1146.69,-717.6 1472.85,-717.6 1472.85,-686.8 1146.69,-686.8"/>
|
|
229
|
+
<text text-anchor="start" x="1153.69" y="-699" font-family="Arial" font-size="14.00">execution_project_id </text>
|
|
230
|
+
<text text-anchor="start" x="1286" y="-699" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
231
|
+
</g>
|
|
232
|
+
<!-- agentic_execution_project_stages->agentic_execution_projects -->
|
|
233
|
+
<g id="edge8" class="edge">
|
|
234
|
+
<title>agentic_execution_project_stages:execution_project_id->agentic_execution_projects:execution_project_id</title>
|
|
235
|
+
<path fill="none" stroke="black" d="M1135.72,-699.37C1123.39,-690.18 1133.28,-660.76 1146.69,-643.6 1190.36,-587.72 1257.36,-658.42 1300.86,-602.4 1326.53,-569.33 1343.72,-508.2 1301.86,-508.2"/>
|
|
236
|
+
<polygon fill="black" stroke="black" points="1135.75,-699.38 1144.14,-706.44 1140.88,-700.84 1145.05,-702.02 1145.05,-702.02 1145.05,-702.02 1140.88,-700.84 1146.6,-697.78 1135.75,-699.38"/>
|
|
237
|
+
</g>
|
|
238
|
+
<!-- agentic_execution_project_activities -->
|
|
239
|
+
<g id="node13" class="node">
|
|
240
|
+
<title>agentic_execution_project_activities</title>
|
|
241
|
+
<polygon fill="#efefef" stroke="none" points="1019.2,-978.4 1019.2,-1014 1366.34,-1014 1366.34,-978.4 1019.2,-978.4"/>
|
|
242
|
+
<polygon fill="none" stroke="black" points="1019.2,-978.4 1019.2,-1014 1366.34,-1014 1366.34,-978.4 1019.2,-978.4"/>
|
|
243
|
+
<text text-anchor="start" x="1026.2" y="-991.8" font-family="Arial Bold" font-size="18.00">agentic_execution_project_activities</text>
|
|
244
|
+
<text text-anchor="start" x="1290.09" y="-991.8" font-family="Arial" font-size="14.00"> </text>
|
|
245
|
+
<text text-anchor="start" x="1321.2" y="-991.8" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
246
|
+
<polygon fill="none" stroke="black" points="1019.2,-947.6 1019.2,-978.4 1366.34,-978.4 1366.34,-947.6 1019.2,-947.6"/>
|
|
247
|
+
<text text-anchor="start" x="1026.2" y="-959.8" font-family="Arial" font-size="14.00">execution_project_id </text>
|
|
248
|
+
<text text-anchor="start" x="1158.5" y="-959.8" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
249
|
+
<polygon fill="none" stroke="black" points="1019.2,-916.8 1019.2,-947.6 1366.34,-947.6 1366.34,-916.8 1019.2,-916.8"/>
|
|
250
|
+
<text text-anchor="start" x="1026.2" y="-929" font-family="Arial" font-size="14.00">execution_project_stage_id </text>
|
|
251
|
+
<text text-anchor="start" x="1200.54" y="-929" font-family="Arial" font-size="14.00" fill="#666666">[INTEGER]</text>
|
|
252
|
+
</g>
|
|
253
|
+
<!-- agentic_execution_project_activities->agentic_execution_projects -->
|
|
254
|
+
<g id="edge10" class="edge">
|
|
255
|
+
<title>agentic_execution_project_activities:execution_project_id->agentic_execution_projects:execution_project_id</title>
|
|
256
|
+
<path fill="none" stroke="black" d="M1009.33,-957.89C968.04,-907.93 972.31,-508.2 1019.68,-508.2"/>
|
|
257
|
+
<polygon fill="black" stroke="black" points="1009.24,-957.84 1015.66,-966.73 1013.86,-960.5 1017.62,-962.67 1017.62,-962.67 1017.62,-962.67 1013.86,-960.5 1020.15,-958.93 1009.24,-957.84"/>
|
|
258
|
+
</g>
|
|
259
|
+
<!-- agentic_execution_project_activities->agentic_execution_project_stages -->
|
|
260
|
+
<g id="edge9" class="edge">
|
|
261
|
+
<title>agentic_execution_project_activities:execution_project_stage_id->agentic_execution_project_stages:execution_project_stage_id</title>
|
|
262
|
+
<path fill="none" stroke="black" d="M1377.35,-929.34C1389.79,-920.06 1380.2,-890.4 1366.34,-873.6 1302.84,-796.64 1209.94,-904.37 1146.69,-827.2 1120.15,-794.82 1103.82,-733 1145.69,-733"/>
|
|
263
|
+
<polygon fill="black" stroke="black" points="1377.28,-929.36 1366.43,-927.78 1372.15,-930.83 1367.98,-932.02 1367.98,-932.02 1367.98,-932.02 1372.15,-930.83 1368.9,-936.44 1377.28,-929.36"/>
|
|
264
|
+
</g>
|
|
265
|
+
</g>
|
|
266
|
+
</svg>
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
# @soddong/agentic-runtime Migration 정의
|
|
2
|
+
|
|
3
|
+
## 1. 목적
|
|
4
|
+
|
|
5
|
+
본 문서는 `@soddong/agentic-runtime`의 SQLite migration 목록과 적용 의도를 정의한다.
|
|
6
|
+
|
|
7
|
+
## 2. Migration 목록
|
|
8
|
+
|
|
9
|
+
| 순서 | 파일 | 설명 |
|
|
10
|
+
| --- | --- | --- |
|
|
11
|
+
| 0001 | `src/database/migrations/0001_runtime_base.sql` | runtime metadata, schema migration, project modules, user request, execution, log, output 기본 테이블 생성 |
|
|
12
|
+
| 0002 | `src/database/migrations/0002_runtime_bundles.sql` | consumer 프로젝트에 설치된 methodology/seed bundle 상태 테이블 생성 |
|
|
13
|
+
| 0003 | `src/database/migrations/0003_runtime_seed_imports.sql` | installed bundle 기준 seed import dry-run plan 테이블 생성 |
|
|
14
|
+
| 0004 | `src/database/migrations/0004_runtime_seed_apply_status.sql` | seed apply 실패 상태를 item 단위로 기록할 수 있도록 item status 확장 |
|
|
15
|
+
| 0005 | `src/database/migrations/0005_runtime_execution_projects.sql` | applied bundle 기준 execution project, stage, activity snapshot 테이블 생성 |
|
|
16
|
+
|
|
17
|
+
## 3. 0001_runtime_base.sql
|
|
18
|
+
|
|
19
|
+
생성 테이블:
|
|
20
|
+
|
|
21
|
+
```text
|
|
22
|
+
agentic_runtime_metadata
|
|
23
|
+
agentic_schema_migrations
|
|
24
|
+
agentic_project_modules
|
|
25
|
+
agentic_user_requests
|
|
26
|
+
agentic_execution_runs
|
|
27
|
+
agentic_execution_logs
|
|
28
|
+
agentic_execution_outputs
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
적용 의도:
|
|
32
|
+
|
|
33
|
+
```text
|
|
34
|
+
- platform.sqlite가 Agentic Runtime DB임을 식별할 수 있는 metadata 기반을 만든다.
|
|
35
|
+
- 향후 각 패키지의 migration 적용 이력을 기록할 수 있게 한다.
|
|
36
|
+
- 실행 프로젝트에 등록된 Agentic package 상태를 추적할 수 있게 한다.
|
|
37
|
+
- 사용자 지시, 실행 단위, 실행 로그, 실행 결과를 runtime DB에서 추적할 수 있게 한다.
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
주요 타입/제약:
|
|
41
|
+
|
|
42
|
+
```text
|
|
43
|
+
- package name: VARCHAR(214)
|
|
44
|
+
- migration id: VARCHAR(128)
|
|
45
|
+
- SHA-256 checksum: CHAR(64) + length CHECK
|
|
46
|
+
- manifest: JSON + json_valid CHECK
|
|
47
|
+
- boolean: INTEGER + 0/1 CHECK
|
|
48
|
+
- timestamp: DATETIME + CURRENT_TIMESTAMP
|
|
49
|
+
- execution id/request id: CHAR(36) + UUID length CHECK
|
|
50
|
+
- execution status/type/log level/output type: VARCHAR + CHECK
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## 4. 0002_runtime_bundles.sql
|
|
54
|
+
|
|
55
|
+
생성 테이블:
|
|
56
|
+
|
|
57
|
+
```text
|
|
58
|
+
agentic_project_bundles
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
적용 의도:
|
|
62
|
+
|
|
63
|
+
```text
|
|
64
|
+
- 실행 프로젝트에 어떤 seed/methodology bundle이 설치되어 있는지 추적한다.
|
|
65
|
+
- bundle 제공 package와 bundle code/version을 분리해 관리한다.
|
|
66
|
+
- bundle manifest와 validation result snapshot을 보관해 후속 seed import/apply 및 상태 조회의 기준으로 사용한다.
|
|
67
|
+
- package module registry와 외래키로 연결해 package 제거 또는 비활성화 시 bundle 상태를 함께 판단할 수 있게 한다.
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
주요 타입/제약:
|
|
71
|
+
|
|
72
|
+
```text
|
|
73
|
+
- package name: VARCHAR(214)
|
|
74
|
+
- bundle code/methodology code: VARCHAR(128)
|
|
75
|
+
- bundle manifest / validation result: JSON + json_valid CHECK
|
|
76
|
+
- enabled: INTEGER + 0/1 CHECK
|
|
77
|
+
- UNIQUE(package_name, bundle_code)
|
|
78
|
+
- FOREIGN KEY(package_name) -> agentic_project_modules(package_name)
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## 5. 0003_runtime_seed_imports.sql
|
|
82
|
+
|
|
83
|
+
생성 테이블:
|
|
84
|
+
|
|
85
|
+
```text
|
|
86
|
+
agentic_seed_import_runs
|
|
87
|
+
agentic_seed_import_items
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
적용 의도:
|
|
91
|
+
|
|
92
|
+
```text
|
|
93
|
+
- installed bundle을 기준으로 domain package 반영 계획을 dry-run으로 생성한다.
|
|
94
|
+
- 실제 domain DB write 전 target package 설치/등록 상태를 점검한다.
|
|
95
|
+
- import target section, target package, operation, item count, blocked/warning 사유를 추적한다.
|
|
96
|
+
- seed apply가 사용할 수 있는 import run/item 기준선을 만든다.
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
주요 타입/제약:
|
|
100
|
+
|
|
101
|
+
```text
|
|
102
|
+
- import mode: dry_run, apply
|
|
103
|
+
- import status: planned, blocked, failed, applied
|
|
104
|
+
- item status: planned, blocked, warning, skipped, applied
|
|
105
|
+
- summary / validation result / item payload: JSON + json_valid CHECK
|
|
106
|
+
- FOREIGN KEY(bundle_id) -> agentic_project_bundles(bundle_id)
|
|
107
|
+
- FOREIGN KEY(seed_import_run_id) -> agentic_seed_import_runs(seed_import_run_id)
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
## 6. 0004_runtime_seed_apply_status.sql
|
|
111
|
+
|
|
112
|
+
변경 테이블:
|
|
113
|
+
|
|
114
|
+
```text
|
|
115
|
+
agentic_seed_import_items
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
적용 의도:
|
|
119
|
+
|
|
120
|
+
```text
|
|
121
|
+
- seed apply 중 target package handler 실패를 item 단위로 기록할 수 있게 한다.
|
|
122
|
+
- 기존 import run/item 구조는 유지하고, item status에 failed를 추가한다.
|
|
123
|
+
- 별도 apply run 테이블 없이 1차 apply 결과를 기존 import plan에 반영한다.
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
주요 타입/제약:
|
|
127
|
+
|
|
128
|
+
```text
|
|
129
|
+
- item status: planned, blocked, warning, skipped, applied, failed
|
|
130
|
+
- 기존 row 보존 후 table 재생성 방식으로 CHECK 제약을 확장한다.
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
## 7. 0005_runtime_execution_projects.sql
|
|
134
|
+
|
|
135
|
+
생성 테이블:
|
|
136
|
+
|
|
137
|
+
```text
|
|
138
|
+
agentic_execution_projects
|
|
139
|
+
agentic_execution_project_stages
|
|
140
|
+
agentic_execution_project_activities
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
적용 의도:
|
|
144
|
+
|
|
145
|
+
```text
|
|
146
|
+
- 적용 완료된 seed bundle을 실행 프로젝트 단위로 생성하고 추적한다.
|
|
147
|
+
- bundle의 stage와 activity를 runtime DB에 snapshot으로 저장한다.
|
|
148
|
+
- activity별 primary output artifact standard를 기록해 후속 artifact instance 생성 상태와 연결할 수 있게 한다.
|
|
149
|
+
- 1차 범위에서는 workflow engine이 아니라 status 조회와 lifecycle scaffold 기준선을 제공한다.
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
주요 타입/제약:
|
|
153
|
+
|
|
154
|
+
```text
|
|
155
|
+
- project/stage/activity status: planned, in_progress, completed, blocked, skipped
|
|
156
|
+
- project code: VARCHAR(128) UNIQUE
|
|
157
|
+
- package/bundle/methodology/lifecycle/phase/process code: VARCHAR
|
|
158
|
+
- metadata: JSON + json_valid CHECK
|
|
159
|
+
- FOREIGN KEY(bundle_id) -> agentic_project_bundles(bundle_id)
|
|
160
|
+
- FOREIGN KEY(execution_project_id) -> agentic_execution_projects(execution_project_id)
|
|
161
|
+
- UNIQUE(execution_project_id, stage_code)
|
|
162
|
+
- UNIQUE(execution_project_id, activity_code)
|
|
163
|
+
```
|