# tasks: task.start resolves the repo path and exists before its worker · lucenx/signaltty

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

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

Visibility: public

Requested revision: 1db9f863bcd0780fa8a95338cd6294ce6c94cf19

Requested commit: 1db9f863bcd0780fa8a95338cd6294ce6c94cf19

Commit: 1db9f863bcd0780fa8a95338cd6294ce6c94cf19

Tree: 4a145a2366eba85e15ccefc17293399495114916

Author: Lucenx9

Committer: Lucenx9

## Message

```
tasks: task.start resolves the repo path and exists before its worker

`task start --repo .` failed with "cannot resolve base_ref 'HEAD'": the
server resolved the relative path against its own cwd. The CLI now makes
--repo and --path absolute before sending them, and the server rejects a
relative repo with BAD_PARAMS, as it already did for path.

A worker that ran `signaltty report` right away got NO_SUCH_TASK: the
task entered the store only after its pane had spawned. It is now
committed before the spawn and gets its pane id afterwards; a spawn
failure fails the stored task as before. The response carries the stored
task, so an early report is not overwritten.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

```

## Parents

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

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