Commit Graph

824 Commits

Author SHA1 Message Date
Codex faee528ed4 docs: standardize trans passthrough alias 2026-06-03 01:44:46 +00:00
Codex f445f2abd8 docs: document mxcx host codex operations 2026-06-03 01:39:28 +00:00
Codex 7f52953a8f fix: accept v02 docs-only pipeline status 2026-06-02 12:33:46 +00:00
Codex 0386faa3f0 docs: require web-equivalent hwlab agent validation 2026-06-02 10:52:34 +00:00
Codex 960886b9cd fix: preserve scoped ssh env for frontend rebuild 2026-06-02 10:27:30 +00:00
Codex db3092ad29 feat: add HWLAB v02 secret bootstrap command 2026-06-02 10:22:52 +00:00
Codex d82ea72a3f fix: keep artifact download chunks below bridge limit 2026-06-02 09:56:45 +00:00
Codex b28f525844 fix: show ssh download retries in job progress 2026-06-02 09:53:21 +00:00
Codex e0e55c74d5 fix: retry truncated ssh download blocks 2026-06-02 09:47:55 +00:00
Codex 49ac11b829 fix: tee artifact download progress live 2026-06-02 09:27:31 +00:00
Codex 9243a736c9 fix: stream artifact download progress to jobs 2026-06-02 09:24:18 +00:00
Codex 66ec934160 fix: add job cancel and tune artifact download 2026-06-02 09:20:43 +00:00
Codex 263b0cf3b2 fix: stabilize ssh artifact downloads 2026-06-02 09:13:11 +00:00
Codex b6099492bc fix: retry transient ssh download empty blocks 2026-06-02 08:58:01 +00:00
Codex 7de9782dc2 fix: sync scoped ssh runtime deploy env 2026-06-02 08:40:58 +00:00
Codex 5dba1a06be fix: avoid ssh stream timeout in artifact deploy 2026-06-02 08:24:54 +00:00
Codex 5e473189fc docs: tighten agentrun codex resume standard 2026-06-02 08:21:11 +00:00
Codex 0c28961f9a feat: add scoped ssh client passthrough 2026-06-02 07:39:21 +00:00
Codex 2a4f6d7791 fix: improve agentrun status visibility 2026-06-02 06:40:27 +00:00
Codex e3f1e726b9 docs: record CLI closeout friction 2026-06-02 06:33:34 +00:00
Codex 106348fe79 fix: align v02 target validation with rollout services 2026-06-02 05:19:10 +00:00
Codex 84f33ea606 docs: record async job CLI status friction 2026-06-02 05:00:10 +00:00
Codex 30089a120d docs: require CLI validation before HWLAB issue closure 2026-06-02 04:54:46 +00:00
Codex 9f8a10ac26 docs: record hwlab agentrun failure attribution 2026-06-02 04:44:01 +00:00
Codex b7fe55a33a docs: update agentrun thread ownership 2026-06-02 04:37:38 +00:00
Codex f821cca744 fix: support comments on issue close 2026-06-02 04:03:44 +00:00
Codex e95e1c044a fix: expose apply-patch missing-file errors 2026-06-02 02:35:51 +00:00
Codex db8b1b64af feat: improve github issue lifecycle cli 2026-06-02 02:17:10 +00:00
Codex 8be605aac3 feat: report remote gc target shortfall 2026-06-02 00:26:28 +00:00
Codex bc679b1547 fix: bound remote gc stdout 2026-06-01 23:41:53 +00:00
Codex 6a66553af3 docs: clarify AgentRun HWLAB ownership boundary 2026-06-01 22:59:22 +00:00
Codex d152da95bc fix: show agentrun pipelinerun condition message 2026-06-01 18:40:29 +00:00
Codex 8a0e52ae32 fix: pass agentrun tools image to pipelinerun 2026-06-01 18:27:23 +00:00
Codex db10241761 fix: make agentrun trigger source fetch resilient 2026-06-01 18:22:19 +00:00
Codex 9027a310d3 feat: add agentrun git mirror controls 2026-06-01 17:36:55 +00:00
Codex 79933f3c58 fix: stabilize AgentRun v01 control-plane CLI 2026-06-01 16:27:14 +00:00
Codex f00b946472 fix: improve hwlab v02 status targeting 2026-06-01 15:00:08 +00:00
Codex c06a491841 docs: 强化 AgentRun 文档直推规则 2026-06-01 14:55:18 +00:00
Codex 9a9cdb7fdc fix: add agentrun argo refresh command 2026-06-01 14:47:58 +00:00
Codex 2845db3365 fix: support k3s log selector 2026-06-01 14:42:42 +00:00
Codex 0cecdd9ed3 fix: warn on slow HWLAB v02 build taskruns 2026-06-01 14:27:52 +00:00
Codex 588f764340 docs: clarify observability boundary 2026-06-01 14:06:03 +00:00
Codex 2346c620b7 feat: support gh issue search 2026-06-01 13:40:56 +00:00
Codex 48f3f728e7 docs: record issue progress comment practice 2026-06-01 12:08:05 +00:00
Codex 0f62fa6d06 fix(ci): route npm registry direct in docker build NO_PROXY
The D601 provider-gateway egress proxy (127.0.0.1:18789) is a
WebSocket-tunneled CONNECT proxy to backend-core. Long npm downloads
(playwright tarball ~3MB, plus tarball streaming) trigger ECONNRESET
mid-install, which then compounds into ENOTEMPTY on the next npm
retry because the partial global install is not cleaned up. The
in-dockerfile retry loop (5 attempts) exhausts and the image build
fails at Step 12/37.

