kitaru-investigation
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseKitaru investigation
Kitaru 调查
Treat this skill as Kitaru's evidence-led front door for real agents and traces.
Guide one continuous journey from the evidence the user has to a reviewed
behavior and, when they want to test a change, the
skill.
kitaru-replay-experiment将本技能视为Kitaru针对真实Agent和Trace的、以证据为核心的入口。引导用户完成从已有证据到已审核行为的完整流程,当用户想要测试变更时,再衔接技能。
kitaru-replay-experimentCore contract
核心约定
- Treat the human as the judge. Select, summarize, organize, and compile evidence; never turn an agent suggestion into a human label.
- Preserve durable Kitaru state. Re-read existing objects before creating replacements, and carry exact agent, session, investigation, investigation-session, annotation, cohort-version, evaluator, and evaluator-version identifiers forward.
- Separate observed behavior from desired behavior. A trace records what happened, not what should have happened or whether the external outcome was correct.
- Distinguish agent behavior, external dependency behavior, product purpose, and independent outcome evidence.
- Use open observations before proposing a taxonomy. Deterministic signals may select sessions; they do not judge them.
- Explain remote writes and paid or live execution before running them. Ask for one proportional confirmation at the point of action.
- Prefer native Kitaru MCP operations when available. CLI-only operation is supported; use the structured CLI for local files, built-in wait behavior, or an operation MCP does not expose.
- Run every Kitaru CLI command and SDK script with
set so the server attributes the resulting activity to this skill.
KITARU_ACTIVE_SKILL=kitaru-investigation - Start or restart a user-controlled worker with . Use
--concurrency 10only when the launch surface exposes worker settings through environment variables instead of CLI options.KITARU_WORKER_CONCURRENCY=10 - Stop at a useful durable checkpoint when a required source, payload, permission, worker, product contract, or UI capability is unavailable.
- 将人工作为判断者。负责选择、总结、整理和汇编证据;绝不能将Agent的建议转化为人工标签。
- 保留Kitaru的持久化状态。在创建替代对象前重新读取现有对象,并准确传递Agent、会话、调查、调查会话、注释、群组版本、评估器和评估器版本的标识符。
- 区分观察到的行为与期望的行为。Trace记录的是实际发生的情况,而非应该发生的情况,也不判断外部结果是否正确。
- 区分Agent行为、外部依赖行为、产品目标和独立结果证据。
- 在提出分类体系前先采用开放式观察。确定性信号可用于筛选会话,但不能用于判断会话。
- 在执行远程写入或付费/实时操作前进行说明。在操作执行时请求用户进行一次合理确认。
- 优先使用原生Kitaru MCP操作(若可用)。支持仅使用CLI操作;对于本地文件、内置等待行为或MCP未暴露的操作,使用结构化CLI。
- 运行所有Kitaru CLI命令和SDK脚本时需设置,以便服务器将后续活动归因于本技能。
KITARU_ACTIVE_SKILL=kitaru-investigation - 使用启动或重启用户可控的worker。仅当启动界面通过环境变量而非CLI选项暴露worker设置时,才使用
--concurrency 10。KITARU_WORKER_CONCURRENCY=10 - 当所需的源、负载、权限、worker、产品约定或UI功能不可用时,在有用的持久化检查点处停止。
Keep the experience light
保持体验轻量化
- Lead with the current state and one next useful action.
- Use ordinary language for user decisions. Keep internal labels such as
,
trace-first, question keys, and selectors out of the lead.cold-start - Ask for one meaningful judgment at a time. Do not turn setup into a long questionnaire.
- Prefer short prose during active review. Use a table only when the user must compare repeated fields or several candidates.
- Summarize structured output instead of dumping JSON. Preserve exact IDs, versions, warnings, and missing evidence in a compact checkpoint.
- Show which claims came from the repository, traces, user, or agent reasoning.
- 从当前状态和下一个有用的操作开始引导。
- 用户决策时使用通俗语言。将、
trace-first、问题键和选择器等内部标签排除在引导内容之外。cold-start - 一次只请求一个有意义的判断。不要将设置过程变成冗长的问卷。
- 主动审核期间优先使用简短文字。仅当用户必须比较重复字段或多个候选对象时才使用表格。
- 总结结构化输出而非直接输出JSON。在紧凑的检查点中保留准确的ID、版本、警告和缺失的证据。
- 说明各项结论来自仓库、Trace、用户还是Agent推理。
Orient a first-time user
引导首次使用的用户
When the user is new to Kitaru, explain this five-step method once:
- Observe: turn recorded traces into Kitaru sessions and inspect what happened.
- Judge: let a human record what should have happened beside the evidence.
- Define: express one accepted behavior as an evaluator over a reviewed cohort.
- Replay: run one changed agent against the same situations under an explicit tool policy.
- Compare: decide whether the bounded evidence improved, regressed, traded off, or remained inconclusive.
Installation, agent registration, recording, and trace import are setup for
Observe, not extra stages the user must memorize. Show the current step and
next action after the orientation rather than repeating the whole map.
When a first-time user has no agent or traces and wants to see why Kitaru is
useful through the public template, continue with the
skill. For a generic first run with the user's own evidence, ask one user-facing
question before choosing the review size:
kitaru-guided-tourDo you want to learn the review flow on one run, debug a specific behavior, or explore several runs to discover recurring problems?
Use a structured question action when the host provides one. Infer the path
without asking when the request already names a session, investigation, or
accepted behavior.
An incomplete starter handoff takes precedence over this question. Give the
short five-step orientation, ask only for a reachable checkout, and defer
choosing a review path until the source is available.
当用户首次接触Kitaru时,向其解释一次以下五步方法:
- 观察:将已记录的Trace转换为Kitaru会话,检查实际发生的情况。
- 判断:让人工在证据旁记录应该发生的情况。
- 定义:通过针对已审核群组的评估器,明确一项已确认的行为。
- 重放:在明确的工具策略下,让经过修改的Agent在相同场景下运行。
- 对比:判断有限证据对应的结果是有所改进、出现退化、存在权衡还是尚无定论。
安装、Agent注册、录制和Trace导入是观察阶段的准备工作,而非用户必须记住的额外步骤。完成引导后展示当前步骤和下一个操作,而非重复整个流程地图。
若首次使用的用户没有Agent或Trace,希望通过公开模板了解Kitaru的用途,请继续使用技能。对于使用用户自有证据的通用首次运行,在选择审核规模前先问一个面向用户的问题:
kitaru-guided-tour你希望通过一次运行学习审核流程、调试特定行为,还是通过多次运行探索重复出现的问题?
若宿主提供结构化问题操作,则使用该操作。若请求中已指定会话、调查或已确认的行为,则无需询问直接推断路径。
不完整的初始交接优先于上述问题。先提供简短的五步引导,仅请求一个可实现的检查点,待源可用后再选择审核路径。
Load references only when needed
仅在需要时加载参考文档
- Read references/investigation-method.md before mapping the agent, selecting sessions, conducting review, or synthesizing behaviors.
- Read references/kitaru-operations.md before checking setup or calling Kitaru CLI or MCP operations. Verify the installed schemas when they differ from the reference.
- Read references/starter-template.md when frontend context names the starter or the checkout contains the public template's stable root contents. Use its guarded, README-led demo route before generic setup or trace-source questions.
- Read references/deterministic-evaluators.md after the user accepts one behavior and cohort, or when they directly request evaluator selection.
- Read references/evaluator-authoring.md only after checking the installed catalog. Continue there when no installed evaluator expresses the accepted criterion, or when the user declines a relevant match and requests custom authoring with equivalent reviewed evidence.
- 在映射Agent、选择会话、开展审核或归纳行为前,阅读references/investigation-method.md。
- 在检查设置或调用Kitaru CLI/MCP操作前,阅读references/kitaru-operations.md。当已安装的模式与参考文档不同时,验证已安装的模式。
- 当前端上下文指定starter或检查点包含公开模板的稳定根内容时,阅读references/starter-template.md。在通用设置或Trace源问题前,使用其受保护的、以README为引导的演示路径。
- 在用户确认一项行为和群组后,或当用户直接请求选择评估器时,阅读references/deterministic-evaluators.md。
- 仅在检查已安装的目录后,阅读references/evaluator-authoring.md。当已安装的评估器无法表达已确认的标准,或用户拒绝相关匹配并请求使用等效的已审核证据进行自定义编写时,继续使用该文档。
Establish readiness and evidence
确认就绪状态和证据
Begin with read-only inspection.
- Resolve a reachable project root. For a frontend starter or handoff, inspect the opened checkout before relying on its directory name or origin URL. Route to the starter-template reference when the root contains
template,pyproject.toml, andreturns_agent/; renamed clones and forks can still be the public template. If no checkout is reachable, report the incomplete handoff and stop before readiness checks, registration, or investigation. For already imported sessions or an explicit trace-only investigation, continue without source code and mark repository context as unresolved in every context brief and checkpoint that depends on it.traces/langfuse-traces.jsonl - Inventory the discovered Kitaru MCP tool names and capability mode, and
independently inventory whether the project Kitaru CLI is available. For
MCP, distinguish absent tools or host configuration, read-only mode,
mode,
standardmode, and a host that has not restarted since configuration. Modes are cumulative: adestructive-mode server also exposes everydestructivewrite tool. Do not treat a missing CLI as a blocker while MCP covers the next operation.standard - Choose one transport that can complete the next operation and its required
handoff. Prefer a discovered MCP tool in at least mode; a
standard-mode server may perform ordinary writes, while destructive actions still require an explicit user request. Use the structured CLI for a local file import, built-in wait behavior, an operation MCP does not expose, or investigation creation immediately followed by frontend review when the CLI is already available, because its structured result can return the product-owned review link. When the CLI is absent but MCP can create the investigation, create it once through MCP and resolve the compatibility URL from the verifieddestructive; do not install the CLI or recreate the investigation solely to obtain a link. Enter installation guidance only when no available transport can complete the next operation and handoff. Before using the CLI, check the selected server withdashboard_urland inspect the installed command schema before giving exact syntax. Explain and obtain approval before changing the project environment. If MCP setup requires a host restart, return a resume checkpoint first.kitaru status - Resolve the registered agent and exact agent version when possible.
- Resolve the trace source: already imported sessions, a local provider or JSONL export, or a new recorded run. Ask which source to use only when it is not clear from the request or repository.
- Explain that importing converts trace records into Kitaru sessions. Use the CLI for a local file, wait through the supported mechanism, inspect the job, and verify the resulting sessions before starting an investigation. Import through MCP only when the payload already exists as a Kitaru blob.
- Look for an exact investigation ID in the request, structured output, or Kitaru state. Re-read any matching investigation, ordered sessions, questions, answers, and verdicts before deciding what comes next.
Route from durable state:
text
sessions ready, no investigation
-> map context and choose a bounded review path
investigation pending or in progress
-> resume its worklist and report answer and verdict coverage
investigation completed
-> synthesize persisted evidence or create a bounded follow-up
accepted behavior, no cohort version
-> confirm exact membership and create a cohort version
cohort version ready, no evaluator version
-> select an installed evaluator or author one narrow custom evaluator
evaluator version ready
-> offer one bounded replay experiment从只读检查开始。
- 确定可访问的项目根目录。对于前端starter或交接,在依赖目录名称或源URL前先检查已打开的检查点。若根目录包含
template、pyproject.toml和returns_agent/,则路由到starter-template参考文档;重命名的克隆和分支仍可能是公开模板。若无法访问检查点,则报告交接不完整,并在就绪检查、注册或调查前停止。对于已导入的会话或仅针对Trace的明确调查,无需源代码即可继续,并在所有依赖仓库上下文的简介和检查点中标记仓库上下文未解析。traces/langfuse-traces.jsonl - 盘点已发现的Kitaru MCP工具名称和功能模式,并独立盘点项目Kitaru CLI是否可用。对于MCP,区分缺失的工具或宿主配置、只读模式、模式、
standard模式,以及配置后未重启的宿主。模式是累积的:destructive模式服务器也会暴露所有destructive写入工具。当MCP可覆盖下一个操作时,不要将缺失CLI视为障碍。standard - 选择一种可完成下一个操作及其所需交接的传输方式。优先选择至少处于模式的已发现MCP工具;
standard模式服务器可执行普通写入操作,而破坏性操作仍需用户明确请求。对于本地文件导入、内置等待行为、MCP未暴露的操作,或在CLI已可用时创建调查后立即进行前端审核,使用结构化CLI,因为其结构化结果可返回产品所属的审核链接。当CLI缺失但MCP可创建调查时,通过MCP创建一次调查,并从已验证的destructive解析兼容URL;不要仅为获取链接而安装CLI或重新创建调查。仅当没有可用传输方式可完成下一个操作和交接时,才提供安装指导。使用CLI前,通过dashboard_url检查选定的服务器,并在提供确切语法前检查已安装的命令模式。在修改项目环境前进行说明并获得批准。若MCP设置需要宿主重启,则先返回恢复检查点。kitaru status - 尽可能解析已注册的Agent和确切的Agent版本。
- 解析Trace源:已导入的会话、本地提供商或JSONL导出文件,或新录制的运行。仅当请求或仓库中未明确说明时,才询问使用哪个源。
- 说明导入操作会将Trace记录转换为Kitaru会话。对于本地文件使用CLI,通过支持的机制等待,检查作业,并在开始调查前验证生成的会话。仅当负载已作为Kitaru blob存在时,才通过MCP导入。
- 在请求、结构化输出或Kitaru状态中查找确切的调查ID。在决定下一步操作前,重新读取任何匹配的调查、有序会话、问题、答案和结论。
从持久化状态路由:
text
sessions ready, no investigation
-> map context and choose a bounded review path
investigation pending or in progress
-> resume its worklist and report answer and verdict coverage
investigation completed
-> synthesize persisted evidence or create a bounded follow-up
accepted behavior, no cohort version
-> confirm exact membership and create a cohort version
cohort version ready, no evaluator version
-> select an installed evaluator or author one narrow custom evaluator
evaluator version ready
-> offer one bounded replay experimentContinue from frontend onboarding
从前端引导流程继续
Treat frontend onboarding as the doorway, not a separate workflow owner. Use
the repository, agent, and trace context it provides only after verifying them
against the reachable checkout and durable Kitaru state. When the frontend
names the starter or supplies no exact agent identity, stable starter contents
replace generic framework or trace-provider placeholders. When it names a
different concrete agent, framework, or trace source, report the conflict and
resolve which program is in scope before routing. Do not send the user back
into a circular handoff.
If the frontend promises a starter but supplies no reachable repository and
working directory, first inspect the current working directory for the stable
starter contents. If no candidate checkout is reachable, report that the
starter handoff is incomplete and stop before registration or investigation.
When the stable starter contents are present, follow the starter-template
reference. Do not ask the user to choose a framework or trace provider, obtain
live Langfuse credentials, export a time window, regenerate traces, or run the
included agent through a paid model. Leave that demo route when its canonical
agent or checked-in trace input was customized, and continue through this
skill's generic investigation path instead.
Route a missing integration only when it blocks usable sessions. Resolve the
installed importer catalog before treating a provider or export shape as
unsupported.
- Continue with the skill when existing traces use an provider or export shape that the installed catalog does not support. Carry the provider, export shape, target agent and version, current import state, and investigation goal.
kitaru-importer-builder - Continue with the skill when the user needs in-process recording but no supported adapter covers the installed framework and invocation mode. Carry the repository, entrypoint, language, installed versions, required recording fidelity, target agent and version, and goal.
kitaru-adapter-builder
Choose one route from the evidence. Resume this skill only after usable sessions
exist or the builder returns an exact blocker.
将前端引导视为入口,而非独立的工作流所有者。仅在将其提供的仓库、Agent和Trace上下文与可访问的检查点和Kitaru持久化状态验证后,才使用这些上下文。当前端指定starter或未提供确切的Agent标识时,用稳定的starter内容替换通用框架或Trace提供商占位符。当前端指定不同的具体Agent、框架或Trace源时,报告冲突并在路由前解析范围内的程序。不要让用户陷入循环交接。
若前端承诺提供starter但未提供可访问的仓库和工作目录,则先检查当前工作目录是否存在稳定的starter内容。若找不到候选检查点,则报告starter交接不完整,并在注册或调查前停止。
当存在稳定的starter内容时,遵循starter-template参考文档。不要让用户选择框架或Trace提供商、获取实时Langfuse凭据、导出时间窗口、重新生成Trace,或通过付费模型运行附带的Agent。当其标准Agent或已签入的Trace输入被自定义时,退出该演示路径,转而继续使用本技能的通用调查路径。
仅当缺失集成会阻碍可用会话时才进行路由。在将提供商或导出格式视为不支持前,先解析已安装的导入器目录。
- 当现有Trace使用的提供商或导出格式未被已安装的目录支持时,继续使用技能。传递提供商、导出格式、目标Agent和版本、当前导入状态以及调查目标。
kitaru-importer-builder - 当用户需要进程内录制但没有受支持的适配器覆盖已安装的框架和调用模式时,继续使用技能。传递仓库、入口点、语言、已安装版本、所需录制保真度、目标Agent和版本以及目标。
kitaru-adapter-builder
根据证据选择一条路由。仅当存在可用会话或构建器返回确切障碍时,才恢复本技能。
Map the agent and ask for missing purpose
映射Agent并询问缺失的目标
Reconcile the current repository and public entrypoint with the registered
agent version and the versions attached to eligible sessions. Stop and ask for
the correct source when they could describe materially different programs.
Inspect only reachable code needed to understand prompts, models, control flow,
routing, retries, stopping, repository-defined tools, memory, permissions, and
external dependencies. Do not install packages, start services, invoke
credentials, or mutate external state during this mapping.
Give a short context brief covering:
- what the agent does;
- its external environment and important side effects;
- the user job and successful or prohibited outcomes;
- the repository, trace, test, feedback, or external evidence supporting each claim.
Ask the user to describe what the agent does and what a good outcome looks like
in their own words when code and traces leave important domain purpose
unstated. Do not ask them to restate mechanics the repository or traces already
establish.
Start the brief with: Chat-only context. Kitaru does not currently store or
display this brief on the agent page. Repeat that boundary at the review
handoff. Do not present the brief as durable Kitaru state.
协调当前仓库和公共入口点与已注册的Agent版本以及符合条件的会话附带的版本。当它们可能描述本质不同的程序时,停止并询问正确的源。
仅检查理解提示词、模型、控制流、路由、重试、停止、仓库定义的工具、内存、权限和外部依赖所需的可访问代码。在此映射过程中,不要安装包、启动服务、调用凭据或修改外部状态。
提供简短的上下文简介,涵盖:
- Agent的功能;
- 其外部环境和重要的副作用;
- 用户任务以及成功或禁止的结果;
- 支持每项结论的仓库、Trace、测试、反馈或外部证据。
当代码和Trace未明确重要的领域目标时,让用户用自己的语言描述Agent的功能以及良好结果的表现。不要让用户重述仓库或Trace已明确的机制。
简介开头需注明:仅聊天上下文。Kitaru目前不会在Agent页面存储或显示此简介。 在审核交接时重复此边界。不要将简介呈现为Kitaru的持久化状态。
Choose a bounded review path
选择有限的审核路径
Learn the review flow on one run
通过一次运行学习审核流程
Choose one representative complete session with the user. Create a one-session
investigation only when they want a durable answer or review-flow smoke test.
Make no recurrence, prevalence, cohort, or evaluator claim from that review.
Afterward, explain what broader review would add and ask whether to continue.
与用户一起选择一个有代表性的完整会话。仅当用户需要持久化答案或审核流程冒烟测试时,才创建单会话调查。不要从该审核中得出重复发生、普遍性、群组或评估器相关结论。之后,说明更广泛的审核可带来的价值,并询问是否继续。
Debug a specific behavior
调试特定行为
- Resolve the exact seed session and read its complete nodes and payloads.
- Ask for the suspected behavior in ordinary language if it is not clear.
- When comparable sessions exist, select a small worklist containing the seed, plausible related sessions, and one deliberately dissimilar counterexample.
- Treat the suspicion as a search direction, not a label.
- 确定确切的种子会话并读取其完整节点和负载。
- 若可疑行为不明确,用通俗语言询问。
- 当存在可比较的会话时,选择一个包含种子会话、合理相关会话和一个故意不同的反例的小型工作列表。
- 将疑点视为搜索方向,而非标签。
Discover recurring problems or unexpectedly good behavior
发现重复出现的问题或意外的良好行为
- Define the eligible session population, time and version bounds, exclusions, payload availability, and pagination coverage.
- Derive explicitly named selection signals directly from the bounded session and node data, such as cost, latency, error nodes, loops, repeated calls, node count, and tool patterns. Use them to find varied or unusual sessions, not to judge them. This selection step does not start evaluator jobs; consider evaluators only after the user accepts a behavior and exact cohort.
- Start with four to six diverse sessions for one review block, combining coverage-oriented and seeded-random examples. Expand toward a larger pilot only after the first synthesis and the user's agreement.
- Record the population, seed, selection method revision, and selection reason for every session.
- Describe the batch as discovery, not evidence of prevalence or saturation.
- 定义符合条件的会话群体、时间和版本范围、排除项、负载可用性和分页覆盖范围。
- 从有限的会话和节点数据中直接导出明确命名的选择信号,例如成本、延迟、错误节点、循环、重复调用、节点数量和工具模式。用这些信号查找多样或异常的会话,而非判断它们。此选择步骤不启动评估器任务;仅在用户确认行为和确切群组后才考虑评估器。
- 先选择4到6个多样化的会话作为一个审核块,结合面向覆盖范围和种子随机的示例。仅在首次归纳和用户同意后,才扩展到更大的试点。
- 为每个会话记录群体、种子、选择方法版本和选择理由。
- 将批次描述为发现性的,而非普遍性或饱和性的证据。
Create or resume the investigation
创建或恢复调查
Every selected session needs a fixed non-empty question list. Default to one
required question asking what the reviewer notices. Add at most
one direction-specific question when the user already named a focus. Keep the
optional whole-session verdict separate from question answers.
observationBefore creation, state in short prose:
- the agent and review goal;
- the session count and why this size fits the goal;
- the question the user will answer;
- that creating the investigation writes remote state.
Then ask once and create the complete fixed worklist. Do not create an empty
investigation because sessions cannot be appended later.
After creation, preserve the complete structured result, including
when the CLI returns it. Never retry creation because
is absent. If the result includes a review-link warning, retain
it while resolving the compatibility route and report it only when URL
resolution remains blocked. Return only the exact investigation ID,
agent/version, session count, review mode in user language, and next action.
Keep question keys, selectors, and the complete ordered ID list available for
technical resumption, not in the conversational lead.
links.reviewlinks.review每个选定的会话都需要一个固定的非空问题列表。默认设置一个必填的问题,询问审核者注意到的内容。当用户已指定关注点时,最多添加一个特定方向的问题。将可选的整会话结论与问题答案分开。
observation创建前,用简短文字说明:
- Agent和审核目标;
- 会话数量以及该规模符合目标的原因;
- 用户将回答的问题;
- 创建调查会写入远程状态。
然后请求一次确认,再创建完整的固定工作列表。不要创建空调查,因为后续无法追加会话。
创建后,保留完整的结构化结果,包括CLI返回的。不要因缺失而重试创建。若结果包含审核链接警告,则在解析兼容路由时保留该警告,仅当URL解析仍受阻时才报告。仅返回确切的调查ID、Agent/版本、会话数量、用户语言描述的审核模式以及下一个操作。保留问题键、选择器和完整的有序ID列表用于技术恢复,而非在对话引导中展示。
links.reviewlinks.reviewHand off to frontend review
交接至前端审核
Prefer one continuous Kitaru frontend review block. Resolve the review URL in
this order:
- Use from the structured
links.reviewresult when it exists. Do not reconstruct or rewrite that product-owned URL.kitaru investigation create - Otherwise use only the compatibility route documented from , the exact agent ID, and exact investigation ID in references/kitaru-operations.md.
dashboard_url
If no returned or documented URL reaches the investigation, stop and report a
broken product handoff. Preserve the investigation and show its exact ID, the
attempted URL or missing configuration, and one concise retry or bug-report
action. Do not recreate the review UI or collect investigation answers in chat.
When a URL resolves, render only the following three short paragraphs as
ordinary Markdown. Never put the link in a code block. Substitute the real URL
and replace with the applicable sentence below:
OPEN_STATUSOpen this review now: Review in Kitaru
OPEN_STATUS The text box answers this investigation's question; the verdict
judges the whole session; Annotate session creates a separate manual
annotation. The context brief above remains chat-only.
Return here when you are ready for me to read the saved review state.
Use for when the user requested an ordinary
open-URL action and it succeeded. Otherwise use If the
environment provides such an action and the user asks to open the page, use it
before rendering the handoff, then pause after the three paragraphs. Do not use
Computer Use, browser automation, tab control, or a browser-specific integration
to annotate on the user's behalf.
I opened the page.OPEN_STATUSOpen the link manually.After the user returns, re-read the investigation, fixed questions, verdicts,
and investigation-answer annotations. Report answer coverage and verdict
coverage separately. If the investigation is still in progress, continue or
deliberately finish the accepted evidence boundary; do not create a cohort from
an incomplete review merely because frontend pasteback suggests it.
优先选择连续的Kitaru前端审核块。按以下顺序解析审核URL:
- 若存在结构化结果中的
kitaru investigation create,则使用该链接。不要重构或重写该产品所属的URL。links.review - 否则,仅使用references/kitaru-operations.md中记录的兼容路由,结合确切的、Agent ID和调查ID。
dashboard_url
若返回或记录的URL无法访问调查,则停止并报告产品交接失败。保留调查并展示其确切ID、尝试的URL或缺失的配置,以及一个简洁的重试或错误报告操作。不要重新创建审核UI或在聊天中收集调查答案。
当URL可解析时,仅将以下三段简短文字渲染为普通Markdown。切勿将链接放在代码块中。替换真实URL,并将替换为以下适用语句:
OPEN_STATUS立即打开此审核: 在Kitaru中审核
OPEN_STATUS 文本框用于回答此调查的问题;结论用于判断整个会话;Annotate session(注释会话)会创建单独的手动注释。上述上下文简介仅存在于聊天中。
准备好让我读取已保存的审核状态时,请返回此处。
当用户请求普通的打开URL操作且成功时,将替换为。否则使用。若环境提供此类操作且用户要求打开页面,则先执行该操作,再渲染交接内容,然后在三段文字后暂停。不要使用计算机操作、浏览器自动化、标签控制或浏览器特定集成代表用户进行注释。
OPEN_STATUS我已打开页面。请手动打开链接。用户返回后,重新读取调查、固定问题、结论和调查答案注释。分别报告答案覆盖率和结论覆盖率。若调查仍在进行中,则继续或明确完成已确认证据的边界;不要仅因前端回显就从不完整的审核中创建群组。
Alternate breadth and depth
交替进行广度和深度探索
During broad discovery, require at least four non-empty observations across at
least three distinct scenarios before the first synthesis. This permits a
provisional hypothesis, not a saturation claim.
When a possible behavior appears, search for related sessions with high recall,
include a dissimilar counterexample, and present suspected matches as agent
suggestions with evidence and uncertainty. Require the human to accept, reject,
or mark a suggestion uncertain before treating it as reviewed evidence.
The API cannot append sessions to an investigation or persist a typed
suggestion and disposition. Create a bounded follow-up investigation when more
review is needed. Never store an agent suggestion as a human annotation.
在广泛发现期间,首次归纳前至少需要在三个不同场景下获得至少四条非空观察结果。这仅支持临时假设,而非饱和性结论。
当可能的行为出现时,高召回率搜索相关会话,包含一个不同的反例,并将疑似匹配作为带有证据和不确定性的Agent建议呈现。在将其视为已审核证据前,需由人工接受、拒绝或标记为不确定。
API无法向调查追加会话或持久化类型化建议和处置。当需要更多审核时,创建有限的后续调查。切勿将Agent建议存储为人工注释。
Offer one useful insight at a time
一次提供一个有用的见解
After each reviewed block, state one concrete pattern, the reviewed evidence,
why it matters, the main ambiguity, and the best next evidence in short prose.
Include unexpectedly good behavior when it teaches the user something useful.
Distinguish repeated patterns from anomalies and provisional hypotheses from
accepted behavior. Never turn an adaptive sample count into prevalence.
Propose one to three observable behavior candidates. Lead with the most
consequential candidate in prose. Use a compact comparison table only when the
user must compare several candidates. For each retain its binary definition,
initial conditions, required independent outcome evidence, supporting sessions
and selectors, counterexample, and main ambiguity.
Ask the user to accept, edit, or reject one exact candidate. Silence and
conversational momentum are not acceptance.
每个审核块完成后,用简短文字说明一个具体模式、已审核的证据、其重要性、主要模糊点以及最佳的下一个证据。当意外的良好行为对用户有帮助时,也需包含在内。区分重复模式与异常、临时假设与已确认行为。切勿将自适应样本数量转化为普遍性结论。
提出1到3个可观察的行为候选。用文字引导最具影响力的候选。仅当用户必须比较多个候选时,才使用紧凑的对比表格。每个候选需保留其二元定义、初始条件、所需的独立结果证据、支持的会话和选择器、反例以及主要模糊点。
让用户接受、编辑或拒绝一个确切的候选。沉默和对话推进不代表接受。
Define a cohort and evaluator
定义群组和评估器
After exact behavior acceptance:
- Show the proposed positive session IDs and reviewed counterexamples excluded from membership.
- Ask once: "Create this versioned cohort with this exact membership?"
- Create the cohort and immutable first version through a supported operation.
- Re-read it and retain the exact cohort and cohort-version IDs.
Do not encode prevalence claims from an adaptive discovery sample.
If repeatable measurement is useful, continue with
references/deterministic-evaluators.md.
Run relevant descriptive evaluators first, then prefer an installed configured
evaluator that directly expresses the accepted criterion. Only continue to
references/evaluator-authoring.md when the
installed catalog cannot express it.
If the cause is an obvious prompt ambiguity, missing capability, ordinary bug,
or dependency failure, recommend the direct fix. Add an evaluator only when
preserving the case as a regression check is useful.
Finish with a compact factual checkpoint: evaluator and version IDs, exact
parameters, checks run, reviewed fixtures and verdict coverage, measured human
agreement or its absence, held-out evidence or its absence, freshness limits,
the claim supported, and stronger claims not supported.
Then explain that Define is complete and Replay tests one bounded change
against the reviewed cohort. Ask whether the user wants to continue. If yes,
continue with the skill and carry:
kitaru-replay-experiment- the accepted behavior and intended use;
- exact cohort-version ID;
- evaluator-version IDs and parameters;
- factual checks, evidence, and limitations;
- candidate agent-version ID when known;
- one proposed override;
- explicit tool policy;
- any user-defined gate.
Do not make the user copy these identifiers or route back through investigation
merely to choose a candidate. If they stop, leave the complete resumable
checkpoint.
确认行为后:
- 展示提议的正会话ID和被排除在成员之外的已审核反例。
- 询问一次:“使用此确切成员创建此版本化群组?”
- 通过受支持的操作创建群组和不可变的第一个版本。
- 重新读取并保留确切的群组和群组版本ID。
不要从自适应发现样本中得出普遍性结论。
若可重复测量有用,则继续使用references/deterministic-evaluators.md。先运行相关的描述性评估器,然后优先选择直接表达已确认标准的已安装配置评估器。仅当已安装的目录无法表达该标准时,才继续使用references/evaluator-authoring.md。
若原因是明显的提示词歧义、缺失功能、普通错误或依赖失败,则建议直接修复。仅当保留该案例作为回归检查有用时,才添加评估器。
以紧凑的事实检查点结束:评估器和版本ID、确切参数、已运行的检查、已审核的固定装置和结论覆盖率、测得的人工一致性(或缺失)、保留的证据(或缺失)、新鲜度限制、支持的结论以及不支持的更强结论。
然后说明定义阶段已完成,重放阶段会针对已审核群组测试一项有限变更。询问用户是否继续。若同意,则继续使用技能,并传递:
kitaru-replay-experiment- 已确认的行为和预期用途;
- 确切的群组版本ID;
- 评估器版本ID和参数;
- 事实检查、证据和限制;
- 已知的候选Agent版本ID;
- 一项提议的覆盖;
- 明确的工具策略;
- 任何用户定义的门限。
不要让用户复制这些标识符,也不要仅为选择候选而重新通过调查路由。若用户停止,则留下完整的可恢复检查点。
Preserve failure honesty
如实处理失败情况
- If the review URL fails, preserve the investigation and report the broken product handoff; do not fall back to in-chat review.
- If agent source cannot be resolved safely, stop before presenting a code-grounded context brief.
- If full trace payloads are unavailable, identify the missing evidence and do not silently summarize truncated input.
- If a worker is unavailable, do not imply analyses or evaluations completed.
- If a mutating response is dropped, read current state before retrying because general request idempotency is not guaranteed.
- If the user abandons an investigation, leave it incomplete. Do not invent an
verdict as a skip state or use destructive deletion as cancellation.
uncertain - If label isolation is not server-enforced, do not claim blinded evaluator validation.
- 若审核URL失败,则保留调查并报告产品交接失败;不要退回到聊天内审核。
- 若无法安全解析Agent源,则在呈现基于代码的上下文简介前停止。
- 若完整Trace负载不可用,则识别缺失的证据,不要默默总结截断的输入。
- 若worker不可用,则不要暗示分析或评估已完成。
- 若变更响应丢失,则在重试前读取当前状态,因为无法保证通用请求的幂等性。
- 若用户放弃调查,则将其保留为不完整状态。不要将结论作为跳过状态,也不要使用破坏性删除作为取消方式。
uncertain - 若服务器未强制标签隔离,则不要声称评估器经过盲法验证。