Repository navigation
feat(cli): add task readiness preflight - #2524
Merged
Merged
Conversation
16 tasks done
Astro-Han
approved these changes
Aug 8, 2026
Astro-Han
left a comment
Contributor
There was a problem hiding this comment.
Thanks—this is a solid send-time preflight and the shared Host connection is handled cleanly.
Two non-blocking P3 suggestions:
- Resolve the CLI model target once and reuse it for both readiness and context creation. Today a legacy Codex model can be normalized to
readyby the preflight while the context still selects the raw model. - For an invalid explicit
--model, tailor the repair hint from the blocker code; “repair connection” is misleading when the user only needs to choose another model.
Neither blocks this PR.
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
What changed
maka runpreflight that consumes the shared task-submission readiness projection before creating a runtime context or Session.repair_required/unavailablestates and print stable blocker codes with actionable CLI repair guidance.unknownobservations non-blocking so a temporary credential-status read failure does not invent a configuration failure.First-success smoke journey
The public
maka runadapter test now traverses a ready Host-owned catalog + credential preflight, creates the run context, completes one turn, prints only the final answer, and closes the shared Host connection.Validation
npm --workspace maka-agent test— 344 passed中文
改动内容
maka run增加共享 task-submission readiness preflight。repair_required/unavailable时停止,并输出稳定 blocker code 与可执行的 CLI 修复指引。unknown状态保持不阻塞,credential status 暂时读取失败时不会虚构配置错误。首次成功 smoke journey
公开
maka run适配器测试现在会经过 Host 权威连接目录与 credential preflight,创建运行上下文,完成一次 turn,仅打印最终答案,并关闭共享 Host 连接。验证
npm --workspace maka-agent test— 344 个测试通过Completes the CLI delivery slice of #2497.
Related to #2469.