Skip to content

Commit 5197be4

Browse files
docs: add Git Hooks box to architecture diagram
Phase 8 landed with crash-safe prepare-commit-msg hooks; the diagram now shows the hook component plus install/prepare-commit-msg edges. Subtitle corrected from 'Target' to 'System' architecture (as-built). Validated 0 errors/0 crossings; PNG re-exported. Structural check only — pixel review pending (agent cannot view images).
1 parent dc2d3b2 commit 5197be4

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

‎docs/architecture.drawio‎

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<mxCell id="title" value="gitmate — AI Git Assistant" style="text;html=1;align=left;verticalAlign=middle;fontStyle=1;fontSize=24;" vertex="1" parent="1">
99
<mxGeometry x="40" y="30" width="900" height="40" as="geometry"/>
1010
</mxCell>
11-
<mxCell id="subtitle" value="Target architecture (Phases 0–8) · model gemini-3.5-flash-lite · human-in-the-loop · keyring-only secrets" style="text;html=1;align=left;verticalAlign=middle;fontSize=12;fontColor=#555555;" vertex="1" parent="1">
11+
<mxCell id="subtitle" value="System architecture (Phases 0–8) · model gemini-3.5-flash-lite · human-in-the-loop · keyring-only secrets" style="text;html=1;align=left;verticalAlign=middle;fontSize=12;fontColor=#555555;" vertex="1" parent="1">
1212
<mxGeometry x="40" y="72" width="1100" height="24" as="geometry"/>
1313
</mxCell>
1414
<mxCell id="local" value="Local host" style="swimlane;startSize=30;html=1;fontStyle=1;fontSize=14;fillColor=#f5f7fa;strokeColor=#8a94a6;" vertex="1" parent="1">
@@ -41,6 +41,9 @@
4141
<mxCell id="fallback" value="&lt;b&gt;Template Fallback&lt;/b&gt;&lt;br/&gt;offline messages" style="rounded=1;whiteSpace=wrap;html=1;fontSize=13;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="local">
4242
<mxGeometry x="680" y="480" width="160" height="70" as="geometry"/>
4343
</mxCell>
44+
<mxCell id="hooks" value="&lt;b&gt;Git Hooks&lt;/b&gt;&lt;br/&gt;prepare-commit-msg" style="rounded=1;whiteSpace=wrap;html=1;fontSize=13;fillColor=#dae8fc;strokeColor=#6c8ebf;" vertex="1" parent="local">
45+
<mxGeometry x="280" y="470" width="160" height="70" as="geometry"/>
46+
</mxCell>
4447
<mxCell id="cloud" value="LLM APIs (HTTPS)" style="swimlane;startSize=30;html=1;fontStyle=1;fontSize=14;fillColor=#fff8f0;strokeColor=#d79b00;" vertex="1" parent="1">
4548
<mxGeometry x="1180" y="180" width="220" height="640" as="geometry"/>
4649
</mxCell>
@@ -140,6 +143,12 @@
140143
</Array>
141144
</mxGeometry>
142145
</mxCell>
146+
<mxCell id="e_install" value="install-hook" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;labelBackgroundColor=#ffffff;endArrow=block;endFill=1;exitX=0.75;exitY=1;exitDx=0;exitDy=0;entryX=0.25;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="cli" target="hooks">
147+
<mxGeometry relative="1" as="geometry"/>
148+
</mxCell>
149+
<mxCell id="e_hook" value="prepare-commit-msg" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;labelBackgroundColor=#ffffff;endArrow=block;endFill=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;" edge="1" parent="1" source="hooks" target="gitrepo">
150+
<mxGeometry relative="1" as="geometry"/>
151+
</mxCell>
143152
<mxCell id="e_commit" value="accept + commit" style="edgeStyle=orthogonalEdgeStyle;rounded=1;orthogonalLoop=1;jettySize=auto;html=1;fontSize=12;labelBackgroundColor=#ffffff;endArrow=block;endFill=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" edge="1" parent="1" source="cli" target="gitrepo">
144153
<mxGeometry relative="1" as="geometry"/>
145154
</mxCell>

‎docs/architecture.png‎

26.1 KB
Loading

0 commit comments

Comments
 (0)