WhyBuddy: Instructions file for Kiro

.kiro/steering/web-aigc-phase-2-integration-plan.md

WhyBuddy web-aigc-phase-2-integration-plan.md is an instructions file for Kiro from xiaojilele-glitch/WhyBuddy. It costs 1,257 tokens per session, scanned A, original, MIT.

A second-phase integration plan for a Web-AIGC application after its main routes and shared dependencies have been connected. It focuses on removing loose types, standardizing runtime results, and completing monitoring, history, and human-review flows.

In plain words
What is it for?
Use it to guide type cleanup, common success or failure results, execution history, traceable data lineage, approval steps, and shared task or office views.
Why use it?
Connecting an entry point does not make every internal layer use the same data or status meanings. The plan identifies the remaining consistency work instead of treating completed wiring as the final state.

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-phase-2-integration-plan.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-phase-2-integration-plan.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/xiaojilele-glitch/whybuddy/web-aigc-phase-2-integration-plan/github.svg)](https://agentmods.dev/instructions/xiaojilele-glitch/whybuddy/web-aigc-phase-2-integration-plan)
Your own site
<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.

agentmods 80×15 button for WhyBuddy web-aigc-phase-2-integration-plan.md

Your own site · 80×15
<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>
Per session 1,257 This file is loaded in full into every session.
When invoked 1,257 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.01257 $0.01257
Opus 5.5 $0.00503 $0.00503
Sonnet 5.5 $0.00251 $0.00251
Haiku 4.5 $0.00126 $0.00126

Measured 1mo ago against content hash 6b04d5e20077, 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-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.

.kiro/steering/web-aigc-phase-2-integration-plan.md · 124 lines

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-report route 已落入主仓服务端入口
  • main server 的 Web-AIGC route mounting 已完成
  • RAG vectorStore exposure 已完成,检索底座不再依赖旁路暴露
  • chat 运行时 documentSearch injection 已完成,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 治理字段统一 推进。

Read the full file on GitHub · 124 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 · 124 lines · 1,257 tokens per session scan A 6b04d5e20077

Subscribe to this mod's changes

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.

Related

WhyBuddy web-aigc-phase-2-integration-plan.md compared with instructions from other repositories

WhyBuddy web-aigc-phase-2-integration-plan.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
WhyBuddy web-aigc-phase-2-integration-plan.mdxiaojilele-glitch/WhyBuddyInstructions file3801mo agoMITA1,257Kiro
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,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