Skip to content

Feat/verify then commit - #5

Merged
ra-co88 merged 2 commits into
masterfrom
feat/verify-then-commit
Aug 30, 2026
Merged

Feat/verify then commit#5
ra-co88 merged 2 commits into
masterfrom
feat/verify-then-commit

Conversation

@ra-co88

@ra-co88 ra-co88 commented Aug 30, 2026

Copy link
Copy Markdown
Owner

No description provided.

pt-act added 2 commits August 28, 2026 20:47
Completes the client side of verify-then-commit (docs/VERIFY_THEN_COMMIT.md
gap #1): the remote TUI can now answer interactive stdin requests instead
of only noticing them.

- ServerEvent::StdinRequest arms a pending-answer state and shows the
  prompt in the transcript (empty prompts get a status notice)
- Enter sends the composer line as Request::StdinResponse - the first
  caller of the previously dead send_stdin_response path - so verify-
  then-commit approvals and interactive bash stdin both work remotely
- Esc declines with an empty reply (the edit gate treats it as a
  rejection) while preserving the draft for reuse
- other keys fall through so the user can scroll/edit while waiting
- replies are excluded from cross-session prompt history
- 4 wire-level tests using the dummy socketpair idiom assert the actual
  StdinResponse frames; in-workspace edit_approval suite now 13/13

Default remains off: local sessions have no stdin channel today, so the
gate fails closed there (documented).
@ra-co88
ra-co88 merged commit 7015af6 into master Aug 30, 2026
0 of 2 checks passed
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.

2 participants