Commit Graph

889 Commits

Author SHA1 Message Date
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 8dae177795 docs: add progress log distillation guidance 2026-06-03 14:15: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 e806218184 docs(g14): v0.2 cloud web button/JS sync rule from HWLAB #748
Capture the regression class behind #748 (orphan el.<removed-field>.addEventListener after a button is removed from index.html): Bun.build is transpile-only so web:check does not catch it, and the runtime crash only surfaces on init.

Adds the minimal closeout checks (grep dist + curl 19666 + control-plane status) and a one-liner orphan listener scan that authors can run while the PR is open.

Refs: pikasTech/HWLAB#748
2026-06-03 06:59:15 +00:00
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