Repository navigation
feat: a package can list the events it dispatches without constructing its emitters - #29
Merged
rodrigoteamx merged 1 commit intoSep 8, 2026
Conversation
…g its emitters An emitter declares to the dispatcher when it is built, so a process that never builds it never hears about its events: measured on fresh cattle, a CLI process knew seven of the family's twenty-four (greenhouse decisions/0228). DeclaresEvents is the holder contract that answers one step earlier — a static list of EventDeclaration a host can read from a class name found in a package manifest, and declare on behalf of an emitter this process will never construct.
rodrigoteamx
deleted the
feat/a-package-declares-its-events-in-its-manifest
branch
September 8, 2026 14:55
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.
Greenhouse decisions/0228, second slice. Measured on cattle (evidence 0567): with every emitter declaring at construction,
events:cataloguein a CLI process listed 7 of the family's 24 framework events — the rest belong to emitters that process never builds.Milpa\Interfaces\Event\DeclaresEventsis the holder contract (static declarations(): list<EventDeclaration>), readable from a class name a package manifest names, so a host can declare on behalf of an emitter nobody constructed. Additive: nothing existing implements it yet.