From e8a89a6ce24daf40740afb7c0280c15a2027cd63 Mon Sep 17 00:00:00 2001 From: giles Date: Fri, 24 Apr 2026 05:48:17 +0000 Subject: [PATCH] HS-plan: claim wait on event basics Co-Authored-By: Claude Opus 4.7 (1M context) --- plans/hs-conformance-to-100.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plans/hs-conformance-to-100.md b/plans/hs-conformance-to-100.md index fda679a5..cf6a3a0d 100644 --- a/plans/hs-conformance-to-100.md +++ b/plans/hs-conformance-to-100.md @@ -50,7 +50,7 @@ Each cluster below is one commit. Order is rough — a loop agent may skip ahead 8. **[blocked: mock selection state needs setup the JS test does via createRange+setStart+setEnd+addRange; attempted generator pattern + window.getSelection()/createRange mock but result still empty — host-get textContent doesn't propagate through range.setStart stored arg. Would need deeper mock of DOM text nodes with propagation.] `select returns selected text`** (1 test, `hs-upstream-select`). Likely `select` command needs to return `window.getSelection().toString()` equivalent. Add host-call to selection API in mock. Expected: +1. -9. **[pending] `wait on event` basics** — `wait / can wait on event`, `on another element`, `waiting ... sets it to the event`, `destructure properties in a wait` (4 tests). Event-waiter suspension issue. Expected: +3-4. +9. **[in-progress] `wait on event` basics** — `wait / can wait on event`, `on another element`, `waiting ... sets it to the event`, `destructure properties in a wait` (4 tests). Event-waiter suspension issue. Expected: +3-4. 10. **[pending] `swap` variable ↔ property** — `swap / can swap a variable with a property` (1 test). Swap command doesn't handle mixed var/prop targets. Expected: +1.