Repository navigation
Open
Labels
AI-doneauto-mergebase-3542-epic-plugin-system-xu8Base branch label for Epic: Plugin system: manifest, handlers, commands and official pluginsllm-claude-opus55propr-planned
Description
Goal
Plugins need to follow implementation and follow-up tasks. Add a task domain to the repository event journal, alongside the existing pull_request, epic_queue and plan_issue domains. This issue only adds the events; nothing consumes them yet.
What to build
- Domain
taskwith typesqueued,started,completed,failed,cancelled. - Payload: task id, task kind (implementation, follow-up, review, merge-conflict, automation), issue or pull request number, agent, model, and for terminal events an outcome summary (status, duration, whether a pull request was opened or updated, short failure category). No prompt text, no tool output, no logs, no file contents.
- Events are appended where task status changes are already recorded. Appending must never fail or delay the task: an append error is logged and the task continues.
- The existing readers of the journal (API, MCP, automations' event triggers) accept the new domain; automations can use
task.*as an event trigger if the existing trigger catalog is derived from the domain list, otherwise leave automations unchanged.
Acceptance criteria
- For an implementation task and a pull request follow-up:
queued,startedand one terminal event are appended in order with the documented payload. - A cancelled task appends
cancelled; a failed task appendsfailedwith a failure category. - Sentinel test: prompt text and tool output never appear in a
taskevent. - A journal append failure does not change the task's outcome.
- Journal retention, API and MCP read paths return the new events; docs list the domain and payloads where the other domains are documented.
Implementation
packages/shared/src/repositoryEvents.ts: domain, types, payload schema.- Append in the task status paths (
packages/core/src/services/repositoryEventJournal.ts, task queue and job completion paths insrc/jobs). - Tests in
packages/shared/test,packages/core/testandtest/. - Docs where repository events are described.
Notes
Independent of the plugin issues; placed here because the dispatcher needs it. ProPR runs on SQLite only. Ordinary task runs stay one-shot.
Metadata
Metadata
Assignees
Labels
AI-doneauto-mergebase-3542-epic-plugin-system-xu8Base branch label for Epic: Plugin system: manifest, handlers, commands and official pluginsllm-claude-opus55propr-planned
Activity
propr-dev commentedon Nov 14, 2026
🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.
I'll analyze the problem and work on a solution. This may take a few minutes.
Processing Details:
claudeclaude-opus-5-53547/claude-opus-5-5-repository-event-journal--20261114-1634-rv23542-epic-plugin-system-xu8issue-3547-20261114-1634-claude-opus-5-5-rv2🔍 Track Task Execution