agentic-domain-document 0.6.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 +201 -0
- package/CHANGELOG.md +68 -0
- package/README.md +313 -0
- package/agent/agent.manifest.json +8 -0
- package/agent/capabilities/document-authoring.json +21 -0
- package/agent/capabilities/document-block.json +22 -0
- package/agent/capabilities/document-toc.json +21 -0
- package/agent/capabilities/document-validation.json +21 -0
- package/agent/examples/document-quality-examples.md +153 -0
- package/agent/examples/examples.md +172 -0
- package/agent/guides/10-document-authoring-guide.md +28 -0
- package/agent/guides/20-domain-boundary-guide.md +41 -0
- package/agent/guides/30-authoring-policy-guide.md +40 -0
- package/agent/guides/40-toc-authoring-guide.md +73 -0
- package/agent/guides/50-content-block-guide.md +57 -0
- package/agent/guides/51-paragraph-authoring-guide.md +68 -0
- package/agent/guides/52-table-authoring-guide.md +73 -0
- package/agent/guides/53-diagram-figure-authoring-guide.md +75 -0
- package/agent/guides/70-korean-writing-style-guide.md +65 -0
- package/agent/instructions/00-runtime-behavior.md +17 -0
- package/agent/instructions/10-scope-and-boundary.md +27 -0
- package/agent/instructions/20-task-procedures.md +69 -0
- package/agent/instructions/30-must-and-must-not.md +34 -0
- package/agent/resource-index.json +185 -0
- package/agent/resource-selection.json +205 -0
- package/agent/routing.json +34 -0
- package/agent/sources/reference-mapping.md +53 -0
- package/agent/validation/document-validation-rules.md +73 -0
- package/dist/agent/document-agent-contribution.d.ts +15 -0
- package/dist/agent/document-agent-contribution.d.ts.map +1 -0
- package/dist/agent/document-agent-contribution.js +39 -0
- package/dist/agent/document-agent-contribution.js.map +1 -0
- package/dist/agent/index.d.ts +2 -0
- package/dist/agent/index.d.ts.map +1 -0
- package/dist/agent/index.js +2 -0
- package/dist/agent/index.js.map +1 -0
- package/dist/database.d.ts +8 -0
- package/dist/database.d.ts.map +1 -0
- package/dist/database.js +76 -0
- package/dist/database.js.map +1 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/markdown-importer.d.ts +14 -0
- package/dist/markdown-importer.d.ts.map +1 -0
- package/dist/markdown-importer.js +386 -0
- package/dist/markdown-importer.js.map +1 -0
- package/dist/reader.d.ts +17 -0
- package/dist/reader.d.ts.map +1 -0
- package/dist/reader.js +332 -0
- package/dist/reader.js.map +1 -0
- package/dist/repositories.d.ts +118 -0
- package/dist/repositories.d.ts.map +1 -0
- package/dist/repositories.js +388 -0
- package/dist/repositories.js.map +1 -0
- package/dist/service.d.ts +35 -0
- package/dist/service.d.ts.map +1 -0
- package/dist/service.js +327 -0
- package/dist/service.js.map +1 -0
- package/dist/types.d.ts +276 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/validators.d.ts +4 -0
- package/dist/validators.d.ts.map +1 -0
- package/dist/validators.js +255 -0
- package/dist/validators.js.map +1 -0
- package/docs/build.md +55 -0
- package/docs/configuration.md +34 -0
- package/docs/delivery.md +50 -0
- package/docs/operations.md +50 -0
- package/docs/publishing.md +69 -0
- package/docs/schema/generated/README.md +30 -0
- package/docs/schema/generated/document_annotations.md +119 -0
- package/docs/schema/generated/document_annotations.svg +60 -0
- package/docs/schema/generated/document_blocks.md +97 -0
- package/docs/schema/generated/document_blocks.svg +60 -0
- package/docs/schema/generated/document_change_events.md +135 -0
- package/docs/schema/generated/document_change_events.svg +88 -0
- package/docs/schema/generated/document_code_groups.md +70 -0
- package/docs/schema/generated/document_code_groups.svg +52 -0
- package/docs/schema/generated/document_codes.md +88 -0
- package/docs/schema/generated/document_codes.svg +52 -0
- package/docs/schema/generated/document_contents.md +87 -0
- package/docs/schema/generated/document_contents.svg +116 -0
- package/docs/schema/generated/document_documents.md +126 -0
- package/docs/schema/generated/document_documents.svg +222 -0
- package/docs/schema/generated/document_node_taxonomies.md +84 -0
- package/docs/schema/generated/document_node_taxonomies.svg +80 -0
- package/docs/schema/generated/document_node_taxonomy_levels.md +91 -0
- package/docs/schema/generated/document_node_taxonomy_levels.svg +52 -0
- package/docs/schema/generated/document_nodes.md +120 -0
- package/docs/schema/generated/document_nodes.svg +98 -0
- package/docs/schema/generated/document_revisions.md +107 -0
- package/docs/schema/generated/document_revisions.svg +116 -0
- package/docs/schema/generated/document_versions.md +126 -0
- package/docs/schema/generated/document_versions.svg +88 -0
- package/docs/schema/generated/schema.json +2534 -0
- package/docs/schema/generated/schema.mmd +170 -0
- package/docs/schema/generated/schema.svg +331 -0
- package/docs/schema/migrations.md +40 -0
- package/docs/usage.md +332 -0
- package/docs/validation-rules.md +69 -0
- package/package.json +30 -0
- package/src/database/migrations/0001_document_base.sql +753 -0
|
@@ -0,0 +1,88 @@
|
|
|
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: document_versions Pages: 1 -->
|
|
7
|
+
<svg width="896pt" height="500pt"
|
|
8
|
+
viewBox="0.00 0.00 895.94 499.60" 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 495.6)">
|
|
10
|
+
<title>document_versions</title>
|
|
11
|
+
<polygon fill="white" stroke="none" points="-4,4 -4,-495.6 891.94,-495.6 891.94,4 -4,4"/>
|
|
12
|
+
<!-- document_versions -->
|
|
13
|
+
<g id="node1" class="node">
|
|
14
|
+
<title>document_versions</title>
|
|
15
|
+
<polygon fill="#efefef" stroke="none" points="301.89,-399.4 301.89,-445.4 577.3,-445.4 577.3,-399.4 301.89,-399.4"/>
|
|
16
|
+
<polygon fill="none" stroke="black" points="301.89,-399.4 301.89,-445.4 577.3,-445.4 577.3,-399.4 301.89,-399.4"/>
|
|
17
|
+
<text text-anchor="start" x="334.98" y="-423.2" font-family="Arial Bold" font-size="18.00">document_versions</text>
|
|
18
|
+
<text text-anchor="start" x="474.95" y="-423.2" font-family="Arial" font-size="14.00"> </text>
|
|
19
|
+
<text text-anchor="start" x="506.07" y="-423.2" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
20
|
+
<text text-anchor="start" x="317.83" y="-408.8" font-family="Arial" font-size="14.00" fill="#333333">검토/승인/배포 기준본 snapshot을 관리한다.</text>
|
|
21
|
+
<polygon fill="none" stroke="black" points="301.89,-368.6 301.89,-399.4 577.3,-399.4 577.3,-368.6 301.89,-368.6"/>
|
|
22
|
+
<text text-anchor="start" x="308.89" y="-380.8" font-family="Arial" font-size="14.00">version_id </text>
|
|
23
|
+
<text text-anchor="start" x="376.59" y="-380.8" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
24
|
+
<text text-anchor="start" x="448.93" y="-380.8" font-family="Arial" font-size="14.00"> version 식별자</text>
|
|
25
|
+
<polygon fill="none" stroke="black" points="301.89,-337.8 301.89,-368.6 577.3,-368.6 577.3,-337.8 301.89,-337.8"/>
|
|
26
|
+
<text text-anchor="start" x="308.89" y="-350" font-family="Arial" font-size="14.00">document_id </text>
|
|
27
|
+
<text text-anchor="start" x="392.94" y="-350" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
28
|
+
<text text-anchor="start" x="465.29" y="-350" font-family="Arial" font-size="14.00"> 소속 문서 식별자</text>
|
|
29
|
+
<polygon fill="none" stroke="black" points="301.89,-307 301.89,-337.8 577.3,-337.8 577.3,-307 301.89,-307"/>
|
|
30
|
+
<text text-anchor="start" x="308.89" y="-319.2" font-family="Arial" font-size="14.00">revision_id </text>
|
|
31
|
+
<text text-anchor="start" x="379.7" y="-319.2" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
32
|
+
<text text-anchor="start" x="452.04" y="-319.2" font-family="Arial" font-size="14.00"> 기준 revision 식별자</text>
|
|
33
|
+
<polygon fill="none" stroke="black" stroke-width="3" points="300.39,-305.5 300.39,-446.9 578.8,-446.9 578.8,-305.5 300.39,-305.5"/>
|
|
34
|
+
</g>
|
|
35
|
+
<!-- document_documents -->
|
|
36
|
+
<g id="node2" class="node">
|
|
37
|
+
<title>document_documents</title>
|
|
38
|
+
<polygon fill="#efefef" stroke="none" points="43.2,-135.6 43.2,-181.6 383.99,-181.6 383.99,-135.6 43.2,-135.6"/>
|
|
39
|
+
<polygon fill="none" stroke="black" points="43.2,-135.6 43.2,-181.6 383.99,-181.6 383.99,-135.6 43.2,-135.6"/>
|
|
40
|
+
<text text-anchor="start" x="99.98" y="-159.4" font-family="Arial Bold" font-size="18.00">document_documents</text>
|
|
41
|
+
<text text-anchor="start" x="257.95" y="-159.4" font-family="Arial" font-size="14.00"> </text>
|
|
42
|
+
<text text-anchor="start" x="289.07" y="-159.4" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
43
|
+
<text text-anchor="start" x="52.94" y="-145" font-family="Arial" font-size="14.00" fill="#333333">문서 단위 메타데이터, 작성자, taxonomy, 상태를 관리한다.</text>
|
|
44
|
+
<polygon fill="none" stroke="black" points="43.2,-104.8 43.2,-135.6 383.99,-135.6 383.99,-104.8 43.2,-104.8"/>
|
|
45
|
+
<text text-anchor="start" x="50.2" y="-117" font-family="Arial" font-size="14.00">document_id </text>
|
|
46
|
+
<text text-anchor="start" x="134.25" y="-117" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
47
|
+
<text text-anchor="start" x="206.6" y="-117" font-family="Arial" font-size="14.00"> 문서 식별자</text>
|
|
48
|
+
<polygon fill="none" stroke="black" points="43.2,-74 43.2,-104.8 383.99,-104.8 383.99,-74 43.2,-74"/>
|
|
49
|
+
<text text-anchor="start" x="50.2" y="-86.2" font-family="Arial" font-size="14.00">taxonomy_id </text>
|
|
50
|
+
<text text-anchor="start" x="133.47" y="-86.2" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
51
|
+
<text text-anchor="start" x="205.81" y="-86.2" font-family="Arial" font-size="14.00"> 적용 taxonomy 식별자</text>
|
|
52
|
+
<polygon fill="none" stroke="black" points="43.2,-43.2 43.2,-74 383.99,-74 383.99,-43.2 43.2,-43.2"/>
|
|
53
|
+
<text text-anchor="start" x="50.2" y="-55.4" font-family="Arial" font-size="14.00">source_document_id </text>
|
|
54
|
+
<text text-anchor="start" x="184.06" y="-55.4" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
55
|
+
<text text-anchor="start" x="256.41" y="-55.4" font-family="Arial" font-size="14.00"> 파생 원본 문서 식별자</text>
|
|
56
|
+
</g>
|
|
57
|
+
<!-- document_versions->document_documents -->
|
|
58
|
+
<g id="edge1" class="edge">
|
|
59
|
+
<title>document_versions:document_id->document_documents:document_id</title>
|
|
60
|
+
<path fill="none" stroke="black" d="M290.88,-351.73C263.49,-342.51 281.36,-291.85 301.89,-260.8 323.86,-227.57 362.03,-258.05 383.99,-224.8 409.6,-186 431.48,-120.2 384.99,-120.2"/>
|
|
61
|
+
<polygon fill="black" stroke="black" points="290.66,-351.7 299.9,-357.6 295.94,-352.48 300.22,-353.1 300.22,-353.1 300.22,-353.1 295.94,-352.48 301.21,-348.7 290.66,-351.7"/>
|
|
62
|
+
</g>
|
|
63
|
+
<!-- document_revisions -->
|
|
64
|
+
<g id="node3" class="node">
|
|
65
|
+
<title>document_revisions</title>
|
|
66
|
+
<polygon fill="#efefef" stroke="none" points="488.45,-120.2 488.45,-166.2 844.74,-166.2 844.74,-120.2 488.45,-120.2"/>
|
|
67
|
+
<polygon fill="none" stroke="black" points="488.45,-120.2 488.45,-166.2 844.74,-166.2 844.74,-120.2 488.45,-120.2"/>
|
|
68
|
+
<text text-anchor="start" x="559.48" y="-144" font-family="Arial Bold" font-size="18.00">document_revisions</text>
|
|
69
|
+
<text text-anchor="start" x="704.45" y="-144" font-family="Arial" font-size="14.00"> </text>
|
|
70
|
+
<text text-anchor="start" x="735.57" y="-144" font-family="Arial" font-size="14.00" fill="#666666">[table]</text>
|
|
71
|
+
<text text-anchor="start" x="495.45" y="-129.6" font-family="Arial" font-size="14.00" fill="#333333">하나 이상의 변경 이벤트를 묶는 의미 있는 변경 단위를 관리한다.</text>
|
|
72
|
+
<polygon fill="none" stroke="black" points="488.45,-89.4 488.45,-120.2 844.74,-120.2 844.74,-89.4 488.45,-89.4"/>
|
|
73
|
+
<text text-anchor="start" x="495.45" y="-101.6" font-family="Arial" font-size="14.00">revision_id </text>
|
|
74
|
+
<text text-anchor="start" x="566.26" y="-101.6" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
75
|
+
<text text-anchor="start" x="638.61" y="-101.6" font-family="Arial" font-size="14.00"> revision 식별자</text>
|
|
76
|
+
<polygon fill="none" stroke="black" points="488.45,-58.6 488.45,-89.4 844.74,-89.4 844.74,-58.6 488.45,-58.6"/>
|
|
77
|
+
<text text-anchor="start" x="495.45" y="-70.8" font-family="Arial" font-size="14.00">document_id </text>
|
|
78
|
+
<text text-anchor="start" x="579.5" y="-70.8" font-family="Arial" font-size="14.00" fill="#666666">[CHAR(36)]</text>
|
|
79
|
+
<text text-anchor="start" x="651.85" y="-70.8" font-family="Arial" font-size="14.00"> 소속 문서 식별자</text>
|
|
80
|
+
</g>
|
|
81
|
+
<!-- document_versions->document_revisions -->
|
|
82
|
+
<g id="edge2" class="edge">
|
|
83
|
+
<title>document_versions:revision_id->document_revisions:revision_id</title>
|
|
84
|
+
<path fill="none" stroke="black" d="M588.23,-319.82C601.16,-310.88 589,-280.72 577.3,-260.8 554.19,-221.47 511.43,-248.81 488.45,-209.4 465.03,-169.24 440.96,-104.8 487.45,-104.8"/>
|
|
85
|
+
<polygon fill="black" stroke="black" points="588.3,-319.8 577.49,-317.96 583.14,-321.14 578.95,-322.23 578.95,-322.23 578.95,-322.23 583.14,-321.14 579.76,-326.67 588.3,-319.8"/>
|
|
86
|
+
</g>
|
|
87
|
+
</g>
|
|
88
|
+
</svg>
|