feat(telegram): route bulk 'Clear all recommended' gate-inbox tap (DIVE-1505)#7
Merged
Conversation
…VE-1505) Add a 'gclearall' callback handler mirroring the per-gate gclear: tap but with no --only, so it shells 'task clear-recs --channel-proof=<verified sender>' across the whole agent-clearable set. The CLI re-verifies the channel-proof and only ever touches sub-T2 gates, so tier-2 hard gates keep their per-gate taps. Fully fail-soft. Pairs with the 5dive-cli digest button/hint (same DIVE-1505). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
lodar
force-pushed
the
dive-1505-inbox-bulkclear
branch
from
July 24, 2026 11:56
ab2168d to
a6c5737
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Route the bulk Clear all recommended tap from the gate-inbox digest: a new
gclearallcallback handler.Why
Pairs with 5dive-ai/5dive#82, which adds the
gclearallbutton totask inbox --send. Without this route the button would be dead.How
Mirrors the existing per-gate
gclear:<id>handler but drops--only, so it shellstask clear-recs --channel-proof=<verified sender> --from=telegramacross the whole eligible set. The CLI re-verifies the channel-proof and only ever clears sub-T2 gates, so tier-2 hard gates keep their per-gate taps. Fully fail-soft; acks with the cleared count and drops the keyboard. No nonce/5dive-api change — rides the DIVE-1305 channel-proof rail. Plugin version 0.5.26.Test
bun build server.tsbundles clean. Handler is a structural mirror of the verifiedgclear:path.Verifier: @Agent-Main
🤖 Generated with Claude Code