Commit Graph

827 Commits

Author SHA1 Message Date
Codex 3c9bcebef8 docs(cli): document owner/repo#number shorthand for issue write commands
Documents that gh issue comment create/delete, close, reopen, update,
edit, and board-row all now accept the owner/repo#number positional
shorthand that gh issue read/view and gh pr * already accept, completing
the shorthand parity across the gh subcommand.

The companion code change (scripts/src/gh.ts) was committed in the
previous commit; this doc update adds the long-term reference for the
new behavior and links it to the HWLAB #621 CLI acceptance friction
that motivated it.
2026-06-03 05:40:54 +00:00
Codex b7a74413b0 docs(g14): v0.2 worktree + PR workflow + recovery + verification gap
The HWLAB v0.2 #744 fix was originally committed directly to v0.2 instead
of going through the canonical feature branch + PR flow. This documents:

- the canonical v0.2 worktree + PR sequence (trans G14:/root/hwlab-v02
  worktree add, fix/issue<N>-* branch, UniDesk CLI gh pr create/merge,
  fixed repo git pull --ff-only)
- a bounded recovery procedure when a direct commit has already landed
  on v0.2 (single-commit case, --force-with-lease, autostash preservation,
  cherry-pick onto the existing worktree branch, re-merge through PR)
- the v0.2 CLI verification gap: no layout-browser smoke exists for
  19666/19667 (dev-cloud-workbench-layout-smoke.mjs is hard-coded to
  16666/16667), so closeout must combine web:check + web:build,
  control-plane status --lane v02, and direct curl/grep probes against
  19666/19667

Closes CLI friction observed during the #744 v0.2 fix process.
2026-06-03 05:40:00 +00:00
Codex e20134ad90 fix(gh): support owner/repo#number shorthand for issue write commands
gh issue comment create/delete, close, reopen, update, edit, and board-row
all now accept the owner/repo#number positional shorthand that gh issue
read/view and gh pr * already accept. This removes the friction of having
to split shorthand into a separate --repo flag and a bare number, and
keeps error messages consistent with the existing shorthand validation.

Discovered during HWLAB #621 CLI acceptance: posting the acceptance
results to the issue required gh issue comment create pikasTech/HWLAB#621,
which previously failed with 'issue comment create must be a positive
integer' and forced a separate --repo flag.
2026-06-03 05:38:09 +00:00
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