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-runtime-mainline-checkpoints-2026-04-23.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-runtime-mainline-checkpoints-2026-04-23)<a href="https://agentmods.dev/instructions/xiaojilele-glitch/whybuddy/web-aigc-runtime-mainline-checkpoints-2026-04-23"><img src="https://agentmods.dev/badge/instructions/xiaojilele-glitch/whybuddy/web-aigc-runtime-mainline-checkpoints-2026-04-23/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-runtime-mainline-checkpoints-2026-04-23"><img src="https://agentmods.dev/badge/instructions/xiaojilele-glitch/whybuddy/web-aigc-runtime-mainline-checkpoints-2026-04-23.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.04294 | $0.04294 |
| Opus 5.5 | $0.01718 | $0.01718 |
| Sonnet 5.5 | $0.00859 | $0.00859 |
| Haiku 4.5 | $0.00429 | $0.00429 |
Grade A, and why
WhyBuddy web-aigc-runtime-mainline-checkpoints-2026-04-23.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 — 447 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Web-AIGC Runtime 主线检查点(2026-04-23,主线接线后更新)
范围
本文不是补 specs,也不是给单个节点补设计文档。
本文件只做一件事:整理当前主仓 runtime 主线已经真实打通的节点族谱,并按以下五个维度做中文检查点归档:
mainline wiringbuilt-inextra adapterswait-resumeaudit-observability
目标是明确当前 runtime 主线已经具备哪些真实能力,哪些入口已经进入主服务,哪些节点已经进入主线执行面,哪些节点已经带上等待/恢复机制,以及哪些运行时事件已经进入 replay / audit 镜像。
补充口径:
- 本次文档属于“主线接线后更新”,重点补记
server/index主服务入口、workflows路由面与 RAG / MCP 共用依赖接线的最新状态。 - 本次更新说明的是“主线已经接上哪些真实入口与共享依赖”,不等于“所有节点 observability / telemetry 已经全统一”。
一、总览结论
截至 2026-04-23,web-aigc runtime 主线已经不再是空骨架,而是具备了以下五层结构:
-
一层主服务入口接线面。 负责把 Web-AIGC route 面、runtime extra adapters 注册面、RAG 共享依赖面和 workflow runtime 治理入口接到主服务入口。
-
一层内建 runtime adapter。 覆盖最小流程控制、对话、结束节点、赋值节点和人工选择节点。
-
一层 extra runtime adapter。 负责把已经落地的 Web-AIGC 节点逐步接入主线 runtime,而不是只停留在独立 route 层。
-
一层 wait / resume 控制面。 已覆盖人工选择、参数采集、人工审批型
mcp、高风险transaction_flow,以及 terminate / retry / escalate 等运行时控制入口。 -
一层 runtime observability bridge。 已把核心 runtime 事件镜像到 replay / audit,并形成节点成功、失败、等待输入、变量赋值、跳转、重试、升级、终止等最小可观测面。
这说明当前 runtime 主线已经从“定义阶段”进入“主服务接线 + 编排执行 + 控制恢复 + 观测治理”并行收口阶段。
二、主线接线检查点(主线接线后更新)
以下内容是本次“主线接线后更新”需要单独补记的事实,重点不在新增 spec,而在于确认这些能力已经被 server/index 与 workflows route 真实接到主服务主线。
1. server/index 已承担 route 面与 runtime 注册面的双重接线
当前 server/index 已不只是在启动 web-aigc 相关依赖,而是同时完成两类主线接线:
- route 面:
/api/chat、/api/mcp、/api/web-qa、/api/vector-update、/api/vector-delete、/api/rag/risk-actions等 Web-AIGC 入口已经挂到主服务入口。 - runtime 注册面:
registerWebAigcRuntimeExtraAdapters(...)已在同一入口被调用,extra adapters 不再只是“代码存在”,而是已经有主服务级注册动作。
这意味着当前检查点不能再把 Web-AIGC 视为“散落 route + 独立 adapter”,而应视为“已在主服务入口形成 route 面与 runtime 注册面双接线”。
2. chat / documentSearch 已形成同源注入链
当前 chatDocumentSearch 已同时进入三处主线位置:
createChatRouter(...)serverRuntime.documentSearchregisterWebAigcRuntimeExtraAdapters(...)
这带来的实际变化是:
- chat route 与 runtime chat 节点开始复用同一份文档检索能力。
- extra adapters 中依赖 document search 的节点注册时可以直接拿到同源注入,而不是各自重新拼装检索依赖。
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 · 447 lines · 4,294 tokens per session scan A 4f57466fc7fc
WhyBuddy web-aigc-runtime-mainline-checkpoints-2026-04-23.md is an instructions file published in the GitHub repository xiaojilele-glitch/WhyBuddy (380 stars, last pushed 1mo ago), licensed MIT. It adds 4,294 tokens to every session, about $0.0172 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-runtime-mainline-checkpoints-2026-04-23.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| WhyBuddy web-aigc-runtime-mainline-checkpoints-2026-04-23.mdxiaojilele-glitch/WhyBuddy | Instructions file | 380 | 1mo ago | MIT | A | 4,294 | 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 | yesterday | 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 |