[PR #10284] docs(tool): clarify question tool label character limits #13386

Open
opened 2026-02-16 18:18:14 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10284

State: open
Merged: No


What does this PR do?

Fixes #10283

Updates the question tool description to prevent LLMs from exceeding the 30-character label limit:

  1. Adds explicit character limits - Labels (30 chars) and headers (30 chars) now documented
  2. Changes recommendation suffix - From (Recommended) (13 chars) to * (2 chars)
  3. Adds example - Shows the pattern: "Use TypeScript *"

How did you verify your code works?

This is a documentation-only change to question.txt. The fix addresses the root cause of validation errors where LLMs create labels like "Use existing patterns (Recommended)" (36 chars) which exceed the 30-character limit.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10284 **State:** open **Merged:** No --- ### What does this PR do? Fixes #10283 Updates the question tool description to prevent LLMs from exceeding the 30-character label limit: 1. **Adds explicit character limits** - Labels (30 chars) and headers (30 chars) now documented 2. **Changes recommendation suffix** - From `(Recommended)` (13 chars) to ` *` (2 chars) 3. **Adds example** - Shows the pattern: `"Use TypeScript *"` ### How did you verify your code works? This is a documentation-only change to `question.txt`. The fix addresses the root cause of validation errors where LLMs create labels like "Use existing patterns (Recommended)" (36 chars) which exceed the 30-character limit.
yindo added the pull-request label 2026-02-16 18:18:14 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13386