WebhookAdapter: deliver_only mode #817

Closed
opened 2026-10-27 13:37:52 +00:00 by sam · 0 comments
Owner

Implement deliver_only mode that skips agent processing and directly renders the prompt template as a deliverable (e.g. plain text, HTML, JSON response).

Notes

Not started, despite the package doc comment's claim: webhook.go:1-3 says 'Outbound delivery is not supported (deliver-only mode)' but handleWebhook() (webhook.go:120-183) unconditionally calls router.Route -- there is no branch that skips the agent and renders the template directly. RouteConfig.DeliverTo=="origin" only controls where the agent's reply goes, it doesn't skip the agent. Either the doc comment is aspirational (fix by implementing this issue) or describes a different, unbuilt code path -- don't trust the comment over the code.

Close reason

Closed


Imported from beads archie-core-1786637497299-285-f4780816 · GitHub #306 · type task · priority P2 · created 2026-08-08 · closed 2026-10-01

Implement deliver_only mode that skips agent processing and directly renders the prompt template as a deliverable (e.g. plain text, HTML, JSON response). ### Notes Not started, despite the package doc comment's claim: webhook.go:1-3 says 'Outbound delivery is not supported (deliver-only mode)' but handleWebhook() (webhook.go:120-183) unconditionally calls router.Route -- there is no branch that skips the agent and renders the template directly. RouteConfig.DeliverTo=="origin" only controls where the agent's reply goes, it doesn't skip the agent. Either the doc comment is aspirational (fix by implementing this issue) or describes a different, unbuilt code path -- don't trust the comment over the code. ### Close reason Closed --- _Imported from beads `archie-core-1786637497299-285-f4780816` · GitHub #306 · type task · priority P2 · created 2026-08-08 · closed 2026-10-01_
sam added the mediumtask labels 2026-10-27 13:37:52 +00:00
sam self-assigned this 2026-10-27 13:37:52 +00:00
sam closed this issue 2026-10-27 13:37:52 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: sam/archie#817