trigger.dev
AGENTS.md16k starsChanged 4 months agoApache-2.0View on GitHub
Subdirectory CLAUDE.md files provide deeper context when you navigate into specific areas. This is a pnpm 10.33.2 monorepo using Turborepo. Run commands from root with pnpm run. Adding dependencies: Edit package.json directly instead of using pnpm add, then run pnpm i from the repo root. See .claude/rules/package-installation.md for the full process. The verification command depends on where the change lives: Only run typecheck/build after major changes (new files, significant refactors, schema changes). For small edits, trust the types and let…
Trending
More talk lately.about the whole repository
Who's talking about triggerdotdev/trigger.dev
- coollabsio/coolify“[Bug]: Various problems with Trigger template”GitHub · May 16, 2025 · 3 reactions
- @github-trending-js.bsky.social“📦 triggerdotdev / trigger.dev ⭐ 13,747 (+48) 🗒 TypeScript Trigger.dev – build and deploy fully‑managed AI …”Bluesky · Feb 21, 2026 · 2 likes
- @github-trending-js.bsky.social“📦 triggerdotdev / trigger.dev ⭐ 13,027 (+33) 🗒 TypeScript Trigger.dev – build and deploy fully‑managed AI …”Bluesky · Dec 18, 2025 · 2 likes
- @github-trending-js.bsky.social“📦 triggerdotdev / trigger.dev ⭐ 11,333 (+46) 🗒 TypeScript Trigger.dev – open source background jobs and …”Bluesky · Jun 3, 2025 · 2 likes
- coollabsio/coolify“[Bug]: Trigger.dev Error: Build failed: 401 "No authorization header provided"”GitHub · Jan 22, 2025 · 2 reactions
The biggest 5 of 60 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 60
Talked about on GitHub and Bluesky (60 times).
On GitHub · 50
- May 16, 2025[Bug]: Various problems with Trigger template — coollabsio/coolify3 reactions · 3 comments
- Jan 22, 2025[Bug]: Trigger.dev Error: Build failed: 401 "No authorization header provided" — coollabsio/coolify2 reactions · 1 comment
- Jan 8, 2026Strange error (i think) due to some git symlinked file that doesn't exist — nrjdalal/gitpick1 reaction · 2 comments
- Nov 2, 2026chore(deps): bump zod, @chronark/zod-bird, @trigger.dev/python, @trigger.dev/core, @trigger.dev/sdk, @trigger.dev/build and zod-openapi — HeliosEnergy/papermark0 reactions
- Nov 2, 2026chore(deps-dev): bump trigger.dev from 4.8.1 to 4.8.2 in the trigger-dev group — bodkul/faceit-deaf0 reactions · 1 comment
45 more on GitHub
- Nov 1, 2026Bump zod and @trigger.dev/sdk — caameliaz/Psi-dashboard-et-site-vitrine-0 reactions · 1 comment
- Oct 30, 2026The Trigger.dev pin is behind its newest release — Robbes/Ownpace0 reactions
- Oct 28, 2026● relit: triggerdotdev/trigger.dev — 🗺️ Observability Map — fitzyracing1/darks0 reactions · 1 comment
- Oct 26, 2026Bump the weekly group with 5 updates — markmoran/wushu-schools-scraper0 reactions
- Oct 26, 2026● relit: triggerdotdev/trigger.dev — 🦋 Changesets PR — fitzyracing1/darks0 reactions · 1 comment
- Oct 24, 2026Bump zod, @ai-sdk/openai, @trigger.dev/react-hooks, @trigger.dev/sdk and @trigger.dev/build in /vercel-ai-sdk-image-generator — orderofmagnitude1/use-for-smartsheet-examples0 reactions
- Oct 21, 2026The Trigger.dev pin is behind its newest release — Robbes/Ownpace0 reactions · 3 comments
- Oct 20, 2026chore(deps-dev): bump trigger.dev from 4.3.3 to 4.5.9 in the security-development group across 1 directory — Dargon789/ethereum-org-website0 reactions · 2 comments
- Oct 19, 2026Port upstream Trigger.dev self-hosting changes (v4.7.3...v4.8.3) — dodi-smart/coolify-trigger-v40 reactions
- Oct 14, 2026● relit: triggerdotdev/trigger.dev — 🚀 Publish Trigger.dev Docker — fitzyracing1/darks0 reactions · 5 comments
- Oct 13, 2026○ dark: triggerdotdev/trigger.dev — 🛡️ E2E Tests: Webapp Auth (full) — fitzyracing1/darks0 reactions · 1 comment
- Oct 12, 2026Port upstream Trigger.dev self-hosting changes (v4.6.4...v4.7.3) — dodi-smart/coolify-trigger-v40 reactions
- Oct 10, 2026chore(deps-dev): bump trigger.dev from 4.5.1 to 4.5.9 in /clickhouse-chat-agent — triggerdotdev/examples0 reactions · 1 comment
- Oct 10, 2026chore(deps-dev): bump trigger.dev from 4.0.0-v4-beta.0 to 4.5.9 in /article-summary-workflow — triggerdotdev/examples0 reactions · 1 comment
- Oct 10, 2026chore(deps-dev): bump trigger.dev from 3.3.5 to 4.5.9 in /batch-llm-evaluator — triggerdotdev/examples0 reactions · 1 comment
- Oct 10, 2026Bump trigger.dev from 4.0.2 to 4.5.9 in /anchor-browser-web-scraper — orderofmagnitude1/use-for-smartsheet-examples0 reactions
- Oct 10, 2026Bump trigger.dev from 4.1.0 to 4.5.9 in /claude-agent-github-wiki — orderofmagnitude1/use-for-smartsheet-examples0 reactions
- Oct 10, 2026Bump trigger.dev from 4.0.0-v4-beta.0 to 4.5.9 in /article-summary-workflow — orderofmagnitude1/use-for-smartsheet-examples0 reactions
- Oct 10, 2026Bump trigger.dev from 4.3.0 to 4.5.9 in /changelog-generator — orderofmagnitude1/use-for-smartsheet-examples0 reactions
- Oct 10, 2026Bump trigger.dev from 3.3.9 to 4.5.9 in /realtime-csv-importer — orderofmagnitude1/use-for-smartsheet-examples0 reactions
- Oct 10, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 — RothBlueprint/rbp-cal.diy0 reactions · 2 comments
- Oct 10, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 — forky-mcforkface/cal.com0 reactions
- Oct 9, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 in /packages/features — forky-mcforkface/calcom-cal.com0 reactions
- Oct 9, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 in /packages/features — codedeeply/cal.diy0 reactions · 1 comment
- Oct 9, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 — forky-mcforkface/calcom-cal.com-e7578750 reactions
- Oct 9, 2026Bump trigger.dev from 3.3.5 to 4.5.9 in /batch-llm-evaluator — orderofmagnitude1/use-for-smartsheet-examples0 reactions
- Oct 9, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 in /packages/features — RothBlueprint/rbp-cal.diy0 reactions · 2 comments
- Oct 9, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 — forky-mcforkface/calcom-cal.com0 reactions
- Oct 9, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 in /packages/features — forky-mcforkface/cal.com0 reactions
- Oct 9, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 — codedeeply/cal.diy0 reactions · 1 comment
- Oct 9, 2026build(deps-dev): bump trigger.dev from 4.3.3 to 4.5.9 — beaconchain-horizon/ethereum-org-website0 reactions
- Oct 9, 2026Bump trigger.dev from 4.4.3 to 4.5.9 in /packages/jobs — appsmithorg/midday0 reactions
- Oct 9, 2026chore(deps): bump trigger.dev from 4.4.3 to 4.5.9 in /packages/jobs — KB-Helios/midday0 reactions · 2 comments
- Oct 9, 2026chore(deps-dev): bump trigger.dev from 4.3.2 to 4.5.9 in /packages/features — forky-mcforkface/calcom-cal.com-e7578750 reactions
- Oct 5, 2026chore(deps): bump engine.io, @trigger.dev/python, @trigger.dev/core, @trigger.dev/sdk and @trigger.dev/build — HeliosEnergy/papermark0 reactions
- Sep 28, 2026chore(deps): bump the trigger-dev group with 4 updates — renatomf/nextjs-switchboard0 reactions · 2 comments
- Sep 20, 2026chore(deps): bump nanoid and @trigger.dev/sdk — shrikrishna-lab/noska0 reactions · 1 comment
- Sep 5, 2026chore(deps): bump nanoid, @trigger.dev/sdk, @trigger.dev/build and trigger.dev — evanjob2005-ux/savrio-dev-hq0 reactions
- Sep 5, 2026Bump nanoid, @trigger.dev/sdk, @trigger.dev/build and trigger.dev — andrewfowl/compound_app_data_api0 reactions
- Sep 5, 2026chore(deps): bump @trigger.dev/react-hooks from 4.5.12 to 4.6.3 — ameisw667/Casino0 reactions · 1 comment
- Sep 1, 2026Bump engine.io, @trigger.dev/python, @trigger.dev/core, @trigger.dev/sdk and @trigger.dev/build — aebq/papermark0 reactions · 1 comment
- Sep 1, 2026chore(deps): bump engine.io and @trigger.dev/sdk — shrikrishna-lab/noska0 reactions · 1 comment
- Sep 1, 2026chore(deps): bump engine.io, @trigger.dev/python, @trigger.dev/core, @trigger.dev/sdk and @trigger.dev/build — Ai-Systems-Australia/papermark0 reactions
- Sep 1, 2026chore(deps): bump engine.io, @trigger.dev/sdk and @trigger.dev/build in /trigger — Gabrielvilabracho/OCR-Prossesin-System0 reactions
- Sep 1, 2026Bump engine.io, @trigger.dev/sdk, @trigger.dev/build and trigger.dev — andrewfowl/compound_app_data_api0 reactions
On Bluesky · 10
- Feb 21, 2026📦 triggerdotdev / trigger.dev ⭐ 13,747 (+48) 🗒 TypeScript Trigger.dev – build and deploy fully‑managed AI agents and workflows — @github-trending-js.bsky.social2 likes and reposts
- Dec 18, 2025📦 triggerdotdev / trigger.dev ⭐ 13,027 (+33) 🗒 TypeScript Trigger.dev – build and deploy fully‑managed AI agents and workflows — @github-trending-js.bsky.social2 likes and reposts
- Jun 3, 2025📦 triggerdotdev / trigger.dev ⭐ 11,333 (+46) 🗒 TypeScript Trigger.dev – open source background jobs and AI infrastructure — @github-trending-js.bsky.social2 likes and reposts
- Aug 19, 2024📦 triggerdotdev / trigger.dev ⭐ 8,006 (+48) 🗒 TypeScript Trigger.dev is the open source background jobs platform for TypeScript. — @github-trending-js.bsky.social2 likes and reposts
- Dec 12, 2023📦 triggerdotdev / trigger.dev ⭐ 6,072 (+32) 🗒 TypeScript ✨ Trigger.dev is the open source background jobs framework for TypeScript. With… — @github-trending-js.bsky.social2 likes and reposts
5 more on Bluesky
- Apr 25, 2026https://github.com/triggerdotdev/trigger.dev — @tom-doerr.bsky.social1 likes and repost
- Nov 11, 2023📦 triggerdotdev / trigger.dev ⭐ 5,676 (+34) 🗒 TypeScript ✨ Trigger.dev is the open source background jobs framework for TypeScript. With… — @github-trending-js.bsky.social1 likes and repost
- Oct 4, 2023🔥 Hot Repo! 🔥 (100+ new stars) 📦 triggerdotdev / trigger.dev ⭐ 4,774 (+170) 🗒 TypeScript ✨ Trigger.dev is the open source background… — @github-trending-js.bsky.social1 likes and repost · 1 reply
- Aug 26, 2023📦 triggerdotdev / trigger.dev ⭐ 4,159 (+52) 🗒 TypeScript ✨ Trigger.dev is an open-source platform to create long-running jobs directly in… — @github-trending-js.bsky.social1 likes and repost
- Aug 27, 2025⭐️ Check out and star our open source GitHub repo here: github.com/triggerdotd... — @triggerdev.bsky.social0 likes and reposts · 1 reply
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository14 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- docs/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/executing-commands.mdcCursor rule
- .cursor/rules/migrations.mdcCursor rule
- .cursor/rules/otel-metrics.mdcCursor rule
- .cursor/rules/repo.mdcCursor rule
- .cursor/rules/webapp.mdcCursor rule
- .cursor/rules/writing-tasks.mdcCursor rule
- .cursor/rules/writing-tests.mdcCursor rule
- drizzleSkill
- errors-api-e2eSkill
- span-timeline-eventsSkill
- trigger-dev-tasksSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
16 rules. About 0 are common, 8 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
Only run typecheck/build after major changes (new files, significant refactors, schema changes).
- Very specific: line 54
Test files go next to source files (e.g., MyService.ts -> MyService.test.ts).
- Very specific: line 94
If there are false positives, edit ./knip.ts so that it passes.
- Very specific: line 98
Prefer static imports over dynamic imports: Only use dynamic import() when:
- Distinctive: line 109
Add one: when the change is something a user would notice, act on, or want to hear about: a new feature, a bug fix they could have hit, a …
- Distinctive: line 117
When in doubt, ask a maintainer rather than adding a note by default.
- Very specific: line 121
When a public package (packages/* or integrations/*) change is user-facing, add a changeset:
- Distinctive: line 127
Default to patch for bug fixes and minor changes
- Very specific: line 131
When a server-only change (apps/webapp/, apps/supervisor/, etc., with no package changes) is user-facing, add a .server-changes/ file …
- Distinctive: line 165
internal-packages/testcontainers: Test helpers for Redis/PostgreSQL containers
- Distinctive: line 182
When updating Docker image references:
- Distinctive: line 186
Use the digest from the main Docker Hub page, not from a specific OS/ARCH variant
- Very specific: line 190
Always import from @trigger.dev/sdk.
- Very specific: line 261
Add crumbs as you write code — not just when debugging.
- Distinctive: line 284
Do not invent new namespaces — pick from this table or ask first.
- Very specific: line 288
Do not flag // @crumbs markers, #region @crumbs blocks, or agentcrumbs imports in reviews.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS.md
This file provides guidance to Claude Code when working with this repository. Subdirectory CLAUDE.md files provide deeper context when you navigate into specific areas.
Build and Development Commands
This is a pnpm 10.33.2 monorepo using Turborepo. Run commands from root with pnpm run.
Adding dependencies: Edit package.json directly instead of using pnpm add, then run pnpm i from the repo root. See .claude/rules/package-installation.md for the full process.
pnpm run docker # Core dev services (Postgres, Redis, Electric, MinIO, ClickHouse, s2-lite)
# pnpm run docker:full # Same + observability stack (Prometheus, Grafana, OTEL) and chaos tooling
pnpm run db:migrate # Run database migrations
pnpm run db:seed # Seed the database (required for reference projects)
# Build packages (required before running)
pnpm run build --filter webapp && pnpm run build --filter trigger.dev && pnpm run build --filter @trigger.dev/sdk
pnpm run dev --filter webapp # Run webapp (http://localhost:3030)
pnpm run dev --filter trigger.dev --filter "@trigger.dev/*" # Watch CLI and packagesVerifying Changes
The verification command depends on where the change lives:
- Apps and internal packages (
apps/*,internal-packages/*): Usetypecheck. Never usebuildfor these — building proves almost nothing about correctness. - Public packages (
packages/*): Usebuild.
# Apps and internal packages — use typecheck
pnpm run typecheck --filter webapp # ~1-2 minutes
pnpm run typecheck --filter @internal/run-engine
# Public packages — use build
pnpm run build --filter @trigger.dev/sdk
pnpm run build --filter @trigger.dev/coreOnly run typecheck/build after major changes (new files, significant refactors, schema changes). For small edits, trust the types and let CI catch issues.
Testing
We use vitest exclusively. Never mock anything - use testcontainers instead.
pnpm run test --filter webapp # All tests for a package
cd internal-packages/run-engine
pnpm run test ./src/engine/tests/ttl.test.ts --run # Single test file
pnpm run build --filter @internal/run-engine # May need to build deps firstTest files go next to source files (e.g., MyService.ts -> MyService.test.ts).
Testcontainers for Redis/PostgreSQL
import { redisTest, postgresTest, containerTest } from "@internal/testcontainers";
redisTest("should use redis", async ({ redisOptions }) => {
/* ... */
});
postgresTest("should use postgres", async ({ prisma }) => {
/* ... */
});
containerTest("should use both", async ({ prisma, redisOptions }) => {
/* ... */
});Code Style
Formatting and linting
Format and lint are enforced by CI (code-quality check). Run before committing:
pnpm run format # oxfmt — auto-fixes formatting
pnpm run lint:fix # oxlint — auto-fixes lint violations
pnpm run lint # oxlint — check only (no fixes)Dead code
We use knip to control unused dependencies and code. It is enforced by CI code-quality.
Scan your code before pushing with:
pnpm run knipIf there are false positives, edit ./knip.ts so that it passes.
Imports
Prefer static imports over dynamic imports. Only use dynamic import() when:
- Circular dependencies cannot be resolved otherwise
- Code splitting is genuinely needed for performance
- The module must be loaded conditionally at runtime
Dynamic imports add unnecessary overhead in hot paths and make code harder to analyze. If you find yourself using await import(), ask if a regular import statement would work instead.
Changesets and Server Changes
Changesets and .server-changes/ files are user-facing release notes. They ship verbatim into the changelog that customers read to decide what to upgrade for or pay attention to. They are not a catalog of every change: anyone who wants the exact history reads the commits. So the question is not "did I touch a public package or a server app?" but "would a user or customer care about this change?"
Add one when the change is something a user would notice, act on, or want to hear about: a new feature, a bug fix they could have hit, a behavior or performance change they would feel, a breaking change.
Skip it (no changeset, no .server-changes/ file) when the change is not worth communicating to users, even if it touches a public package or a server app. For example:
- internal-only or admin-only changes, refactors, test-only changes, chores
- performance or query tuning with no user-visible behavior change
- changes to a public package that is not consumed independently (e.g.
@trigger.dev/redis-worker), where a version bump means nothing to a user
When in doubt, ask a maintainer rather than adding a note by default. An unnecessary entry is noise in the changelog, not a safe default.
How to add one
When a public package (packages/* or integrations/*) change is user-facing, add a changeset:
pnpm run changeset:add- Default to patch for bug fixes and minor changes
- Confirm with maintainers before selecting minor (new features)
- Never select major without explicit approval
When a server-only change (apps/webapp/, apps/supervisor/, etc., with no package changes) is user-facing, add a .server-changes/ file instead. See .server-changes/README.md for format and documentation.
Write the description for users, not maintainers. Both changesets and .server-changes/ notes ship verbatim in user-visible release notes. Lead with what changed for the user: one plain sentence describing behavior, not implementation, and never naming internal tools or infra. The full writing guidance in .server-changes/README.md applies to changesets too.
Dependency Pinning
Zod is pinned to a single version across the entire monorepo. When adding zod to a new or existing package, use the exact same version as the rest of the repo - never a different version or a range. Mismatched zod versions cause runtime type incompatibilities (e.g., schemas from one package can't be used as body validators in another).
Architecture Overview
Request Flow
User API call -> Webapp routes -> Services -> RunEngine -> Redis Queue -> Supervisor -> Container execution -> Results back through RunEngine -> ClickHouse (analytics) + PostgreSQL (state)
Apps
- apps/webapp: Remix 2.17.4 app - main API, dashboard, orchestration. Uses Express server.
- apps/supervisor: Manages task execution containers (Docker/Kubernetes).
Public Packages
- packages/trigger-sdk (
@trigger.dev/sdk): Main SDK for writing tasks - packages/cli-v3 (
trigger.dev): CLI - also bundles code that goes into customer task images - packages/core (
@trigger.dev/core): Shared types. Import subpaths only (never root). - packages/build (
@trigger.dev/build): Build extensions and types - packages/react-hooks: React hooks for realtime and triggering
- packages/redis-worker (
@trigger.dev/redis-worker): Redis-based background job system
Internal Packages
- internal-packages/database: Prisma 6.14.0 client and schema (PostgreSQL)
- internal-packages/clickhouse: ClickHouse client, schema migrations, analytics queries
- internal-packages/run-engine: "Run Engine 2.0" - core run lifecycle management
- internal-packages/redis: Redis client creation utilities (ioredis)
- internal-packages/testcontainers: Test helpers for Redis/PostgreSQL containers
- internal-packages/schedule-engine: Durable cron scheduling
v3 (engine V1) removed
v3 (engine V1: MarQS + Graphile worker) is end-of-life and its execution code has been removed. The apps/webapp/app/v3/ directory name is historical - everything there now serves V2 (Run Engine 2.0, @internal/run-engine + redis-worker). There is no V1 execution path: a RunEngineVersion V1 branch only rejects or finalizes gracefully so v3 clients get a clean 4xx, never a 5xx. Do not reintroduce V1. See apps/webapp/CLAUDE.md and .claude/rules/legacy-v3-code.md.
Documentation
Docs live in docs/ as a Mintlify site (MDX format). See docs/CLAUDE.md for conventions.
Reference Projects
Reference/example projects for testing SDK and platform features live in a separate repo: triggerdotdev/references. Clone it alongside this repo and use its projects/hello-world to manually test changes before submitting PRs. See that repo's README for setup and linking to a local monorepo build.
Docker Image Guidelines
When updating Docker image references:
- Always use multiplatform/index digests, not architecture-specific digests
- Architecture-specific digests cause CI failures on different build environments
- Use the digest from the main Docker Hub page, not from a specific OS/ARCH variant
Writing Trigger.dev Tasks
Always import from @trigger.dev/sdk. Never use @trigger.dev/sdk/v3 or deprecated client.defineJob.
import { task } from "@trigger.dev/sdk";
export const myTask = task({
id: "my-task",
run: async (payload: { message: string }) => {
// Task logic
},
});SDK Documentation Rules
The rules/ directory contains versioned SDK documentation distributed via the SDK installer. Current version: rules/manifest.json. Do NOT update rules/ or .claude/skills/trigger-dev-tasks/ unless explicitly asked - these are maintained in separate dedicated passes.
Testing with the hello-world Reference Project
The reference projects live in the separate triggerdotdev/references repo - clone it alongside this repo.
First-time setup:
pnpm run db:seedto seed the database (creates the References org + hello-world project)- Build the CLI/packages you want to test:
pnpm run build --filter trigger.dev - In your
referencesclone, follow its README to link to your local monorepo build, then authorize:cd projects/hello-world && pnpm exec trigger login -a http://localhost:3030
Running (from your references clone): cd projects/hello-world && pnpm exec trigger dev
Local Task Testing Workflow
Step 1: Start Webapp in Background
# Run from repo root with run_in_background: true
pnpm run dev --filter webapp
curl -s http://localhost:3030/healthcheck # Verify runningStep 2: Start Trigger Dev in Background
# in your triggerdotdev/references clone
cd projects/hello-world && pnpm exec trigger dev
# Wait for "Local worker ready [node]"Step 3: Trigger and Monitor Tasks via MCP
mcp__trigger__get_current_worker(projectRef: "proj_rrkpdguyagvsoktglnod", environment: "dev")
mcp__trigger__trigger_task(projectRef: "proj_rrkpdguyagvsoktglnod", environment: "dev", taskId: "hello-world", payload: {"message": "Hello"})
mcp__trigger__list_runs(projectRef: "proj_rrkpdguyagvsoktglnod", environment: "dev", taskIdentifier: "hello-world", limit: 5)Dashboard: http://localhost:3030/orgs/references-9dfd/projects/hello-world-97DT/env/dev/runs
<!-- intent-skills:start -->Skill mappings — when working in these areas, load the linked skill file into context.
skills:
- task: "Using agentcrumbs for debug tracing, adding crumbs, trails, markers, querying traces, or stripping debug code before merge" load: "node_modules/agentcrumbs/skills/agentcrumbs/SKILL.md"
- task: "Setting up agentcrumbs in the project, initializing namespace catalog, running crumbs init" load: "node_modules/agentcrumbs/skills/agentcrumbs/init/SKILL.md"
<!-- intent-skills:end -->agentcrumbs
Add crumbs as you write code — not just when debugging. Mark lines with
// @crumbs or wrap blocks in // #region @crumbs. They stay on the
branch throughout development and are stripped by agentcrumbs strip
before merge.
Namespaces
| Namespace | Description | Path |
webapp | Main Remix app — API, dashboard, orchestration | apps/webapp |
supervisor | Task execution container manager | apps/supervisor |
sdk | Main SDK for writing tasks | packages/trigger-sdk |
cli | CLI and task image bundling | packages/cli-v3 |
core | Shared types and subpath exports | packages/core |
build | Build extensions and types | packages/build |
react-hooks | React hooks for realtime/triggering | packages/react-hooks |
redis-worker | Redis-based background job system | packages/redis-worker |
run-engine | Run Engine 2.0 — core run lifecycle | internal-packages/run-engine |
database | Prisma client and schema | internal-packages/database |
clickhouse | ClickHouse client, migrations, analytics | internal-packages/clickhouse |
schedule-engine | Durable cron scheduling | internal-packages/schedule-engine |
run-queue | Run queue management | internal-packages/run-queue |
Do not invent new namespaces — pick from this table or ask first.
For PR reviewers
Do not flag // @crumbs markers, #region @crumbs blocks, or agentcrumbs
imports in reviews. These are temporary debug instrumentation stripped
before merge. Data logged in crumbs (IDs, names, values) never reaches
production.
CLI
pnpm exec agentcrumbs collect # start collector (multi-service)
pnpm exec agentcrumbs tail --app trigger # live tail
pnpm exec agentcrumbs clear --app trigger # remove crumbs before mergeThe preferred way to query for crumbs is to use pnpm exec agentcrumbs query --app trigger with the --limit option and cursor pagination, and clear existing crumbs before reproducing a bug via pnpm exec agentcrumbs clear --app trigger.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

