feat(cli): simplify Session controls and persist model selection #6170
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.46) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.46 · 471 lines diff across 5 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.368
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #6170"
general
weight: 0.35
me2seeks
Summary
External callers can now persistently change an existing Session's model with
maka run --session <id> --model <id>. Settings alone only save configuration; adding--resumeuses the existing Host safe-continuation operation, while adding a prompt submits new user input.--connectionand--thinkinguse the same configuration operation. CLI does not classify the failure, select a replacement, or implicitly stop/resume execution. Host errors are returned directly.The interface also accepts identical repeated options and
--status --recap(JSON with state, boundary, and progress), reports usage errors in two lines, and groups help by workflow. Ordinary runs still wait by default; parent-agent examples recommend--no-waitwithout redundant--json/--queue. Status remains compact; settings-only calls add aconfigurationreceipt. Themaka-cliskill now keeps the common workflow in its entrypoint and links conditional control details, with updated English/Chinese CLI documentation.Refs #6168. Depends on #6169; this PR is based on
feat/cli-session-recapso its diff contains only the follow-up. GitHub native stack #6172 tracks #6169 → #6170 → #6171.Verification
e6036a1b2c: fixed catalog-managed executor model updates by omitting implicit native thinking; preserved saved thinking when selecting the same native target. Production Host/plugin persistence and native Runtime integration tests passed, including an existinghighsetting before an actual model change. Both inline review threads are addressed.npm run lint,npm run format:check,npm run build,npm run typecheck, both contribution-guide knip checks, ASF headers, Windows skip inventory, skill validation, andgit diff --checkpassed.main.Configuration-only fixture receipt includes:
statusstill describes the existing Turn; a successful settings update does not mean that Turn completed. Settings commit before an explicit follow-up action and remain saved if that action fails.AI use
Tool(s) and scope: Codex implemented and reviewed the CLI, skill, documentation, and tests at the contributor's request. This does not replace independent human review. The commit includes
Generated-by: Codex.Checklist
Does this PR entail a change in behavior?