Make prompt construction more disciplined (#173)

* Make prompt construction more disciplined

* Clean up

* Tweaks
This commit is contained in:
Colin McDonnell
2026-01-24 18:49:47 +00:00
committed by pullfrog[bot]
parent 54279e313b
commit 210084a3b6
7 changed files with 170 additions and 87 deletions
+3 -1
View File
@@ -245,8 +245,10 @@ export interface WriteablePayload {
version: string;
/** agent slug identifier (e.g., "claude", "codex", "gemini") */
agent?: AgentName | undefined;
/** the prompt/instructions for the agent to execute (body if @pullfrog tagged + per-trigger instructions) */
/** the user's actual request (body if @pullfrog tagged) */
prompt: string;
/** event-level instructions for this trigger type (macro-expanded server-side) */
eventInstructions?: string | undefined;
/** repo-level instructions (macro-expanded server-side) */
repoInstructions?: string | undefined;
/** event data from webhook payload - discriminated union based on trigger field */