WhyBuddy: Instructions file for Kiro

.kiro/steering/web-aigc-runtime-mainline-checkpoints-2026-04-23.md

WhyBuddy web-aigc-runtime-mainline-checkpoints-2026-04-23.md is an instructions file for Kiro from xiaojilele-glitch/WhyBuddy. It costs 4,294 tokens per session, scanned A, original, MIT.

A checkpoint document for the Web-AIGC workflow runtime, covering service entry points, built-in and extra adapters, waiting and resuming, and audit or monitoring events. It records which routes and shared dependencies are connected without claiming that all telemetry is already uniform.

In plain words
What is it for?
Use it to inspect runtime wiring, node adapters, human approval and input waits, retry or escalation controls, and event copies sent to replay and audit views.
Why use it?
It gives developers a single checklist for checking whether features are merely defined, exposed by a route, executable in the main runtime, recoverable after waiting, and visible in history or audit records.

Instructions file for Kiro

Written for Kiro: installed under .kiro/.

This is xiaojilele-glitch/WhyBuddy's own configuration. It tells Kiro how to work on WhyBuddy itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything WhyBuddy configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/xiaojilele-glitch/WhyBuddy/main/.kiro/steering/web-aigc-runtime-mainline-checkpoints-2026-04-23.md
Clone the repo
git clone --depth 1 https://github.com/xiaojilele-glitch/WhyBuddy

Made for: Kiro.

Wrote 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.

agentmods badge for WhyBuddy web-aigc-runtime-mainline-checkpoints-2026-04-23.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/xiaojilele-glitch/whybuddy/web-aigc-runtime-mainline-checkpoints-2026-04-23/github.svg)](https://agentmods.dev/instructions/xiaojilele-glitch/whybuddy/web-aigc-runtime-mainline-checkpoints-2026-04-23)
Your own site
<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.

agentmods 80×15 button for WhyBuddy web-aigc-runtime-mainline-checkpoints-2026-04-23.md

Your own site · 80×15
<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>
Per session 4,294 This file is loaded in full into every session.
When invoked 4,294 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 1mo ago against content hash 4f57466fc7fc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

.kiro/steering/web-aigc-runtime-mainline-checkpoints-2026-04-23.md · 447 lines

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 wiring
  • built-in
  • extra adapters
  • wait-resume
  • audit-observability

目标是明确当前 runtime 主线已经具备哪些真实能力,哪些入口已经进入主服务,哪些节点已经进入主线执行面,哪些节点已经带上等待/恢复机制,以及哪些运行时事件已经进入 replay / audit 镜像。

补充口径:

  • 本次文档属于“主线接线后更新”,重点补记 server/index 主服务入口、workflows 路由面与 RAG / MCP 共用依赖接线的最新状态。
  • 本次更新说明的是“主线已经接上哪些真实入口与共享依赖”,不等于“所有节点 observability / telemetry 已经全统一”。

一、总览结论

截至 2026-04-23,web-aigc runtime 主线已经不再是空骨架,而是具备了以下五层结构:

  1. 一层主服务入口接线面。 负责把 Web-AIGC route 面、runtime extra adapters 注册面、RAG 共享依赖面和 workflow runtime 治理入口接到主服务入口。

  2. 一层内建 runtime adapter。 覆盖最小流程控制、对话、结束节点、赋值节点和人工选择节点。

  3. 一层 extra runtime adapter。 负责把已经落地的 Web-AIGC 节点逐步接入主线 runtime,而不是只停留在独立 route 层。

  4. 一层 wait / resume 控制面。 已覆盖人工选择、参数采集、人工审批型 mcp、高风险 transaction_flow,以及 terminate / retry / escalate 等运行时控制入口。

  5. 一层 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.documentSearch
  • registerWebAigcRuntimeExtraAdapters(...)

这带来的实际变化是:

  • chat route 与 runtime chat 节点开始复用同一份文档检索能力。
  • extra adapters 中依赖 document search 的节点注册时可以直接拿到同源注入,而不是各自重新拼装检索依赖。

Read the full file on GitHub · 447 lines

Changes

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.

  1. 1mo ago First seen · 447 lines · 4,294 tokens per session scan A 4f57466fc7fc

Subscribe to this mod's changes

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.

Related

WhyBuddy web-aigc-runtime-mainline-checkpoints-2026-04-23.md compared with instructions from other repositories

WhyBuddy web-aigc-runtime-mainline-checkpoints-2026-04-23.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
WhyBuddy web-aigc-runtime-mainline-checkpoints-2026-04-23.mdxiaojilele-glitch/WhyBuddyInstructions file3801mo agoMITA4,294Kiro
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode