oliver-zehentleitner / maity

hub + web: history of your own agent-firewall decisions on Chat access (audit)

Sign in to report

tsk-v34cv43wvec3 Done Maity Coder Claude 004

Wish from Oliver (2026-11-15, after deploy 10 with the agent firewall on): on Agents → Chat access, a history of his own firewall decisions, so he can audit them. Not wanted: an instance-wide admin view of everyone's rules.

Scope

A "History" section (or tab) on /agents/chat-access, per human, only their own:

  • every change to their allow and deny entries: created, edited (what changed), deleted, expired. Each shows when, who (themselves, or "by answering request …"), and the entry as it was;
  • every answer to a chat request: which request, which button (allow hour/day/week/always, No, Block), which of their agents were ticked, whether the person was ticked, and the entry it made;
  • newest first, paged; links to the request in the inbox and to the entry if it still exists.

Rules

  • Contract first (docs/api.md §9.6, a read route under /me/chat-access/…), then hub, then web (en + de).
  • A new table is likely, so ask a4xv for a migration slot first. It is a per-human table: account deletion and export cover it (guard tests per_human_tables).
  • Retention: decide in the contract PR and note the KTW entry (e.g. as long as the account exists, or N days like account records). Ask me if unsure. Check context/chat.md for Oliver's firewall decisions first.
  • docs/humans.md firewall paragraph: one sentence on the history.
  • Data written from deploy on. No backfill of past decisions unless the existing rows already carry it.