Repository navigation
feat(eval): integrate native Maka Host subject and CLI entrypoint - #6852
Closed
Colafornia wants to merge 3 commits into
Closed
Colafornia wants to merge 3 commits into
Colafornia wants to merge 3 commits into
Conversation
…tore Add the maka-eval foundation modules: - strict maka.eval.v1 projection and native maka.eval.v2 orthogonal attempt contracts, condition-only RunFingerprint, and semantic difference registry - exact 6-counter token accounting, non-mutating local metering gateway, admission cutoffs, HMAC-authenticated checkpoints, and receipt-vs-proxy reconciliation - single-writer append-only attempt journal, SQLite runtime artifact capture, critical artifact verification, and deterministic state reconstruction Generated-by: Codex Generated-by: Google Antigravity
…nical reporting Add execution orchestration, Harbor isolation, and deterministic projections: - version-pinned Harbor / Pier trial environment bridge, loopback TCP + HMAC relay agent, and DNS/IP egress filtering proxy - task-group admission concurrency, shared preparation cache lock, phase-scoped deadlines, bounded retries, and crash recovery - external CLI subject adapter (exit-code and protocol-v1 result frames) and canonical v1/v2 journal projections with 3-verdict differential oracle evaluation Generated-by: Codex Generated-by: Google Antigravity
Add real Maka Host subject execution and CLI commands: - resolve outbound model routes through Maka provider policy before attaching the non-mutating local metering gateway - initialize isolated Host roots via maka host init --settings-stdin without secret leakage, execute through public Settings/Session and composer draft/receipt APIs, and record executed Maka binary digests - preserve unattended approvals and questions as explicit settlement outcomes and report environment limitations without silent bypass - add maka-eval run/report/host-subject CLI commands and wire CI runtime helper consumers Generated-by: Codex Generated-by: Google Antigravity
Member
Author
|
Parked until the preceding layer merges into rust-preview so each PR shows a single-layer diff; will reopen sequentially. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
English
Summary
Evaluating Maka must drive its released Host composition, provider routing, and public client APIs rather than benchmark-only shims or auto-approved permission bypasses. This PR integrates the native Maka Host subject adapter, adds the
maka-evalCLI binary (run,report, and internalhost-subject), and wires CI helper dependencies.Refs #6667. Builds on #6850 (until it merges, review commit
1f4d3aae1for this layer alone).subject::maka&native: Configure Maka via public settings only, resolve outbound routes throughmaka-providersbefore attaching the local metering gateway, bootstrap isolated roots viamaka host init --settings-stdinwithout secret leaks, and drive execution via public Settings, Session, and draft/receipt APIs.unattended-interaction-blocked, report host/sandbox constraints asenvironment-limitation, export paginated transcripts with cycle detection, and record the executedmakaSHA-256 digest in settled artifacts.maka-evalbinary (run,report) and registermaka-evalinscripts/ci/suites.mjs(taskHelperConsumersandproducts/eval/tests/support).Verification
Validated at
1f4d3aae1with localmakaandmaka-python-workerbinaries against local fake HTTP providers:cargo test --locked -p maka-eval— 22 passed (2 unit tests and 20 integration tests covering public-client Host execution, secret-freemaka host init, two-arm retries, unknown-model cost preservation, paginated transcript export, unattended interaction preservation, and Zenmux/Cohere route resolution).node --test scripts/ci.test.mjs— 18 passed, including helper-consumer selection formaka-eval.cargo clippy --locked -p maka-eval --no-deps --all-targets -- -D warnings— passed.RUSTDOCFLAGS="-D warnings" cargo doc --locked -p maka-eval --no-deps— passed.node scripts/asf-license-headers.mjs checkandgit diff --check— passed.Dependency-inclusive Clippy hits the existing
clippy::needless_updateinplugins/agent/provider-protocol/src/chat_completions/response.rs:87outside this PR's diff. Live Docker Harbor cohorts, paid model endpoints, and fulljust checkwere not run.AI use
Tool(s) and scope: OpenAI Codex authored the initial
makasubject scaffolding and CLI commands. Google Antigravity implemented native public-client Host execution, provider route resolution, unattended interaction handling, CI wiring, and regression tests. BothGenerated-bytrailers are preserved.Checklist
Does this PR entail a change in behavior?
中文
概述
对 Maka 的评测必须驱动已发布的原生 Host 组合、提供商路由与公开客户端接口,而不能使用评测专用垫片或静默放行审批。本 PR 接入原生 Maka Host 适配器,新增
maka-evalCLI 可执行入口(run、report及内部host-subject),并接线 CI 辅助程序依赖。关联 #6667。基于 #6850(合入前可直接查看提交
1f4d3aae1以仅审阅本层改动)。subject::maka与native:仅通过公开设置配置 Maka,先经由maka-providers解析出站模型路由再接入本地计量网关,通过maka host init --settings-stdin初始化隔离 Root(命令行无密钥泄露),并经公开 Settings、Session 及草稿回执接口执行任务。unattended-interaction-blocked,环境受限上报为environment-limitation,支持带环检测的分页记录导出,并在结算产物中记录实际运行的maka二进制 SHA-256 摘要。maka-eval可执行程序(run与report),并在scripts/ci/suites.mjs中登记maka-eval辅助二进制依赖及products/eval/tests/support。验证
在提交
1f4d3aae1上配合本地构建的maka、maka-python-worker及本地模拟 HTTP 提供商验证:cargo test --locked -p maka-eval— 22 项通过(2 项单测与 20 项集成测试,覆盖公开客户端 Host 执行、无密钥泄露maka host init、双臂重试、未知模型成本保留、分页导出、无人值守交互语义及 Zenmux/Cohere 路由解析)。node --test scripts/ci.test.mjs— 18 项通过,覆盖maka-eval辅助二进制消费者路由。cargo clippy --locked -p maka-eval --no-deps --all-targets -- -D warnings— 通过。RUSTDOCFLAGS="-D warnings" cargo doc --locked -p maka-eval --no-deps— 通过。node scripts/asf-license-headers.mjs check与git diff --check— 通过。包含依赖的 Clippy 受基线已有的
plugins/agent/provider-protocol/src/chat_completions/response.rs:87(clippy::needless_update,不在本 PR 改动范围内)阻断。未运行真实 Docker Harbor 队列、付费模型端点及完整just check。AI 使用
工具及范围:OpenAI Codex 编写初始
maka适配器框架与 CLI 命令;Google Antigravity 实现原生公开客户端 Host 执行、提供商路由解析、无人值守交互保留、CI 接线及回归测试。提交保留两个工具的Generated-by标记。检查清单
本 PR 是否改变行为?