<mxfile host="drawio" agent="study-site"><diagram id="d" name="seq-maint-2"><mxGraphModel dx="1400" dy="900" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="840" pageHeight="911" math="0" shadow="0"><root><mxCell id="0" /><mxCell id="1" parent="0" /><mxCell id="title" value="保守 フェーズ2: 更新 PR の自動監査(無人)" style="text;html=1;fontSize=16;align=left;verticalAlign=middle;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="16" y="8" width="808" height="30" as="geometry" /></mxCell><mxCell id="accm" value="CodeCommit" style="sketch=0;outlineConnect=0;fontColor=#232F3E;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=11;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.codecommit;fillColor=#4D27AA;" vertex="1" parent="1"><mxGeometry x="107" y="60" width="56" height="56" as="geometry" /></mxCell><mxCell id="aeb" value="EventBridge&lt;br&gt;(ルール)" style="sketch=0;outlineConnect=0;fontColor=#232F3E;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=11;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.eventbridge;fillColor=#E7157B;" vertex="1" parent="1"><mxGeometry x="297" y="60" width="56" height="56" as="geometry" /></mxCell><mxCell id="acb" value="CodeBuild&lt;br&gt;(claude -p)" style="sketch=0;outlineConnect=0;fontColor=#232F3E;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=11;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.codebuild;fillColor=#4D27AA;" vertex="1" parent="1"><mxGeometry x="487" y="60" width="56" height="56" as="geometry" /></mxCell><mxCell id="abr" value="Bedrock&lt;br&gt;(jp. 推論プロファイル)" style="sketch=0;outlineConnect=0;fontColor=#232F3E;strokeColor=#ffffff;dashed=0;verticalLabelPosition=bottom;verticalAlign=top;align=center;html=1;fontSize=11;fontStyle=0;aspect=fixed;shape=mxgraph.aws4.resourceIcon;resIcon=mxgraph.aws4.bedrock;fillColor=#01A88D;" vertex="1" parent="1"><mxGeometry x="677" y="60" width="56" height="56" as="geometry" /></mxCell><mxCell id="m1" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=1.5;dashed=1;strokeColor=#666666;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="135" y="196" as="sourcePoint" /><mxPoint x="325" y="196" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t1" value="イベント「CodeCommit Pull Request State Change」" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#555555;" vertex="1" parent="1"><mxGeometry x="151" y="177" width="295.2" height="15" as="geometry" /></mxCell><mxCell id="n1" value="1" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#666666;fontColor=#555555;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="124" y="185" width="22" height="22" as="geometry" /></mxCell><mxCell id="m2" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=2;strokeColor=#1f2937;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="325" y="242" as="sourcePoint" /><mxPoint x="515" y="242" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t2" value="StartBuild(PR ID)" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1f2937;" vertex="1" parent="1"><mxGeometry x="341" y="223" width="111.4" height="15" as="geometry" /></mxCell><mxCell id="n2" value="2" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1E88E5;strokeColor=none;fontColor=#FFFFFF;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="314" y="231" width="22" height="22" as="geometry" /></mxCell><mxCell id="m3" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=2;strokeColor=#1f2937;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="515" y="288" as="sourcePoint" /><mxPoint x="135" y="288" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t3" value="GetDifferences" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1f2937;" vertex="1" parent="1"><mxGeometry x="151" y="269" width="92.8" height="15" as="geometry" /></mxCell><mxCell id="n3" value="3" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1E88E5;strokeColor=none;fontColor=#FFFFFF;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="124" y="277" width="22" height="22" as="geometry" /></mxCell><mxCell id="m4" value="" style="endArrow=open;endFill=0;html=1;strokeWidth=1.5;dashed=1;strokeColor=#1565C0;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="135" y="334" as="sourcePoint" /><mxPoint x="515" y="334" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t4" value="差分" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1565C0;" vertex="1" parent="1"><mxGeometry x="151" y="315" width="28" height="15" as="geometry" /></mxCell><mxCell id="n4" value="4" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#1565C0;fontColor=#1565C0;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="124" y="323" width="22" height="22" as="geometry" /></mxCell><mxCell id="m5" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=2;strokeColor=#1f2937;edgeStyle=orthogonalEdgeStyle;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="515" y="372" as="sourcePoint" /><mxPoint x="515" y="388" as="targetPoint" /><Array as="points"><mxPoint x="565" y="372" /><mxPoint x="565" y="388" /></Array></mxGeometry></mxCell><mxCell id="t5" value="テスト" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=middle;fontColor=#1f2937;" vertex="1" parent="1"><mxGeometry x="575" y="370" width="39" height="20" as="geometry" /></mxCell><mxCell id="n5" value="5" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1E88E5;strokeColor=none;fontColor=#FFFFFF;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="504" y="369" width="22" height="22" as="geometry" /></mxCell><mxCell id="m6" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=2;strokeColor=#1f2937;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="515" y="456" as="sourcePoint" /><mxPoint x="705" y="456" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t6" value="claude -p(差分 + 言語・フレームワーク別の監査: angular-audit / spring-audit / typescript-audit / java-audit の該当分)" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1f2937;" vertex="1" parent="1"><mxGeometry x="531" y="407" width="285" height="45" as="geometry" /></mxCell><mxCell id="n6" value="6" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1E88E5;strokeColor=none;fontColor=#FFFFFF;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="504" y="445" width="22" height="22" as="geometry" /></mxCell><mxCell id="m7" value="" style="endArrow=open;endFill=0;html=1;strokeWidth=1.5;dashed=1;strokeColor=#1565C0;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="705" y="502" as="sourcePoint" /><mxPoint x="515" y="502" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t7" value="[高 / 中 / 低] の指摘(根拠の行つき)" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1565C0;" vertex="1" parent="1"><mxGeometry x="531" y="483" width="206.2" height="15" as="geometry" /></mxCell><mxCell id="n7" value="7" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#1565C0;fontColor=#1565C0;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="504" y="491" width="22" height="22" as="geometry" /></mxCell><mxCell id="m8" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=2;strokeColor=#1f2937;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="515" y="548" as="sourcePoint" /><mxPoint x="705" y="548" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t8" value="claude -p(差分 + security-audit)" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1f2937;" vertex="1" parent="1"><mxGeometry x="531" y="529" width="201.6" height="15" as="geometry" /></mxCell><mxCell id="n8" value="8" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1E88E5;strokeColor=none;fontColor=#FFFFFF;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="504" y="537" width="22" height="22" as="geometry" /></mxCell><mxCell id="m9" value="" style="endArrow=open;endFill=0;html=1;strokeWidth=1.5;dashed=1;strokeColor=#1565C0;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="705" y="594" as="sourcePoint" /><mxPoint x="515" y="594" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t9" value="セキュリティの指摘" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1565C0;" vertex="1" parent="1"><mxGeometry x="531" y="575" width="105" height="15" as="geometry" /></mxCell><mxCell id="n9" value="9" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#1565C0;fontColor=#1565C0;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="504" y="583" width="22" height="22" as="geometry" /></mxCell><mxCell id="m10" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=2;strokeColor=#1f2937;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="515" y="655" as="sourcePoint" /><mxPoint x="705" y="655" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t10" value="claude -p(マイグレーション / SQL があれば db-review)" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1f2937;" vertex="1" parent="1"><mxGeometry x="531" y="621" width="285" height="30" as="geometry" /></mxCell><mxCell id="n10" value="10" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1E88E5;strokeColor=none;fontColor=#FFFFFF;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="504" y="644" width="22" height="22" as="geometry" /></mxCell><mxCell id="m11" value="" style="endArrow=open;endFill=0;html=1;strokeWidth=1.5;dashed=1;strokeColor=#1565C0;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="705" y="701" as="sourcePoint" /><mxPoint x="515" y="701" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t11" value="DB の指摘(ロック・インデックス・後方互換)" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1565C0;" vertex="1" parent="1"><mxGeometry x="531" y="682" width="235.0" height="15" as="geometry" /></mxCell><mxCell id="n11" value="11" style="ellipse;whiteSpace=wrap;html=1;fillColor=#FFFFFF;strokeColor=#1565C0;fontColor=#1565C0;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="504" y="690" width="22" height="22" as="geometry" /></mxCell><mxCell id="m12" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=2;strokeColor=#1f2937;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="515" y="747" as="sourcePoint" /><mxPoint x="135" y="747" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t12" value="PostCommentForPullRequest(統合した指摘。10,240 文字で分割)" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1f2937;" vertex="1" parent="1"><mxGeometry x="151" y="728" width="348.8" height="15" as="geometry" /></mxCell><mxCell id="n12" value="12" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1E88E5;strokeColor=none;fontColor=#FFFFFF;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="124" y="736" width="22" height="22" as="geometry" /></mxCell><mxCell id="m13" value="" style="endArrow=block;endFill=1;html=1;strokeWidth=2;strokeColor=#1f2937;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="515" y="793" as="sourcePoint" /><mxPoint x="135" y="793" as="targetPoint" /></mxGeometry></mxCell><mxCell id="t13" value="UpdatePullRequestApprovalState(テスト合格 かつ 高が 0 のとき)" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=bottom;fontColor=#1f2937;" vertex="1" parent="1"><mxGeometry x="151" y="774" width="367.40000000000003" height="15" as="geometry" /></mxCell><mxCell id="n13" value="13" style="ellipse;whiteSpace=wrap;html=1;fillColor=#1E88E5;strokeColor=none;fontColor=#FFFFFF;fontSize=11;fontStyle=1;" vertex="1" parent="1"><mxGeometry x="124" y="782" width="22" height="22" as="geometry" /></mxCell><mxCell id="note" value="6〜11 は並行でもよい。--bare 起動なので各スキルの本文は --append-system-prompt-file で渡す。監査スキルに書いた版の事実は 2026-10-07 時点。" style="text;html=1;whiteSpace=wrap;fontSize=11;align=left;verticalAlign=top;fontColor=#555555;" vertex="1" parent="1"><mxGeometry x="30" y="845" width="780" height="42" as="geometry" /></mxCell><mxCell id="lccm" value="" style="endArrow=none;dashed=1;html=1;strokeColor=#9ca3af;strokeWidth=1;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="135" y="150" as="sourcePoint" /><mxPoint x="135" y="829" as="targetPoint" /></mxGeometry></mxCell><mxCell id="leb" value="" style="endArrow=none;dashed=1;html=1;strokeColor=#9ca3af;strokeWidth=1;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="325" y="150" as="sourcePoint" /><mxPoint x="325" y="829" as="targetPoint" /></mxGeometry></mxCell><mxCell id="lcb" value="" style="endArrow=none;dashed=1;html=1;strokeColor=#9ca3af;strokeWidth=1;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="515" y="150" as="sourcePoint" /><mxPoint x="515" y="829" as="targetPoint" /></mxGeometry></mxCell><mxCell id="lbr" value="" style="endArrow=none;dashed=1;html=1;strokeColor=#9ca3af;strokeWidth=1;" edge="1" parent="1"><mxGeometry relative="1" as="geometry"><mxPoint x="705" y="150" as="sourcePoint" /><mxPoint x="705" y="829" as="targetPoint" /></mxGeometry></mxCell></root></mxGraphModel></diagram></mxfile>