Files
ai4se-harness-suite/team-workflow-guide/delivery.html
2026-11-20 17:58:57 +08:00

252 lines
14 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>③ 开发 · 测试 · AI-Native 全流程</title>
<style>
:root {
--bg: #fafaf7; --ink: #23251f; --muted: #6d6f68; --hair: #e4e2da; --card-line: #d8d6cc;
--card: #ffffff;
--gold: #a5770e; --gold-soft: #fdf6e3;
--green: #2e6e4c; --green-soft: #eef5f0;
--danger: #a84a34;
--master: #f2f1ec; --pill: #f3f2ec;
--edge: #8b8d84;
--lane: #f6f5f1; --lane-bar: #efeee8;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink);
font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; }
header { position: relative; padding: 16px 26px 0; }
h1 { margin: 0 0 4px; font-size: 17px; font-weight: 650; letter-spacing: 0.2px; }
.sub { margin: 0; color: var(--muted); font-size: 12.5px; }
nav { position: absolute; top: 18px; right: 26px; display: flex; gap: 2px; margin: 0;
padding: 3px; background: var(--pill); border-radius: 999px; font-size: 12.5px; }
nav a { color: var(--muted); text-decoration: none; padding: 5px 14px; border-radius: 999px; }
nav a.cur { color: #fff; background: var(--ink); font-weight: 600; }
nav a:not(.cur):hover { color: var(--ink); background: var(--hair); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center;
margin: 9px 0 0; color: var(--muted); font-size: 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 18px; height: 12px; border: 1px solid var(--card-line); border-radius: 4px; background: var(--card); }
.sw.decision { width: 11px; height: 11px; background: var(--gold-soft); border-color: var(--gold); transform: rotate(45deg); }
.sw.gate { position: relative; border-radius: 2px; border-color: var(--ink); }
.sw.gate::after { content: ""; position: absolute; inset: 3px; border: 1px solid var(--ink); }
.sw.vision { border: 1.2px dashed var(--gold); background: var(--card); }
.sw.line { width: 24px; height: 0; border: none; border-top: 1.6px solid var(--edge); border-radius: 0; background: none; }
.sw.line.dashed { border-top-color: var(--danger); border-top-style: dashed; }
.star { color: var(--gold); font-weight: 700; }
.hotl { color: var(--green); font-weight: 700; }
.wrap { padding: 8px 22px 14px; }
svg { width: 100%; height: auto; display: block; }
svg text { font-family: inherit; }
.tt { font-size: 14px; font-weight: 650; fill: var(--ink); }
.tm { font-size: 12.5px; font-weight: 600; fill: var(--ink); }
.t { font-size: 12px; fill: var(--ink); }
.ts { font-size: 11px; fill: var(--muted); }
.tc { font-size: 10px; fill: var(--muted); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.gd { font-size: 12px; font-weight: 600; fill: var(--gold); }
.gds { font-size: 11px; font-weight: 600; fill: var(--gold); }
.ht { font-size: 11px; font-weight: 600; fill: var(--green); }
.rd { font-size: 11px; fill: var(--danger); }
.lane-label { font-size: 11.5px; font-weight: 650; fill: var(--muted); letter-spacing: 0.5px; }
.n-card { fill: var(--card); stroke: var(--card-line); stroke-width: 1; }
.n-action { fill: var(--green-soft); stroke: #cfdccf; stroke-width: 1; }
.n-decision { fill: var(--gold-soft); stroke: var(--gold); stroke-width: 1.2; }
.n-gate { fill: var(--card); stroke: var(--ink); stroke-width: 1; }
.n-end { fill: var(--card); stroke: var(--card-line); stroke-width: 1; }
.n-pill { fill: var(--pill); }
.lift { filter: url(#soft); }
.edge { stroke: var(--edge); stroke-width: 1.4; fill: none; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arr); }
.edge-red { stroke: var(--danger); stroke-width: 1.4; fill: none; stroke-dasharray: 5 4; stroke-linejoin: round; marker-end: url(#arrR); }
.edge-vision { stroke: var(--gold); stroke-width: 1.4; fill: none; stroke-dasharray: 5 4; marker-end: url(#arrG); }
.container { fill: none; stroke: #cfcdc4; stroke-width: 1.2; stroke-dasharray: 6 5; }
.vision { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-dasharray: 6 4; }
a:hover .n-card, a:hover .n-action, a:hover .n-end { filter: brightness(0.97); }
</style>
</head>
<body>
<header>
<h1>③ 开发 · 测试 —— Epic 级一次设计,逐 Story 交付闭环 × N</h1>
<p class="sub">代码只在交付闭环里写;硬门禁全自动(◎),人只在 ★ 缺陷裁决点决策;技术评审由异构模型 reviewer 对抗把关</p>
<nav>
<a href="overview.html">总览</a>
<a href="init.html">① 初始化</a>
<a href="requirement.html">② 需求分析</a>
<a class="cur" href="delivery.html">③ 开发 · 测试</a>
<a href="knowledge.html">④ 知识回流</a>
</nav>
<p class="legend">
<span class="hotl">◎ HOTL · AI 执行</span>
<span><i class="sw decision"></i>★ HITL · 人决策</span>
<span><i class="sw gate"></i>质量闸门(全自动)</span>
<span><i class="sw vision"></i>愿景目标</span>
<span><i class="sw line"></i>正向流转</span>
<span><i class="sw line dashed"></i>打回 · 返工</span>
</p>
</header>
<div class="wrap">
<svg viewBox="0 30 1600 760" role="img" aria-label="开发测试闭环">
<defs>
<filter id="soft" x="-20%" y="-20%" width="140%" height="140%">
<feDropShadow dx="0" dy="1.5" stdDeviation="2.5" flood-color="#23251f" flood-opacity="0.09"/>
</filter>
<marker id="arr" viewBox="0 0 10 10" refX="8.5" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
<path d="M0 0L10 5L0 10z" fill="#8b8d84"/>
</marker>
<marker id="arrR" viewBox="0 0 10 10" refX="8.5" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
<path d="M0 0L10 5L0 10z" fill="#a84a34"/>
</marker>
<marker id="arrG" viewBox="0 0 10 10" refX="8.5" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
<path d="M0 0L10 5L0 10z" fill="#a5770e"/>
</marker>
</defs>
<!-- 泳道 -->
<rect x="0" y="110" width="1600" height="160" fill="var(--lane)" stroke="var(--hair)"/>
<rect x="0" y="110" width="110" height="160" fill="var(--lane-bar)"/>
<text class="lane-label" x="55" y="182" text-anchor="middle">tl</text>
<text class="ts" x="55" y="200" text-anchor="middle">设计与护送</text>
<rect x="0" y="270" width="1600" height="190" fill="var(--lane)" stroke="var(--hair)"/>
<rect x="0" y="270" width="110" height="190" fill="var(--lane-bar)"/>
<text class="lane-label" x="55" y="358" text-anchor="middle">dev</text>
<text class="ts" x="55" y="376" text-anchor="middle">实施</text>
<rect x="0" y="460" width="1600" height="160" fill="var(--lane)" stroke="var(--hair)"/>
<rect x="0" y="460" width="110" height="160" fill="var(--lane-bar)"/>
<text class="lane-label" x="55" y="532" text-anchor="middle">qa</text>
<text class="ts" x="55" y="550" text-anchor="middle">验证</text>
<!-- 本页自主度徽章 -->
<text class="gds" x="1556" y="64" text-anchor="end">本页自主度:★ 1(P0 / P1 裁决)| ◎ 硬门禁全自动 · 整批可无人值守</text>
<!-- Epic 级 · 一次 -->
<rect class="n-card lift" x="140" y="140" width="180" height="100" rx="12"/>
<text class="tm" x="230" y="172" text-anchor="middle">技术设计(HLD)</text>
<text class="ts" x="230" y="194" text-anchor="middle">架构影响 · 跨 Story 契约</text>
<text class="ht" x="230" y="214" text-anchor="middle">◎ Epic 级 · 一次</text>
<rect class="n-pill" x="180" y="248" width="100" height="18" rx="9"/>
<text class="tc" x="188" y="261">tl-arch-design</text>
<rect class="n-card lift" x="140" y="500" width="180" height="100" rx="12"/>
<text class="tm" x="230" y="532" text-anchor="middle">测试设计</text>
<text class="ts" x="230" y="554" text-anchor="middle">逐 Story 分层用例</text>
<text class="ts" x="230" y="574" text-anchor="middle">追溯矩阵 · 交接前置</text>
<text class="ht" x="312" y="514" text-anchor="end">◎</text>
<rect class="n-pill" x="182" y="602" width="96" height="18" rx="9"/>
<text class="tc" x="190" y="615">qa-test-design</text>
<rect class="n-action lift" x="330" y="310" width="140" height="100" rx="12"/>
<text class="tm" x="400" y="344" text-anchor="middle">交接</text>
<text class="ts" x="400" y="366" text-anchor="middle">合成提案 · 建变更</text>
<text class="ts" x="400" y="386" text-anchor="middle">登记 Epic 队列</text>
<rect class="n-pill" x="362" y="418" width="76" height="18" rx="9"/>
<text class="tc" x="370" y="431">tl-handoff</text>
<!-- overnight-runner 愿景挂点 -->
<rect class="vision" x="320" y="490" width="190" height="64" rx="10"/>
<text class="gds" x="415" y="510" text-anchor="middle">overnight-runner · 愿景</text>
<text class="ts" x="415" y="528" text-anchor="middle">Epic 队列 → 夜间 / 周末</text>
<text class="ts" x="415" y="544" text-anchor="middle">AI 闲时消费 → 晨间验收</text>
<path class="edge-vision" d="M400 412 V486"/>
<!-- 逐 Story 交付闭环容器 -->
<rect class="container" x="470" y="120" width="1090" height="530" rx="16"/>
<text class="ts" x="486" y="146">逐 Story 交付闭环 × N —— 代码只在这一段写</text>
<!-- 规格与设计 -->
<rect class="n-card lift" x="520" y="310" width="180" height="100" rx="12"/>
<text class="tm" x="610" y="342" text-anchor="middle">规格与设计</text>
<text class="ts" x="610" y="364" text-anchor="middle">行为规格 + 设计 + 任务</text>
<text class="ts" x="610" y="384" text-anchor="middle">E2E 覆盖审查</text>
<text class="ht" x="692" y="324" text-anchor="end">◎</text>
<rect class="n-pill" x="560" y="418" width="100" height="18" rx="9"/>
<text class="tc" x="568" y="431">dev-spec-design</text>
<!-- 实施(自检小循环) -->
<rect class="n-action lift" x="740" y="300" width="220" height="120" rx="12"/>
<text class="tm" x="850" y="330" text-anchor="middle">实施(自检小循环)</text>
<text class="t" x="760" y="356">实现 → 自测 → UI 对照 → 代码评审</text>
<text class="ts" x="760" y="380">按任务清单逐项勾选</text>
<text class="ht" x="760" y="402">◎ 记录不绿就继续改,直到全绿</text>
<rect class="n-pill" x="818" y="428" width="64" height="18" rx="9"/>
<text class="tc" x="826" y="441">dev-apply</text>
<!-- 验证硬门禁(qa) -->
<rect class="n-gate lift" x="990" y="500" width="210" height="110" rx="6"/>
<rect x="996" y="506" width="198" height="98" fill="none" stroke="var(--ink)" stroke-width="0.8"/>
<text class="tm" x="1095" y="536" text-anchor="middle">验证 · 硬门禁</text>
<text class="ts" x="1095" y="558" text-anchor="middle">规范校验 + 测试 + 构建</text>
<text class="ts" x="1095" y="576" text-anchor="middle">(+ 条件端到端 qa-run-e2e-tests)</text>
<text class="ht" x="1095" y="596" text-anchor="middle">◎ 全自动 · 全 PASS 才放行</text>
<rect class="n-pill" x="1212" y="546" width="64" height="18" rx="9"/>
<text class="tc" x="1220" y="559">qa-verify</text>
<!-- 技术评审(reviewer 异构模型对抗) -->
<rect class="lift" x="1240" y="140" width="180" height="100" rx="12" fill="var(--gold-soft)" stroke="var(--gold)" stroke-width="1.2" stroke-dasharray="6 4"/>
<text class="tm" x="1330" y="172" text-anchor="middle">技术评审(五维)</text>
<text class="gds" x="1330" y="194" text-anchor="middle">reviewer · 异构模型对抗</text>
<text class="ts" x="1330" y="214" text-anchor="middle">P0 – P3 分级</text>
<rect class="n-pill" x="1298" y="248" width="64" height="18" rx="9"/>
<text class="tc" x="1306" y="261">rv-review</text>
<!-- ★ 裁决 -->
<polygon class="n-decision lift" points="1490,158 1555,190 1490,222 1425,190"/>
<text class="gd" x="1490" y="186" text-anchor="middle">★ 裁决</text>
<text class="ts" x="1490" y="204" text-anchor="middle">P0 / P1</text>
<!-- 规格同步 / 归档 -->
<rect class="n-card lift" x="1240" y="310" width="150" height="100" rx="12"/>
<text class="tm" x="1315" y="344" text-anchor="middle">规格同步</text>
<text class="ts" x="1315" y="366" text-anchor="middle">增量 → 主规格库</text>
<text class="ts" x="1315" y="386" text-anchor="middle">每个变更都做</text>
<text class="ht" x="1382" y="324" text-anchor="end">◎</text>
<rect class="n-pill" x="1247" y="418" width="136" height="18" rx="9"/>
<text class="tc" x="1255" y="431">tl-sync · tl-archive</text>
<rect class="n-action lift" x="1430" y="310" width="130" height="100" rx="12"/>
<text class="tm" x="1495" y="344" text-anchor="middle">归档</text>
<text class="ts" x="1495" y="366" text-anchor="middle">队列置 done</text>
<text class="ts" x="1495" y="386" text-anchor="middle">度量打点闭合</text>
<text class="ht" x="1552" y="324" text-anchor="end">◎</text>
<!-- 正向流转 -->
<path class="edge" d="M230 240 V500"/>
<path class="edge" d="M320 550 H400 V415"/>
<path class="edge" d="M470 360 H520"/>
<path class="edge" d="M700 360 H740"/>
<path class="edge" d="M960 360 H975 V555 H990"/>
<path class="edge" d="M1095 500 V185 H1240"/>
<path class="edge" d="M1420 190 H1425"/>
<path class="edge" d="M1490 222 V286 H1315 V306"/>
<path class="edge" d="M1390 360 H1430"/>
<!-- 下一个 Story 循环 -->
<path class="edge" d="M1495 410 V635 H610 V412"/>
<text class="ht" x="590" y="631" text-anchor="end">◎ 下一个 Story(还有就继续)· 整批可无人值守</text>
<!-- Epic 收尾出口 -->
<path class="edge" d="M1330 635 V684"/>
<a href="knowledge.html">
<ellipse class="n-end lift" cx="1330" cy="720" rx="86" ry="32"/>
<text class="tm" x="1330" y="716" text-anchor="middle">Epic 收尾 →</text>
<text class="ts" x="1330" y="734" text-anchor="middle">④ 知识回流</text>
</a>
<!-- 打回(红虚线) -->
<path class="edge-red" d="M1095 612 V628 H850 V422"/>
<text class="rd" x="845" y="560" text-anchor="end">验证不过 → 打回重做</text>
<path class="edge-red" d="M1460 222 V268 H1330 V244"/>
<text class="rd" x="1286" y="262" text-anchor="end">P0 / P1 → 修复 · 复验 · 增量复审</text>
<!-- 底部铁律 -->
<text class="t" x="140" y="700">硬门禁全自动:规范校验、单元 / 接口测试、前端构建全部 PASS 才放行;端到端为条件硬门禁。</text>
<text class="t" x="140" y="724">评审分级:P0 必修;P1 阻断归档(除非书面接受风险);P2 / P3 登记技术债。</text>
<text class="ts" x="140" y="748">度量打点随阶段进出自动记录:实际耗时以台账为准,不做推算。</text>
</svg>
</div>
</body>
</html>