Assignment
Run two local workers over a durable queue of ten synthetic tasks, including one that waits for approval and one that exceeds its budget.
Build sequence
- Implement task claim, heartbeat or lease, cancellation, and terminal states.
- Enforce a shared per-user concurrency limit.
- Restart a worker while a task is paused and resume with its recorded version.
- Prepare a demo, trace walkthrough, and recovery runbook for the final portfolio.
Acceptance checks
- A task cannot execute concurrently under two valid claims.
- Budget and cancellation stops are visible to the caller.
- The runbook explains recovery for pending, failed, and uncertain-effect states.
Evidence to keep
Submit the working artifact or decision document described above, the inputs used, and the observed results for every acceptance check. Include one failed attempt and the change you made after investigating it. Label fixture-based outcomes separately from live-system measurements. These artifacts become part of your final portfolio review.