Tasks v1 Freeze
Tasks v1 is the first shippable local task runtime boundary for Fased Agents. It does not mean the long-term adaptive Agent brain is finished. It means local Task ownership, policy, queueing, recovery, and control surfaces have a clear shape and a concrete proof gate. The product rule is:Model Resolution
Task model selection is explicit and Agent-owned. Resolution order:- Task explicit model or chat session override.
- Agent task role for task-role runs.
- Agent primary/fallback model for default Agent runs.
- Provider-scoped migration fallback if no flat Agent field exists.
- Global defaults.
Local v1 Surface
The local v1 surface includes:- scheduled tasks with
at,every, and cron-expression triggers - manual task runs from UI, CLI, WebChat, and connected channel commands
- Agent and Session ownership
- channel delivery without making the channel own the work
- Agent > Tasks plus task overview/admin views
- no-model, skill-only, agent-turn, cheap-check, and strong-model policies
- memory scope, skill scope, budget, escalation, and stop rules
- explicit Agent task-model roles
- deterministic or template-backed status/review paths where a concrete adapter is wired; wallet, mining, and marketplace authority remains on the owning surface
- preflight, needs-access state, and resume-after-setup flow
- run history, run transcript links, and run detail
- durable local queue items with worker leases
- cancel, retry, stale-lease recovery, and resumable checkpoints
- saved workflow definitions and graph workflow definitions with preview/run/resume handlers
- source metadata and repair state where a workflow/source adapter records them
- helper Agent or subagent evidence where the run explicitly records it under the same correlation chain
- adaptive next-run routing only after repeated-run evidence supports it
Not Part Of The Freeze
These are later task-runtime layers:- cross-node distributed execution
- mid-call resume inside a provider/tool call
- longer-horizon learned routing
- richer semantic stop evaluation
- autonomous access/skill negotiation
- whole-workflow adaptation from repeated run evidence
Completion Gate
Treat Tasks v1 as frozen only after these checks pass on a real local node:- Create a task from WebChat and see it in Agent > Tasks, overview/admin, and the owning Session.
- Create a task from a connected channel and see the same Task in Agent >
Tasks and
/task list. - Run a no-model task and confirm no model call is used.
- Run each shipped deterministic or template-backed status/review task and confirm it stays inside its selected skill/tool policy.
- Run a cheap-check task with compact prompt, explicit cheap/check model selection, scoped memory, and bounded escalation.
- Block a task on missing access, fix setup, and resume only after preflight passes.
- Open run detail and confirm queue/run state, adapter/model/tool source, delivery result, evidence when present, and transcript link.
- Cancel an active run, retry a failed run, and clear a stale lease.
- Restart gateway or worker during a run and confirm recovery does not double-deliver.
- For any shipped source-repair adapter, confirm the repaired graph does not loop forever.
- For any shipped helper-Agent evidence path, confirm approval and selected Agent ids are recorded in run detail.
- For any shipped adaptive routing path, run repeated Tasks and confirm
Adaptive nextappears only when recent history supports a route change.
What Changed From Cron/Heartbeat
| Area | Older model | Tasks v1 |
|---|---|---|
| Product object | Cron job, heartbeat wake, or channel-triggered message | Task owned by an Agent and Session |
| Ownership | Implied by main session or channel route | Explicit agentId, sessionKey, task id, trigger, policy, and delivery |
| Channel role | Often shaped the user experience | Transport and optional delivery target |
| Scheduling | Gateway cron/heartbeat internals | Triggers wake Tasks; policy decides execution |
| Execution | One prompt or one scheduler event | No-model, skill-only, model, or graph execution |
| Memory | Mostly session/prompt-shaped | Explicit memory scope per Task |
| Skills | Usually Agent/tool prompt availability | Explicit skill scope and preflight |
| Recovery | Scheduler-centric restart/backoff | Queue status, leases, retry, checkpoint, delivery replay |
| Evidence | Logs and transcript | Run detail, queue steps, source quality, adapters, delivery, transcript |
| UI naming | Could still say cron | User-facing UI says Task; cron.* remains internal storage |