refactor(schema): extract shared public schemas (#33571)
This commit is contained in:
parent
60aba622ab
commit
516cfe4e09
130 changed files with 2014 additions and 1593 deletions
|
|
@ -83,26 +83,6 @@ Compatibility:
|
|||
- The `session.next.*` lifecycle event family predates this branch; this branch refines its experimental V2 durability and replay contracts.
|
||||
- Durable replay cursors are per-aggregate event sequences; ephemeral deltas are intentionally absent after reconnect.
|
||||
|
||||
### Deterministic IDs From External Keys
|
||||
|
||||
Affected schema:
|
||||
|
||||
- Session and Event ID construction helpers.
|
||||
|
||||
Change:
|
||||
|
||||
- Add deterministic `SessionSchema.ID.fromExternal(...)` and `EventV2.ID.fromExternal(...)` constructors for trusted external keys.
|
||||
|
||||
Reason:
|
||||
|
||||
- Embedded adapters need stable local identities when the same external conversation or stimulus is delivered more than once.
|
||||
- Deterministic IDs let durable admission and event publication retain their idempotency boundaries across retries.
|
||||
|
||||
Compatibility:
|
||||
|
||||
- Existing generated Session and Event IDs retain their current prefixes and generation behavior.
|
||||
- Deterministic constructors are additive internal helpers; public ID schemas remain strings with their existing prefixes.
|
||||
|
||||
### Durable Step Settlement Ownership
|
||||
|
||||
Affected schema:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue