88 Commits
Author SHA1 Message Date

2026-08-24

lezi 2ee29ac648 Merge pull request #19 from lezi-fun/feat/sync-nodeloc-v1.2.0
feat: sync ghbot-Nodeloc v1.2.0 capabilities into upstream
2026-08-24 13:13:08 +07:00
lezi-fun a5108b2c36 Merge branch 'main' into feat/sync-nodeloc-v1.2.0
Combines the oversized-prompt instructions-file fix from main with the
fork's cleanup and redaction hardening: agent container, workspace
permissions, proxy, and prompt temp directory all clean up without
aborting each other.
2026-08-24 13:52:49 +08:00
lezi-fun d933e99ad9 fix: pass oversized goose prompts via instructions file
Linux execve caps a single argv string at MAX_ARG_STRLEN (128 KiB), so
review prompts larger than that failed to spawn goose with E2BIG before
any model call was made. Prompts above a 96 KiB safety margin are now
written to a temporary file and handed to goose through --instructions
(-i) on both the direct runner path and the Docker agent path (mounted
read-only at /prompt/goose-prompt.md). Small prompts keep using --text.
2026-08-24 12:09:06 +08:00
lezi-fun 9e47ab339e feat: sync ghbot-Nodeloc v1.2.0 capabilities into upstream
Merges all 33 commits from lza6/ghbot-Nodeloc (v1.0.0 through v1.2.0)
while keeping both sides' features in every conflicted file:

- EventRouter dispatch extracted from runReview.ts (7.1), with the
  runtime environment block preserved on the review-start comment
- Unified command ack messages (6.3) combined with the collapsed
  runtime environment block and bot signature on /recheck replies
- Status banner and collapsible unposted findings in review bodies (6.1)
- Centralized runtime directories behind GHBOT_RUNTIME_DIR (D-13);
  webhook knowledge cache now lives under tempRootDirectory()
- Production hardening for merge races, timeouts, webhook ops;
  atomic temp-file rename for R2 cache restores kept from upstream
- Webhook parity retained: triage events gated by WEBHOOK_TRIAGE_ENABLED,
  read-only command guidance, repository knowledge injection,
  runtime environment block on webhook chat replies
- Sanitization/secret redaction centralization, error-aware retry,
  duplicate merge prevention, in-process webhook retries, /metrics
- Infra: eslint/prettier gates with CI verify workflow, docs archives

typecheck, eslint, prettier format:check, and 164 tests all pass.
2026-08-24 11:47:28 +08:00

2026-08-22

lezi-fun a6e3fd2fc5 feat: bring webhook mode closer to action mode
Webhook deliveries now run the same issue and PR triage as action mode on open/edit/reopen events, gated by WEBHOOK_TRIAGE_ENABLED; @bot answers embed the host-curated repository knowledge cache from R2 (never the uninitialized scaffold); exact /recheck and /conflict commands get a guidance reply pointing to action mode instead of silence. Cache restores write through a temporary file and rename so concurrent webhook work never reads a partial object. Documents that all webhook local writes stay inside the current working directory.
2026-08-22 11:36:46 +08:00
lezi-fun ec601bef93 feat: append a collapsible runtime environment to bot comments
Comments in which ghbot starts or completes an operation now end with a collapsed Runtime environment block (trigger, runner, goose model and version, review policy, automation flags, cache state) followed by a Created By GHBot signature linking to this repository. The template is shared by action-mode progress, recheck, completion, and PR chat comments; the workflow exports the pinned GOOSE_VERSION so the displayed version is truthful.
2026-08-22 11:36:39 +08:00

2026-08-18

lezi-fun 625ba79dbb feat: allow organization members in webhook chat 2026-08-18 21:25:29 +08:00
lezi-fun 3adf4a41a2 fix: hide resolved review threads 2026-08-18 19:44:36 +08:00
lezi-fun ceec15bf28 fix: separate review phases and resolve stale threads 2026-08-18 18:10:34 +08:00
lezi-fun e690b530c8 feat: add optional GitHub App webhook mode 2026-08-18 17:35:35 +08:00

2026-08-14

