Skip to content

feat(cli)!: through a gateway, simlock adb and simctl send stdin only with --stdin - #1178

Merged
V3RON merged 10 commits into
feature/1174-adrfrom
task/1176
Nov 1, 2026
Merged

V3RON merged 10 commits into
feature/1174-adrfrom
task/1176

Conversation

@V3RON

@V3RON V3RON commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1176

Status

Implement: done (4/4 green) Review: round 1 passed, no findings Hardware: n/a Gate: running (stack #1175 -> #1178)

  • Through a gateway, simlock adb and simlock simctl without --stdin never read stdin and send stdin: ""; with --stdin they send stdin's contents (src/cli/index.test.ts).
  • --stdin is taken out of the arguments before the tool's, in either order with --lease, and is accepted and ignored on a worker (src/cli/index.test.ts).
  • With --stdin, a terminal stdin is read to its end like a pipe (readPipedStdin's tests in src/cli/index.test.ts).
  • The gateway e2e exec step runs without input: "", its command gets "" as stdin, and it passes (e2e/gateway-smoke.test.ts, fast lane).
  • website/src/content/docs/docs/reference/cli.mdx lists --stdin in the flag tables of simlock adb and simlock simctl and says stdin is sent only with it; src/cli/AGENTS.md step 5 says the same and its Known gaps entry about the hang is gone.
  • The PR title (not a commit subject, F11) marks the change breaking (feat(cli)!:), so the release notes say piped input now needs --stdin.

Completion conditions of #1174:

  • Through a gateway, simlock adb with a piped stdin left open runs its command and exits with the tool's code (fast e2e, fake devices) — e2e/gateway-smoke.test.ts exec step without input: ""
  • Through a gateway, --stdin sends what stdin carried, and without it the command gets empty input — src/cli/index.test.ts, and the e2e step's echoed ""
  • On a worker, --stdin is accepted and ignored — src/cli/index.test.ts
  • The CLI reference and the CLI's manual describe --stdin, and the known gap about the hang is gone — cli.mdx and src/cli/AGENTS.md in this PR, checked by the claims review

Assumptions

none

Review

Spec review: 0 blocking, 0 fixed, 0 notes. Code review: 0 blocking, 0 fixed, 0 notes. Claims review: 0 blocking, 0 fixed, 0 notes.
Rounds: 1. Tokens: 23.7M.
Runs: 6. Cost USD: 1.7234. Agent seconds: 991.
Assessment: complete

Written by an agent.

@V3RON
V3RON added this pull request to stack #1179 November 1, 2026 14:37
@V3RON

V3RON commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor Author

Review ledger

Round 1: 41228a3
Round fix-check: a8cc654

Runs: 7. Cost USD: 1.7995. Agent seconds: 1016.
Tokens input 180, output 36423, cache read 3504021, cache write 301928.
- build implementer: claude-sonnet-5-5 257 s $0.4172
- audit implementer: claude-sonnet-5-5 126 s $0.1858
- review 1 reviewer: claude-sonnet-5-5 325 s $0.253
- review 1 spec-reviewer spec: claude-sonnet-5-5 17 s $0.1124
- review 1 code-reviewer both: claude-opus-5-5 244 s $0.6594
- review 1 claims-reviewer claims: claude-sonnet-5-5 22 s $0.0956
- fix implementer: claude-sonnet-5-5 25 s $0.0761
Finding outcomes: {}. Classes: {}.
{"findings":[]}

Written by an agent.

@V3RON
V3RON marked this pull request as ready for review November 1, 2026 14:47
@V3RON
V3RON merged commit c20ea2c into main Nov 1, 2026
45 checks passed
@V3RON
V3RON deleted the task/1176 branch November 1, 2026 14:58
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.

Through a gateway, simlock adb and simctl send stdin only with --stdin

1 participant