maestri-remote/.context/skills/solution-diagram/assets/fluxo-sdlc.svg

124 lines
6.8 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1240 600" role="img" aria-label="Fluxo SDLC do @aliare/sdlc-workflow: a ideia passa pelo Ideator ou vai direto ao Planner; o desenho da solução, validado pelo usuário, é critério de entrega do Planner e opcional na ideação; Monitor e Cause-Finder operam em ambiente real e devolvem correção ao Builder.">
<title>Fluxo SDLC do @aliare/sdlc-workflow</title>
<style>
svg { --bg:#ffffff; --fg:#1f2328; --muted:#59636e; --line:#8c959f; --box:#f6f8fa; --lane:#f3f5f7; --accent:#0a7d55; --accentbg:#e6f4ee; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
@media (prefers-color-scheme: dark) {
svg { --bg:#0d1117; --fg:#e6edf3; --muted:#9198a1; --line:#6e7681; --box:#161b22; --lane:#11161d; --accent:#3fb98a; --accentbg:#12291f; }
}
.bg { fill: var(--bg); }
.lane { fill: var(--lane); }
.lanet { fill: var(--muted); font-size: 11px; letter-spacing: .12em; font-weight: 600; }
.box { fill: var(--box); stroke: var(--line); stroke-width: 1.2; }
.acc { fill: var(--accentbg); stroke: var(--accent); stroke-width: 1.8; }
.t { fill: var(--fg); font-size: 14px; font-weight: 600; text-anchor: middle; }
.s { fill: var(--muted); font-size: 11.5px; text-anchor: middle; }
.ta { fill: var(--accent); }
.w { fill: none; stroke: var(--line); stroke-width: 1.4; }
.wa { fill: none; stroke: var(--accent); stroke-width: 1.6; }
.d { stroke-dasharray: 5 4; }
.l { fill: var(--muted); font-size: 11px; }
.la { fill: var(--accent); font-size: 11px; font-weight: 600; }
.m { font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size: 11px; fill: var(--muted); text-anchor: middle; }
.hd { fill: var(--line); }
.hda { fill: var(--accent); }
</style>
<defs>
<marker id="a" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="hd" d="M0 0L10 5L0 10z"/></marker>
<marker id="aa" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="hda" d="M0 0L10 5L0 10z"/></marker>
</defs>
<rect class="bg" width="1240" height="600"/>
<rect class="lane" x="10" y="30" width="1220" height="310" rx="10"/>
<rect class="lane" x="10" y="355" width="1220" height="130" rx="10"/>
<text class="lanet" x="24" y="50">CONSTRUÇÃO</text>
<text class="lanet" x="24" y="375">OPERAÇÃO</text>
<text class="lanet" x="24" y="525">REPOSITÓRIO SDLC</text>
<!-- atalho: work item já com escopo vai direto ao Planner -->
<path class="w d" d="M100 120V75H720V108" marker-end="url(#a)"/>
<text class="l" x="410" y="68" text-anchor="middle">work item com escopo definido: pula a ideação</text>
<!-- linha principal -->
<rect class="box" x="40" y="120" width="120" height="56" rx="28"/>
<text class="t" x="100" y="153">Ideia / pedido</text>
<rect class="box" x="210" y="110" width="180" height="76" rx="8"/>
<text class="t" x="300" y="143">Ideator</text>
<text class="s" x="300" y="163">mapa · rodadas · manifesto</text>
<rect class="box" x="440" y="120" width="140" height="56" rx="8"/>
<text class="t" x="510" y="144">User Story</text>
<text class="s" x="510" y="162">Azure Boards</text>
<rect class="box" x="630" y="110" width="180" height="76" rx="8"/>
<text class="t" x="720" y="143">Planner</text>
<text class="s" x="720" y="163">investiga · spec · Tasks</text>
<rect class="box" x="900" y="110" width="180" height="76" rx="8"/>
<text class="t" x="990" y="143">Builder</text>
<text class="s" x="990" y="163">TDD · Dev · PR · merge</text>
<rect class="box" x="1120" y="120" width="100" height="56" rx="8"/>
<text class="t" x="1170" y="144">Capability</text>
<text class="s" x="1170" y="162">atualizada</text>
<path class="w" d="M160 148H208" marker-end="url(#a)"/>
<path class="w" d="M390 148H438" marker-end="url(#a)"/>
<text class="l" x="415" y="139" text-anchor="middle">propõe</text>
<path class="w" d="M580 148H628" marker-end="url(#a)"/>
<text class="l" x="605" y="139" text-anchor="middle">aciona</text>
<path class="w" d="M810 148H898" marker-end="url(#a)"/>
<text class="l" x="855" y="132" text-anchor="middle">spec aprovada</text>
<path class="w" d="M1080 148H1118" marker-end="url(#a)"/>
<!-- gate: desenho validado -->
<path class="acc" d="M855 140L863 148L855 156L847 148Z"/>
<rect class="acc" x="430" y="255" width="160" height="62" rx="8"/>
<text class="t ta" x="510" y="281">Desenho da solução</text>
<text class="s" x="510" y="300">validado pelo usuário</text>
<path class="wa d" d="M300 186V280H428" marker-end="url(#aa)"/>
<text class="la" x="310" y="240">opcional na ideação</text>
<path class="wa" d="M720 186V280H592" marker-end="url(#aa)"/>
<text class="la" x="710" y="240" text-anchor="end">obrigatório: Planner desenha ou confere</text>
<path class="wa d" d="M590 305H855V158" marker-end="url(#aa)"/>
<text class="la" x="725" y="334" text-anchor="middle">critério de entrega da spec</text>
<!-- revisão antes do commit -->
<rect class="box" x="910" y="250" width="160" height="56" rx="8"/>
<text class="t" x="990" y="274">Code Reviewer</text>
<text class="s" x="990" y="292">antes de cada commit</text>
<path class="w" d="M965 186V248" marker-end="url(#a)"/>
<text class="l" x="958" y="222" text-anchor="end">diff</text>
<path class="w" d="M1015 250V188" marker-end="url(#a)"/>
<text class="l" x="1022" y="222">achados</text>
<!-- operação -->
<rect class="box" x="210" y="395" width="180" height="62" rx="8"/>
<text class="t" x="300" y="422">Monitor</text>
<text class="s" x="300" y="441">como está X agora?</text>
<rect class="box" x="630" y="395" width="180" height="62" rx="8"/>
<text class="t" x="720" y="422">Cause-Finder</text>
<text class="s" x="720" y="441">incidente em ambiente real</text>
<rect class="box" x="1040" y="395" width="170" height="62" rx="8"/>
<text class="t" x="1125" y="422">Auditor</text>
<text class="s" x="1125" y="441">app contra as premissas</text>
<path class="w" d="M390 426H628" marker-end="url(#a)"/>
<text class="l" x="509" y="417" text-anchor="middle">fora do esperado</text>
<path class="w" d="M810 426H880V176H898" marker-end="url(#a)"/>
<text class="l" x="888" y="420">correção</text>
<!-- artefatos versionados -->
<text class="m" x="300" y="550">docs/ideation/&lt;slug&gt;-manifesto.md</text>
<text class="m" x="300" y="568">docs/ideation/&lt;slug&gt;-desenho.svg</text>
<text class="m" x="720" y="550">docs/changes/&lt;US&gt;/spec.md</text>
<text class="m" x="720" y="568">docs/changes/&lt;US&gt;/desenho.svg</text>
<text class="m" x="720" y="586">docs/incidents/</text>
<text class="m" x="1010" y="550">evidence/ · Relatório na spec</text>
<text class="m" x="1125" y="568">docs/audits/</text>
</svg>