The build's --build-arg NO_PROXY only listed localhost / 127.0.0.1 /
::1 / host.docker.internal, so every npm fetch went through the
proxy. Direct curl tests from D601 to registry.npmjs.org succeed at
HTTP 200 with ~280 KB/s, well above what the WS tunnel can sustain
for multi-MB downloads.

Persist the fix in both D601 and G14 pipeline manifests by adding
registry.npmjs.org and .registry.npmjs.org to NO_PROXY so docker
build's npm install goes direct. The proxy is still used for apt-get
and any other traffic that doesn't match the expanded NO_PROXY list,
so unrelated egress continues through the provider-gateway.

Refs: #189
2026-06-01 08:21:32 +00:00
Codex 8ed0e57156 docs(reference): CLI 摩擦改进(交互验证优先 + body-file 范式 + 时区取时细节 + #191 规避)
四处文档改动(2026-06-01 摩擦改进沉淀,不写测试脚本,改完用真实命令交互验证):

- cli.md: Todo Note 段补「复杂 JSON body 优先 --body-file 替代 --body-json」段(避免 shell escape 痛点,支持 stdin)
- secretary-reference.md: 扩「自取北京时间」段(主 server 本地 TZ='Asia/Shanghai' date 即可,跨节点用 ssh route)+ 加「CLI 改进用直接交互调用验证,不写测试脚本」原则段(关联 cli-friction-no-over-testing)+ 加「#191 P0 决策日记 --summary 被吞临时规避」段(摘要写进 body 第一段,等 backend-core 修复)

交互验证清单(2026-06-01 15:39):
- TZ='Asia/Shanghai' date = 2026-06-01 15:39:02 CST 
- microservice proxy todo-note /api/instances/<id> = 200 OK 
- addTodo via --body-file = 200 OK, probe id=todo_9arljoqk 
- deleteTodo via --body-file = 200 OK, probe removed 
2026-06-01 07:42:25 +00:00
Codex 794ae7c1e7 refactor(code-queue): drop implicit-fallback semantics for minimax m2.7
M2.7 and M3 are two parallel configs, not a primary/fallback pair.
Per user feedback, drop the language and any code that framed M2.7 as
a rollback target for M3.

- code-queue-supervision.md, microservices.md, windows-passthrough.md:
  remove 'default/fallback' labels; spell out that M2.7 and M3 are
  parallel, no auto-fallback, switching provider model is an explicit
  ops action.
- scripts/src/code-queue.ts: modelTiers entries for M3 and M2.7 share
  the same 'simple-low-risk' risk; rename
  minimaxM2FallbackCandidate -> minimaxM27Candidate so the dry-run
  command string no longer implies fallback semantics.
- scripts/code-queue-submit-routing-contract-test.ts: drop 'fallback'
  wording in assertions and the 'model registry fallback' check label.

Refs: #189
2026-06-01 07:05:02 +00:00
Codex 8d3197b423 docs(secretary): 每次正式工作前自取最新北京时间作为基准
新增 secretary-reference 原则:进入排程/回读 Todo Note/回写决策/安排时间块前必须自取北京时间作为基准,不能用对话缓存或用户口述时间。
- Why: 用户 2026-06-01 反馈休息后时间偏移(13:43 → 14:57),秘书用对话缓存时间排程会与用户实际位置错位
- How to apply: 取时优先 ssh <route> date 或 NTP 校对本地时间,排程首句明确告知用户当前基准时间
2026-06-01 06:58:31 +00:00
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