Skip to content

fix: describe-ui --no-raw review follow-ups - #69

Merged
onevcat merged 2 commits into
mainfrom
fix/describe-ui-no-raw-followups
Jul 27, 2026
Merged

onevcat merged 2 commits into
mainfrom
fix/describe-ui-no-raw-followups

Conversation

@onevcat

@onevcat onevcat commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Two small follow-ups from the #63 review, as noted in this comment:

  1. Android --json help text: it still unconditionally claimed the envelope "Includes the raw bridge tree under data.raw" — since feat: describe-ui --no-raw and skill guidance to keep agent context small #63 that only holds when --no-raw is not passed. The help now says so. (The inaccuracy never shipped, so no CHANGELOG entry.)
  2. Viewer argv-recording test: snapshotSpawnsNoRaw rewrote the fake-binary script post-hoc to capture its argv, coupling the test to the fixture's exact file content (shebang line included). Recording is now a makeHandlers(recordArgs:) option — the script writes "$@" to "$0.args" before replaying the scripted output — read back through a recordedArgs(of:) helper. The .args file lives in the per-test temp dir, so the existing cleanup covers it.

Tests

make test: 1123 green, coverage 68.3%.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Fyffe82rd7F7eqvXFVJtz4

onevcat added 2 commits July 27, 2026 13:44
The --json help still unconditionally claimed the envelope includes the
raw bridge tree under `data.raw`; since #63 that only holds when
--no-raw is not passed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Fyffe82rd7F7eqvXFVJtz4

Signed-off-by: onevcat <onevcat@gmail.com>
snapshotSpawnsNoRaw rewrote the fake-binary script after the fact to
capture its argv, coupling the test to the fixture's exact file
content (shebang line included). Recording is now a makeHandlers
option — the script writes "$@" to "$0.args" before replaying the
scripted output — read back via a recordedArgs(of:) helper.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Fyffe82rd7F7eqvXFVJtz4

Signed-off-by: onevcat <onevcat@gmail.com>
@onevcat
onevcat merged commit 68d4ef3 into main Jul 27, 2026
4 checks passed
@onevcat
onevcat deleted the fix/describe-ui-no-raw-followups branch July 27, 2026 07:29
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