Task Tracker
Tracks every job’s life cycle (queued → running → waiting → completed) and enforces safe checkpoints.
Work has no durable status, no pause/resume across human approvals, and no central completion gate.
Every task has a clean status history, single-writer fencing, and enforced output checks before finishing.
What It Does (In Plain English)
Tasks is the central ledger of all work. It ensures only one worker runs a task at a time (fencing), saves checkpoints after every turn, wakes parked tasks when a human approval or timer finishes, and serves as the single gate that validates answers before marking work completed.
Real-World Example
- 1A task starts as
queued, then moves torunningwhen picked up by a worker. - 2It needs human approval, so Tasks parks it in
waiting(using zero compute). - 3Human approves → Tasks wakes it back to
queued. - 4Final answer passes all guards → Tasks marks it
completed.
When Should You Turn It On?
Required automatically at Level 1 (review) and above.
Safety level note: Level 1 · Review — Read-only. Can inspect and answer, never changes outside systems.
How to Add It (workspace.yaml)
kits:
- "@neusym/kit-tasks@0.1.0"
kitConfigs:
tasks:
allowedCreateRoles: ["worker", "reviewer"]Kits It Works With
Technical Details & Configuration Options (1 settings)
| Package | @neusym/kit-tasks |
|---|---|
| Provides Ports | tasks@1 |
| Requires Ports | None |
| Optional Ports | executor@1operations@1secrets@1 |
| Publishes Events | task.changed |
| Owned DB Collections | tasksrunssignal_waits |
Configuration Options (kitConfigs.tasks)
| Setting | Type | Default | Description |
|---|---|---|---|
allowedCreateRoles | array | [] | Worker roles callers may target via createTask(workerRole). Empty by default (unroled tasks only); "*" allows any valid role. |