Commit Graph
100 Commits
Author SHA1 Message Date
Colin McDonnellandpullfrog[bot] 3a975cc384 Add md <> code comments 2026-01-24 18:56:51 +00:00
Colin McDonnellandpullfrog[bot] 210084a3b6 Make prompt construction more disciplined (#173)
* Make prompt construction more disciplined

* Clean up

* Tweaks
2026-01-24 18:49:47 +00:00
Colin McDonnellandpullfrog[bot] b860c8a665 Cut down unnecessary logs 2026-01-23 06:47:40 +00:00
Colin McDonnellandpullfrog[bot] 5d4f81a007 Improve logging on resovelBody 2026-01-23 06:33:29 +00:00
Colin McDonnellandpullfrog[bot] 7621d6f0e5 tests and better diffs (#163)
* refactor get_review_comments to use reviewThreads graphql api with full thread context and proper diff extraction

* Improve get_review_comments output

* Improve tests and diffs

* GH_TOKEN

* Added back approved_by

* Fix CI
2026-01-23 06:28:22 +00:00
Colin McDonnellandpullfrog[bot] 41fb0e78be remove duplicate 2026-01-22 06:17:13 +00:00
Colin McDonnellandpullfrog[bot] 57895ae342 Update lock 2026-01-22 06:15:49 +00:00
Colin McDonnellandpullfrog[bot] c15049446f Improve logging for failed bash 2026-01-22 01:00:58 +00:00
Colin McDonnellandpullfrog[bot] 5740eba150 Hide trigger:workflow_dispatch from prompt 2026-01-21 23:04:39 +00:00
Colin McDonnellandpullfrog[bot] c6dfe4fa10 Update workflows 2026-01-21 03:27:12 +00:00
Colin McDonnellandpullfrog[bot] df4e7a9a4a Update workflows 2026-01-21 03:25:32 +00:00
Colin McDonnellandpullfrog[bot] 6af0c721ba Update workflows 2026-01-21 03:24:35 +00:00
Colin McDonnellandpullfrog[bot] 2f3c48edb6 Add get_commit_info 2026-01-21 03:22:29 +00:00
Colin McDonnellandpullfrog[bot] 22704dda35 Improve prInfo. Fix prompt duplication 2026-01-21 03:12:44 +00:00
Colin McDonnellandpullfrog[bot] 01ee59a96c Restrict github token (#140) 2026-01-21 02:17:46 +00:00
Colin McDonnellandpullfrog[bot] ecbbc3ae6f Comment review tool 2026-01-21 01:18:17 +00:00
Colin McDonnellandpullfrog[bot] a3a1530da2 Improve PR review diffs (#139)
* Improve PR review diffs

* Clean up

* Add logging
2026-01-21 00:50:19 +00:00
Colin McDonnellandpullfrog[bot] 1edeaa0f4c Add reaction to one-comment PRs 2026-01-21 00:16:14 +00:00
Colin McDonnellandpullfrog[bot] c3ac7d9ff0 log.debug content 2026-01-21 00:01:06 +00:00
Colin McDonnellandpullfrog[bot] d98f6c8029 Switch back to grpahql for review threads 2026-01-20 23:59:52 +00:00
Colin McDonnellandpullfrog[bot] a5fffc97a5 Clean up ymls 2026-01-20 23:18:20 +00:00
Colin McDonnellandpullfrog[bot] ce123c9a57 Clean up prompts (#126)
* Clean up prompts

* Drop in-payload review comments
2026-01-20 00:13:55 +00:00
Colin McDonnellandpullfrog[bot] 8f6912deda Fix macros 2026-01-19 21:42:23 +00:00
Colin McDonnellandpullfrog[bot] 7369e952e4 Fix build 2026-01-19 17:51:13 +00:00
Colin McDonnellandpullfrog[bot] fa01f9c06d Add background mode to bash tool (#122)
* Implement background bash

* Tweaks
2026-01-19 17:47:01 +00:00
Colin McDonnellandpullfrog[bot] f65cb4d2e3 Fix undefined bug 2026-01-19 17:44:12 +00:00
Colin McDonnellandpullfrog[bot] e1b017f6e2 Make review tool more robust 2026-01-19 17:32:08 +00:00
Colin McDonnellandpullfrog[bot] 485c76457f Fix effort defaulting bug 2026-01-19 17:16:45 +00:00
Colin McDonnellandpullfrog[bot] 995b39a122 refactor: server-side user prompt construction with @pullfrog tag check (#123)
- Move prompt construction logic from action-side to server-side (webhook handler and trigger page)
- Include issue/comment body in USER PROMPT only if @pullfrog was tagged (checked server-side using containsTriggerPhrase)
- Add repoInstructions as separate REPO-LEVEL INSTRUCTIONS section in FULL prompt
- Macro-expand repoInstructions server-side before sending to action
- Trigger page never includes body (manual triggers)
- Remove redundant customInstructions field (now combined into prompt server-side)

files changed:
- action/external.ts: add repoInstructions to WriteablePayload, remove customInstructions
- action/utils/payload.ts: add repoInstructions to JsonPayload schema, remove customInstructions
- action/utils/repoSettings.ts: add repoInstructions to RepoSettings interface
- action/utils/instructions.ts: use payload.prompt directly, add repo section to full prompt, add repo field to ResolvedInstructions
- utils/webhooks/handleWebhook.ts: check @pullfrog tag and include body if tagged, macro-expand repoInstructions
- app/trigger/[owner]/[repo]/[number]/page.tsx: macro-expand repoInstructions (never include body)
2026-01-19 17:16:20 +00:00
Colin McDonnellandpullfrog[bot] 26ced25a8f add getIssue utility and use actual issue metadata in trigger page, fix getPullRequest caching and user prompt quoting 2026-01-19 16:09:18 +00:00
Colin McDonnellandpullfrog[bot] b64721edcf Drop permissions from webhook payload, fix potential vuln, simplify dispatch options 2026-01-16 22:22:18 +00:00
Colin McDonnellandpullfrog[bot] 93d74a9bea Dont include quick links if review has no comments 2026-01-16 21:44:15 +00:00
Colin McDonnellandpullfrog[bot] cb925556e8 refactor instructions to return object with full/system/user/event/runtime properties, fix duplicate modes and json prompt extraction (#110) 2026-01-16 21:43:54 +00:00
Colin McDonnellandpullfrog[bot] c3c0794504 Curate context and switch to file-based review comments 2026-01-16 19:36:35 +00:00
Colin McDonnellandpullfrog[bot] 69b9b96ddd Refactor (#109) 2026-01-16 18:43:09 +00:00
Colin McDonnellandpullfrog[bot] 101c666610 Fix capitalization issues 2026-01-16 16:54:42 +00:00
Colin McDonnellandpullfrog[bot] 1f2f671be0 Fix claude 2026-01-16 16:25:49 +00:00
Colin McDonnellandpullfrog[bot] 9e019d89d2 Clean up actions and payloads (#98)
* Clean up actions and payloads

* Clean up action

* Cleanup
2026-01-16 07:16:25 +00:00
Colin McDonnellandpullfrog[bot] 5c60791b34 Update workflow 2026-01-15 23:47:40 +00:00
Colin McDonnellpullfrog[bot]pullfrog[bot] <226033991+pullfrog[bot]@users.noreply.github.com>
2d2d31adfa Code style (#97)
* Cleanup

* fix: populate deny array before assigning to config, add CursorCliConfig type

* Fix deny array ordering and add CursorCliConfig type

Move deny array population before config declaration to avoid
relying on reference semantics. Add proper type interface for
the CLI config object.

---------

Co-authored-by: pullfrog[bot] <226033991+pullfrog[bot]@users.noreply.github.com>
2026-01-15 22:06:53 +00:00
Colin McDonnellandpullfrog[bot] 97dce099c1 Implement granular tool permissions (#82)
* Granular tool permissions

* Fix build

* Start on UI

* Fixes

* Fmt

* Go ham on UI

* Update migrations

* Considate wiki files

* Clean up

* More tweaks. Docs.

* Consolidate collab and noncollab

* Fix build

* Restrict for non-collaborators
2026-01-15 08:05:30 +00:00
Colin McDonnellandpullfrog[bot] 4547b0032e Pass through original GITHUB_TOKEN in scrub-env mode 2026-01-15 01:20:16 +00:00
Colin McDonnellandpullfrog[bot] 75b429ceca Update cli 2026-01-15 01:01:58 +00:00
Colin McDonnellandpullfrog[bot] 6e2a15c195 Improvements to deps and logging 2026-01-15 00:01:38 +00:00
Colin McDonnellandpullfrog[bot] 3539ddf943 Update committer email 2026-01-14 21:15:05 +00:00
Colin McDonnellandpullfrog[bot] 0fa789c3e2 Fix cwd 2026-01-14 04:37:51 +00:00
Colin McDonnellandpullfrog[bot] 3fa309853b Fix repo slug 2026-01-14 01:44:30 +00:00
Colin McDonnellandpullfrog[bot] 5604cf1868 Clean up submodule stuff 2026-01-13 22:05:24 +00:00
Colin McDonnellandGitHub d8fb544f6b Merge pull request #28 from pullfrog/upg-esbuild-deduplication
fix(deps): Upgrading `esbuild`
2026-01-13 13:42:56 -08:00
Colin McDonnell 672d8ccd00 Tweak 2026-01-13 00:12:48 -08:00
Colin McDonnellandpullfrog[bot] 280bb7ef15 Fix vercel build 2026-01-13 08:11:59 +00:00
Colin McDonnell 84df6bbfb0 Tweak 2026-01-13 00:05:48 -08:00
Colin McDonnell 7e7733d0e3 Revert "Add guardrails"
This reverts commit 8c24bc9c0b.
2026-01-12 23:43:57 -08:00
Colin McDonnell 6339eb43f8 Add comment 2026-01-12 23:43:00 -08:00
Colin McDonnellandpullfrog[bot] 8c24bc9c0b Add guardrails 2026-01-13 07:41:37 +00:00
Colin McDonnell bc970de683 Revert "sync: pull changes from pullfrog/action"
This reverts commit 7c0d8c3311.
2026-01-12 23:27:44 -08:00
Colin McDonnell 79344c653d Fix CI 2026-01-12 23:19:35 -08:00
Colin McDonnell 0ca33995e5 Tweaks 2026-01-12 23:17:53 -08:00
Colin McDonnellandpullfrog[bot] 20b4f683e5 Two way sync attempt 2026-01-13 07:13:47 +00:00
Colin McDonnell 03999f40ac Break stuff 2026-01-12 23:08:58 -08:00
Colin McDonnell b539221a3d Tweak readme 2026-01-13 06:31:12 +00:00
Colin McDonnell 31833218ad Tweak readme 2026-01-12 22:30:11 -08:00
Colin McDonnell 7ca828637d Update readme 2026-01-13 06:28:35 +00:00
Colin McDonnell 2dc4f73d8b Update readme 2026-01-12 22:27:47 -08:00
Colin McDonnell 8596da9093 Remove artifacts 2026-01-13 06:26:15 +00:00
Colin McDonnell b2735b2916 0.0.157 2026-01-13 06:09:13 +00:00
Colin McDonnell 9714d5fea6 Fix CI 2026-01-13 06:07:12 +00:00
Colin McDonnell a57866a8cd Fix CI 2026-01-13 06:02:29 +00:00
Colin McDonnellandGitHub 9903072286 Merge pull request #21 from pullfrog/effort
add effort as an input + support parsing from payload
2026-01-12 14:12:42 -08:00
Colin McDonnell edb7603587 Update claude impl 2026-01-12 14:12:16 -08:00
Colin McDonnell 45f837cedb Fixes 2026-01-12 14:12:16 -08:00
Colin McDonnellandGitHub 2f3ae3e481 Merge pull request #22 from pullfrog/issue-14-summary-table-local-cli
feat(CLI): Using `table()` in `summaryTable()` when not running in CI
2026-01-12 13:33:35 -08:00
Colin McDonnellandGitHub 308781793f Merge pull request #23 from pullfrog/pullfrog/17-report-progress-job-summary
feat(mcp): Update job summary with progress comment content
2026-01-12 13:33:08 -08:00
Colin McDonnellandGitHub 1765e04d77 Merge pull request #24 from pullfrog/add-basic-unit-tests
Initial unit tests
2026-01-12 13:31:56 -08:00
Colin McDonnell 5fa8c3603d Add writeups 2026-01-09 16:03:25 -08:00
Colin McDonnell 78c22085bf 0.0.156 2026-01-08 15:05:05 -08:00
Colin McDonnellandGitHub b55cda579d Merge pull request #19 from pullfrog/custom-bash
Switch to custom Bash tool. Mask secrets from Bash subprocs.
2026-01-08 14:59:44 -08:00
Colin McDonnell 1d1d80c3f9 Additional testing with codex 2026-01-08 14:57:47 -08:00
Colin McDonnell 3a97ba04fc Rebase 2026-01-08 14:11:49 -08:00
Colin McDonnell fe7ce4af11 Updates 2026-01-08 14:11:43 -08:00
Colin McDonnell 9291ee5952 Fix github_actions iss 2026-01-08 14:11:11 -08:00
Colin McDonnell c8b65327ee Tweaks 2026-01-08 14:09:18 -08:00
Colin McDonnell 879d33403c Switch to custom Bash tool. Mask secrets from Bashsubprocs. Simplify security handling. 2026-01-08 14:09:08 -08:00
Colin McDonnell 2cc081c912 Add license 2026-01-08 11:33:43 -08:00
Colin McDonnellandGitHub d99a852e24 Merge pull request #13 from GameRoMan/remove-package-lock
remove package-lock.json
2026-01-07 10:07:25 -08:00
Colin McDonnellandGitHub 6e289e9310 Merge pull request #15 from pullfrog/throttle-plugin
Auto-retry ratelimited octokit requests
2026-01-07 10:06:59 -08:00
Colin McDonnell 0504fc42ff Do not print 'This run croaked' if the agent only replies in a PR review comment 2025-12-30 20:21:23 -08:00
Colin McDonnell ad1f51d704 Implement Plan button 2025-12-30 20:14:49 -08:00
Colin McDonnell 573c473dc1 Drop opus flag 2025-12-30 13:52:54 -08:00
Colin McDonnell c200c7aff9 Tweak message 2025-12-27 16:28:47 -08:00
Colin McDonnell 8a7db7bba2 Maybe fix gemini 2025-12-27 16:28:41 -08:00
Colin McDonnell 0a7a38a9a5 155 2025-12-22 18:45:43 -08:00
Colin McDonnell 72a040aafa Clean up review mode 2025-12-22 18:35:29 -08:00
Colin McDonnell cc59a16472 Clean up review mode 2025-12-22 18:31:27 -08:00
Colin McDonnell 8db0c40487 Do not return diff. Stick with opus 2025-12-22 18:22:35 -08:00
Colin McDonnell 7fb788a883 Token efficiency 2025-12-22 18:16:55 -08:00
Colin McDonnell 0cf88e1752 THINK HARDER 2025-12-22 17:49:37 -08:00
Colin McDonnell dcb672b5be Tweak prompts, switch to opus 2025-12-22 17:40:40 -08:00
Colin McDonnell 7103f5f991 Clean up log 2025-12-22 17:35:14 -08:00
Colin McDonnell c518e8b6fd Add retrying. Improve diff format 2025-12-22 15:53:11 -08:00