fix(telegram): render decision-gate options in full in gate cards (DIVE-1602)#11
Merged
Conversation
…VE-1602) A decision gate embeds its choices (A = …, B = …) in the ask body, but the inbox/needs-you gate card (inboxCard) hard-truncated the ask at 200 chars, so a longer ask dropped a whole option and rendered a gate that hid one of its own choices (repro: MOB-2, option B chopped off). The card now renders the ask in full when need_options is set; option-less gates keep the cap; clampList still bounds the send. Applied across telegram + the grok/agy/codex/pi runtime forks (agy regenerated from grok base; generator --check byte-exact). Version bumps: telegram 0.5.29->0.5.30, grok/BASE_VERSION 0.5.15->0.5.16, agy 0.5.15->0.5.16, codex 0.5.14->0.5.15, pi 0.1.6->0.1.7. Pairs with 5dive-cli DIVE-1602 heartbeat reminder fix. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
The inbox/needs-you gate card (
inboxCard) hard-truncated the ask at 200 chars, but a decision gate embeds its choices (A = …,B = …) in the ask body — so a longer ask dropped a whole option and rendered a gate that hides one of its own choices (repro: MOB-2, option B chopped off).Fix: render the ask in full when
need_optionsis set; option-less gates keep the cap; clampList still bounds the send. Applied acrosstelegram+ thegrok/agy/codex/piruntime forks (agy regenerated from grok base; generator--checkbyte-exact).Version bumps: telegram 0.5.29→0.5.30, grok/BASE_VERSION 0.5.15→0.5.16, agy 0.5.15→0.5.16, codex 0.5.14→0.5.15, pi 0.1.6→0.1.7.
NOTE: the newer 300-char gate-detail render in
buildTaskDetailis unmerged DIVE-1428 WIP (not on main); that branch must carry the same!need_optionsguard when it lands. Pairs with 5dive-cli DIVE-1602 heartbeat reminder fix.🤖 Generated with Claude Code