Borrowing it
Nothing to install: this file belongs to xiaojilele-glitch/WhyBuddy. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/xiaojilele-glitch/WhyBuddy/main/.kiro/steering/web-aigc-phase-2-integration-plan.mdgit clone --depth 1 https://github.com/xiaojilele-glitch/WhyBuddyWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/instructions/xiaojilele-glitch/whybuddy/web-aigc-phase-2-integration-plan)<a href="https://agentmods.dev/instructions/xiaojilele-glitch/whybuddy/web-aigc-phase-2-integration-plan"><img src="https://agentmods.dev/badge/instructions/xiaojilele-glitch/whybuddy/web-aigc-phase-2-integration-plan/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/instructions/xiaojilele-glitch/whybuddy/web-aigc-phase-2-integration-plan"><img src="https://agentmods.dev/badge/instructions/xiaojilele-glitch/whybuddy/web-aigc-phase-2-integration-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01257 | $0.01257 |
| Opus 5.5 | $0.00503 | $0.00503 |
| Sonnet 5.5 | $0.00251 | $0.00251 |
| Haiku 4.5 | $0.00126 | $0.00126 |
Grade A, and why
WhyBuddy web-aigc-phase-2-integration-plan.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 124 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Web-AIGC 第二阶段集成计划
更新时间:2026-04-23
文档目标
本文件用于把第二阶段 steering 口径固定为:
- 主线入口接线已完成,后续工作从“接线”转入“收敛”
58 / 58份 specs 与238 / 238个顶层任务维持封板,不再作为新增目标- 下一阶段只追踪主线可验证增强,不再把 spec 增量写成阶段目标
当前阶段边界
第二阶段的起点已经不是“还缺哪些入口”,而是“入口接到主线后,哪些内部债务和闭环还没有收完”。
截至本版,以下内容统一视为已完成基线:
workflow runtime governance routes已落入主仓路由层open-reportroute 已落入主仓服务端入口- main server 的 Web-AIGC route mounting 已完成
- RAG
vectorStoreexposure 已完成,检索底座不再依赖旁路暴露 - chat 运行时
documentSearchinjection 已完成,chat / dialogue 内建 adapter 可直接消费 - MCP checker、tool adapter 与 mainline runtime registration 已完成接线
- vector update / delete 的 risk action wiring 已进入主线治理链
以上项目不再作为下一阶段待接线项重复追踪。
第二阶段真正要做的事
下一阶段统一收敛到下面五条工作线。
1. 类型债清理
- 清理
server、shared、route contract 与 runtime context 之间遗留的松散类型 - 优先收口
any、宽松 union、重复派生类型和隐式可空字段 - 先补类型边界,再扩热点行为
完成标志:
- 主线关键入口不再依赖临时类型兜底
- 共享契约能够直接服务 route、runtime 与 panel 投影三侧
2. runtime adapter result 类型统一
- 统一各类 runtime adapter 的结果壳,避免节点结果、治理结果、工具结果各说各话
- 明确
success / blocked / needs_approval / failed等状态的统一表达 - 对齐
output / report / audit / lineage / error等结果字段
完成标志:
workflow runtime内部不再维护多套结果结构- route 层、监控层、面板层消费的是同一套结果类型
3. observability / lineage 深化
- 补齐节点执行、工具调用、向量写操作与报告链路的统一谱系字段
- 把
open-report、audit trail、runtime trace 和 execution record 串成一条可追踪链 - 让高风险动作和普通节点都能落到统一观测面
完成标志:
- 从一次主线执行可以回溯到 route、adapter、治理判断和报告落点
- 向量更新 / 删除不再只有风险动作记录,没有主线谱系字段
4. HITL / Office 面板闭环
- 统一 HITL 决策、恢复执行、状态刷新与 Office 面板的数据来源
- 打通
DecisionPanel / DecisionHistory / tasks-store / mission-client与主线 runtime 投影 - 让 Office、监控面板、任务面板看到同一套
session / projection / report
完成标志:
- 人工确认到恢复执行形成端到端闭环
- Office 面板不再依赖与主线不同口径的临时字段
5. tools-and-agents 治理字段统一
- 对齐
a2a / auto-agent / internal_api / guest-agents / skills / mcp的治理字段 - 统一
actor、source、policy、approval、timeout、audit、lineage等字段命名 - 避免同一类工具调用在不同入口产生不同治理元数据
完成标志:
- 工具与代理入口的治理字段可以并排对账
- checker、tool adapter、route 和 runtime 不再维护各自私有字段口径
执行顺序
建议按 类型债清理 -> 结果类型统一 -> observability / lineage -> HITL / Office 闭环 -> tools-and-agents 治理字段统一 推进。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 124 lines · 1,257 tokens per session scan A 6b04d5e20077
WhyBuddy web-aigc-phase-2-integration-plan.md is an instructions file published in the GitHub repository xiaojilele-glitch/WhyBuddy (380 stars, last pushed 1mo ago), licensed MIT. It adds 1,257 tokens to every session, about $0.0050 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-23.
WhyBuddy web-aigc-phase-2-integration-plan.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| WhyBuddy web-aigc-phase-2-integration-plan.mdxiaojilele-glitch/WhyBuddy | Instructions file | 380 | 1mo ago | MIT | A | 1,257 | Kiro |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |