WhyBuddy: Instructions file for Kiro

.kiro/steering/web-aigc-runtime-and-observability-doc-closure-2026-04-22.md

WhyBuddy web-aigc-runtime-and-observability-doc-closure-2026-04-22.md is an instructions file for Kiro from xiaojilele-glitch/WhyBuddy. It costs 1,595 tokens per session, scanned A, original, MIT.

A status and reconciliation document for the workflow runtime and its monitoring records. It distinguishes features that are implemented, such as waiting and retry paths, from broader governance or tracing work that is not yet proven complete.

In plain words
What is it for?
Use it to review runtime controls, node execution behavior, replay and audit links, monitoring queries, and gaps in unified runtime-to-lineage tracking.
Why use it?
It prevents design documents or reserved data models from being mistaken for working features, giving developers a more accurate view of what the code currently supports.

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-and-observability-doc-closure-2026-04-22.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-and-observability-doc-closure-2026-04-22.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/xiaojilele-glitch/whybuddy/web-aigc-runtime-and-observability-doc-closure-2026-04-22/github.svg)](https://agentmods.dev/instructions/xiaojilele-glitch/whybuddy/web-aigc-runtime-and-observability-doc-closure-2026-04-22)
Your own site
<a href="https://agentmods.dev/instructions/xiaojilele-glitch/whybuddy/web-aigc-runtime-and-observability-doc-closure-2026-04-22"><img src="https://agentmods.dev/badge/instructions/xiaojilele-glitch/whybuddy/web-aigc-runtime-and-observability-doc-closure-2026-04-22/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-and-observability-doc-closure-2026-04-22.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/xiaojilele-glitch/whybuddy/web-aigc-runtime-and-observability-doc-closure-2026-04-22"><img src="https://agentmods.dev/badge/instructions/xiaojilele-glitch/whybuddy/web-aigc-runtime-and-observability-doc-closure-2026-04-22.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,595 This file is loaded in full into every session.
When invoked 1,595 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.01595 $0.01595
Opus 5.5 $0.00638 $0.00638
Sonnet 5.5 $0.00319 $0.00319
Haiku 4.5 $0.00160 $0.00160

Measured 1mo ago against content hash b7c265cd2283, 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-and-observability-doc-closure-2026-04-22.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-and-observability-doc-closure-2026-04-22.md · 178 lines

How it starts

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

Web-AIGC Runtime / Observability 文档收口(2026-04-22)

范围

本文只对账以下两条 spec 的当前主仓真实状态,并给出文档收口建议:

  • web-aigc-platform-runtime-engine
  • web-aigc-platform-observability-audit

本轮结论只基于当前主仓已有实现、路由、共享契约和测试,不把“领域模型已预留”写成“运行时闭环已完成”。

对账摘要

1. web-aigc-platform-runtime-engine

当前更准确的结论是:

  • 主干运行时已成立
  • selection / confirm_judge / end 内置节点已成立
  • terminate / retry / escalate 最小控制面已成立
  • 节点级自动重试/自动升级已成立
  • 统一治理策略闭环仍未完成

建议口径:

  • 可视为 4/5
  • 不建议把“补齐显式终止、重试、失败升级策略闭环”整体勾为完成

2. web-aigc-platform-observability-audit

当前更准确的结论是:

  • 事件目录层已成立
  • replay / audit 最小桥接已成立
  • relation index 与 audit 查询能力已成立
  • monitoring / replay 最小消费闭环已成立
  • runtime -> lineage 统一直写仍未证实

建议口径:

  • tasks.md 当前 5 项保持勾选是可以成立的
  • 但需要通过 requirements / design / 现状核查明确限制性表述

当前主仓已确认的事实

Runtime 事实

来自以下实现与测试:

  • server/core/workflow-runtime-engine.ts
  • server/routes/workflows.ts
  • server/tests/workflow-runtime-engine.test.ts
  • server/tests/workflows-routes.test.ts

已确认:

  • 节点适配器统一执行契约存在
  • 条件边推进已存在
  • wait / resume checkpoint 链路已存在
  • selection / confirm_judge / end 已有真实运行时行为
  • terminate / retry / escalate 路由与引擎入口均已存在
  • 自动重试成功、重试耗尽自动升级均已有测试

仍未确认完整完成:

  • loop 边真实执行闭环
  • 平台统一重试治理中心
  • 跨节点/跨阶段失败治理编排

Observability / Audit 事实

来自以下实现与测试:

  • shared/web-aigc-observability.ts
  • server/core/web-aigc-runtime-observability.ts
  • server/routes/replay.ts
  • server/routes/audit.ts
  • server/routes/aigc-monitoring.ts
  • server/routes/lineage.ts
  • server/tests/web-aigc-runtime-observability.test.ts
  • server/tests/replay-routes.test.ts
  • server/tests/audit-query.test.ts
  • server/tests/aigc-monitoring-routes.test.ts

已确认:

  • 事件目录与 required fields 已存在
  • relation indexes 已存在
  • runtime 事件已镜像到 replay / audit
  • replay snapshot 与 audit 补记已形成最小闭环
  • monitoring 兼容接口能消费 mission / workflow / graph / session 投影

仍需谨慎:

  • lineage 当前更像索引模型与独立查询承接面
  • 不能据此写成“runtime bridge 已统一落库 lineage”

本轮文档收口动作

已更新

  • .kiro/specs/web-aigc-platform-runtime-engine/requirements.md
  • .kiro/specs/web-aigc-platform-runtime-engine/design.md
  • .kiro/specs/web-aigc-platform-observability-audit/requirements.md
  • .kiro/specs/web-aigc-platform-observability-audit/design.md
  • .kiro/steering/web-aigc-runtime-and-observability-doc-closure-2026-04-22.md

Read the full file on GitHub · 178 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 · 178 lines · 1,595 tokens per session scan A b7c265cd2283

Subscribe to this mod's changes

WhyBuddy web-aigc-runtime-and-observability-doc-closure-2026-04-22.md is an instructions file published in the GitHub repository xiaojilele-glitch/WhyBuddy (380 stars, last pushed 1mo ago), licensed MIT. It adds 1,595 tokens to every session, about $0.0064 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-and-observability-doc-closure-2026-04-22.md compared with instructions from other repositories

WhyBuddy web-aigc-runtime-and-observability-doc-closure-2026-04-22.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
WhyBuddy web-aigc-runtime-and-observability-doc-closure-2026-04-22.mdxiaojilele-glitch/WhyBuddyInstructions file3801mo agoMITA1,595Kiro
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