Skip to content

Add scheduled agent jobs - #102

Open
jasonhedman wants to merge 1 commit into
json/native-agent-messagingfrom
json/scheduled-agent-jobs
Open

Add scheduled agent jobs#102
jasonhedman wants to merge 1 commit into
json/native-agent-messagingfrom
json/scheduled-agent-jobs

Conversation

@jasonhedman

@jasonhedman jasonhedman commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add durable one-time, interval, and timezone-aware calendar schedules through folder-based create/list/update tools
  • run each occurrence in an isolated Eve task continuation so scheduled work never occupies the main Linq conversation
  • persist structured worker outcomes from lifecycle events and immediately queue useful results back into the main Linq thread; nothing_to_report remains silent
  • add occurrence uniqueness, missed-run policy, bounded worker restart, retry leases, and lease-token-safe report recovery
  • prevent scheduled workers from calling send_message or react_to_message; the main conversation retains all native Linq messaging discretion

Dependency

Validation

  • pnpm check (67 files, 286 tests; lint, types, format, Knip, and boundaries)
  • DATABASE_URL_UNPOOLED=postgresql://postgres:postgres@127.0.0.1:54329/open_instinct pnpm db:check
  • DATABASE_URL=postgresql://postgres:postgres@127.0.0.1:54329/open_instinct BETTER_AUTH_URL=http://localhost:3000 pnpm build:eve
  • DATABASE_URL=postgresql://postgres:postgres@127.0.0.1:54329/open_instinct BETTER_AUTH_URL=http://localhost:3000 pnpm build

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