WhyBuddy: Instructions file for Kiro

.kiro/steering/web-aigc-platform-mission-projection-mapping-and-replay-validation.md

WhyBuddy web-aigc-platform-mission-projection-mapping-and-replay-validation.md is an instructions file for Kiro from xiaojilele-glitch/WhyBuddy. It costs 4,390 tokens per session, scanned A, original, MIT.

A technical record of how workflow-node events become task views and how completed work can be replayed. Replay means reconstructing what happened from stored events; a projection is a task view built from those events.

In plain words
What is it for?
Use it to verify event mappings, task projection routes, replay links, monitoring views, and the path from node output to task results.
Why use it?
It clarifies which stored records are authoritative and checks that workflows, missions, sessions, reports, monitoring views, and replay identifiers remain connected.

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-platform-mission-projection-mapping-and-replay-validation.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-platform-mission-projection-mapping-and-replay-validation.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/xiaojilele-glitch/whybuddy/web-aigc-platform-mission-projection-mapping-and-replay-validation/github.svg)](https://agentmods.dev/instructions/xiaojilele-glitch/whybuddy/web-aigc-platform-mission-projection-mapping-and-replay-validation)
Your own site
<a href="https://agentmods.dev/instructions/xiaojilele-glitch/whybuddy/web-aigc-platform-mission-projection-mapping-and-replay-validation"><img src="https://agentmods.dev/badge/instructions/xiaojilele-glitch/whybuddy/web-aigc-platform-mission-projection-mapping-and-replay-validation/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-platform-mission-projection-mapping-and-replay-validation.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/xiaojilele-glitch/whybuddy/web-aigc-platform-mission-projection-mapping-and-replay-validation"><img src="https://agentmods.dev/badge/instructions/xiaojilele-glitch/whybuddy/web-aigc-platform-mission-projection-mapping-and-replay-validation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,390 This file is loaded in full into every session.
When invoked 4,390 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.04390 $0.04390
Opus 5.5 $0.01756 $0.01756
Sonnet 5.5 $0.00878 $0.00878
Haiku 4.5 $0.00439 $0.00439

Measured 1mo ago against content hash 019c817ee594, 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-platform-mission-projection-mapping-and-replay-validation.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-platform-mission-projection-mapping-and-replay-validation.md · 312 lines

How it starts

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

Web-AIGC 平台任务投影:节点事件映射与回放完整性验证

目的

本文用于沉淀 web-aigc-platform-mission-projection 规格中的两类关键内容:

  1. 节点事件到任务事件的映射规则
  2. 回放链路完整性验证的已落地依据

本文只基于当前主仓内已经存在的契约、路由、存储与测试证据整理,不额外假设未落库的实现。

对账结论摘要

  1. mission-projection 主链已经形成可验证闭环:workflow / mission / session / replayId 关联、/api/tasks/:id/projection、/api/tasks/:id/session、projection.replayId -> replay 都有实现与测试依据。
  2. monitoring 当前是兼容投影层,而不是新的平台事实源。MissionProjectionView.monitoring 只提供摘要字段,/api/v1/:tenantId/aigc-monitoring/* 则是在 workflow + mission + graph 之上派生的兼容接口。
  3. 节点输出接入任务产物链路已经有真实实现与测试;报告能力目前主要通过 mission.summary 与 workflow.results.final_report 兼容透出,还不是 MissionProjectionView 的独立报告模型。
  4. replay 路由路径参数名仍沿用 missionId,但在本切片的真实链路里,消费的是 projection.replayId 对应的 timeline key;文档说明必须按这个口径理解。

现有依据

当前可以直接作为依据的实现与测试主要包括:

  • shared/web-aigc-observability.ts
    • 定义了 node.started、node.completed、node.failed、node.waiting_input、human.decision_submitted 等事件,以及它们应进入的 sink。
  • shared/mission/projection.ts
    • 定义了 workflowId / instanceId / sessionId / replayId / sourceApp 的统一解析与合并规则。
  • server/tasks/mission-projection.ts
    • 把 mission、workflow、session、graph、monitoring 汇总成 MissionProjectionView。
  • server/routes/tasks.ts
    • 提供 GET /api/tasks/:id/projection、GET /api/tasks/:id/session、POST /api/tasks/:id/decision。
  • server/routes/replay.ts
    • 提供 GET /api/replay/:missionId、POST /api/replay/:missionId/verify 等 replay 查询与完整性验证能力。
    • 这里的路径参数名沿用 missionId,但在任务投影闭环里实际承接的是 replay timeline key。
  • server/replay/replay-store.ts
    • 以 events.jsonl + timeline.json(checksum) 的方式持久化并校验 replay 数据。
  • server/replay/interceptors.ts
    • 已把 mission 更新事件与 executor 回调事件统一归档到 projection.replayId 对应的 replay timeline。
  • server/core/aigc-monitoring-projection.ts
    • 基于 workflow + mission + graph 派生监控实例列表、详情、会话详情与终止结果。
  • server/routes/aigc-monitoring.ts
    • 提供 GET /api/v1/:tenantId/aigc-monitoring/instances* 与终止接口,作为 web-aigc 监控兼容层。
  • 已纳入版本控制的测试证据
    • server/tests/workflows-routes.test.ts
    • server/tests/mission-store.test.ts
    • server/tests/mission-routes.test.ts
    • server/tests/task-artifact-routes.test.ts
    • server/tests/replay-store.test.ts
    • server/tests/replay-interceptors.test.ts
    • server/tests/replay-routes.test.ts
    • server/tests/aigc-monitoring-routes.test.ts

Read the full file on GitHub · 312 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 · 312 lines · 4,390 tokens per session scan A 019c817ee594

Subscribe to this mod's changes

WhyBuddy web-aigc-platform-mission-projection-mapping-and-replay-validation.md is an instructions file published in the GitHub repository xiaojilele-glitch/WhyBuddy (380 stars, last pushed 1mo ago), licensed MIT. It adds 4,390 tokens to every session, about $0.0176 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-platform-mission-projection-mapping-and-replay-validation.md compared with instructions from other repositories

WhyBuddy web-aigc-platform-mission-projection-mapping-and-replay-validation.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
WhyBuddy web-aigc-platform-mission-projection-mapping-and-replay-validation.mdxiaojilele-glitch/WhyBuddyInstructions file3801mo agoMITA4,390Kiro
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