Skip to content

feat: context stage tagging + __ctxTrace on ctxApply output#453

Closed
sini wants to merge 1 commit intodenful:mainfrom
sini:feat/ctx-trace
Closed

feat: context stage tagging + __ctxTrace on ctxApply output#453
sini wants to merge 1 commit intodenful:mainfrom
sini:feat/ctx-trace

Conversation

@sini
Copy link
Copy Markdown
Collaborator

@sini sini commented Apr 14, 2026

tagStage marks includes with __ctxStage, __ctxKind, __ctxAspect for tracing which context stage produced each include.

traceItem produces serializable summaries of traversal items with key, selfName, prevName, provider flags, ctxKeys, entityNames.

ctxApply now emits __ctxTrace alongside includes — a list of traceItem records for downstream consumers (diag pipeline, structuredTrace).

tagStage marks includes with __ctxStage, __ctxKind, __ctxAspect for
tracing which context stage produced each include.

traceItem produces serializable summaries of traversal items with
key, selfName, prevName, provider flags, ctxKeys, entityNames.

ctxApply now emits __ctxTrace alongside includes — a list of traceItem
records for downstream consumers (diag pipeline, structuredTrace).
@sini sini changed the title feat(ctx): context stage tagging + __ctxTrace on ctxApply output feat: context stage tagging + __ctxTrace on ctxApply output Apr 14, 2026
@vic
Copy link
Copy Markdown
Member

vic commented Apr 14, 2026

deferred until we merge fx

@sini
Copy link
Copy Markdown
Collaborator Author

sini commented Apr 16, 2026

I'll sneak this in with the massive FX + diagram merge

@sini sini closed this Apr 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants