Skip to content

Add the unrouted rule for events not yet handled - #263

Merged
tylercschneider merged 4 commits into
mainfrom
feature/unrouted-events
Oct 23, 2026
Merged

tylercschneider merged 4 commits into
mainfrom
feature/unrouted-events

Conversation

@tylercschneider

Copy link
Copy Markdown
Collaborator

One Sentence Summary

A developer using event_engine can now define an event in the rules file before any handler exists for it, without the app failing to boot.

ACs Covered

  • A host can give an event the rule unrouted in its rules file to define the event before anything handles it.
  • An event ruled unrouted passes the boot-time rules check instead of failing it.
  • Emitting an event ruled unrouted raises the unroutable event error instead of being dropped or looking up a processor named unrouted.
  • The README, the changelog and the develop guide file that gets installed into host apps describe the unrouted rule.

Decision Log

How does a host mark an event that is defined but not routed yet?

With the rule value unrouted in the rules file, chosen over treating a blank rule as allowed, so leaving an event out by mistake still fails the boot check.

Code Example

Not relevant.

Out of Scope

Not relevant.

Ticket Billed Against

Not specified.

Tokens Used

  • Input: 8
  • Output: 80
  • Cache read: 43,204
  • Cache write: 9,076
  • Total: 52,368

Effort

  • Sessions: 0
  • Prompts: 0
  • Words typed: 0
  • Pasted blocks: 0
  • Words pasted: 0
  • Questions answered: 0
  • Interruptions: 0
  • Rejected tool calls: 0
  • Claude working time: 0m
  • Your active time: 0m

Time Spent

  • Total: 0m
  • Waiting on the owner: 0m
  • Model time: 0m
  • Worktree setup: 0m
  • Reading: 0m
  • Test-first cycles: 0m
  • Commits: 0m
  • Ticking criteria and recording decisions: 0m
  • Full-suite checks: 0m
  • Other tool calls: 0m
  • pr-scribe: 0m

Generation Metadata

Scribe: pr-scribe 0ca4722
Rules: pr-body b9e3fc6, draft-reading 0d470c5, writing-style c3c2f61
Model: claude-sonnet-5-5, cc 2.1.303

🤖 Generated with Claude Code

tylercschneider and others added 4 commits October 23, 2026 13:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tylercschneider
tylercschneider merged commit f499604 into main Oct 23, 2026
3 checks passed
@tylercschneider
tylercschneider deleted the feature/unrouted-events branch October 23, 2026 17:05
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