Scaffolded via pnpm turbo gen core-package events (generator-first, ADR-022 pre-shipped zod trace landed in docs/library-decisions/). Generator wired transpilePackages + E1/J eslint rule block. Two story-00-precedent additions so the coverage gates pass: the @vitest/coverage-v8 devDep (L0 sweep) and the honest symbols.ts exclude (mirroring core-shared/vitest.config.ts) plus its missing ALLOWED_GLOBS mirror in scripts/coverage/diff.mjs (L1 gate). No consumers wired — compile-green floor for the walking-skeleton PRD (ADR-027). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016j8z4VHjedXDTjEDNg7qHK
573 B
573 B
@repo/core-events
Owns the cross-feature event bus: IEventBus, defineEvent, and two implementations (InMemoryEventBus, PayloadJobsEventBus).
Boundary tag: core. May be imported by feature, core, core-composition, app. May import from core-shared, tooling.
Public surface: IEventBus, EventDescriptor, defineEvent, EventHandler, CORE_EVENTS_SYMBOLS, both implementations.
See: docs/decisions/adr-015-events-and-jobs.md (pending), docs/guides/events-and-jobs.md (pending), docs/superpowers/specs/2026-05-08-events-and-jobs-design.md.