Commit Graph

866 Commits

Author SHA1 Message Date
Codex 64c936bf0c feat: improve g14 observability closeout cli 2026-06-05 02:34:13 +00:00
Codex b767c1f331 docs: record G14 observability closeout rules 2026-06-05 01:25:30 +00:00
Codex 56bf2dfa69 feat(hwlab): bootstrap v02 OpenFGA prerequisites 2026-06-05 01:19:50 +00:00
Codex 3875a8f08e fix: keep G14 observability apply bounded 2026-06-05 00:23:22 +00:00
Codex 9b85ee7345 feat: add G14 observability control CLI 2026-06-05 00:20:06 +00:00
Codex 384fd613ff fix: relax gh number target compatibility 2026-06-05 00:18:29 +00:00
Codex 316fdedc3f docs: specify G14 observability infrastructure 2026-06-04 23:41:08 +00:00
Codex d513d560d9 fix: add hwlab v02 closeout verdict 2026-06-04 23:21:52 +00:00
Codex b3d52b03cf fix: align hwlab v02 service matrix 2026-06-04 17:45:22 +00:00
Codex 424d99b66e fix: make hwlab monitor status read-only 2026-06-04 17:36:25 +00:00
Codex fe1d034504 fix: relax hwlab v02 web asset probe 2026-06-04 17:31:15 +00:00
Codex f287720d75 fix: speed up hwlab v02 trigger reuse 2026-06-04 17:22:55 +00:00
Codex 7367488e28 fix: recheck hwlab v02 head before reuse 2026-06-04 16:44:58 +00:00
Codex 570a2412f3 fix: coalesce hwlab v02 mirror presync 2026-06-04 16:33:50 +00:00
Codex 2450f8bc0c fix: harden hwlab v02 concurrent triggers 2026-06-04 16:18:34 +00:00
Codex 08da0805bb fix: make hwlab v02 cd latest-only 2026-06-04 14:44:02 +00:00
Codex e19c77fd86 fix: treat idle monitor progress as healthy 2026-06-04 12:48:43 +00:00
Codex 4cbe3a03f4 fix: mark idle v02 PR monitor progress 2026-06-04 12:46:50 +00:00
Codex 7a5312e645 feat: automate HWLAB v02 PR CD monitor 2026-06-04 12:43:08 +00:00
Codex 2c67aa5a36 fix: expose issue lifecycle json fields 2026-06-04 10:54:49 +00:00
Codex 17e0be8580 docs: clarify HWLAB Cloud Web validation 2026-06-04 10:33:23 +00:00
Codex 7ef98fbe08 docs: clarify v02 final response closeout 2026-06-04 10:31:06 +00:00
Codex c5d85d5409 docs: preserve parallel UniDesk updates 2026-06-04 10:21:52 +00:00
Codex 85b93d2cba docs: clarify HWLAB v0.2 closure validation 2026-06-04 10:18:38 +00:00
Codex 80be60ac56 docs: document v02 web trace closeout contract 2026-06-04 10:15:02 +00:00
Codex 58705e4fea docs: record mxcx recovery operation rules 2026-06-04 04:46:09 +00:00
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 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