summaryrefslogtreecommitdiff
path: root/.agent
diff options
context:
space:
mode:
authorClaude <noreply@anthropic.com>2026-05-23 08:07:50 +0000
committerClaude <noreply@anthropic.com>2026-05-23 08:07:50 +0000
commitdc97d7ae00bd25668ba495fba249ceade0c6b100 (patch)
tree0c4f48b4cea2b20ab3f814e7655c4ce5c1fc044c /.agent
parent39cc108b5f0bf3d0238a1707d657a77b7a3df184 (diff)
feat(storage): emit state_change events on task transitions
UpdateTaskState now writes a state_change event in the same transaction as the row update, so the event stream and task state never diverge. Adds UpdateTaskStateBy(id, newState, actor) for explicit actor attribution; UpdateTaskState delegates with ActorSystem (correct for the executor, which drives the state machine). RejectTask and ResetTaskForRetry also emit state_change events attributed to the user. API accept and cancel handlers now attribute their transitions to the user via UpdateTaskStateBy. The executor's Store interface is unchanged, so no test doubles needed updating. https://claude.ai/code/session_01SESwn7kQ7oP62trWw6pc39
Diffstat (limited to '.agent')
0 files changed, 0 insertions, 0 deletions