Skip to content

fix(antigravity): the CLI's own scaffolding is not a grown format - #21

Merged
tentpegbob merged 1 commit into
mainfrom
fix/the-clis-own-scaffolding-is-not-news
Oct 26, 2026
Merged

tentpegbob merged 1 commit into
mainfrom
fix/the-clis-own-scaffolding-is-not-news

Conversation

@tentpegbob

Copy link
Copy Markdown

What

From a live conversation this evening:

[unrecognised step: 'system_message'][unrecognised step: 'system_message']
[unrecognised step: 'system_message'][unrecognised step: 'system_message']
[unrecognised step: 'system_message'][unrecognised step: 'system_message']
[unrecognised step: 'system_message']Added an automated recording retention
policy and runner directory cleanup to pairwatch.

Two things wrong, fixed separately.

system_message is 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_input is our prompt echoed back. It joins
IGNORED_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 sentence
is for the person watching, and a person needs to hear it once. Tracked per
(what, kind) on the session.

Verification

test_a_grown_format_is_said_once_not_once_per_step
    three unknown steps + two system_message → exactly one notice
    without the dedupe: assert 3 == 1
tests/sdk/acp_servers/ + tests/sdk/context/   456 passed (+1 new)
ruff check / format                           clean

HUMAN:

Issue Number

None. Issues are disabled on this fork.

🤖 Generated with Claude Code

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>
@tentpegbob
tentpegbob merged commit d134f9a into main Oct 26, 2026
@tentpegbob
tentpegbob deleted the fix/the-clis-own-scaffolding-is-not-news branch October 26, 2026 01:00
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