lezi-fun 333bffb099 fix: expose conflict validation failures 2026-08-14 17:02:50 +08:00
lezi-fun 51852fcfb2 feat: verify duplicate pull requests in two stages 2026-08-14 16:12:09 +08:00
lezi-fun 23369b941e fix: hide superseded bot reviews 2026-08-14 15:00:01 +08:00
lezi-fun 5a00aa48b6 fix: attribute conflict commits to app bot 2026-08-14 14:36:33 +08:00
lezi-fun 351d3148aa fix: harden conflict resolution pipeline 2026-08-14 14:18:42 +08:00
lezi-fun decf7ab8b4 fix: extend conflict resolution budgets 2026-08-14 13:54:13 +08:00
lezi-fun 508f6423c4 fix: keep conflict editing focused 2026-08-14 13:48:44 +08:00
lezi-fun 135bc060e2 fix: avoid slow conflict whitespace retries 2026-08-14 13:40:58 +08:00
lezi-fun 785cddedd9 fix: bound conflict repair runtime 2026-08-14 13:28:18 +08:00
lezi-fun 31756e84ba fix: retry conflict validation repairs 2026-08-14 12:40:44 +08:00
lezi-fun eb67012e82 fix: scope conflict confirmation to agent changes 2026-08-14 12:26:33 +08:00
lezi-fun 54fc6ee494 fix: repair conflict diff check failures 2026-08-14 12:16:29 +08:00
lezi-fun 57b2c22a00 fix: keep fork commit reviews API-only 2026-08-14 12:09:35 +08:00
lezi-fun d36668c5c7 fix: configure git identity before conflict merge 2026-08-14 11:59:52 +08:00
lezi-fun c2f39d452b fix: prepare complete history for conflict repair 2026-08-14 11:57:41 +08:00
lezi-fun 0e914c6bc6 feat: resolve conflicts in editable fork PRs 2026-08-14 11:52:38 +08:00
lezi-fun 3a0e0fb0b6 fix: let agent finish tool-heavy chat tasks 2026-08-14 11:46:57 +08:00
lezi-fun 46dea81631 fix: avoid stale repository knowledge writes 2026-08-14 11:43:44 +08:00
lezi-fun 8f9101e5cd fix: clean agent-owned snapshot files 2026-08-14 11:24:32 +08:00
lezi-fun fae82f9151 fix: bound snapshot permission traversal 2026-08-14 11:18:27 +08:00
lezi-fun b6239fc458 fix: make agent snapshots writable 2026-08-14 11:15:56 +08:00
lezi-fun 087b19e705 feat: localize PR chat replies 2026-08-14 10:18:36 +08:00
lezi-fun 3647944ad7 fix: reuse Goose binary in agent containers 2026-08-14 10:07:48 +08:00
lezi-fun 6f2594f994 fix: keep review progress best effort 2026-08-14 09:35:53 +08:00
lezi-fun 4d73d1f30c fix: refresh reviews after new commits 2026-08-14 09:16:07 +08:00

2026-08-13

lezi-fun ed3e1bd72c Initialize knowledge before persistent save 2026-08-13 22:55:42 +08:00
lezi-fun e8ee698fa4 Add R2 persistence and manual conflict repair 2026-08-13 22:42:43 +08:00
lezi-fun 2d50da41cd Initialize repository knowledge cache 2026-08-13 22:04:41 +08:00
lezi-fun 14a30a3695 Stop deleting review caches on PR close 2026-08-13 22:00:07 +08:00
lezi-fun f9c632e6ab Add configurable review modes and conflict recovery 2026-08-13 21:54:50 +08:00
lezi-fun 8c4e866765 Migrate automation from OpenCode to goose 2026-08-13 14:24:16 +08:00
lezi-fun adf6c60a70 Merge main without scheduled branch cleanup 2026-08-13 11:04:23 +08:00
lezi-fun 8aaecb4dc7 Migrate review automation to OpenCode 2026-08-13 10:55:00 +08:00

2026-05-19

lezi-fun c400b78989 Skip configured cleanup branches 2026-05-19 17:20:44 +08:00
lezi-fun af332a5d1c Avoid deleting reused PR branches 2026-05-19 17:03:54 +08:00
lezi-fun 8b0aeac3e1 Add scheduled branch cleanup 2026-05-19 16:55:45 +08:00

2026-05-17

