spec: what a copy does not carry over - #58
Open
delchev wants to merge 1 commit into
Open
Conversation
`duplicable: true` clones the source header verbatim, so a copied invoice keeps the source's date, due date and tax-event date - and a create-time rule cannot correct them, because such a rule fills an empty value and respects a present one. Document the object form (`defaults:` + `reset:`), the build order of the clone, the `now` token's per-field shape and its local-calendar rule, and what is invalid. Proposal: IntentFile/intent-specification#76 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
The site half of intent-specification#76.
duplicable: trueclones the source header verbatim, so every ordinary user field rides along - including the ones a business rule says must be fresh. On a sales invoice the copy carries the source'sdate,dueandtaxEventDate, and acalculatedActionOnCreatecannot correct them: such a rule fills an empty value and respects a present one, which is exactly what makes the copied value stick.Adds
### What a copy does not carry overto the Entities page (after Control order, before unique), and points theduplicablerow of the entity-level attributes table at it. Covers the object form (defaults:+reset:) and why the two keys are separate, the build order of the clone, thenowtoken's per-field shape plus its local-calendar rule, and the list of invalid declarations.Implemented in eclipse-dirigible#7360. Verified with
npm run docs:build(clean).🤖 Generated with Claude Code