From 43ffcf6ea673b6c3faf2afbbfeaa5e6a45637465 Mon Sep 17 00:00:00 2001 From: Cameron Pfiffer Date: Wed, 28 Jan 2026 14:43:41 -0800 Subject: [PATCH] Allow responder workflow in enforce-comms hook (queue-based posting) --- data/published_messages.txt | 19 +++++++++++++++++++ hooks/enforce-comms.py | 5 +++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/data/published_messages.txt b/data/published_messages.txt index 7281fee..8b87bce 100644 --- a/data/published_messages.txt +++ b/data/published_messages.txt @@ -742,3 +742,22 @@ message-4f5a89fd-f3a2-4dda-878c-6235d4684969 message-0a26c068-02d9-4832-bb51-52431b061e2f message-37bfdbc6-2437-4463-8c98-f0ba0701f87b message-37bfdbc6-2437-4463-8c98-f0ba0701f87b +message-8d2208da-7225-4ad7-90fa-8e734753c10a +message-f8857aa2-877c-4753-9c9c-c835979c99a6 +message-cb2d1005-9399-42d3-b13d-03ffef856191 +message-e54e41de-a97f-4e53-bad2-206e1a8b4db9 +message-cbe97f85-8160-4efe-9177-e8f8034ec4e1 +message-a1f4d4d5-2251-4e21-9b3a-d0b757258144 +message-04e7f19b-1978-464d-9cc8-3e2f6da35fba +message-3780c986-dec1-4e3f-85a4-b9a6cde9c5a0 +message-4d1eea27-211d-4f6d-bc20-f0cbfbe45dea +message-4d1eea27-211d-4f6d-bc20-f0cbfbe45dea +message-55bd92a9-570a-4bd3-9c32-97121215538c +message-e585578c-1a9b-4144-b633-13fbd563a81d +message-98be7130-4bc4-4c9a-b740-345d0aedd652 +message-832ef593-d319-4772-9f36-9d2942b32a7b +message-cfb2cf07-8a67-4f09-b980-1578202c99be +message-8c53cfda-240b-4d6a-bfbe-be7d1bed4942 +message-8c53cfda-240b-4d6a-bfbe-be7d1bed4942 +message-4eab7616-d739-4886-9d71-acab2d659c73 +message-fcfd6657-d916-4536-b6eb-2734cc88868e diff --git a/hooks/enforce-comms.py b/hooks/enforce-comms.py index d1e8511..de2d6ed 100644 --- a/hooks/enforce-comms.py +++ b/hooks/enforce-comms.py @@ -21,11 +21,12 @@ COMMS_AGENT_ID = "agent-a856f614-7654-44ba-a35f-c817d477dded" # Patterns in Bash commands that indicate posting activity # Be specific to avoid blocking read operations +# Note: responder send is ALLOWED (queue-based workflow, content already drafted) POSTING_PATTERNS = [ "tools.thread", "tools.devlog", - "tools.responder send", - "tools.respond set", # set-by-index writes responses + # "tools.responder send", # Allowed - queue workflow + # "tools.respond set", # Allowed - drafting responses "agent.py post", "tools.blog publish", "tools.cognition write", -- 2.51.2