Repository navigation
Description
English
Goal
Rebuild Maka's evaluation runner in Rust (products/eval, binary maka-eval) for rust-preview, replacing the legacy TypeScript packages/eval stack while delegating task environments and scoring to Harbor and benchmark-native verifiers.
Eval must measure the same Maka that users and external benchmarks (such as FrontierHarness) actually run: configured exclusively through public product interfaces using the released product's default prompts, tools, skills, and permission semantics. Infrastructure or runner faults must stay strictly separated from measured agent outcomes so neither inflates nor penalizes capability scores.
Deliverables
- Public headless product entry (
maka): Headless State Root bootstrap (maka host init --settings-stdin) and single-task headless execution on the mainmakaCLI, allowing bothmaka-evaland third-party Harbor harnesses (e.g., FrontierHarness) to configure and run Maka directly without internal shims or private storage edits. - Single-task and batch Harbor runner (
maka-eval): Containerized single-task (run) and multi-task / multi-subject (batch) execution on Harbor that honors task-native budgets and declared user-facing settings (provider, model, thinking level, sandbox mode), isolates per-trial failures, safely resumes interrupted runs, and allows explicit recovery of infrastructure failures without resampling already-scored trials. - Authoritative usage accounting and reports: Token usage, call counts, duration, and cost derived from Maka Host's committed usage ledger alongside native verifier rewards — populated into Harbor's standard trial result (
AgentContext/agent_result) and exported as self-contained batch summaries (summary.json), paired comparison tables (CSV), and per-trial execution transcripts (transcript.json).
Non-goals
- Retaining or porting legacy TS
packages/evalshims, custom agent loops, or legacy internal file schemas. - Rewriting Harbor, benchmark datasets, or native verifiers in Rust.
- Maintaining benchmark-specific Maka profiles, prompt/tool overrides, or silent approval bypasses.
- Multi-host distributed fleet scheduling (tracked separately in #5284).
简体中文
目标
在 rust-preview 上用 Rust 重建评测执行器(products/eval,二进制 maka-eval),替代旧版 TypeScript packages/eval,同时继续由 Harbor 与基准测试原生 verifier 负责任务环境与判分。
Eval 测量的必须是普通用户和外部评测(如 FrontierHarness)实际运行的同一个发布版 Maka:仅通过公开产品接口配置,直接复用默认的提示词、工具集、内置 skills 与权限语义。基础设施或执行器故障必须与被测 Agent 的真实表现严格区分,既不把环境故障算成零分,也不对已有效判分的样本重复抽样。
最终交付物
maka本体公开无头入口:在makaCLI 上提供公开的无头初始化(maka host init --settings-stdin)与单任务无头运行入口,使maka-eval与外部 Harbor 评测框架(如 FrontierHarness)都能直接调用发布版maka完成评测,无需私有垫片或直接读写内部存储。maka-eval单题与批量执行器:对接 Harbor 容器执行单题(run)与多题/多被测配置矩阵(batch),遵循题目原生预算与显式声明的用户侧设置(服务商、模型、推理挡位、沙箱模式),支持单格失败隔离、中断续跑,以及在不重抽已判分样本的前提下显式补跑基础设施失败项。- 权威用量对账与标准产出:直接基于 Maka Host 账本汇总 Token 明细、调用次数、耗时与成本,结合原生 verifier 判分,同时回填至 Harbor 标准结果上下文(
AgentContext/agent_result)并输出自包含的批量汇总(summary.json)、配对对比表(CSV)与单题完整对话轨迹(transcript.json)。
非目标
- 在生产路径中保留或平移旧版 TS
packages/eval垫片、自定义 Agent 循环或旧版内部落盘格式。 - 用 Rust 重写 Harbor、基准测试数据集或原生验证器。
- 维护评测专用的 Maka profile、提示词/工具裁剪,或静默绕过审批逻辑。
- 多机分布式集群调度(仍在 #5284 独立跟踪)。
Activity
Astro-Han commentedon Nov 11, 2026
+1 on rebuilding Eval in Rust as scoped here, and on keeping Harbor/Pier and the native verifiers as the environment and scoring authority.
One thing to pin down before M3: I'd suggest the frozen profile for the Maka subject be the product's default composition rather than a dedicated eval profile, so our numbers match what users and third-party evaluators (e.g. FrontierHarness) actually run.
简体中文
支持按本 issue 的范围用 Rust 重建 Eval,并继续由 Harbor/Pier 和原生 verifier 负责环境与评分。
M3 之前有一点值得先定:建议 Maka subject 冻结的 profile 直接用产品默认配置,而不是专门的评测 profile,这样我们的数字和用户、第三方评测(如 FrontierHarness)实际跑的是同一个东西。
Astro-Han commentedon Nov 11, 2026
One more input for M3. Today a fresh Root can't get a model connection without the desktop UI:
maka host init --settings-stdinonly accepts proxy settings, and no CLI or env path creates a connection. The capability already exists inConfigurationStore(the ACP provider fixture creates an openai-compatible connection, enables models with overrides, and sets the default target), it just isn't exposed. Extending the--settings-stdinpayload with connections (secrets still via stdin) would give the subject adapter a public bootstrap path, and let third-party harnesses such as Harbor's generic ACP agent configure Maka without a hand-written adapter.简体中文
再补充一点给 M3。目前新的 Root 不通过桌面界面就无法配置模型连接:
maka host init --settings-stdin只接受代理设置,CLI 和环境变量都没有创建连接的入口。这个能力其实已经在ConfigurationStore里(ACP 的 provider 测试 fixture 就用它创建 openai-compatible 连接、启用模型并设置覆盖参数、设默认模型),只是没有暴露。把连接配置加进--settings-stdin的 JSON(密钥照旧走 stdin),subject adapter 就有了公开的初始化路径,Harbor 通用 ACP agent 这类第三方也不必再手写适配器就能配置 Maka。feat(cli): initialize model connections and default target from stdin
feat(cli): initialize model connections and default target from stdin
M4n5ter commentedon Nov 12, 2026
English
I'd like to make product parity an explicit requirement of this rebuild: Eval should make Maka easier to evaluate, while measuring the same Maka that users normally run. A benchmark-specific agent with different prompts, tools, or execution policies would make the results unrepresentative of the product.
The earlier suggestion to use the product's default composition matches this requirement. We should incorporate it into the issue body and acceptance gates, rather than leave it as an optional choice for M3.
Concretely:
Isolated Roots, containers, and headless operation are fine, provided they preserve those semantics. Environment limitations must be reported explicitly rather than hidden behind substitute tools or a special profile.
Please make this a prerequisite for M3 acceptance and M5 production delivery. The published result should describe the Maka users can actually run.
简体中文
我希望把产品一致性明确列为这次重建的硬性要求:Eval 应该让 Maka 更方便被评测,同时测的仍然是用户平时使用的那个 Maka。 如果为 benchmark 单独换了提示词、工具集或执行策略,成绩就不能代表实际产品。
前面评论提出直接使用产品默认 composition,符合这个要求。应该把它写进 issue 正文和验收条件,而不是留作 M3 的可选方案。
具体来说:
独立 Root、容器和无界面运行都可以,前提是保留上述语义。环境存在能力限制时,应明确报告,不能用替代工具或特殊 profile 把差异藏起来。
请将这一要求作为 M3 验收与 M5 生产交付的前置条件。最终发布的成绩,应该代表用户实际能运行的 Maka。
Colafornia commentedon Nov 14, 2026
English
Thanks @Astro-Han and @M4n5ter — agreed on product parity. We also trimmed the issue description above to drop speculative legacy-projection and control-plane machinery so every piece lands against live Harbor runs and public
makainterfaces.Merged on
rust-previewmaka host init --settings-stdinwith public bootstrap support forconnections,defaultTarget,chatDefaults, andprojectDirectoryRoots.overlayfsdirectorycopy-upidentity mismatch inmaka-fs-toolsuncovered during container runs.products/eval(maka-eval run) for single-task Docker Harbor execution against nativemaka host, exporting session transcripts and Host usage/cost accounting.Remaining
maka-eval batchmatrix execution, task-native budget and user-setting passthrough, HarborAgentContextpopulation, and batch summary / paired CSV outputs.makaCLI entry & container validation — expose single-task headless execution directly onmakaso external Harbor suites (e.g., FrontierHarness) andmaka-evalshare one product entry point, then validate across a representative set of real Harbor tasks.简体中文
谢谢 @Astro-Han 和 @M4n5ter,完全认同产品一致性的要求。我们也同步精简了上面的主贴范围,砍掉了预设的旧版兼容投影和过度控制面设计,确保每一块都基于真实 Harbor 容器运行和公开的
maka产品接口落地。已合入
rust-previewmaka host init --settings-stdin补齐connections、defaultTarget、chatDefaults与projectDirectoryRoots公开无头初始化入口。overlayfs目录copy-up身份校验问题(maka-fs-tools)。products/eval(maka-eval run)单题 Docker Harbor 容器执行,直驱原生maka host并导出对话轨迹与 Host 用量/成本账单。剩余工作
maka-eval batch矩阵执行、题目原生预算与用户侧配置透传、回填 HarborAgentContext,以及汇总报告与配对 CSV 导出。maka公开无头执行入口与真题验收:在makaCLI 本体补齐公开的单任务无头执行入口,使外部 Harbor 套件(如 FrontierHarness)与maka-eval共用同一条产品命令链路,并在代表性真实容器任务集上完成验收。fix(sandbox): preserve Linux overlayfs directory identity across copy…
feat(cli): initialize chat defaults and workspace roots from stdin (#…
refactor(eval): slim runner and fix container PATH, token, and key hy…
fix(eval): preserve non-root request ownership and reject partial tok…
refactor(eval): simplify GuestRunResult and drop redundant state
fix(eval): harden accounting validation, embed Harbor plugin, and tes…
feat(eval): add native Host Harbor evaluation runner (#6938)
feat(eval): add experiment contracts, adjudication, and usage pricing
12 remaining items
feat(eval): honor task-native budgets, thinking level, verifier env, …
feat(eval): honor task-native budgets, thinking level, verifier env, …
feat(eval): honor task-native budgets, thinking level, verifier env, …
feat(eval): honor task-native budgets, thinking level, verifier env, …
feat(eval): honor task-native budgets, thinking level, verifier env, …
fix(eval): reject multi-step [[steps]] tasks before launching harbor
fix(eval): harden adapter error boundary, watch terminal settle, and …
feat(eval): honor task-native budgets, thinking level, verifier env, …
refactor(eval): simplify batch runner, align contracts, and fix revie…
fix(eval): prefix batch cell directories by plan index and clean up t…
feat(eval): add resumable batch runner and paired reporting
feat(eval): add resumable batch runner and paired reporting
feat(eval): add resumable batch runner and paired reporting
fix(eval): lock batch output dir and reject unknown subjects-file keys
feat(eval): add resumable batch runner and paired reporting