Skip to content

[Calls] Plan stateful and singleton-array lifecycle entries - #654

Draft
CaelmBleidd wants to merge 2 commits into
caelmbleidd/ts-lifecycle-input-witnessesfrom
caelmbleidd/ts-lifecycle-state-sequences
Draft

CaelmBleidd wants to merge 2 commits into
caelmbleidd/ts-lifecycle-input-witnessesfrom
caelmbleidd/ts-lifecycle-state-sequences

Conversation

@CaelmBleidd

Copy link
Copy Markdown
Member

Generate bounded writer-reader sequences when a pair of class methods shares a receiver field. Give each writer a turn, and add structural primitive fields only when the reader provides type evidence. Generate singleton array witnesses with a symbolic element, using the usual source allocation and indexed write.

Allow automatic class probes to opt out of either generation step. class-lifecycle-plan applies the same settings and emits the generated entry list before search. Stateful candidate rows retain their opaque-result count alongside normal return predictions.

Local verification on the exact #653 parent with JDK 21, Node 22 and JacoDB 4251d2023d: 17 lifecycle tests and 4 Calls tests passed. The standalone array regression uses the existing forEach own-slot model.

@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-lifecycle-input-witnesses branch from 6da1b5b to 924138f Compare December 2, 2026 20:20
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-lifecycle-state-sequences branch from 8f1581b to 0874376 Compare December 2, 2026 20:25
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-lifecycle-state-sequences branch from 0874376 to ea1445f Compare December 2, 2026 20:35
@CaelmBleidd
CaelmBleidd force-pushed the caelmbleidd/ts-lifecycle-input-witnesses branch from 924138f to b3a31c2 Compare December 2, 2026 20:35
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