diff --git a/packages/codemode/codemode.md b/packages/codemode/codemode.md index c6253b80a3d..45ebbfa5aa3 100644 --- a/packages/codemode/codemode.md +++ b/packages/codemode/codemode.md @@ -149,8 +149,10 @@ the adapter TODO. Delete entries when completed. The supported JavaScript subset should grow when common model-generated code improves tool orchestration. These are current omissions to implement, not intentional product boundaries. -- [ ] Complete promise-pipeline parity: assimilate supported thenables, propagate cancellation through chained promises, - and consider `Promise.any`. +- [ ] Decide whether thenable assimilation belongs in the bounded runtime. Promise resolution currently unwraps only + `SandboxPromise`; arbitrary `{ then(resolve, reject) }` values remain data. Full assimilation requires internal + callable resolver values, first-settlement arbitration, recursive adoption, and cycle detection. +- [ ] Propagate cancellation through chained promises, and consider `Promise.any`. - [ ] Support async iteration and `for await...of`. Define behavior first for the runtime's supported promise and collection values, then extend it to bounded host streams when a stream boundary exists. - [ ] Support callback-bearing standard-library variants that models commonly generate: the mapper argument to