Skip to content

format: add activation identifier to correlate invocations with returns#245

Merged
gnidan merged 1 commit into
mainfrom
architect-name-activation
Jul 9, 2026
Merged

format: add activation identifier to correlate invocations with returns#245
gnidan merged 1 commit into
mainfrom
architect-name-activation

Conversation

@gnidan

@gnidan gnidan commented Jul 4, 2026

Copy link
Copy Markdown
Member

An invocation and the return (or revert) that ends the same activation can now carry a matching activation string. A debugger uses it to pair a call with its return directly — independent of trace order, and without relying on invoke/return being strictly nested. Distinct activations carry distinct values, unique within a program.

  • Schema — add an optional activation string to the invoke, return, and revert contexts; add a worked example pairing an invoke with its return by a shared value.
  • TS types — add activation to the invoke/return/revert types and validate it in their guards.

@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-07-09 23:19 UTC

An invocation and the return (or revert) that ends the same activation
can now carry a matching `activation` string. A debugger uses it to pair
a call with its return directly — independent of trace order, without
relying on strictly nested invoke/return ordering. Distinct activations
carry distinct values, unique within a program.

- Schema: add an optional `activation` string to the invoke, return, and
  revert contexts; add a worked example pairing an invoke with its return
  by a shared value.
- TS types: add `activation` to the invoke/return/revert types and
  validate it in their guards.
@gnidan gnidan force-pushed the architect-name-activation branch from 7bead51 to e9cb163 Compare July 4, 2026 19:21
@gnidan gnidan merged commit 631eeed into main Jul 9, 2026
5 checks passed
@gnidan gnidan deleted the architect-name-activation branch July 9, 2026 23:15
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.

1 participant