lezi-fun 27db22cd78 Ignore workflow self-checks during automerge 2026-05-17 21:07:48 +08:00
lezi-fun 8bf35b8f42 Add app comment test file 2026-05-17 20:57:39 +08:00
lezi-fun b650995f66 Rename GitHub App secrets for Actions 2026-05-17 20:38:22 +08:00
lezi-fun 4a1ec34c71 Merge remote-tracking branch 'origin/main' 2026-05-17 20:31:24 +08:00
lezi-fun af08f0a478 Reduce review prompt strictness 2026-05-17 20:30:28 +08:00
lezi-fun 8505a5b4fc Wire GitHub App auth through workflows 2026-05-17 17:28:33 +08:00
lezi-fun 9a0a0cdf45 Clarify lenient approval UI step 2026-05-17 17:21:37 +08:00
lezi-fun 8bc1094688 Add GitHub App authentication fallback 2026-05-17 17:16:30 +08:00
lezi-fun 3e6caa6730 Fallback to comment review when approval is blocked 2026-05-17 16:59:15 +08:00
lezi-fun a819e22572 Broaden Codex review findings and fix tips 2026-05-17 16:23:26 +08:00
lezi-fun e93e988b53 Preserve proxy and CA env for Codex 2026-05-17 16:16:22 +08:00
lezi-fun 218de81df1 Fix Codex subprocess env logging 2026-05-17 16:08:17 +08:00
lezi-fun 8bedfcee17 Use minimal env for Codex subprocess 2026-05-17 16:07:38 +08:00
lezi-fun e84da1caf3 Prevent sensitive env reintroduction 2026-05-17 16:03:10 +08:00
lezi-fun 6738a6f8bb Sanitize Codex child process environment 2026-05-17 15:52:32 +08:00
lezi-fun 5d42ba1919 Run reusable workflow from ghbot runtime 2026-05-17 15:25:50 +08:00
lezi-fun 12284e57c8 Increase Codex CLI review timeout 2026-05-17 11:19:06 +08:00
lezi-fun 22ee162cbf Handle outside approvals and scheduled fallback 2026-05-17 10:38:27 +08:00
lezi-fun 6d14749626 Require successful lenient review before merge 2026-05-17 10:26:32 +08:00
lezi-fun de5c10115b Use admin-or-writer lenient approval 2026-05-17 10:13:30 +08:00
lezi-fun 298baea998 Add reusable review workflow 2026-05-17 09:56:11 +08:00
lezi-fun 3b7ca153f9 Remove temporary review test files 2026-05-17 09:47:42 +08:00
lezi-fun 58b4233e45 Document Codex review result flow 2026-05-17 09:24:31 +08:00
lezi-fun a638d9dbc5 Persist Codex review result to file 2026-05-17 09:13:53 +08:00
lezi-fun 04ec203b61 Align Codex CLI config with local setup 2026-05-17 09:03:03 +08:00
lezi-fun 003523b6b7 Improve Codex CLI runtime logging 2026-05-17 08:57:20 +08:00

2026-05-16

lezi-fun b116b23b4b Add Codex CLI timeout and streaming logs 2026-05-16 19:31:23 +08:00
lezi-fun ae347607fa Add PR 7 test file 2026-05-16 19:22:33 +08:00
lezi-fun 631e6d3d96 Remove test file from main 2026-05-16 19:20:00 +08:00
lezi-fun e400ffdef9 Fix Codex CLI runner invocation 2026-05-16 19:19:10 +08:00
lezi-fun 93b1a5481b Add hello world test file 2026-05-16 19:12:27 +08:00
lezi-fun 341a6ce69b Use Codex CLI for PR reviews 2026-05-16 19:00:29 +08:00
lezi-fun fd9479590a Retry failed review requests 2026-05-16 18:42:56 +08:00
lezi-fun 50d0ae5be9 Convert reviewer to GitHub Actions workflow 2026-05-16 13:15:14 +08:00

2026-05-15

lezi-fun 9d40d7850f Clarify self-hosted start output path 2026-05-15 22:16:00 +08:00
lezi-fun 0ee7c81f11 Fix start script output path 2026-05-15 22:01:12 +08:00

2026-05-12

lezi-fun 363b218b0e Use Responses API for reviews 2026-05-12 22:23:19 +08:00
lezi-fun 42853077c7 Fix Vercel TypeScript build 2026-05-12 21:46:24 +08:00
lezi-fun 34191e4872 Require owner approval for lenient merges 2026-05-12 21:39:03 +08:00
lezi-fun 5cca2e8564 Add lenient review check action 2026-05-12 21:32:04 +08:00
lezi-fun 63eba2db87 Update MIT license holder 2026-05-12 21:25:18 +08:00
lezi-fun c6bf0346b4 Initial open source GitHub PR review bot 2026-05-12 21:23:43 +08:00