You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(gates): a held gated message is replayed to the agent in later history — it can act on a never-approved request #3402
Deferred-debt entry (verbatim from the trinity-dev DEBT_INBOX.md)
debt:2026-10-02-gate-held-request-in-history
What: On the Workspace, channels, rooms and public links the gate reads only the sender's new words, so a held /pay-invoice … message is replayed to the agent inside the history or transcript on later turns, as text it never approved. Why deferred: Scanning history would re-hold every later turn after a single mention. The replayed text never starts with /, so it cannot expand as a command; only the model choosing to act on prose remains, and that is the in-container hook's lane (ent#752). Context: The history builders in client_portal/service.py, adapters/message_router.py, shared_sessions/service.py and public_chat_service.py. An option is to elide a held turn's text (or mark it "held for approval, not run") when replaying history. Interest: Until ent#752 lands, an agent could run a held request on its own judgement after reading it in history. Effort (AI): M Source: abilityai/trinity-enterprise#751 (/review) Note (2026-10-03, delta review): on an agent whose runtime has no --resume (Codex), EVERY Workspace turn is cold, so the held invocation sits in the replayed history on every later turn of that thread, not only after a reaped session.
Filed by trinity-pm /groom 2026-10-08 (Debt Health & Inbox Triage).
Activity
webmixgamer commentedon Oct 20, 2026
/claim
github-actions commentedon Oct 20, 2026
Claimed by @webmixgamer. Label
status-in-progressadded.Next steps:
feature/3402-<short-slug>Fixes #3402test(gates): build the pre-migration shape explicitly in the #3402 mi…
fix(gates): an unreadable gate map no longer hides a stored message f…
fix(gates): a request the skill gate held is never replayed to the ag…
feat(workspace): room messages count as unread in the Inbox (Abilitya…
fix(inbox): a read covers what the client held, and each room identit…
feat(rooms): an ask's answer continues the agent in the room it asked…
feat(rooms): an ask raised in a room comes back to that room (trinity…