Commit Graph

50 Commits

Author SHA1 Message Date
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
Codex bcac2bced3 feat: add REST PR edit CLI 2026-05-23 07:11:42 +00:00
Codex d0c762da06 fix(cli): support gh read shorthand raw 2026-05-23 05:11:12 +00:00
Codex 2bd36e7e9c fix: disable board audit coverage validation 2026-05-23 03:16:44 +00:00
Codex 210f4b9e73 fix: support gh pr list state filter 2026-05-22 18:00:10 +00:00
Lyon 2a8e9a5cd3 fix(cli): expose PR closeout metadata
Host commander merge after read-only audit. PR #72 is CLEAN/MERGEABLE and limited to UniDesk CLI PR closeout metadata: mergeability/status fields for gh pr read/view plus contract test/docs. Runner validation reported gh-cli-pr-contract-test and live metadata query; no HWLAB business code touched.
2026-05-23 00:35:06 +08:00
Codex 133d417d01 fix: guard board against commander brief pollution 2026-05-21 13:33:49 +00:00
Codex 27d0ddff51 feat: add gh board-row upsert 2026-05-21 10:25:40 +00:00
Codex e4e18736f2 fix: exclude daily briefs from board audit 2026-05-21 09:53:49 +00:00
Codex 6e79a34373 gh board-row mutations 2026-05-21 09:49:34 +00:00
Codex b5486a61ab fix: support rolling commander brief profile 2026-05-21 07:52:26 +00:00
Codex 422274f0e3 feat: add gh board row cli 2026-05-21 07:11:57 +00:00
Codex 32d3517fa9 fix: expose gh read/view help surface 2026-05-21 04:33:43 +00:00
Codex 94e9467c30 fix: unify gh read and CRUD semantics 2026-05-21 03:36:17 +00:00
Codex acc03b10f4 fix: reduce board audit noise 2026-05-20 22:08:23 +00:00
Codex 27b14bef76 fix: reduce board audit noise 2026-05-20 21:54:55 +00:00
Codex 68ae2722ab feat: add issue board audit cli 2026-05-20 21:20:57 +00:00
Codex 19933a6d15 fix: support labels for gh issue create 2026-05-20 20:22:50 +00:00
Codex 05bc8aab5a fix: harden gh issue escape hygiene 2026-05-20 14:31:57 +00:00
Codex b8cc847e48 feat(cli): unify gh issue and pr crud 2026-05-20 12:52:58 +00:00
Codex 4b65f713fa Add gh issue list REST contract 2026-05-20 12:27:12 +00:00
Codex 8f2dc6d33c fix: harden gh issue body updates 2026-05-20 10:54:55 +00:00
Codex ba8bdc828e feat: notify ClaudeQQ on commander brief updates 2026-05-20 10:34:24 +00:00
Codex 2bd1b0a1d6 feat: add safe gh pr create/comment 2026-05-20 09:56:21 +00:00
Codex ca74677703 feat: add safe GitHub CLI wrapper 2026-05-20 08:32:29 +00:00