Skip to content

Make Kitty remote commands dry-run testable#502

Merged
NagyVikt merged 1 commit intomainfrom
agent/codex/dry-run-testable-kitty-command-builders-2026-04-30-14-10
Apr 30, 2026
Merged

Make Kitty remote commands dry-run testable#502
NagyVikt merged 1 commit intomainfrom
agent/codex/dry-run-testable-kitty-command-builders-2026-04-30-14-10

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

Kitty remote control needs argv-safe builders that tests can assert without a running Kitty daemon. This adds deterministic command construction for launch, focus, close, send-text, ls, and version probes while preserving the existing backend aliases.

Constraint: Tests must not require a live Kitty instance

Rejected: Build shell strings for send-text | stdin input keeps user text out of argv and avoids shell quoting

Confidence: high

Scope-risk: narrow

Directive: Keep Kitty builders pure; runtime execution belongs in createBackend

Tested: node --test test/terminal-kitty.test.js test/cockpit-terminal-backend.test.js

Tested: openspec validate --specs

Tested: git diff --check

Not-tested: npm test has existing baseline failures in agents launch/lifecycle/session tests
@NagyVikt NagyVikt merged commit 1ec7e37 into main Apr 30, 2026
@NagyVikt NagyVikt deleted the agent/codex/dry-run-testable-kitty-command-builders-2026-04-30-14-10 branch April 30, 2026 12:19
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