# cli: fix named attaches and relative working directories \(\#113\) · lucenx/signaltty

[View on GitCafe](https://git.cafe/lucenx/signaltty/commit/0908da30d56c846ebdb216a2aa9c2dcadc362b6a)

Repository: [lucenx/signaltty](https://git.cafe/lucenx/signaltty)

Visibility: public

Requested revision: 0908da30d56c846ebdb216a2aa9c2dcadc362b6a

Requested commit: 0908da30d56c846ebdb216a2aa9c2dcadc362b6a

Commit: 0908da30d56c846ebdb216a2aa9c2dcadc362b6a

Tree: f3151bbf8899df84b5885846a0e1649b9e8c2506

Author: Simone

Committer: GitHub

## Message

```
cli: fix named attaches and relative working directories (#113)

* specs: record CLI identity and cwd regression requirements

* cli: pin named attaches to their pane IDs

The server resolves names in each request and emits exit/close events with opaque IDs. Retain the pane.get ID so event comparisons and later input stay bound to the original pane even after its name is reused. Exercise close, process exit, and name reuse with the real CLI in a controlling PTY.

* cli: resolve explicit cwd in the caller directory

Relative cwd was sent unchanged and interpreted by the server in its own working directory. Share the existing task path resolver with new, pane spawn and pane split, and exercise all three using pwd from a separate temporary checkout.

* tests: separate attach startup and behavior deadlines

Allow the real CLI ten seconds to reach raw mode when integration fixtures run concurrently. Input routing and termination still have three-second limits, so startup scheduling cannot masquerade as the identity regression.

* qa: record CLI regression and full verification evidence

---------

Co-authored-by: Lucenx9 <185146821+Lucenx9@users.noreply.github.com>
```

## Parents

- [7fac1147705ceaf1b67bf52d5d34e00f85dcda6a](https://git.cafe/lucenx/signaltty/commit/7fac1147705ceaf1b67bf52d5d34e00f85dcda6a?format=markdown)

[Source at this commit](https://git.cafe/lucenx/signaltty/tree/0908da30d56c846ebdb216a2aa9c2dcadc362b6a?format=markdown)
