feat(core): run tasks from resource events - #1176
Open
dcramer wants to merge 6 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
July 31, 2026 19:24
c246229 to
085586d
Compare
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
August 1, 2026 04:16
5d630da to
1dcf60b
Compare
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
August 2, 2026 04:28
f867633 to
005cf8e
Compare
dcramer
force-pushed
the
codex/resource-event-catalog
branch
from
August 2, 2026 04:31
a23f94b to
db2d33c
Compare
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
August 2, 2026 04:32
005cf8e to
167edf3
Compare
dcramer
force-pushed
the
codex/resource-event-catalog
branch
from
August 2, 2026 05:06
db2d33c to
7aee0d0
Compare
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
August 2, 2026 05:06
167edf3 to
d839b87
Compare
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
August 2, 2026 05:34
d839b87 to
c1c466d
Compare
Base automatically changed from
codex/resource-event-catalog
to
codex/fix-participation-elaboration-eval
August 2, 2026 15:36
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
August 2, 2026 15:39
c1c466d to
11cf12d
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit f6ef4ea. Configure here.
dcramer
force-pushed
the
codex/fix-participation-elaboration-eval
branch
from
August 2, 2026 18:03
5dde433 to
27bb928
Compare
dcramer
force-pushed
the
codex/core-event-tasks
branch
from
August 2, 2026 18:09
2de2229 to
cb9a063
Compare
This was referenced Aug 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Built on #1191, which replays the plugin resource-event catalog reviewed in #1184 directly onto main. Junior core persists event tasks that execute a durable instruction whenever an enabled plugin publishes a matching normalized resource event. The Slack tools search the runtime plugin catalog and create, list, update, or delete tasks for the current channel or DM. One task may select multiple event types, and multiple tasks may match the same resource.
Plugins only own webhook verification, event normalization, and catalog registration. Core owns configured tasks and matching. Every match starts an independent top-level Slack job through the existing agent-dispatch path; its state-backed idempotency key combines the task with the provider event key so webhook retries do not execute the same task twice. SQL stores only configured tasks: presence means the task exists, and deletion removes the row. There is no active/deleted status, pause state, tombstone, or separate run-history system.
Event tasks use the creator's connected credentials by default when the stored work needs user-bound access. Anyone in the same Slack destination can manage the task, while only the original creator can enable creator credential use; another actor changing executable instructions or the trigger clears that delegation. GitHub issue guidance supports one issue or repository-wide issue activity and multiple selected issue states in one task.
A code TODO records the remaining circuit-breaker work for runaway event loops rather than imposing an arbitrary execution quota in this change.
Refs #1174