HS-plan: log cluster 30 landed (64bcefff, worktree cherry-pick)
This commit is contained in:
@@ -4,10 +4,10 @@ Live tally for `plans/hs-conformance-to-100.md`. Update after every cluster comm
|
|||||||
|
|
||||||
```
|
```
|
||||||
Baseline: 1213/1496 (81.1%)
|
Baseline: 1213/1496 (81.1%)
|
||||||
Merged: 1249/1496 (83.5%) delta +36
|
Merged: 1250/1496 (83.6%) delta +37
|
||||||
Worktree: all merged
|
Worktree: 3 in flight (clusters 20, 26, 27)
|
||||||
Target: 1496/1496 (100.0%)
|
Target: 1496/1496 (100.0%)
|
||||||
Remaining: ~247 tests
|
Remaining: ~246 tests
|
||||||
```
|
```
|
||||||
|
|
||||||
## Cluster ledger
|
## Cluster ledger
|
||||||
@@ -49,13 +49,13 @@ Remaining: ~247 tests
|
|||||||
|
|
||||||
### Bucket C — feature stubs (observer mocks)
|
### Bucket C — feature stubs (observer mocks)
|
||||||
|
|
||||||
| # | Cluster | Status | Δ |
|
| # | Cluster | Status | Δ | Commit |
|
||||||
|---|---------|--------|---|
|
|---|---------|--------|---|--------|
|
||||||
| 26 | resize observer mock + `on resize` | pending | (+3 est) |
|
| 26 | resize observer mock + `on resize` | pending | (+3 est) | — |
|
||||||
| 27 | intersection observer mock + `on intersection` | pending | (+3 est) |
|
| 27 | intersection observer mock + `on intersection` | pending | (+3 est) | — |
|
||||||
| 28 | `ask`/`answer` + prompt/confirm mock | pending | (+4 est) |
|
| 28 | `ask`/`answer` + prompt/confirm mock | pending | (+4 est) | — |
|
||||||
| 29 | `hyperscript:before:init` / `:after:init` / `:parse-error` | pending | (+4–6 est) |
|
| 29 | `hyperscript:before:init` / `:after:init` / `:parse-error` | pending | (+4–6 est) | — |
|
||||||
| 30 | `logAll` config | pending | (+1 est) |
|
| 30 | `logAll` config | done | +1 | 64bcefff |
|
||||||
|
|
||||||
### Bucket D — medium features
|
### Bucket D — medium features
|
||||||
|
|
||||||
@@ -87,7 +87,7 @@ Defer until A–D drain. Estimated ~25 recoverable tests.
|
|||||||
|--------|-----:|--------:|--------:|--------:|--------:|------------:|------:|
|
|--------|-----:|--------:|--------:|--------:|--------:|------------:|------:|
|
||||||
| A | 12 | 4 | 0 | 0 | 1 | — | 17 |
|
| A | 12 | 4 | 0 | 0 | 1 | — | 17 |
|
||||||
| B | 3 | 0 | 0 | 3 | 1 | — | 7 |
|
| B | 3 | 0 | 0 | 3 | 1 | — | 7 |
|
||||||
| C | 0 | 0 | 0 | 5 | 0 | — | 5 |
|
| C | 1 | 0 | 0 | 4 | 0 | — | 5 |
|
||||||
| D | 0 | 0 | 0 | 5 | 0 | — | 5 |
|
| D | 0 | 0 | 0 | 5 | 0 | — | 5 |
|
||||||
| E | 0 | 0 | 0 | 0 | 0 | 5 | 5 |
|
| E | 0 | 0 | 0 | 0 | 0 | 5 | 5 |
|
||||||
| F | — | — | — | ~10 | — | — | ~10 |
|
| F | — | — | — | ~10 | — | — | ~10 |
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ Orchestrator cherry-picks worktree commits onto `architecture` one at a time; re
|
|||||||
|
|
||||||
29. **[pending] `hyperscript:before:init` / `:after:init` / `:parse-error` events** — 6 tests in `bootstrap` + `parser`. Fire DOM events at activation boundaries. Expected: +4-6.
|
29. **[pending] `hyperscript:before:init` / `:after:init` / `:parse-error` events** — 6 tests in `bootstrap` + `parser`. Fire DOM events at activation boundaries. Expected: +4-6.
|
||||||
|
|
||||||
30. **[pending] `logAll` config** — 1 test. Global config that console.log's each command. Expected: +1.
|
30. **[done (+1)] `logAll` config** — 1 test. Global config that console.log's each command. Expected: +1.
|
||||||
|
|
||||||
### Bucket D: medium features (bigger commits, plan-first)
|
### Bucket D: medium features (bigger commits, plan-first)
|
||||||
|
|
||||||
@@ -175,6 +175,9 @@ Many tests are `SKIP (untranslated)` because `tests/playwright/generate-sx-tests
|
|||||||
|
|
||||||
(Reverse chronological — newest at top.)
|
(Reverse chronological — newest at top.)
|
||||||
|
|
||||||
|
### 2026-04-24 — cluster 30 logAll config (worktree agent cherry-pick)
|
||||||
|
- **64bcefff** (from worktree `worktree-agent-a2bf303fd00e2fd4b` / `e50c3e6e`) — `HS: logAll config (+1 test)`. Runtime additions in `runtime.sx`: `_hs-config-log-all` flag + `_hs-log-captured` list + setters `hs-set-log-all!`, `hs-clear-log-captured!`, reader `hs-get-log-captured`, emitter `hs-log-event!` which both appends and forwards to `(host-call (host-global "console") "log" msg)`. `integration.sx` `hs-activate!` now emits `(hs-log-event! "hyperscript:init")` as the first action inside its when-block. Generator `tests/playwright/generate-sx-tests.py` detects the upstream body pattern (contains both `logAll` and `_hyperscript.config.logAll`) and emits a hand-rolled deftest: reset captured list → toggle log-all on → build detached `_="on click add .foo"` div → hs-boot-subtree! → assert `(some (fn (l) (string-contains? l "hyperscript:")) captured)`. Suite hs-upstream-core/bootstrap: 19/26 → 20/26. Smoke 0-195: 164 → 165.
|
||||||
|
|
||||||
### 2026-04-24 — cluster 24 properly interpolates values 2
|
### 2026-04-24 — cluster 24 properly interpolates values 2
|
||||||
- **cb37259d** — `HS-gen: string-aware line-comment stripping (+1 test)`. `process_hs_val` in `tests/playwright/generate-sx-tests.py` stripped `//…` line comments with a naïve regex, which devoured `https://yyy.xxxxxx.com/…` inside a backtick template — test 2074 was landing with the HS source truncated at `https:`. New helper `_strip_hs_line_comments` walks char-by-char and only strips `//` / leading-whitespace `--` when not inside `'…'`, `"…"`, or `` `…` ``; also respects `\\`-escapes inside strings. Regen produced full template intact. Suite hs-upstream-core/regressions: 11/16 → 12/16. Smoke 0-195: 163/195 → 164/195.
|
- **cb37259d** — `HS-gen: string-aware line-comment stripping (+1 test)`. `process_hs_val` in `tests/playwright/generate-sx-tests.py` stripped `//…` line comments with a naïve regex, which devoured `https://yyy.xxxxxx.com/…` inside a backtick template — test 2074 was landing with the HS source truncated at `https:`. New helper `_strip_hs_line_comments` walks char-by-char and only strips `//` / leading-whitespace `--` when not inside `'…'`, `"…"`, or `` `…` ``; also respects `\\`-escapes inside strings. Regen produced full template intact. Suite hs-upstream-core/regressions: 11/16 → 12/16. Smoke 0-195: 163/195 → 164/195.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user