kitaru-guided-tour
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseKitaru guided tour
Kitaru 引导导览
Deliver an AHA before teaching the complete method. Use the public Kitaru
returns-agent template to move from recorded traces, through a short prepared
frontend review and reusable evaluator, to one bounded experiment result.
在教授完整方法前先让用户获得顿悟体验。使用公共Kitaru returns-agent模板,从已记录的trace出发,完成一个简短的预设前端审核和可复用评估器,最终得到一个有限实验结果。
Experience contract
体验约定
- Assume the user has not read the template agent and does not yet know how Kitaru works. Explain each example from the evidence visible in the review, translate internal names into plain language, and never require missing code or product context to understand a question.
- Act as a friendly guide, not an invisible automation runner. At each meaningful transition, explain what the tour is doing, why that step matters, what Kitaru concept it demonstrates, and what the user will be able to see or do next. Keep routine commands in the background.
- If standing user instructions strongly prefer terse or explanation-free responses, surface the tension before beginning the tour. Ask once: “This guided tour works best if I briefly explain each new concept and why each step matters. May I use a little more explanation than usual during the tour, while keeping routine commands and status updates compact?” If the user agrees, treat that answer as a tour-scoped clarification of their preferred style, not permission to ignore unrelated or higher-priority instructions. If they decline, remain concise but still explain the minimum needed to understand each checkpoint.
- Use names that already exist in Kitaru when naming product objects. Do not invent labels for steps, summaries, or collections, and do not present an internal implementation detail as a Kitaru concept. Prefer a plain sentence such as “Here is what the experiment will do” over “replay run card.”
- Lead with what the user is about to discover, not installation or evaluation terminology.
- Teach only the concept needed for the current action. Explain deeper Kitaru objects after the user has experienced why they matter.
- Prepare useful observations and exact evidence anchors for the reviewer. Tell them once that these are agent-prepared notes and their verdict is the human judgment.
- Use the Kitaru frontend three times: for the investigation review, the cohort and evaluator results, and the completed experiment run. Give direct links, explain what the user is looking at, then pause until they return. Do not interrupt the tour with frontend visits for routine objects.
- Keep the first tour to three sessions: one consequential problem, one subtle evidence-reading lesson, and one acceptable counterexample.
- Reach a useful evaluator result without regenerating traces or making a paid model call. Continue into one bounded replay, but briefly explain the proposed run and ask before creating the experiment or starting paid or live execution.
- Before a model-backed replay, verify without exposing secrets that the worker runtime has the required provider credential. If availability cannot be verified, ask the user to configure it and restart the worker, then stop before creating the experiment or starting its run.
- 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 - Preserve the user's healthy selected Kitaru server, whether local or cloud. Do not switch servers merely because the public template documents a local quickstart.
- Resume durable agents, imports, sessions, exact-match annotations, cohorts, evaluator versions, experiments, and runs before creating replacements. Resume an investigation and its verdicts only when this conversation holds its exact ID or the user explicitly identifies it as their review.
- Prefer one combined approval for the clearly previewed tutorial writes. Do not turn the tour into a sequence of permission prompts.
- 假设用户尚未阅读模板Agent,也不了解Kitaru的工作方式。从审核中可见的证据出发解释每个示例,将内部名称转化为通俗易懂的语言,绝不要求用户借助缺失的代码或产品上下文来理解问题。
- 扮演友好向导,而非隐形的自动化运行器。在每个关键过渡节点,解释导览正在执行的操作、该步骤的重要性、它所展示的Kitaru概念,以及用户接下来能看到或执行的操作。将常规命令置于后台执行。
- 如果用户的常规指令强烈偏好简洁或无解释的回复,在开始导览前先说明这一矛盾。仅询问一次:“如果我能简要解释每个新概念及各步骤的重要性,这个引导导览的效果会最佳。在导览期间,我可以比平时多做一些解释,同时保持常规命令和状态更新简洁吗?”如果用户同意,将该答复视为针对导览场景的风格调整,而非无视其他更高优先级指令的许可。如果用户拒绝,保持回复简洁,但仍需解释理解每个检查点所需的最少内容。
- 命名产品对象时使用Kitaru中已存在的名称。不要为步骤、摘要或集合发明标签,也不要将内部实现细节当作Kitaru概念呈现。优先使用直白的表述,比如“以下是该实验的内容”,而非“重放运行卡片”。
- 先向用户介绍他们即将发现的内容,而非安装或评估术语。
- 仅教授当前操作所需的概念。在用户体验到深层Kitaru对象的重要性后,再对其进行解释。
- 为审核者准备有用的观察结果和精确的证据锚点。告知用户这些是Agent准备的笔记,而他们的判定是人工判断。
- 三次使用Kitaru前端:用于调查审核、群组和评估器结果查看,以及已完成的实验运行查看。提供直接链接,解释用户正在查看的内容,然后暂停等待用户返回。不要因查看常规对象而中断导览流程。
- 将首次导览控制在三个会话内:一个关键问题、一个微妙的证据解读课程、一个可接受的反例。
- 在不重新生成trace或调用付费模型的前提下,得到有用的评估器结果。继续进行一次有限重放,但需简要解释拟执行的运行内容,并在创建实验或启动付费/实时执行前征得用户同意。
- 在基于模型的重放前,在不暴露密钥的前提下验证工作者运行时是否具备所需的提供商凭证。如果无法验证可用性,请用户配置凭证并重启工作者,然后在创建实验或启动运行前停止操作。
- 使用启动或重启用户控制的工作者。仅当启动界面通过环境变量而非CLI选项暴露工作者设置时,才使用
--concurrency 10。KITARU_WORKER_CONCURRENCY=10 - 保留用户选择的可用Kitaru服务器,无论是本地还是云端。不要仅因为公共模板文档中提到本地快速入门就切换服务器。
- 在创建替代对象前,先恢复持久化的Agent、导入任务、会话、精确匹配注释、群组、评估器版本、实验和运行记录。仅当对话中包含调查的精确ID,或用户明确指定该调查为他们的审核对象时,才恢复调查及其判定结果。
- 优先对清晰预览的教程写入操作进行一次性合并审批。不要将导览变成一系列权限提示。
Load the tour references
加载导览参考资料
- Read references/tutorial-narration.md before the first user-facing explanation and use its teaching rhythm throughout setup, review, the evaluator result, and the experiment result.
- Read references/starter-template.md before setup or when deciding whether the checkout is the canonical public template.
- Read references/tour-method.md before selecting sessions, writing observations, creating the review, or producing the AHA.
- Read references/kitaru-operations.md before any Kitaru CLI or MCP operation. Treat installed schemas as authoritative.
- 在首次面向用户的解释前,阅读references/tutorial-narration.md,并在设置、审核、评估器结果和实验结果展示的全过程中遵循其教学节奏。
- 在设置前或判断检出版本是否为标准公共模板时,阅读references/starter-template.md。
- 在选择会话、撰写观察结果、创建审核或实现顿悟体验前,阅读references/tour-method.md。
- 在执行任何Kitaru CLI或MCP操作前,阅读references/kitaru-operations.md。将已安装的架构视为权威依据。
Establish the tutorial route
搭建教程流程
Begin read-only.
- Look for a candidate template checkout. If none exists, inspect the current
canonical template README through the trusted source. Treat a prompt that
names the public template, its canonical URL, or the returns-agent tour as
intent to use this route; do not stop merely because the checkout is absent.
Check the local prerequisites, choose a new destination in the current workspace, and preview the clone plus frozen-environment setup. Ask once before those writes. After approval, clone it, verify the checkout against the trusted canonical source, and only then install and verify the frozen environment. Never overwrite an existing destination. Complete this source setup before diagnosing Kitaru server connectivity. Use this route only when the resulting project root matches the public template contract in
kitaru-template.starter-template.md - Establish the template environment, CLI, worker, and MCP package readiness
through and
starter-template.md. Install the whole frozen template environment instead of adding packages piecemeal. Explain and ask before changing the environment or host MCP configuration. Treat MCP as preferred but optional when the CLI can complete the tour. If host MCP configuration is added or changed, tell the user to restart or reload the coding-agent host process or IDE, preserve a resume checkpoint, and do not claim that the current task can discover the new tools.kitaru-operations.md - Inspect Kitaru connectivity and keep using the healthy selected server. Only
offer the template's isolated local server when no usable server is selected,
and ask before starting or selecting it. Then inspect the exact registered
agent version, relevant import jobs, and the complete imported population carrying the
returns-resolvertag.returns-baseline - Resume matching durable state. Perform only missing setup steps from the verified template README, with one clear explanation and approval before environment changes, service starts, registration, or import.
- Stop and route to when the template was materially customized, the user supplies their own agent or evidence, or the requested conclusion needs a defensible open-ended investigation.
kitaru-investigation
Do not ask a first-time user to choose a framework, trace provider, review
method, or sampling strategy on the canonical route.
从只读模式开始。
- 寻找候选模板检出版本。如果不存在,通过可信源查看当前标准模板的README。如果提示中提到公共模板、其标准URL或returns-agent导览,则视为使用该流程的意图;不要仅因检出版本缺失就停止操作。检查本地先决条件,在当前工作区选择一个新的目标路径,并预览克隆及冻结环境设置。在执行这些写入操作前仅询问一次。获得批准后,克隆模板,将检出版本与可信标准源进行验证,然后再安装并验证冻结环境。绝不要覆盖现有目标路径。在诊断Kitaru服务器连接性前完成此源设置。仅当生成的项目根目录符合
kitaru-template中的公共模板约定时,才使用此流程。starter-template.md - 通过和
starter-template.md确认模板环境、CLI、工作者和MCP包已就绪。安装完整的冻结模板环境,而非逐个添加包。在更改环境或主机MCP配置前进行解释并征得同意。当CLI可完成导览时,将MCP视为首选但可选的方式。如果添加或更改了主机MCP配置,告知用户重启或重新加载编码Agent主机进程或IDE,保留恢复检查点,不要声称当前任务可发现新工具。kitaru-operations.md - 检查Kitaru连接性,并继续使用可用的选定服务器。仅当没有可用服务器被选定时,才提供模板的隔离本地服务器选项,并在启动或选择前征得同意。然后检查已注册的Agent的精确版本、相关导入任务,以及带有
returns-resolver标签的完整导入数据集。returns-baseline - 恢复匹配的持久化状态。仅执行已验证模板README中缺失的设置步骤,在更改环境、启动服务、注册或导入前进行一次清晰的解释并获得批准。
- 如果模板被大幅定制、用户提供了自己的Agent或证据,或所需结论需要可辩护的开放式调查,则停止操作并引导至流程。
kitaru-investigation
不要要求首次用户在标准流程中选择框架、trace提供商、审核方法或采样策略。
Orient in three short beats
三步简短介绍
Before selecting the tour, explain:
- The sample agent resolves synthetic return and delivery requests with lookup, policy, shipment, refund, replacement, and escalation tools.
- Kitaru preserved ten complete historical runs, including the model and tool evidence needed to understand what actually happened.
- The coding agent will prepare three observations in Kitaru; the user will inspect the evidence and decide whether each complete session is acceptable, problematic, or uncertain.
Then continue. Do not explain cohorts or evaluator versions yet.
在选择导览前,解释:
- 示例Agent通过查找、策略、发货、退款、换货和升级工具解决合成退货和配送请求。
- Kitaru保存了十个完整的历史运行记录,包括理解实际发生情况所需的模型和工具证据。
- 编码Agent将在Kitaru中准备三个观察结果;用户将检查证据并判定每个完整会话是否可接受、存在问题或不确定。
然后继续操作。暂不解释群组或评估器版本。
Prepare one guided review
准备一个引导式审核
Follow to inspect every candidate trace and assemble the
three-session tour. Before writing, show a compact preview of what happened in
each session, why it matters, and the evidence that will be highlighted. Write
the preview for someone seeing both the agent and Kitaru for the first time.
Avoid an exhaustive investigation plan.
tour-method.mdAsk once to:
- add the three sessions' agent observations as ordinary Kitaru annotations;
- create one fixed investigation with the prepared questions and highlights;
- open the resulting frontend review.
After approval, create or resume the annotations and investigation through the
verified operations. Keep agent observations short and start each durable note
with so it remains understandable outside this chat.
Never write the user's verdict for them.
Agent observation:遵循检查所有候选trace并组装三会话导览。在撰写前,展示每个会话中发生的内容、其重要性以及将突出显示的证据的简洁预览。为首次接触Agent和Kitaru的用户撰写预览内容。避免详尽的调查计划。
tour-method.md仅询问一次是否可以:
- 将三个会话的Agent观察结果作为普通Kitaru注释添加;
- 创建一个包含预设问题和高亮内容的固定调查;
- 打开生成的前端审核页面。
获得批准后,通过已验证的操作创建或恢复注释和调查。保持Agent观察结果简短,并在每个持久化笔记开头添加,使其在本次对话之外仍易于理解。绝不要替用户撰写判定结果。
Agent observation:Hand off to the frontend
切换至前端操作
Lead with the direct review action. Use this conversational shape:
Open the guided review: Review in KitaruI prepared the highlighted observations. Your part is to inspect the trace evidence and choose Acceptable, Problematic, or Uncertain for each session. You can leave the written answer blank unless you want to add or correct something.Select Done after the last session, then return here and I will show you what your judgments make possible.
Pause. Do not duplicate the review in chat while the frontend route works.
以直接的审核操作为开头。使用以下对话格式:
打开引导式审核: 在Kitaru中审核我已准备好突出显示的观察结果。您需要做的是检查trace证据,并为每个会话选择可接受、存在问题或不确定。您可以留空书面答复,除非您想添加或更正内容。在最后一个会话后选择完成,然后返回此处,我将向您展示您的判定能实现什么。
暂停。当前端流程可用时,不要在聊天中重复审核内容。
Create and run the evaluator
创建并运行评估器
When the user returns:
- Re-read the investigation, its ordered sessions, manual annotations, question-answer coverage, and verdict coverage.
- Lead with what the user decided. Explain how each verdict now sits beside the exact recorded evidence that motivated the review.
- If the user has judged every proposed cohort member, including at least one problematic target and one acceptable counterexample, propose one observable behavior that best explains the difference. Ask one short confirmation before turning it into a reusable check.
- If the user accepts that behavior, create an exact cohort version from the confirmed target and counterexample sessions. Check the installed evaluator catalog before authoring code.
- Select or create one narrow deterministic evaluator, test it, register an immutable version, and run it across the complete prepared baseline population.
- Report the useful result first: how many sessions matched, which reviewed
examples explain the result, and one important limitation. Resolve the
cohort and evaluator links through .
kitaru-operations.md
Then show the cohort and evaluator pages defined in .
Explain that the cohort freezes the examples the user
judged and the evaluator page records the exact reusable rule. Pause and wait
for the user to return before preparing the experiment.
kitaru-operations.mdIf the verdicts do not support a problem, or the user rejects the proposed
behavior, do not force an evaluator into the story. Show the useful negative
result: the prepared concern did not survive human review. Offer one more
bounded prepared review or stop successfully there.
If the review is partial, stop before behavior confirmation, cohort creation,
or evaluator work. Report what the persisted verdicts already show and keep the
same review link available for completion.
Use ordinary language before object names. For example:
You marked two sessions problematic because the agent bypassed approval. Kitaru has preserved those judgments beside the policy and refund events. I turned that behavior into a reusable check, and it found the same pattern in 2 of the 10 recorded sessions.
Only then explain that the frozen examples are a cohort and the reusable check
is an evaluator version.
当用户返回时:
- 重新阅读调查内容、其有序会话、人工注释、问答覆盖范围和判定覆盖范围。
- 先说明用户的判定结果。解释每个判定现在如何与触发审核的精确记录证据关联。
- 如果用户已判定所有拟议的群组成员,包括至少一个存在问题的目标和一个可接受的反例,则提出最能解释差异的一个可观察行为。在将其转化为可复用检查前,进行一次简短确认。
- 如果用户接受该行为,从已确认的目标和反例会话创建一个精确的群组版本。在编写代码前检查已安装的评估器目录。
- 选择或创建一个窄范围的确定性评估器,对其进行测试,注册一个不可变版本,并在完整的预设基线数据集上运行。
- 先报告有用的结果:有多少会话匹配、哪些已审核示例解释了结果,以及一个重要限制。通过解析群组和评估器链接。
kitaru-operations.md
然后展示中定义的群组和评估器页面。解释群组会冻结用户判定的示例,评估器页面会记录精确的可复用规则。暂停并等待用户返回后再准备实验。
kitaru-operations.md如果判定结果不支持某个问题,或用户拒绝拟议的行为,不要强行在流程中加入评估器。展示有用的负面结果:预设的问题未通过人工审核。提供一次额外的有限预设审核或在此成功结束。
如果审核不完整,在行为确认、群组创建或评估器工作前停止操作。报告已持久化的判定结果已展示的内容,并保留相同的审核链接供后续完成。
先使用普通语言,再提及对象名称。例如:
您标记了两个会话存在问题,原因是Agent绕过了审批。Kitaru已将这些判定与政策和退款事件关联保存。我将该行为转化为可复用检查,它在10个已记录会话中发现了2个相同模式。
之后再解释冻结的示例是群组,可复用检查是评估器版本。
Finish with one experiment
以一个实验收尾
After the user returns from the cohort and evaluator pages:
- Explain that the recorded sessions showed what happened before; an experiment starts fresh tasks from the same stored top-level inputs to test one changed condition.
- Propose one small candidate change grounded in the accepted behavior. Do not start an automatic prompt search or introduce an unrelated model change.
- Continue with , carrying the exact accepted behavior, cohort version, evaluator version and parameters, candidate agent version, proposed override, and an explicit tool policy. For the verified public template, use passthrough for all six tools: each task calls deterministic local functions against a fresh in-memory mock store and cannot affect an external system. Do not silently replace those calls with recorded-history matching.
kitaru-replay-experiment - Let that skill verify adapter support and briefly explain the proposed run. Explain provider and worker readiness, model work, cost uncertainty, missing restored state, and possible tool effects. Obtain its required approval before experiment creation or run start.
- After the run settles, lead with the experiment page from
. Explain which recorded cases were replayed, what changed, how the candidate compared, and what the result cannot establish. Pause until the user returns, then answer their questions and leave the exact experiment and run IDs in the final summary.
kitaru-operations.md
The normal successful tour ends after the user has inspected this experiment
result. If they decline the run or execution is blocked, preserve the proposed
conditions and cohort and evaluator links without claiming that the experiment completed.
Afterward, offer Use my own agent through , carrying
the tour's method explanation but none of its synthetic conclusions.
kitaru-investigation当用户从群组和评估器页面返回后:
- 解释已记录的会话展示了之前发生的情况;实验会从相同的存储顶层输入开始执行全新任务,以测试一个变更条件。
- 基于已接受的行为提出一个小的候选变更。不要启动自动提示搜索或引入无关的模型变更。
- 使用继续操作,携带精确的已接受行为、群组版本、评估器版本和参数、候选Agent版本、拟议覆盖项以及明确的工具策略。对于已验证的公共模板,对所有六个工具使用直通模式:每个任务针对全新的内存模拟存储调用确定性本地函数,不会影响外部系统。不要静默地将这些调用替换为历史记录匹配。
kitaru-replay-experiment - 让该技能验证适配器支持情况,并简要解释拟议的运行内容。解释提供商和工作者就绪状态、模型工作、成本不确定性、缺失的恢复状态以及可能的工具影响。在创建实验或启动运行前获得所需的批准。
- 运行结束后,先展示中的实验页面。解释哪些已记录案例被重放、发生了哪些变更、候选版本的表现如何,以及结果无法证明的内容。暂停等待用户返回,然后回答他们的问题,并在最终总结中留下精确的实验和运行ID。
kitaru-operations.md
正常的成功导览在用户检查完此实验结果后结束。如果用户拒绝运行或执行被阻止,保留拟议的条件以及群组和评估器链接,但不要声称实验已完成。
之后,通过提供使用我自己的Agent选项,携带导览的方法解释,但不包含其合成结论。
kitaru-investigationPreserve a pleasant failure path
保留友好的失败处理路径
- If the template setup is incomplete, state the current checkpoint and the one missing action. Do not dump a generic setup checklist.
- If the imported sessions or full node payloads are unavailable, stop before inventing observations.
- If an annotation or investigation write may have succeeded despite a dropped response, re-read state before retrying.
- If the review URL cannot be resolved, preserve the created investigation and report the broken handoff with its exact ID and one retry action.
- If fewer than three useful sessions exist, use the smaller honest tour and say what teaching moment is missing.
- If the user stops after only part of the review, summarize the persisted verdicts and what they already show. Offer the same link for the remaining stops, but do not withhold the partial value or treat prepared observations as missing human judgments.
- If the user disagrees with an agent observation, treat that correction as part of the lesson. Do not defend the prepared note or silently convert it into a human conclusion.
- If adapter support, model credentials, a worker, or a safe tool policy blocks the experiment, preserve the proposed conditions and explain the missing condition. Do not fall back to live passthrough or call the tour complete.
- 如果模板设置不完整,说明当前检查点和缺失的操作。不要输出通用的设置清单。
- 如果导入的会话或完整节点负载不可用,在生成观察结果前停止操作。
- 如果注释或调查写入可能在响应丢失的情况下仍成功执行,在重试前重新读取状态。
- 如果无法解析审核URL,保留已创建的调查,并报告该失败的交接操作及其精确ID和一次重试操作。
- 如果有用会话少于三个,使用更简短的真实导览,并说明缺少的教学环节。
- 如果用户仅完成部分审核就停止,总结已持久化的判定结果及其已展示的内容。提供相同的链接供后续完成,但不要隐藏部分价值或把预设观察结果当作缺失的人工判定。
- 如果用户不同意Agent的观察结果,将该修正视为课程的一部分。不要为预设笔记辩护或静默地将其转化为人工结论。
- 如果适配器支持、模型凭证、工作者或安全工具策略阻止了实验,保留拟议的条件并解释缺失的条件。不要退回到实时直通模式或声称导览已完成。