Skip to content

fix(telegram): render decision-gate options in full in gate cards (DIVE-1602)#11

Merged
lodar merged 1 commit into
mainfrom
dive-1602-gate-truncation
Jul 21, 2026
Merged

fix(telegram): render decision-gate options in full in gate cards (DIVE-1602)#11
lodar merged 1 commit into
mainfrom
dive-1602-gate-truncation

Conversation

@lodar

@lodar lodar commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

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_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.

NOTE: the newer 300-char gate-detail render in buildTaskDetail is unmerged DIVE-1428 WIP (not on main); that branch must carry the same !need_options guard when it lands. Pairs with 5dive-cli DIVE-1602 heartbeat reminder fix.

🤖 Generated with Claude Code

…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>
@lodar
lodar merged commit 036c336 into main Jul 21, 2026
2 checks passed
@lodar
lodar deleted the dive-1602-gate-truncation branch July 21, 2026 04:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant