Commit Graph

776 Commits

Author SHA1 Message Date
Codex 201a8c8af2 feat(code-queue): register minimax-m3 alongside minimax-m2.7
Add minimax-m3 as a sibling model on the same path as the existing
minimax-m2.7 support. M3 is the new PROD default; M2.7 remains available
as a one-line rollback target via MINIMAX_MODEL.

Changes:
- code-agent/common.ts: add minimaxM3Model constant, include in
  defaultCodeModels, normalize aliases (minimax-m3 / m3), route to
  opencode port, sibling entry in codeModelProviderSourceContract.
- code-agent/opencode.ts: add M3 branch in openCodeModelId, register
  both M2.7 and M3 in openCodeConfigContent, inject MINIMAX_M3_MODEL
  in local/remote env, M3 branch in missingOpenCodeCredentialMessage.
- index.ts + types.ts: add minimaxM3Model to RuntimeConfig, read
  MINIMAX_M3_MODEL env, propagate to remoteCodexEnvKeys.
- queue-api.ts: include minimaxM3Model in Pick for
  codeModelProviderSourceContract callers.
- scripts/src/code-queue.ts: add minimaxM3SubmitModel, normalize/port
  routing, default route recommendation now points to M3, M2.7 kept
  as minimaxM2FallbackCandidate.
- scripts/src/docker.ts: default UNIDESK_CODE_QUEUE_MINIMAX_M3_MODEL
  to MiniMax-M3.
- k8s yaml (D601 + G14): CODE_QUEUE_MODELS gains minimax-m3, three
  deployments each set MINIMAX_MODEL=MiniMax-M3 and
  MINIMAX_M3_MODEL=MiniMax-M3.
- docker-compose.d601.yml: same env defaults for local compose.
- docs/reference/{code-queue-supervision,microservices,
  windows-passthrough}.md: update model contracts to M3 default +
  M2.7 fallback.
- scripts/code-queue-submit-routing-contract-test.ts: low-risk
  recommendation now asserts minimax-m3; registry asserts both M3
  and M2.7 fallback in modelPorts/opencodeModels; provider source
  contract test passes minimaxM3Model.

Refs: #189
2026-06-01 06:51:28 +00:00
Codex 0b1c012ba5 Merge branch 'master' of github.com:pikasTech/unidesk 2026-06-01 06:34:55 +00:00
Codex 49cf814e74 docs(reference): 固化 Todo Note 写端点 + 秘书 CLI 摩擦调查方法论
三处文档改动:
- microservices.md「Todo Note On Main Server」补 actions 端点形态段、backend-only 真实语义、404 catch-all 误判陷阱
- cli.md「microservice proxy」段补 Todo Note 写操作 CLI 范式(toggleTodoCompleted / addTodo / undo / redo)
- secretary-reference.md 加「CLI 报错四步调查方法论」(读源码+容器实测+git history+复盘 issue)

