Skip to content

fix: rename excludedBy to excludedFrom on tombstones#421

Merged
vic merged 1 commit intodenful:mainfrom
sini:fix/tombstone-excludedFrom
Apr 9, 2026
Merged

fix: rename excludedBy to excludedFrom on tombstones#421
vic merged 1 commit intodenful:mainfrom
sini:fix/tombstone-excludedFrom

Conversation

@sini
Copy link
Copy Markdown
Collaborator

@sini sini commented Apr 9, 2026

The value is the parent aspect whose meta.adapter caused the exclusion, not the agent doing the excluding. excludedFrom better describes "this aspect was excluded from server's subtree."

The value is the parent aspect whose meta.adapter caused the exclusion,
not the agent doing the excluding. excludedFrom better describes "this
aspect was excluded from server's subtree."
# meta.provider — who defines this aspect (structural origin, from provides chain)
# meta.excludedBy — who excluded it (the aspect whose meta.adapter caused exclusion)
# meta.excludedFrom — the parent aspect whose meta.adapter caused the exclusion
# meta.replacedBy — name of the replacement (for substitutions only)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so is replacedWith also a better name ? or is replacedBy a reference of who replaced the aspect ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replacedBy is the aspect that was substituted

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh right, the value of replacedBy was the original aspect

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

naming is hard, you are much better than me at this.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ex;
desktop.includes[] resolves with an adapter sub(regreet,gdm)
regreet(excluded) -> gdm(inserted)
so the tombstone for regreet has excludedFrom = desktop replacedBy = gdm

@vic vic added the merge-approved Approved, merge yourself when ready label Apr 9, 2026
@vic vic merged commit 459bd1d into denful:main Apr 9, 2026
49 of 67 checks passed
@sini sini deleted the fix/tombstone-excludedFrom branch April 14, 2026 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-assisted merge-approved Approved, merge yourself when ready

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants