# refactor\(orchestration\): split thread-not-sendable into typed errors · stienswout/t3code

[View on GitCafe](https://git.cafe/stienswout/t3code/commit/4c30c7f0ef8671ecabea21ca8790d51e5eb99bdd)

Repository: [stienswout/t3code](https://git.cafe/stienswout/t3code)

Visibility: public

Requested revision: 4c30c7f0ef8671ecabea21ca8790d51e5eb99bdd

Requested commit: 4c30c7f0ef8671ecabea21ca8790d51e5eb99bdd

Commit: 4c30c7f0ef8671ecabea21ca8790d51e5eb99bdd

Tree: dae1b862c7c282cda8401adac0288cb53f580b7a

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
refactor(orchestration): split thread-not-sendable into typed errors

Effect service conventions: ThreadManagementThreadNotSendableError
carried an Archived/NoSteerableRun reason union and switched on
reason._tag inside the message getter. Modelled as two error classes
(ThreadManagementThreadArchivedError, ThreadManagementNoSteerableRunError);
both still map to the MCP thread_not_sendable failure code.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

```

## Parents

- [b0e8fe0cfc7f69862f7b6ef6c977ed9756790a3d](https://git.cafe/stienswout/t3code/commit/b0e8fe0cfc7f69862f7b6ef6c977ed9756790a3d?format=markdown)

[Source at this commit](https://git.cafe/stienswout/t3code/tree/4c30c7f0ef8671ecabea21ca8790d51e5eb99bdd?format=markdown)
