Skip to content

feat: tombstones, identity paths, and substitution in filterIncludes#409

Merged
sini merged 1 commit intodenful:mainfrom
sini:feat/adapter-tombstones-and-identity
Apr 8, 2026
Merged

feat: tombstones, identity paths, and substitution in filterIncludes#409
sini merged 1 commit intodenful:mainfrom
sini:feat/adapter-tombstones-and-identity

Conversation

@sini
Copy link
Copy Markdown
Collaborator

@sini sini commented Apr 8, 2026

filterIncludes now produces tombstones (~name, meta.excluded) for excluded includes instead of silently dropping them. Tombstones are empty aspects harmless to module but visible to trace/debug adapters.

Substituted includes produce a tombstone for the original plus the replacement, enabling both to appear in traces.

New adapters:

  • aspectPath: derive identity from name + provider (replaces == on aspects)
  • excludeAspect: exclude by aspect reference via path comparison
  • substituteAspect: substitute by aspect reference via mapAspect + path
  • tombstone: create a tombstone from a resolved aspect (exported utility)

@sini sini requested a review from vic April 8, 2026 22:47
@sini sini marked this pull request as draft April 8, 2026 22:52
filterIncludes now produces tombstones (~name, meta.excluded) for
excluded includes instead of silently dropping them. Tombstones are
empty aspects harmless to module but visible to trace/debug adapters.

Substituted includes produce a tombstone for the original plus the
replacement, enabling both to appear in traces.

New adapters:
- aspectPath: derive identity from name + provider (replaces == on aspects)
- excludeAspect: exclude by aspect reference via path comparison
- substituteAspect: substitute by aspect reference via mapAspect + path
- tombstone: create a tombstone from a resolved aspect (exported utility)
@sini sini force-pushed the feat/adapter-tombstones-and-identity branch from adddce0 to 500f15c Compare April 8, 2026 23:00
@sini sini marked this pull request as ready for review April 8, 2026 23:00
Copy link
Copy Markdown
Member

@vic vic left a comment

Choose a reason for hiding this comment

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

lgtm, merge when you feel like it.

@vic vic added the allow-ci allow all CI integration tests label Apr 8, 2026
@sini sini merged commit 737843b into denful:main Apr 8, 2026
42 of 43 checks passed
@sini sini deleted the feat/adapter-tombstones-and-identity 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 allow-ci allow all CI integration tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants