Commit Graph

74 Commits

Author SHA1 Message Date
Lyon edc437cdd8 refactor: split github cli implementation (#908)
Co-authored-by: Codex <codex@noreply.local>
2026-06-26 00:16:53 +08:00
Lyon 04f8ab2238 fix: bound web-probe and gh diagnostic output (#884)
Co-authored-by: Codex <codex@noreply.local>
2026-06-25 20:46:41 +08:00
Lyon 30613bb515 fix: harden web probe observe diagnostics (#684)
Co-authored-by: Codex <codex@noreply.local>
2026-06-22 22:22:27 +08:00
Lyon 9450d4f6f6 fix: render gh issue create failures as table (#666)
Co-authored-by: Codex <codex@noreply.local>
2026-06-22 16:26:33 +08:00
Lyon 32e293f6ce fix: avoid undefined record in issue list renderer (#665)
Co-authored-by: Codex <codex@noreply.local>
2026-06-22 15:44:41 +08:00
Lyon 3421a5bc96 fix: render gh issue comments as table (#664)
Co-authored-by: Codex <codex@noreply.local>
2026-06-22 15:43:09 +08:00
Lyon 5462aca6d7 fix: render gh issue list as table (#663)
Co-authored-by: Codex <codex@noreply.local>
2026-06-22 15:40:39 +08:00
Lyon 3c90fc616e fix: point pr create next step to one-command merge (#655)
Co-authored-by: Codex <codex@noreply.local>
2026-06-22 14:15:49 +08:00
Lyon 865e81e7f7 fix: make gh pr merge one-command guarded merge (#654)
Co-authored-by: Codex <codex@noreply.local>
2026-06-22 14:14:47 +08:00
Codex 59f4a39f30 fix: render gh issue create as table 2026-06-21 16:01:11 +00:00
Codex a4a81c0c2c fix: render gh pr create as table 2026-06-21 15:47:57 +00:00
Codex 57861e5e70 fix: render gh merge result as table 2026-06-21 15:45:54 +00:00
Codex 1be65819d7 fix: render gh preflight as table 2026-06-21 15:44:08 +00:00
Codex 5c2369f78a fix: dump oversized CLI output via YAML policy 2026-06-21 15:20:24 +00:00
Codex 6d0054c78c fix(cli): compact gh view and web-probe failures 2026-06-20 10:11:24 +00:00
Codex 028679cfcb fix: scope gh subcommand help output 2026-06-16 01:34:38 +00:00
Codex 2e5adaa49b fix: improve feedback issue lookup help 2026-06-15 13:37:39 +00:00
Codex ae1785b74e feat: support GitHub issue attachment download 2026-06-15 10:19:35 +00:00
Codex 779721ea73 feat: add GitHub issue body patching 2026-06-15 02:56:11 +00:00
Codex 5f3b6596e2 fix: expose issue commentCount field 2026-06-09 10:47:31 +00:00
Codex 35eb888710 fix: 支持 GitHub 评论原地编辑 2026-06-09 10:09:33 +00:00
Codex 0bae3af934 feat: add heredoc body input to gh cli 2026-06-06 01:27:52 +00:00
Codex 74dc0b8c62 fix: make pr merge idempotent for merged prs 2026-06-05 15:10:24 +00:00
Codex 171325f48d feat: add GitHub repo create CLI 2026-06-05 10:10:13 +00:00
Codex 384fd613ff fix: relax gh number target compatibility 2026-06-05 00:18:29 +00:00
Codex 2c67aa5a36 fix: expose issue lifecycle json fields 2026-06-04 10:54:49 +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 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 f821cca744 fix: support comments on issue close 2026-06-02 04:03:44 +00:00
Codex db8b1b64af feat: improve github issue lifecycle cli 2026-06-02 02:17:10 +00:00
Codex 2346c620b7 feat: support gh issue search 2026-06-01 13:40:56 +00:00
Codex 57f6345428 fix: align gh pr option aliases 2026-05-31 11:09:31 +00:00
Codex a8b4371665 fix: improve cli visibility for hwlab rollout 2026-05-31 10:40:34 +00:00
Codex 32b3bd7ce4 fix: smooth hwlab pr and rollout visibility 2026-05-31 08:35:12 +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 6802fad158 feat: automate HWLAB G14 PR rollout monitoring 2026-05-27 06:35:01 +00:00
Codex 3a1cc547e3 fix: support inline issue comment body 2026-05-24 12:04:43 +00:00
Codex 026ab7d454 fix: 压缩 gh issue update 成功输出 2026-05-24 11:34:46 +00:00
Codex 99e91c1c83 fix: downgrade hwlab board routing guard 2026-05-24 02:55:00 +00:00
Codex 2a386a17da fix: 修复 CLI repo 与状态别名解析 2026-05-24 02:15:37 +00:00
Lyon 86f388722f fix(commander): add ClaudeQQ approval proxy draft path (#134)
Co-authored-by: Codex <codex@noreply.local>
2026-05-23 19:22:07 +08:00
Codex 431d6bd25b fix(cli): bound large gh output 2026-05-23 10:48:31 +00:00
Codex 3ad0cb888e fix: expose PR closeout metadata 2026-05-23 08:49:55 +00:00
Codex 90ffd028de feat: add gh pr preflight helper 2026-05-23 08:42:41 +00:00
Codex c2f99cb51f feat: add bounded codex unread triage 2026-05-23 08:20:08 +00:00
Codex cb8335306f fix: guard hwlab product routing from issue 20 2026-05-23 08:11:17 +00:00
Lyon 55c1b296ff fix: classify transient GitHub connectivity
Merge PR #102 after rebasing onto current master and validating focused GitHub transient/Code Queue preflight behavior. GitHub DNS/API failures now classify as retryable github-transient with retry/backoff or keep-fresh-heartbeat-task guidance.
2026-05-23 15:49:29 +08:00
Codex 6c1282bb99 fix(cli): expose merged PR closeout fields 2026-05-23 07:36:48 +00:00
Codex c33dd9a7b3 fix: add REST PR file summary CLI 2026-05-23 07:26:13 +00:00