T3 Code feature design

Scheduled threads

Recurring workflows that open a fresh T3 chat.

A native scheduled-task system for recurring review work—such as the monthly Meta, Rybbit, and PracticeHub cycle—without turning an agent into an unattended production mutator.

What it does

1. ScheduleChoose a recurrence, timezone, project, prompt, and provider.
2. WakeThe server claims the due occurrence exactly once.
3. CreateT3 creates a new durable thread and queues the first turn.
4. ReviewThe run produces a report and stops at existing approval gates.

Recommended architecture

Safety default: scheduled runs use approval-required. The scheduler never grants broader permissions than the task stores, and it never bypasses Meta, website, Cloudflare, or other external approval mechanisms.

Recurrence and reliability

Implementation options

External cron/API wrapper.

Fast to prototype, but brittle and not visible or manageable inside T3.

Hermes or Cloudflare trigger.

Useful as a remote trigger later, but it adds authentication and deployment complexity before T3 has a stable scheduling API.

Verification plan

Test recurrence calculation, timezone and daylight-saving boundaries, missed-run coalescing, occurrence idempotency, lease recovery, approval defaults, and thread/first-turn creation. An integration test should advance a test clock and verify exactly one new thread and one queued first turn.