Commit Graph

41 Commits

Author SHA1 Message Date
David Blass 6fbff21fca add agent and debug macros, improve activity timeouts, migrate claude and codex to cli (#224) 2026-02-04 22:29:45 +00:00
Mateusz Burzyński bfe72ac2cf Fixed how payload-as-prompt is handled and progress comment updates (#212) 2026-02-01 22:13:39 +00:00
David Blass 943409c417 add #timeout, macro errors, refactor tests (#191) 2026-01-28 21:06:57 +00:00
Colin McDonnell 210084a3b6 Make prompt construction more disciplined (#173)
* Make prompt construction more disciplined

* Clean up

* Tweaks
2026-01-24 18:49:47 +00:00
Colin McDonnell 22704dda35 Improve prInfo. Fix prompt duplication 2026-01-21 03:12:44 +00:00
Robin Tail cfd7f45db9 fix: Update lock file in the action dir due to #118. 2026-01-20 06:47:27 +00:00
Colin McDonnell ce123c9a57 Clean up prompts (#126)
* Clean up prompts

* Drop in-payload review comments
2026-01-20 00:13:55 +00:00
Colin McDonnell f65cb4d2e3 Fix undefined bug 2026-01-19 17:44:12 +00:00
Colin McDonnell 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 McDonnell b64721edcf Drop permissions from webhook payload, fix potential vuln, simplify dispatch options 2026-01-16 22:22:18 +00:00
Colin McDonnell c3c0794504 Curate context and switch to file-based review comments 2026-01-16 19:36:35 +00:00
Colin McDonnell 69b9b96ddd Refactor (#109) 2026-01-16 18:43:09 +00:00
Colin McDonnell 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 McDonnell 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
David Blass 1daf1571cf add macros (#68) 2026-01-14 22:52:54 +00:00
David Blass c335032c37 init 2026-01-12 14:12:11 -08:00
Colin McDonnell ad1f51d704 Implement Plan button 2025-12-30 20:14:49 -08:00
Colin McDonnell db68424ffc fix: move origin URL auth setup before git fetch in setupGit 2025-12-16 16:51:53 -08:00
Colin McDonnell a19ae49224 Determinstically set up PR branch 2025-12-15 21:12:55 -08:00
Colin McDonnell 2f16d2ef0e Improve repo setup with gh cli 2025-12-15 20:21:56 -08:00
David Blass bb55216a6b iterate on pr fix 2025-12-11 18:02:44 -05:00
Shawn Morreau ccb28d8cf5 opencode working 2025-12-10 03:34:19 -05:00
Shawn Morreau bbda005ee9 remove any default mapping for models 2025-12-10 02:59:39 -05:00
Shawn Morreau 06fdedb8c5 opencode initial run 2025-12-10 02:59:38 -05:00
David Blass 305fc9b0dd auto-labeling 2025-12-09 17:02:57 -05:00
Colin McDonnell 5b5df2bdca Truncate prompt 2025-12-08 20:06:03 -08:00
Colin McDonnell 6e337407a7 Implement sandbox mode 2025-12-04 00:15:57 -08:00
Colin McDonnell b14bab5ed2 Improve cursor logging 2025-12-02 20:18:18 -08:00
Colin McDonnell 3986fe8e40 0.0.118 2025-12-02 19:29:09 -08:00
ssalbdivad 32f850d6ec migrate to report_progress 2025-12-02 15:23:56 -05:00
Colin McDonnell bef3f7794c WIP 2025-11-21 11:18:00 -08:00
Colin McDonnell 8298cdd07c add urls to agent manifest 2025-11-20 17:06:52 -08:00
Colin McDonnell dd2089d71b have payload.agent take precedence over inputs.defaultAgent 2025-11-20 16:58:21 -08:00
Colin McDonnell 0ce1d9fd7b deterministically set up working branch 2025-11-20 16:31:00 -08:00
Colin McDonnell f8bb2e12f3 Make PayloadEvent typesafe w/ discriminated union 2025-11-20 15:57:20 -08:00
David Blass 917b8804c0 improve agents external integration 2025-11-20 13:54:29 -05:00
Colin McDonnell 098df15764 Add get_check_suite_logs tools 2025-11-19 23:27:24 -08:00
Colin McDonnell fe35e9e274 Updates 2025-11-19 21:25:51 -08:00
Colin McDonnell e3a7b09df4 Move things to external.ts 2025-11-19 16:02:37 -08:00
David Blass aa5eb4c43c update todos and cleanup 2025-11-19 15:47:42 -05:00
David Blass 849d133f20 payload.ts to external.ts 2025-11-19 14:08:59 -05:00