| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579 |
- <!DOCTYPE html>
- <html lang="zh-CN">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>auto_put_ad_mini · 整体架构</title>
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=Newsreader:opsz,wght,SOFT@6..72,300..800,0..100&family=IBM+Plex+Sans:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&family=Noto+Sans+SC:wght@300;400;500&family=Noto+Serif+SC:wght@300;400;500&display=swap" rel="stylesheet">
- <style>
- :root {
- --paper: #F2EDE3;
- --paper-warm: #EFE8DA;
- --paper-line: #D4CDB8;
- --ink: #0F1F2E;
- --ink-2: #2D3D52;
- --ink-3: #4A5870;
- --ink-mute: #7A8294;
- --accent: #C75D3F;
- --moss: #5C7A52;
- --gold: #B8902F;
- --serif: "Newsreader", "Noto Serif SC", Georgia, serif;
- --sans: "IBM Plex Sans", "Noto Sans SC", system-ui, sans-serif;
- --mono: "JetBrains Mono", monospace;
- }
- * { box-sizing: border-box; margin: 0; padding: 0; }
- body {
- background: var(--paper);
- color: var(--ink);
- font-family: var(--sans);
- line-height: 1.5;
- min-height: 100vh;
- background-image:
- repeating-linear-gradient(0deg, transparent 0, transparent 39px, var(--paper-line) 39px, var(--paper-line) 40px),
- repeating-linear-gradient(90deg, transparent 0, transparent 39px, var(--paper-line) 39px, var(--paper-line) 40px);
- background-blend-mode: multiply;
- position: relative;
- }
- body::before {
- content: "";
- position: fixed; inset: 0;
- pointer-events: none;
- opacity: 0.5;
- background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' /%3E%3CfeColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.12 0 0 0 0 0.18 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
- mix-blend-mode: multiply;
- z-index: 1;
- }
- main {
- position: relative; z-index: 2;
- max-width: 1280px;
- margin: 0 auto;
- padding: 56px 48px 64px;
- }
- .head {
- display: flex;
- justify-content: space-between;
- align-items: baseline;
- margin-bottom: 16px;
- padding-bottom: 24px;
- border-bottom: 1px solid var(--ink);
- flex-wrap: wrap;
- gap: 24px;
- }
- .eyebrow {
- font-family: var(--mono);
- font-size: 11px;
- letter-spacing: 0.3em;
- color: var(--accent);
- margin-bottom: 12px;
- text-transform: uppercase;
- }
- h1 {
- font-family: var(--serif);
- font-size: clamp(40px, 5.5vw, 72px);
- font-weight: 300;
- line-height: 0.95;
- letter-spacing: -0.025em;
- font-variation-settings: "opsz" 72, "SOFT" 30;
- }
- h1 em {
- font-style: italic;
- color: var(--accent);
- font-variation-settings: "opsz" 72, "SOFT" 100;
- }
- .tagline {
- font-family: var(--mono);
- font-size: 11px;
- letter-spacing: 0.15em;
- color: var(--ink-mute);
- text-align: right;
- line-height: 1.7;
- }
- .subtitle {
- font-family: var(--serif);
- font-size: 18px;
- font-style: italic;
- color: var(--ink-2);
- font-weight: 300;
- margin: 16px 0 48px;
- font-variation-settings: "opsz" 18, "SOFT" 60;
- max-width: 820px;
- }
- .diagram-wrap {
- background: var(--paper-warm);
- border: 1px solid var(--ink);
- padding: 36px 24px;
- margin-bottom: 32px;
- position: relative;
- }
- .diagram-wrap::before {
- content: "图 · 系统架构";
- position: absolute;
- top: -12px;
- left: 24px;
- background: var(--paper);
- padding: 0 12px;
- font-family: var(--mono);
- font-size: 11px;
- letter-spacing: 0.2em;
- text-transform: uppercase;
- color: var(--ink-3);
- border: 1px solid var(--ink);
- height: 24px;
- display: flex;
- align-items: center;
- }
- svg.arch {
- display: block;
- width: 100%;
- height: auto;
- }
- svg.arch text {
- font-family: var(--sans);
- fill: var(--ink-2);
- font-size: 13px;
- }
- svg.arch .title {
- font-family: var(--serif);
- font-weight: 500;
- fill: var(--ink);
- font-size: 18px;
- font-variation-settings: "opsz" 18;
- }
- svg.arch .title-en {
- font-family: var(--mono);
- font-size: 10px;
- fill: var(--ink-mute);
- letter-spacing: 0.15em;
- }
- svg.arch .body { font-size: 12px; fill: var(--ink-3); }
- svg.arch .body-strong { font-size: 12.5px; fill: var(--ink-2); font-weight: 500; }
- svg.arch .layer-bg {
- fill: var(--paper);
- stroke: var(--ink);
- stroke-width: 1;
- }
- svg.arch .agent-bg {
- fill: var(--paper-warm);
- stroke: var(--ink);
- stroke-width: 1.5;
- }
- svg.arch .core-bg-llm {
- fill: var(--ink);
- stroke: var(--ink);
- }
- svg.arch .core-bg {
- fill: var(--paper);
- stroke: var(--ink);
- }
- svg.arch .core-bg-accent {
- fill: var(--paper);
- stroke: var(--accent);
- stroke-width: 2;
- }
- svg.arch .llm-text { fill: var(--paper); }
- svg.arch .llm-text-mute { fill: var(--paper-warm); opacity: 0.7; }
- svg.arch .arrow-data {
- stroke: var(--moss);
- stroke-width: 1.5;
- fill: none;
- }
- svg.arch .arrow-act {
- stroke: var(--accent);
- stroke-width: 1.5;
- fill: none;
- }
- svg.arch .arrow-internal {
- stroke: var(--ink);
- stroke-width: 1;
- fill: none;
- stroke-dasharray: 3 3;
- }
- svg.arch .arrow-loop {
- stroke: var(--ink-3);
- stroke-width: 1;
- fill: none;
- }
- svg.arch .arrow-label {
- font-family: var(--mono);
- font-size: 10px;
- fill: var(--ink-mute);
- letter-spacing: 0.05em;
- }
- svg.arch .agent-label {
- font-family: var(--serif);
- font-style: italic;
- font-size: 14px;
- fill: var(--ink-2);
- font-variation-settings: "opsz" 14, "SOFT" 80;
- }
- .legend {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
- gap: 12px 32px;
- margin-top: 24px;
- font-size: 13px;
- }
- .legend-item {
- display: flex;
- align-items: center;
- gap: 12px;
- color: var(--ink-2);
- }
- .legend-line {
- width: 32px;
- height: 2px;
- flex-shrink: 0;
- }
- .legend-line.data { background: var(--moss); }
- .legend-line.act { background: var(--accent); }
- .legend-line.internal { background: repeating-linear-gradient(to right, var(--ink) 0 4px, transparent 4px 7px); height: 1px; }
- footer {
- margin-top: 32px;
- padding-top: 16px;
- border-top: 1px dashed var(--paper-line);
- font-family: var(--mono);
- font-size: 11px;
- color: var(--ink-mute);
- letter-spacing: 0.1em;
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
- gap: 12px;
- }
- footer .stamp {
- font-family: var(--serif);
- font-style: italic;
- letter-spacing: 0.02em;
- }
- @keyframes drawIn {
- from { opacity: 0; transform: translateY(8px); }
- to { opacity: 1; transform: translateY(0); }
- }
- .head, .subtitle, .diagram-wrap, .legend, footer {
- animation: drawIn 0.6s ease-out backwards;
- }
- .head { animation-delay: 0.05s; }
- .subtitle { animation-delay: 0.15s; }
- .diagram-wrap { animation-delay: 0.25s; }
- .legend { animation-delay: 0.5s; }
- footer { animation-delay: 0.6s; }
- @media (max-width: 700px) {
- main { padding: 32px 20px; }
- .head { flex-direction: column; }
- .tagline { text-align: left; }
- }
- </style>
- </head>
- <body>
- <main>
- <header class="head">
- <div>
- <div class="eyebrow">微信小程序投流 · 整体架构</div>
- <h1>广告 ROI <em>调控官</em></h1>
- </div>
- <div class="tagline">
- 项目代号 auto_put_ad_mini<br>
- v0.4.27 · 2026-04-28
- </div>
- </header>
- <p class="subtitle">
- 一个广告调控智能体由<strong style="color:var(--ink);font-style:normal">大脑、知识、能力、调度</strong>四件事组成。每天定时从数仓读数 → 用投手经验思考 → 产出决策 → 飞书等运营审批 → 调腾讯接口执行;运营反馈可触发<strong style="color:var(--accent);font-style:normal">协商重审</strong>。
- </p>
- <div class="diagram-wrap">
- <svg class="arch" viewBox="0 0 1260 940" xmlns="http://www.w3.org/2000/svg">
- <defs>
- <marker id="arr-data" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto">
- <path d="M 0 0 L 10 5 L 0 10 z" fill="#5C7A52"/>
- </marker>
- <marker id="arr-act" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="6" markerHeight="6" orient="auto">
- <path d="M 0 0 L 10 5 L 0 10 z" fill="#C75D3F"/>
- </marker>
- <marker id="arr-int" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="5" markerHeight="5" orient="auto">
- <path d="M 0 0 L 10 5 L 0 10 z" fill="#0F1F2E"/>
- </marker>
- </defs>
- <!-- ================ LEFT: 数据世界 (Inputs) ================ -->
- <g>
- <text x="100" y="30" class="title-en" text-anchor="middle">INPUT</text>
- <text x="100" y="56" class="agent-label" text-anchor="middle">数据世界</text>
- <rect x="20" y="80" width="160" height="60" class="layer-bg"/>
- <text x="100" y="108" class="title" text-anchor="middle">广告数据</text>
- <text x="100" y="128" class="body" text-anchor="middle">投放消耗 · 用户回流</text>
- <rect x="20" y="160" width="160" height="60" class="layer-bg"/>
- <text x="100" y="188" class="title" text-anchor="middle">广告状态</text>
- <text x="100" y="208" class="body" text-anchor="middle">出价 · 投放开关 · 定向</text>
- <rect x="20" y="240" width="160" height="60" class="layer-bg"/>
- <text x="100" y="268" class="title" text-anchor="middle">运营配置</text>
- <text x="100" y="288" class="body" text-anchor="middle">阈值 · 白名单 · 开关</text>
- </g>
- <!-- ================ AGENT BOX (Center) ================ -->
- <g>
- <rect x="240" y="60" width="700" height="820" class="agent-bg" rx="2"/>
- <text x="590" y="40" class="title-en" text-anchor="middle">AGENT INTERNAL</text>
- <text x="590" y="86" class="agent-label" text-anchor="middle" font-size="18" style="font-style:italic">智能体内部</text>
- <!-- 大脑 (LLM) - center top -->
- <rect x="430" y="120" width="320" height="76" class="core-bg-llm" rx="2"/>
- <text x="590" y="148" class="title llm-text" text-anchor="middle">大脑 · 推理</text>
- <text x="590" y="170" class="body llm-text-mute" text-anchor="middle">读懂数据 · 综合判断</text>
- <text x="590" y="186" class="body llm-text-mute" text-anchor="middle">写出决策 · 解释理由</text>
- <!-- 调度 (Runner) -->
- <rect x="450" y="220" width="280" height="56" class="core-bg-accent" rx="2"/>
- <text x="590" y="244" class="title" text-anchor="middle" fill="#C75D3F">调度 · 循环</text>
- <text x="590" y="263" class="body" text-anchor="middle">看 → 想 → 做 → 看,反复直到任务完成</text>
- <!-- =========== 知识 (Skills) - bottom left =========== -->
- <rect x="270" y="310" width="290" height="540" class="core-bg" rx="2"/>
- <text x="415" y="338" class="title" text-anchor="middle">知识 · 投手经验</text>
- <text x="415" y="358" class="body" text-anchor="middle" style="font-style:italic;font-family:var(--serif)">4 份手册,注入大脑提示让它"懂行"</text>
- <line x1="290" y1="372" x2="540" y2="372" stroke="#D4CDB8" stroke-width="0.5"/>
- <!-- skill rows -->
- <!-- ad_domain -->
- <text x="290" y="402" class="body-strong" style="font-family:var(--mono);font-size:12px">ad_domain</text>
- <text x="290" y="420" class="body">业务模型 · 解释为什么 R500 当日 ROI 偏低</text>
- <text x="290" y="436" class="body">裂变变现 · R 值人群 · 动态 ROI 公式</text>
- <line x1="290" y1="452" x2="540" y2="452" stroke="#EFE8DA" stroke-width="0.5"/>
- <!-- platform_rules -->
- <text x="290" y="478" class="body-strong" style="font-family:var(--mono);font-size:12px">platform_rules</text>
- <text x="290" y="496" class="body">平台硬约束 · 优先级最高,违反必掉量</text>
- <text x="290" y="512" class="body">学习期保护 · 调价上限 · 数据口径</text>
- <line x1="290" y1="528" x2="540" y2="528" stroke="#EFE8DA" stroke-width="0.5"/>
- <!-- decision_strategy (CORE) -->
- <text x="290" y="554" class="body-strong" style="font-family:var(--mono);font-size:12px;fill:#C75D3F">★ decision_strategy</text>
- <text x="290" y="572" class="body" style="fill:#0F1F2E">决策核心 · 真正的"作战手册"</text>
- <text x="290" y="588" class="body">7 种动作 · 阈值参考 · reason 5 元组</text>
- <line x1="290" y1="604" x2="540" y2="604" stroke="#EFE8DA" stroke-width="0.5"/>
- <!-- posterior_wisdom -->
- <text x="290" y="630" class="body-strong" style="font-family:var(--mono);font-size:12px">posterior_wisdom</text>
- <text x="290" y="648" class="body">后验经验入口 · 待积累实战案例</text>
- <text x="290" y="664" class="body">历史降价恢复 · 创意冷启动 等</text>
- <!-- =========== 能力 (Tools) - 工具流水线 =========== -->
- <rect x="620" y="310" width="290" height="540" class="core-bg" rx="2"/>
- <text x="765" y="338" class="title" text-anchor="middle">能力 · 工具流水线</text>
- <text x="765" y="358" class="body" text-anchor="middle" style="font-style:italic;font-family:var(--serif)">12 个工具,大脑通过调度按序调用</text>
- <line x1="640" y1="372" x2="890" y2="372" stroke="#D4CDB8" stroke-width="0.5"/>
- <!-- ① 取数 -->
- <rect x="635" y="385" width="260" height="50" class="layer-bg" rx="1"/>
- <text x="643" y="402" class="body" style="font-size:10.5px;fill:#7A8294;letter-spacing:0.06em">① 取数</text>
- <text x="643" y="418" class="body-strong" style="font-family:var(--mono);font-size:11.5px">data_query</text>
- <text x="643" y="431" class="body" style="font-size:11px">拉创意级数据 + 广告状态</text>
- <path d="M 765 435 L 765 449" stroke="#0F1F2E" stroke-width="1" fill="none" marker-end="url(#arr-int)"/>
- <text x="772" y="446" class="arrow-label" style="font-size:9px">CSV 落盘</text>
- <!-- ② 算指标 -->
- <rect x="635" y="455" width="260" height="50" class="layer-bg" rx="1"/>
- <text x="643" y="472" class="body" style="font-size:10.5px;fill:#7A8294;letter-spacing:0.06em">② 算指标</text>
- <text x="643" y="488" class="body-strong" style="font-family:var(--mono);font-size:11.5px">roi_calculator + portfolio_metrics</text>
- <text x="643" y="501" class="body" style="font-size:11px">动态 ROI + 渠道/分群基线</text>
- <path d="M 765 505 L 765 519" stroke="#0F1F2E" stroke-width="1" fill="none" marker-end="url(#arr-int)"/>
- <text x="772" y="516" class="arrow-label" style="font-size:9px">metrics 表</text>
- <!-- ③ 筛 + LLM 决策 (核心,描红边) -->
- <rect x="635" y="525" width="260" height="50" class="layer-bg" rx="1" style="stroke:#C75D3F;stroke-width:1.5"/>
- <text x="643" y="542" class="body" style="font-size:10.5px;fill:#C75D3F;letter-spacing:0.06em">③ 筛 + LLM 决策(核心)</text>
- <text x="643" y="558" class="body-strong" style="font-family:var(--mono);font-size:11.5px">ad_decision</text>
- <text x="643" y="571" class="body" style="font-size:11px">候选标记 → LLM 综合 → 决策</text>
- <path d="M 765 575 L 765 589" stroke="#0F1F2E" stroke-width="1" fill="none" marker-end="url(#arr-int)"/>
- <text x="772" y="586" class="arrow-label" style="font-size:9px">决策 JSON</text>
- <!-- ④ 护栏 -->
- <rect x="635" y="595" width="260" height="50" class="layer-bg" rx="1"/>
- <text x="643" y="612" class="body" style="font-size:10.5px;fill:#7A8294;letter-spacing:0.06em">④ 护栏</text>
- <text x="643" y="628" class="body-strong" style="font-family:var(--mono);font-size:11.5px">guardrails</text>
- <text x="643" y="641" class="body" style="font-size:11px">冷启动 / 出价 / 频率 / 新鲜度</text>
- <path d="M 765 645 L 765 659" stroke="#0F1F2E" stroke-width="1" fill="none" marker-end="url(#arr-int)"/>
- <text x="772" y="656" class="arrow-label" style="font-size:9px">已校验</text>
- <!-- ⑤ 送审 -->
- <rect x="635" y="665" width="260" height="50" class="layer-bg" rx="1"/>
- <text x="643" y="682" class="body" style="font-size:10.5px;fill:#7A8294;letter-spacing:0.06em">⑤ 送审 · 阻塞 120 min</text>
- <text x="643" y="698" class="body-strong" style="font-family:var(--mono);font-size:11.5px">im_approval + feishu_doc</text>
- <text x="643" y="711" class="body" style="font-size:11px">表 + 卡片推送 · 等运营回复</text>
- <path d="M 765 715 L 765 729" stroke="#0F1F2E" stroke-width="1" fill="none" marker-end="url(#arr-int)"/>
- <text x="772" y="726" class="arrow-label" style="font-size:9px">通过 / 拒绝</text>
- <!-- ⑥ 执行 -->
- <rect x="635" y="735" width="260" height="50" class="layer-bg" rx="1"/>
- <text x="643" y="752" class="body" style="font-size:10.5px;fill:#7A8294;letter-spacing:0.06em">⑥ 执行</text>
- <text x="643" y="768" class="body-strong" style="font-family:var(--mono);font-size:11.5px">execution_engine + ad_api</text>
- <text x="643" y="781" class="body" style="font-size:11px">调腾讯接口 OR 仅 log(开关)</text>
- <!-- 报告生成 (尾部说明) -->
- <text x="765" y="810" class="body" text-anchor="middle" style="font-size:10.5px;font-family:var(--serif);font-style:italic;fill:#7A8294">+ report_generator 生成 Excel 报告 · 全程审计</text>
- <!-- =========== Internal arrows =========== -->
- <!-- 知识 → 大脑 -->
- <path class="arrow-internal" d="M 415 310 L 415 200 L 470 196" marker-end="url(#arr-int)"/>
- <text x="370" y="260" class="arrow-label" transform="rotate(-90 370 260)">注入提示词</text>
- <!-- 能力 → 大脑 -->
- <path class="arrow-internal" d="M 765 310 L 765 200 L 710 196" marker-end="url(#arr-int)"/>
- <text x="810" y="260" class="arrow-label" transform="rotate(-90 810 260)">返回观测</text>
- <!-- 大脑 → 调度 -->
- <path class="arrow-internal" d="M 590 196 L 590 220" marker-end="url(#arr-int)"/>
- <!-- 调度 → 能力 -->
- <path class="arrow-internal" d="M 690 276 Q 765 295 765 310" marker-end="url(#arr-int)"/>
- <text x="710" y="298" class="arrow-label">调用</text>
- </g>
- <!-- ================ RIGHT: 决策出口 + 运营人 ================ -->
- <g>
- <text x="1080" y="30" class="title-en" text-anchor="middle">OUTPUT</text>
- <text x="1080" y="56" class="agent-label" text-anchor="middle">决策落地</text>
- <rect x="1000" y="80" width="160" height="60" class="layer-bg" style="stroke-width:1.5"/>
- <text x="1080" y="106" class="title" text-anchor="middle">飞书审批表</text>
- <text x="1080" y="126" class="body" text-anchor="middle">表 + 卡片消息</text>
- <rect x="1000" y="160" width="160" height="60" class="layer-bg"/>
- <text x="1080" y="186" class="title" text-anchor="middle">广告变更</text>
- <text x="1080" y="206" class="body" text-anchor="middle">调出价 / 暂停</text>
- <rect x="1000" y="240" width="160" height="60" class="layer-bg"/>
- <text x="1080" y="266" class="title" text-anchor="middle">报告归档</text>
- <text x="1080" y="286" class="body" text-anchor="middle">Excel + 审计日志</text>
- <!-- 运营人 actor -->
- <rect x="1000" y="380" width="160" height="80" class="layer-bg" style="fill:#EFE8DA;stroke-width:2;stroke:#C75D3F"/>
- <text x="1080" y="406" class="title" text-anchor="middle" style="fill:#C75D3F">运营人</text>
- <text x="1080" y="426" class="body" text-anchor="middle">飞书查表</text>
- <text x="1080" y="442" class="body" text-anchor="middle">通过 / 拒绝 / 协商</text>
- </g>
- <!-- ================ Cross-cutting arrows ================ -->
- <!-- 数据进入 → ① 取数 stage -->
- <path class="arrow-data" d="M 180 110 Q 380 110 635 405" marker-end="url(#arr-data)"/>
- <path class="arrow-data" d="M 180 190 Q 380 190 635 410" marker-end="url(#arr-data)"/>
- <text x="380" y="155" class="arrow-label" style="fill:#5C7A52">取数</text>
- <!-- 配置 → 调度 (虚线影响) -->
- <path d="M 180 270 Q 320 270 470 248" stroke="#5C7A52" stroke-width="1.2" fill="none" stroke-dasharray="3 3" marker-end="url(#arr-data)"/>
- <text x="280" y="262" class="arrow-label" style="fill:#5C7A52">阈值/白名单</text>
- <!-- ⑤ 送审 → 飞书审批表 -->
- <path class="arrow-act" d="M 895 690 Q 970 400 1000 110" marker-end="url(#arr-act)"/>
- <text x="952" y="380" class="arrow-label" style="fill:#C75D3F" transform="rotate(-72 952 380)">送审</text>
- <!-- 飞书审批表 ↔ 运营 (双向) -->
- <path class="arrow-act" d="M 1075 140 L 1075 380" marker-end="url(#arr-act)"/>
- <path class="arrow-act" d="M 1090 380 L 1090 140" marker-end="url(#arr-act)"/>
- <text x="1175" y="265" class="arrow-label" style="fill:#C75D3F" text-anchor="end">看 / 回</text>
- <!-- 运营 → ad_decision (协商反馈,虚线) -->
- <path d="M 1000 420 Q 945 420 945 555 L 895 555" stroke="#C75D3F" stroke-width="1.4" fill="none" stroke-dasharray="4 3" marker-end="url(#arr-act)"/>
- <text x="932" y="495" class="arrow-label" style="fill:#C75D3F" transform="rotate(-90 932 495)">协商反馈 · 重审</text>
- <!-- ⑥ 执行 → 广告变更 -->
- <path class="arrow-act" d="M 895 760 Q 980 480 1000 190" marker-end="url(#arr-act)"/>
- <text x="993" y="500" class="arrow-label" style="fill:#C75D3F" transform="rotate(-78 993 500)">执行写入</text>
- <!-- 报告 → 报告归档 -->
- <path d="M 895 815 Q 998 530 1000 270" stroke="#7A8294" stroke-width="0.8" fill="none" stroke-dasharray="2 3" marker-end="url(#arr-int)"/>
- <text x="1011" y="600" class="arrow-label" style="fill:#7A8294" transform="rotate(-78 1011 600)">归档</text>
- <!-- ================ Persistence (bottom strip) ================ -->
- <g>
- <line x1="240" y1="900" x2="940" y2="900" stroke="#0F1F2E" stroke-width="0.5" stroke-dasharray="2 4"/>
- <rect x="475" y="908" width="230" height="24" class="layer-bg" rx="2"/>
- <text x="590" y="924" class="body-strong" text-anchor="middle" font-size="11">审计 · 记忆 · 全程留痕(.trace/)</text>
- <line x1="415" y1="850" x2="415" y2="900" stroke="#7A8294" stroke-width="0.5" stroke-dasharray="1 3"/>
- <line x1="765" y1="785" x2="765" y2="900" stroke="#7A8294" stroke-width="0.5" stroke-dasharray="1 3"/>
- <line x1="590" y1="276" x2="590" y2="900" stroke="#7A8294" stroke-width="0.5" stroke-dasharray="1 3"/>
- </g>
- <!-- 主流程标签 -->
- <text x="100" y="380" class="arrow-label" text-anchor="middle" style="fill:#5C7A52">外部 → 智能体</text>
- <text x="1080" y="500" class="arrow-label" text-anchor="middle" style="fill:#C75D3F">智能体 ⇄ 运营</text>
- </svg>
- </div>
- <div class="legend">
- <div class="legend-item">
- <span class="legend-line data"></span>
- <span><strong>苔绿实线 · 数据流</strong> · 外部 → 智能体(取数)</span>
- </div>
- <div class="legend-item">
- <span class="legend-line act"></span>
- <span><strong>陶土橙实线 · 行动流</strong> · 智能体 → 外部(送审 / 写入)</span>
- </div>
- <div class="legend-item">
- <span class="legend-line internal"></span>
- <span><strong>黑色虚线 · 内部协作</strong> · 注入提示 / 调用工具 / 返回观测</span>
- </div>
- <div class="legend-item">
- <span class="legend-line" style="background: repeating-linear-gradient(to right, #C75D3F 0 4px, transparent 4px 7px); height: 1.5px;"></span>
- <span><strong>橙色虚线 · 协商反馈</strong> · 运营回复 → 智能体重新评估</span>
- </div>
- </div>
- <footer>
- <div>auto_put_ad_mini · 整体架构 · 概念层一图概览</div>
- <div class="stamp">examples/auto_put_ad_mini/</div>
- </footer>
- </main>
- </body>
- </html>
|