Commit Graph

474 Commits

Author SHA1 Message Date
Codex 3d44acfb15 fix: guide mxcx apply-patch stale context recovery 2026-06-04 03:24:03 +00:00
Codex e30c8cb1c3 fix(gh): relax pr list --json whitelist and add issue close --comment-file (#780 1+2)
Issue 1 of #780: gh pr list --json whitelist is unintuitive.
merged / closedAt / mergedAt / mergeCommit are basic per-PR
fields already returned by GitHub list API and already
projected by prSummary(); they were previously rejected by
the prListJsonFields validator. Add them to PR_LIST_JSON_FIELDS
so callers no longer have to fall back to a pr view per-PR.
mergeable / mergeStateStatus / statusCheckRollup remain
closeout fields that still require a per-PR pr view.

Issue 2 of #780: gh issue close --comment only accepts short
inline text; long Markdown closeout bodies had to escape
backticks, newlines and \\ in shell, then bash heredoc.
Add --comment-file <file|-> to issue close/reopen, which
mirrors the existing --body-file plumbing through
readIssueLifecycleCommentBody. --comment and --comment-file
are mutually exclusive; both remain mutually exclusive with
--body and --body-file.

Verified live:
- gh pr list --repo pikasTech/HWLAB --state closed --json
  number,merged,mergedAt,closedAt,mergeCommit returns real data
  (number=781 merged=true mergedAt=2026-06-03T14:22:32Z
   closedAt=2026-06-03T14:22:32Z
   mergeCommit={oid:3ac4cf8d2e4dfadb251cad53bf35d08b86d73840})
- gh pr list --json mergeable,statusCheckRollup still rejected
  with 'unsupported closeout field(s)' pointing to pr view
- gh issue close 780 --comment-file /tmp/test-close-comment.md
  --dry-run reports comment.planned=true bodyChars=155
  bodySource.kind=body-file
- gh issue close 780 --comment 'x' --comment-file /tmp/x.md
  --dry-run fails with --comment and --comment-file are
  mutually exclusive
2026-06-03 15:13:17 +00:00
Codex b86bcb3d4d fix: strengthen apply-patch v2 mxcx hints 2026-06-03 14:36:53 +00:00
Codex a264626472 fix: guide minimax away from sed patch fallbacks 2026-06-03 13:27:59 +00:00
Codex 67a0446e51 fix: improve minimax apply-patch compatibility 2026-06-03 13:07:24 +00:00
Codex d012fe9a5e fix: support minimax large multi-hunk patches 2026-06-03 10:12:16 +00:00
Codex 1d542d82b5 fix: accept minimax apply-patch add delete quirks 2026-06-03 09:58:20 +00:00
Codex fef55cafb1 fix: update hwlab v02 web asset probe for React Vite 2026-06-03 09:58:20 +00:00
Codex b2a1289295 fix: clarify apply-patch delete-file misuse 2026-06-03 09:49:56 +00:00
Codex 1de0e08ae7 fix: improve apply-patch add-file guidance 2026-06-03 09:30:10 +00:00
Codex 4dd75fff29 fix: reject shell strings in trans argv 2026-06-03 07:05:53 +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 7f52953a8f fix: accept v02 docs-only pipeline status 2026-06-02 12:33:46 +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 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 106348fe79 fix: align v02 target validation with rollout services 2026-06-02 05:19:10 +00:00
Codex 9f8a10ac26 docs: record hwlab agentrun failure attribution 2026-06-02 04:44:01 +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 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 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 2346c620b7 feat: support gh issue search 2026-06-01 13:40:56 +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 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 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 114d2e8208 fix: isolate v02 cicd source repo 2026-05-31 17:00:24 +00:00