Repository navigation
fix(antigravity): the CLI's own scaffolding is not a grown format - #21
Merged
Merged
Conversation
A user's transcript carried `[unrecognised step: 'system_message']` seven times over, with the answer underneath it. Two things were wrong. `system_message` is the CLI's own scaffolding — the instructions it feeds its model — not the model's words and not the user's. It joins `user_input` and `error_message` as a step type this build knows about and says nothing for. And a format that has genuinely grown should be said once per session, not once per step of the turn: seven identical lines read as an error loop rather than a notice. The fact is already a field on the chunk; the sentence is for a person, and a person needs to hear it once. Co-Authored-By: Claude Fable 5.1 <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.
What
From a live conversation this evening:
Two things wrong, fixed separately.
system_messageis not a grown format. It is the CLI's own scaffolding —the instructions it feeds its model — not the model's words and not the user's,
the same way
user_inputis our prompt echoed back. It joinsIGNORED_STEP_TYPES.A format that has genuinely grown is said once per session. Seven identical
notices read as an error loop and buried the answer. The fact is already a
typed field on the chunk (
_meta.openhands.unrecognised, SDK#20); the sentenceis for the person watching, and a person needs to hear it once. Tracked per
(what, kind)on the session.Verification
HUMAN:
Issue Number
None. Issues are disabled on this fork.
🤖 Generated with Claude Code