WhyBuddy: Instructions file for Kiro

.kiro/steering/master-migration-plan.md

WhyBuddy master-migration-plan.md is an instructions file for Kiro from xiaojilele-glitch/WhyBuddy. It costs 1,464 tokens per session, scanned A, original, MIT.

A phased migration plan for bringing web-aigc's workflow-orchestration features into SlideRule. Workflow orchestration means connecting steps into a process and running them as a unit; the plan starts with runtime contracts and postpones the visual editor and full workflow-definition management.

In plain words
What is it for?
Use it to inventory interfaces, define shared terms, migrate conversations, human input, retrieval, media processing, external tools, monitoring, and then add permissions, versions, and a visual editor.
Why use it?
It provides an order for moving capabilities without replacing the existing mission-based architecture. It also reduces duplicate implementations by mapping each feature to an existing SlideRule service where possible.

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/master-migration-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 master-migration-plan.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/xiaojilele-glitch/whybuddy/master-migration-plan/github.svg)](https://agentmods.dev/instructions/xiaojilele-glitch/whybuddy/master-migration-plan)
Your own site
<a href="https://agentmods.dev/instructions/xiaojilele-glitch/whybuddy/master-migration-plan"><img src="https://agentmods.dev/badge/instructions/xiaojilele-glitch/whybuddy/master-migration-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 master-migration-plan.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/xiaojilele-glitch/whybuddy/master-migration-plan"><img src="https://agentmods.dev/badge/instructions/xiaojilele-glitch/whybuddy/master-migration-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,464 This file is loaded in full into every session.
When invoked 1,464 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.01464 $0.01464
Opus 5.5 $0.00586 $0.00586
Sonnet 5.5 $0.00293 $0.00293
Haiku 4.5 $0.00146 $0.00146

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

Security

Grade A, and why

WhyBuddy master-migration-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/master-migration-plan.md · 157 lines

How it starts

The opening of the file, as written. The whole thing — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.

总迁移计划:将 web-aigc 编排能力引入 SlideRule

目标

建立一套迁移方案,把 web-aigc 中可迁移的编排运行时能力引入 SlideRule,同时避免过早推翻 Cube 当前以 mission 为中心的运行架构。

迁移原则

按“能力类别”迁移,而不是按“页面逐个照搬”迁移。

这意味着:

  1. 先迁移运行时契约,再迁移定义态壳层
  2. 每一类节点优先映射到 Cube 现有能力底座
  3. 只有当多个节点家族都依赖某个抽象时,才补新的共享层
  4. 完整的图定义、版本、设计器产品化放到后续阶段

分阶段路线

阶段 0:清点与契约归一

  • 盘点 web-aigc 的编排、设计器、节点注册表、监控接口
  • 将接口逐项映射到 sliderule 的 route / runtime / storage 落点
  • 统一 graph、node、edge、instance、session、replay、operator action 等术语

阶段 1:运行时优先迁移

  • 会话关联的对话运行时
  • HITL 与结构化输入节点
  • 检索与 QA 节点家族
  • 多模态处理节点家族
  • MCP 与外部工具调用
  • 向量查询读路径
  • 实例监控与强制终止能力

阶段 2:投影到 Cube 的 mission 系统

  • workflow 到 mission 的投影
  • graph execution snapshot 进入 replay
  • 节点执行遥测
  • artifact 与 session 统一

阶段 3:治理与运营能力

  • 图执行权限模型
  • 发布 / 版本 / 回滚语义
  • 运行时监控看板
  • 审计与 lineage 收敛

阶段 4:定义层产品化

  • graph draft 模型
  • 校验 API
  • 节点 schema 注册表
  • 可视化编辑器支持

交付结构

当前最终保留的实现文档体系是:

  • 5 份 steering 文档
  • 58 个 web-aigc 迁移 spec 目录

其中 58 个 spec 目录由两部分组成:

  • 6 个平台级 spec:web-aigc-platform-*
  • 52 个节点级 spec:web-aigc-node-*

每个 spec 目录都包含:

  • requirements.md
  • design.md
  • tasks.md

文档导航

建议先从以下文档开始:

  • .kiro/steering/platform-thesis.md
  • .kiro/steering/interface-inventory-and-mapping.md

平台级 spec:

  • .kiro/specs/web-aigc-platform-domain-model/
  • .kiro/specs/web-aigc-platform-runtime-engine/
  • .kiro/specs/web-aigc-platform-mission-projection/
  • .kiro/specs/web-aigc-platform-session-instance/
  • .kiro/specs/web-aigc-platform-observability-audit/
  • .kiro/specs/web-aigc-platform-security-governance/

节点级 spec:

  • .kiro/specs/web-aigc-node-dialogue/
  • .kiro/specs/web-aigc-node-knowledge_qa/
  • .kiro/specs/web-aigc-node-user_input/
  • .kiro/specs/web-aigc-node-selection/
  • .kiro/specs/web-aigc-node-confirm_judge/
  • .kiro/specs/web-aigc-node-mcp/
  • .kiro/specs/web-aigc-node-auto_agent/
  • .kiro/specs/web-aigc-node-vector_query/

其余节点级 spec 按 web-aigc-node-* 目录命名统一管理。

迁移优先级排序

优先级 A:价值高、结构风险低到中等

  • 对话与会话运行时
  • 知识问答与检索
  • 音频识别 / OCR / 图像分析类能力
  • 用户输入 / 选择 / 确认判断
  • 实例监控与强制终止
  • MCP 与外部工具集成

Read the full file on GitHub · 157 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 · 157 lines · 1,464 tokens per session scan A 11f33b23042b

Subscribe to this mod's changes

WhyBuddy master-migration-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,464 tokens to every session, about $0.0059 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 master-migration-plan.md compared with instructions from other repositories

WhyBuddy master-migration-plan.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
WhyBuddy master-migration-plan.mdxiaojilele-glitch/WhyBuddyInstructions file3801mo agoMITA1,464Kiro
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode