Skip to content

fix(roadmap): end a cut tool answer at a whole line with a notice - #4342

Merged
dan-petty merged 2 commits into
mainfrom
fix/4341-a-tool-answer-cut-at-the-character-limit
Nov 10, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/4341-a-tool-answer-cut-at-the-character-limit

Conversation

@dan-petty

@dan-petty dan-petty commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

A tool answer of the stage planner that passed the character limit was cut in the middle of a line with no notice. In a live plan run, 11 of 79 answers were cut so, and the model could not know that it had read less than it asked for. Now cut ends the answer at a whole line, cuts a single line that is over the limit, and ends every answer that lost text, to either limit, with the notice (more lines are left out). Refine, stage and the alternatives check share cut.

Closes #4341

Change: openspec/changes/archive/2026-11-10-4341-a-tool-answer-cut-at-the/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them labels Nov 10, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 10, 2026 05:13
@dan-petty
dan-petty force-pushed the fix/4341-a-tool-answer-cut-at-the-character-limit branch from 7380f45 to 16810f5 Compare November 10, 2026 06:12
@dan-petty
dan-petty enabled auto-merge (squash) November 10, 2026 06:20
@dan-petty
dan-petty merged commit 469906d into main Nov 10, 2026
26 checks passed
@dan-petty
dan-petty deleted the fix/4341-a-tool-answer-cut-at-the-character-limit branch November 10, 2026 06:25
dan-petty pushed a commit that referenced this pull request Nov 10, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.107.0](v0.106.1...v0.107.0)
(2026-11-10)


### Features

* **roadmap:** a Jev screen before the verify step
([#4343](#4343))
([c60efed](c60efed))


### Bug Fixes

* **roadmap:** end a cut tool answer at a whole line with a notice
([#4342](#4342))
([469906d](469906d))
* **roadmap:** name the reason of a failed stage model call
([#4339](#4339))
([1ec8d4c](1ec8d4c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/roadmap The roadmap jobs: intake, refine, stage, implement and the Service that runs them type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(roadmap): a tool answer cut at the character limit has no notice

1 participant