Skip to content

Persist canonical task lifecycle state - #9

Merged
JulioMCruz merged 1 commit into
mainfrom
agent/project-workflow-reliability
Jul 22, 2026
Merged

Persist canonical task lifecycle state#9
JulioMCruz merged 1 commit into
mainfrom
agent/project-workflow-reliability

Conversation

@JulioMCruz

Copy link
Copy Markdown
Contributor

What changed

  • Map task status transitions to a canonical dispatch state.
  • Clear claim, retry reservation, prior delivery error, and worker-protocol state when work reaches Review or Done.
  • Add policy tests for every lifecycle mapping.

Why

The production mixed-runtime E2E exposed stale retry/claim metadata after completion. That let the dispatcher retry finished work and made the UI unable to distinguish queued, working, review, and completed tasks reliably.

Validation

  • npm test: 45/45 passed
  • npm run build: passed
  • npm run lint: blocked by the repository's pre-existing ESLint 9 configuration mismatch (no eslint.config.*); no lint configuration is changed here

Rollout

Deploy this service before repeating Desktop JOURNEY-PROJECT-001.

@JulioMCruz
JulioMCruz marked this pull request as ready for review July 22, 2026 12:19
@JulioMCruz
JulioMCruz merged commit c5891d6 into main Jul 22, 2026
2 checks passed
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