Files
progcode/web/public/assets/editorial/2025/ai-coding-assistant-2025-prompt-diff-review.svg
huncode 681651f9e5
Build and deploy / deploy (push) Successful in 16s
revise January 2025 AI coding assistant articles
2026-07-31 17:10:56 +03:00

42 lines
4.3 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 620" role="img" aria-labelledby="title desc">
<title id="title">Путь от prompt-card к проверенному ограниченному diff</title>
<desc id="desc">Четыре шага: контракт задачи, ограниченный diff, human review и focused test. Выход за границу задачи ведёт к остановке до merge.</desc>
<rect width="900" height="620" fill="#101827"/>
<rect x="36" y="32" width="828" height="66" rx="14" fill="#17263d" stroke="#5bc0be" stroke-width="2"/>
<text x="62" y="61" fill="#ecf7f6" font-family="Arial, sans-serif" font-size="25" font-weight="700">Prompt не заменяет постановку задачи</text>
<text x="62" y="84" fill="#bfd7d5" font-family="Arial, sans-serif" font-size="17">Сначала контракт, затем candidate diff и отдельные доказательства.</text>
<rect x="40" y="148" width="180" height="234" rx="12" fill="#17304a" stroke="#6ca0dc" stroke-width="2"/>
<text x="62" y="186" fill="#eaf3ff" font-family="Arial, sans-serif" font-size="24" font-weight="700">1. Prompt-card</text>
<text x="62" y="222" fill="#c6dcf3" font-family="Arial, sans-serif" font-size="18">task</text>
<text x="62" y="250" fill="#c6dcf3" font-family="Arial, sans-serif" font-size="18">allowed context</text>
<text x="62" y="278" fill="#c6dcf3" font-family="Arial, sans-serif" font-size="18">negative constraints</text>
<text x="62" y="306" fill="#c6dcf3" font-family="Arial, sans-serif" font-size="18">owner + evidence</text>
<path d="M224 265H239" fill="none" stroke="#5bc0be" stroke-width="6" stroke-linecap="round"/>
<path d="M238 255l20 10-20 10" fill="#5bc0be"/>
<rect x="260" y="148" width="180" height="234" rx="12" fill="#1e3a36" stroke="#63c595" stroke-width="2"/>
<text x="282" y="186" fill="#ecfff6" font-family="Arial, sans-serif" font-size="22" font-weight="700">2. Diff scope</text>
<text x="282" y="222" fill="#c7e9d7" font-family="Arial, sans-serif" font-size="18">named paths</text>
<text x="282" y="250" fill="#c7e9d7" font-family="Arial, sans-serif" font-size="18">one boundary</text>
<text x="282" y="278" fill="#c7e9d7" font-family="Arial, sans-serif" font-size="18">no hidden default</text>
<text x="282" y="306" fill="#c7e9d7" font-family="Arial, sans-serif" font-size="18">candidate only</text>
<path d="M444 265H459" fill="none" stroke="#5bc0be" stroke-width="6" stroke-linecap="round"/>
<path d="M458 255l20 10-20 10" fill="#5bc0be"/>
<rect x="480" y="148" width="180" height="234" rx="12" fill="#403350" stroke="#bd8ee6" stroke-width="2"/>
<text x="502" y="186" fill="#f7eeff" font-family="Arial, sans-serif" font-size="24" font-weight="700">3. Review</text>
<text x="502" y="224" fill="#e3cff8" font-family="Arial, sans-serif" font-size="18">scope</text>
<text x="502" y="252" fill="#e3cff8" font-family="Arial, sans-serif" font-size="18">contract</text>
<text x="502" y="280" fill="#e3cff8" font-family="Arial, sans-serif" font-size="18">owner</text>
<path d="M664 265H679" fill="none" stroke="#5bc0be" stroke-width="6" stroke-linecap="round"/>
<path d="M678 255l20 10-20 10" fill="#5bc0be"/>
<rect x="700" y="148" width="160" height="234" rx="12" fill="#49391d" stroke="#edc667" stroke-width="2"/>
<text x="722" y="186" fill="#fff7df" font-family="Arial, sans-serif" font-size="24" font-weight="700">4. Test</text>
<text x="722" y="226" fill="#f5e5ba" font-family="Arial, sans-serif" font-size="18">changed branch</text>
<text x="722" y="254" fill="#f5e5ba" font-family="Arial, sans-serif" font-size="18">result + effect</text>
<path d="M350 386V434" fill="none" stroke="#ef6f6c" stroke-width="5" stroke-linecap="round"/>
<path d="M340 433l10 22 10-22" fill="#ef6f6c"/>
<rect x="174" y="462" width="552" height="104" rx="13" fill="#4d242b" stroke="#ef6f6c" stroke-width="2"/>
<text x="200" y="500" fill="#ffe8e7" font-family="Arial, sans-serif" font-size="24" font-weight="700">STOP before merge</text>
<text x="200" y="530" fill="#f8c1be" font-family="Arial, sans-serif" font-size="18">extra path, contract mismatch или test не той ветки</text>
<text x="200" y="552" fill="#f8c1be" font-family="Arial, sans-serif" font-size="16">Новый scope требует отдельного решения owner.</text>
</svg>