Skip to content

Commit 108a3c1

Browse files
docs: update prompt.
1 parent ee39d8a commit 108a3c1

1 file changed

Lines changed: 14 additions & 17 deletions

File tree

docs/issue-62-continuation-prompt.md

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,22 +34,22 @@ remaining edge-case regressions without broad UI redesign.
3434

3535
### Remaining focus areas
3636

37-
1. Tab-id-first activation hardening
37+
1. Remove/add/rename coherence
38+
39+
- Keep fallback tab selection deterministic after remove.
40+
- Ensure add and rename flows do not drift name/path/content synchronization.
41+
42+
2. Tab-id-first activation hardening
3843

3944
- Keep active tab id as the single source of truth for visible editor content.
4045
- Prevent hidden-panel interactions or stale branch logic from mutating active tab state.
4146

42-
2. Entry and startup determinism
47+
3. Entry and startup determinism
4348

4449
- Verify entry tab restore and initial-load selection remain stable.
4550
- Keep preview entry resolution aligned with tab metadata (`role: entry`) and documented fallback behavior.
4651
- Ensure startup render order cannot race editor hydration (component/styles) and silently use stale defaults.
4752

48-
3. Remove/add/rename coherence
49-
50-
- Keep fallback tab selection deterministic after remove.
51-
- Ensure add and rename flows do not drift name/path/content synchronization.
52-
5353
4. Workspace import specifier compatibility
5454

5555
- Support ESM-style runtime specifiers for workspace modules (for example importing
@@ -67,20 +67,18 @@ remaining edge-case regressions without broad UI redesign.
6767
- `Auto` should infer from extension, while explicit user selection should override inference.
6868
- Keep editor language, tools, and render pipeline wiring aligned with inferred tab kind.
6969

70-
6. Render cadence and stale-error recovery
71-
72-
- Preserve dependency-aware auto-render gating across add/remove/rename and entry changes.
73-
- Eliminate stale error carryover: previous errors must not persist once source/runtime state is corrected.
74-
- Ensure success transitions always clear prior preview error state and stale diagnostics payloads.
75-
- Confirm blob/module disposal and rerender cleanup cannot preserve stale failing module graphs.
76-
77-
7. React runtime correctness in iframe preview
70+
6. React runtime correctness in iframe preview
7871

7972
- Verify React mode event handlers execute against the latest compiled module output.
8073
- Investigate and fix runtime regressions such as `TypeError: Assignment to constant variable` (for example from stale/cached module execution or invalid transform output).
8174
- Ensure React mode uses consistent runtime contracts between transpile options, module prelude, and iframe bootstrap render path.
8275
- Ensure React and DOM mode switching does not leave stale runtime state in the iframe.
8376

77+
7. Render cadence and stale-error recovery
78+
79+
- Validate stale-error recovery under remaining edge transitions (rapid mode switches, tab churn, and startup sequencing).
80+
- Confirm blob/module disposal and rerender cleanup cannot preserve stale failing module graphs.
81+
8482
### Suggested execution sequence
8583

8684
1. Audit iframe diagnostics pipeline end-to-end:
@@ -110,8 +108,7 @@ remaining edge-case regressions without broad UI redesign.
110108
- JSX syntax/transform failures still reported as `[jsx] ...`
111109
- iframe runtime exceptions surfaced with stable, non-duplicated messaging
112110
- repeated source edits do not trigger runaway rerender loops or duplicate execution
113-
- unrelated non-entry module edits do not rerender preview unless the module is in the active entry import graph
114-
- correcting an error fully recovers preview output without requiring unrelated edits
111+
- correcting an error fully recovers preview output without requiring unrelated edits, including rapid mode/tab transitions
115112
- React mode click handlers work reliably after multiple rerenders/mode switches
116113
- importing workspace modules via `.js` specifiers when source tabs are `.ts`/`.tsx`
117114
- creating and renaming tabs with style extensions to verify styles-tab behavior

0 commit comments

Comments
 (0)