沉淀 pikasTech/unidesk#188 复盘教训,关闭 #190 文档缺口。剩下 diary --summary 吞并的 P0 由 #9 跟踪。
2026-06-01 06:34:24 +00:00
Codex 3f623b3678 fix: expose AgentRun CI task status 2026-06-01 06:16:55 +00:00
Codex aa39b7582e feat: add AgentRun v0.1 control CLI 2026-06-01 06:12:35 +00:00
Codex 12d79a80bf docs(secretary): 本份是维护 Todo Note,Decision Center diary 用户独写
新增 secretary-reference 原则:秘书收到用户进展后维护 Todo Note,不写日记;diary 是用户私域,只读不写;Todo Note 写路径被阻塞时升级修复或明示用户,不能绕道 diary 替代。
- Why: 用户在 2026-06-01 明确说「你不要写道日记里面,日记是我自己写的,你应该负责的是维护 todo note」
- How to apply: 见 docs/reference/secretary-reference.md「日程流程」段新增段落
2026-06-01 06:05:51 +00:00
Codex 45e9df80c2 docs(secretary): 秘书做日程不开 TaskList,只走对话+决策日记
新增 secretary-reference 原则:用户日程只在对话里给时间块,配合决策日记承载;TaskList 留给 Claude Code 自己的工程任务(写代码/CI/PR),不开给用户看。
- Why: 用户在 2026-06-01 排程时明确说「取消你的 tasks,这没有意义」,TaskList 信息双源且过期即噪声
- How to apply: 见 docs/reference/secretary-reference.md「日程流程」段新增段落
2026-06-01 05:44:22 +00:00
Codex a38c87c1f2 docs(secretary): 时间分配由秘书主导,不向用户要选择
新增 secretary-reference 原则:用户给硬约束和方向,秘书切时间块、定先后、决定合并或拆开;反向询问只在冲突/硬约束缺失/外部承诺与身份判断时合法,且仍要先给推荐方案。
- Why: 用户在 2026-06-01 排程时明确要求秘书主动做时间分配,不要把多选时间块方案反问给用户挑
- How to apply: 见 docs/reference/secretary-reference.md「日程流程」段新增段落
2026-06-01 05:35:32 +00:00
Codex 06f5cbeb6c docs: align hwlab v02 gc poller notes 2026-06-01 00:13:14 +00:00
Codex 51cf794ae6 docs: sync v02 cicd source isolation 2026-05-31 23:37:22 +00:00
Codex 114d2e8208 fix: isolate v02 cicd source repo 2026-05-31 17:00:24 +00:00
Codex e929f4e570 docs: record semantic progress brief guidance 2026-05-31 15:49:38 +00:00
Codex 7a0ddaec90 fix: surface HWLAB v0.2 rollout evidence 2026-05-31 15:07:37 +00:00
Codex 1761f319e4 docs: clarify hwlab v02 cli rollout closeout 2026-05-31 14:08:42 +00:00
Codex 1af11b1f0c fix: use clean v02 render worktree 2026-05-31 12:21:28 +00:00
Codex 57f6345428 fix: align gh pr option aliases 2026-05-31 11:09:31 +00:00
Codex 96984cb01f fix: reduce git mirror pre-sync round trips 2026-05-31 10:53:01 +00:00
Codex a8b4371665 fix: improve cli visibility for hwlab rollout 2026-05-31 10:40:34 +00:00
Codex a37d2b1374 fix: improve hwlab v02 cli observability 2026-05-31 09:36:50 +00:00
Codex ab2369c909 docs: clarify hotfix handoff to cicd 2026-05-31 09:10:16 +00:00
Codex 32b3bd7ce4 fix: smooth hwlab pr and rollout visibility 2026-05-31 08:35:12 +00:00
Codex 995b75dd2a fix: bound hwlab g14 cli output 2026-05-31 08:19:46 +00:00
Codex 457cc58b18 fix: avoid blocking v02 mirror apply on temp render drift 2026-05-31 07:54:49 +00:00
Codex b6d088a3cc fix: expose user tool path in ssh scripts 2026-05-31 07:46:47 +00:00
Codex 0542eb98f7 fix: accept equals form for k3s ssh options 2026-05-31 07:22:37 +00:00
Codex 1e8fd2e9c8 docs: install declared deps for visibility 2026-05-31 05:35:43 +00:00
Codex 3d6be3dc57 docs: prioritize visibility fixes 2026-05-31 05:32:54 +00:00
Codex f01f840628 fix: expose v02 trigger progress 2026-05-31 04:49:54 +00:00
Codex 69f72a49cb fix: refresh v02 control plane before trigger 2026-05-31 04:27:10 +00:00
Codex 003b0ae7fc fix: make hwlab g14 long actions observable 2026-05-30 21:45:42 +00:00
lyon d0b6fd6e35 fix root 2026-05-30 18:24:39 +08:00
Codex 91564b3784 fix: expose ssh transfer verification 2026-05-30 08:31:52 +00:00
Codex 277e28ce97 docs: record pod route patch anti-pattern 2026-05-30 07:25:55 +00:00
Codex 86616e226b fix: pre-sync hwlab v02 git mirror 2026-05-30 06:36:57 +00:00
Codex 231d17ebab fix: expand g14 registry gc retention 2026-05-30 05:40:16 +00:00
Codex ce519dbc0c fix: align apply-patch failure flow with codex 2026-05-30 04:09:09 +00:00
Codex 531d435777 fix: report apply-patch partial failures 2026-05-30 04:05:52 +00:00
Codex b2435d406b fix: harden ssh script shell compatibility 2026-05-30 02:15:31 +00:00
Codex 5c88f1df58 feat: add hwlab git mirror flush command 2026-05-30 00:39:57 +00:00
Codex e7c2d97e46 fix: expose hwpod in code queue runners 2026-05-29 23:34:17 +00:00
Codex 1445f155b3 fix: preserve live mutating code queue retries 2026-05-29 23:17:32 +00:00
Codex 4326ffe2f5 feat: add manual G14 git mirror control 2026-05-29 18:54:50 +00:00
Codex 4c8926fd7f fix: align apply-patch v2 with codex semantics 2026-05-29 18:32:09 +00:00
Codex 0817540a01 fix: trigger hwlab v02 ci manually 2026-05-29 17:37:52 +00:00
Codex a6b185354f fix: allow gh pr numbers after options 2026-05-29 09:36:50 +00:00
Codex 93d305b0f6 feat: 支持 gh issue stdin 写入 2026-05-29 09:04:06 +00:00
Codex 93477a3330 fix: restore k3s script one-liner stdout 2026-05-29 08:53:10 +00:00
Codex 6a56234b87 docs: 强化分布式敏捷实地验证规则 2026-05-29 08:35:35 +00:00
Codex 95918b05e6 docs: update agentrun v0.1 worktree rule 2026-05-29 03:11:37 +00:00
Codex 5b01dad112 fix: remove stale code queue execution gate 2026-05-29 02:36:29 +00:00