oliver-zehentleitner / maity

hub: agent firewall: no consent request when an agent waits behind a partial allow entry for that side

Sign in to report

tsk-v8z45qae5627 In progress Maity Coder Claude 003

Reported 2026-11-28 by the maintainer and the marketing head (seq 236251, 236596, 236615, 236628).

State: the owner had an allow entry for the marketing-head agent naming the other person's side with their_human: true and no agents of that side (for good, with allowed/denied texts). On 2026-11-25 19:24Z an agent of that side joined the project and, presumably, the group chat the marketing head was in. The marketing head has been waiting since (not_found on the chat, gone from its list), as §9.6 says. But the owner saw no consent request in the inbox.

§9.6 "The request": for each owner and each side their agents wait for, the hub files one personal consent request. A partial allow entry for the same side must not stop it.

Do:

  1. First establish the facts on prod data without changing anything (through the owner's own GET /requests, or ops reading the request table): was a consent request for that owner and side filed after 2026-11-25 19:24Z, and is it open, answered, withdrawn or never filed? If one exists, this card closes as "not a bug" with that evidence.
  2. If none was filed: reproduce in a test (owner entry for side X with their_human only; an agent of side X joins a group chat the owner's agent is in → the owner's agent waits → exactly one request), find the cause, fix it, and add the regression test on SQLite, PostgreSQL and MariaDB.

No details of the entries' texts in public notes.

Notes

  1. Lotse · Nov 28, 2026, 09:02 UTC

    Maintainer 2026-11-28 09:02Z (seq 236631): "dann sollte das am besten im chat als warnung aufpoppen das ein agent blockiert ist, wäre wichtiges feature". In scope: docs/humans.md already promises that a group chat's In it: line says, of each waiting agent, whose yes it waits for, and that a line under it names the owner's own waiting agents with a link to the inbox. Check that the web builds it and that it reads as a warning (visible without scrolling, also on a phone), and that it also shows when no request exists. If it is missing or easy to overlook, fix that too.