Commit Graph

13 Commits

Author SHA1 Message Date
ee755ebecb Promote a pipeline-held go once the pipeline is green, and stop calling every wait "nunggu MR lain". lti-api !1388 was a go held at waiting because its pipeline was still running; the pipeline turned green but only a new commit could move the verdict, so the board never offered Gas and labelled it as waiting on another MR. The Hub now restores the model's go (and its own reason) on the next poll when the reviewed commit's pipeline is success, edits the verdict note and notifies; a waiting the model chose itself stays. The board's waiting mark is an hourglass with a neutral label.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 19:31:15 +07:00
2723f9b998 Retry when the model provider fails a turn instead of calling it invalid JSON. A Codex turn that ends failed (9router "high demand" on lti-api !1388 and lti-web-client !859) left an empty answer that Labuh parsed as invalid JSON, answered with "Labuh rejected your verdict", and gave up within a minute. Now the turn error surfaces as ReviewerUnavailable, no rejection prompt is sent, the queue waits 2/4/8/16/32 minutes, and only then posts a manual-check comment that says the model could not be reached. An empty answer from a completed turn is reported as empty.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 18:02:52 +07:00
710782b786 Fit the harbour to the viewport on laptop and phone so Prod, Staging and the shore never need a page scroll.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-09 15:43:12 +07:00
358a6ab304 Gas waits for GitLab to compute mergeability instead of refusing. An unchecked (or checking/preparing/approvals_syncing) status now makes the Hub ask for a recheck as the merge account, every 30 seconds, and give up only after two minutes; lti-api !1384 was refused twice because nobody ever asked.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:45:35 +07:00
f87272a3e4 Hand deploy findings to devops instead of the developer.
Rubric R13 makes CI, Dockerfile, compose and manifest findings devops-owned; the Hub tags hub.json devops users once when such findings appear.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 12:28:47 +07:00
71962e853f Keep git inside the checkout folder so an empty work dir cannot hijack the outer repo.
An empty .work/<mr>/repo inside a git checkout made rev-parse find the outer repository, so set-url, fetch and checkout --force ran there; GIT_CEILING_DIRECTORIES pins git to the folder.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 12:28:47 +07:00
37e9e29c9a Fix stamp overlapping evidence links in the detail card.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-08 02:37:06 +07:00
9c66b83e41 Give the phone a native harbour scene with interruptible dermaga pans.
Replace stacked zone strips with one water scene per dermaga, a shore sheet, and a continuous Prod↔Staging camera pan; closing Perlu kamu clears the dim filter.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-08 02:33:25 +07:00
1b246afdde Merge pull request 'Give the phone its own harbour UI instead of a squeezed desktop.' (#1) from cursor/mobile-harbour-sheet into main
Reviewed-on: #1
2026-11-08 03:02:45 +08:00
2a0b65c30b Give the phone its own harbour UI instead of a squeezed desktop.
Full-screen water with a floating dock and bottom sheet for detail, clearer boats and Gas actions, plus a branded gate and a fixed sheet-over-scrim stack.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-08 01:59:40 +07:00
da05aeb503 0.1.2: servers fetch checkouts over HTTPS
- With GITLAB_TOKEN set (a server has no SSH key), the reviewer's checkout is
  fetched over HTTPS. git gets the token through its environment, so it is
  never written into the checkout the reviewer container reads.
- Without it (a laptop), checkouts still use SSH and the operator's key.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 20:56:08 +07:00
b8986003c9 0.1.1: the reviewer has no built-in name
- Board text, timelines, the sign-in page and notifications use the name in
  reviewer.json; nothing says Pandu any more.
- Examples and docs use the brand: reviewer "Labuh", bot "labuh-bot",
  mentions "@labuh".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 19:52:49 +07:00
112923640d 0.1.0: first release — review, harbour, Gas, deploys and releases
- Pandu reviews every MR labelled `labuh` through Codex app-server and answers
  in a fixed shape; the Hub checks each piece of evidence, applies hard rules
  the model cannot override, retries once, and posts the comments itself.
- The board shows the harbour: lanes per environment, Dicek / Siap gas /
  Beres, two fixed berth rows, boats that glide; GitLab sign-in, approvers
  from board.json, works on a phone.
- Gas, Tunda, Tolak and Tutup MR with 15 seconds to undo; the Hub checks
  GitLab again and merges the reviewed commit only, then follows the deploy.
- Branches that deploy from tags get a proposed version and changelog; the
  approver confirms the number and the Hub creates the annotated tag.
- Telegram notifications, reminders, dry mode for rehearsals.
- Hosting: one image, three containers. The reviewer runs in its own container
  with no GitLab token and read-only checkouts, reached by the Hub over a
  token-guarded WebSocket; every command it asks for still passes the Hub's
  allowlist. Configuration and state live in LABUH_HOME.
- AGPL-3.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 19:39:58 +07:00