docs: the create-from's step axis and its append cardinality - #30
Open
delchev wants to merge 1 commit into
Open
Conversation
The glue page's create-from section now carries both axes of the event vocabulary and the mode: once|append cardinality, with the normative rules for each: a step binding's process must run on the from: entity, mode accepts only the two values, and the back-reference is required in both cardinalities. States what append is not - the absence of a guard rather than a state-aware one, so a redelivery appends a duplicate and a voided target's replacement is not what it expresses.
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.
Documents the two additions proposed in intent-specification#39 (proposal
0021) on the Declarative glue page.generates.event— the sameonStepReached/onStepCompleted: { process, step }binding notifications, integrations and departures declare, narrowed by one rule of its own: the process must run on thefrom:entity.mode: once|append— the cardinality.once(default) is the existing at-most-once behaviour;appendcreates one target per delivered event, which is what expresses a log entry per step or a protocol line per transition.Both normative blocks follow the site's
::: info Normativeconvention. The at-most-once paragraph is now scoped tomode: once, the event-axis section notes that a create-from binds to it too, andreference.mdgains thegenerates.event.moderow.npx vitepress build docspasses.Left open for the maintainer, as usual.