d3d11b5d20
Doc: reorganize — delete over-detailed docs, rewrite spec + architecture to match code
...
- Deleted (drift-prone point-in-time plans / dead specs):
browser_implementation_plan.md, editor_implementation_plan.md,
virtual_scroll_render_optimization.md, conflict_resolution.md,
touch.md, element_model.md, layout_rendering.md, bugs.txt
- Rewrote architecture.md: single-owner/no-lock model, channel topology,
Frame handoff contract, ownership rules, editor/browser/render internals,
active vs dead task types, testing hooks.
- Rewrote spec.md: actual behavior (browser, editor, IME, autosave, 50 MB
limit with measured numbers), actual code layout, invariants to preserve,
explicit deferred-features table (undo, restoration, sync awareness).
- Added doc/README.md: doc index, documentation policy, build/install
recipe, on-device observation loop.
- Updated development_plan.md: Phase 5 mostly done; §7 spec deltas written
with two corrections (no undo at all; no external-change detection).
2026-08-16 13:22:21 -04:00
6a43e3c0db
Add e2e test harness for testing editor logic without Gio display
...
- internal/test/e2e/: FrameCapture, Harness, ElementAssertions, helpers
- internal/editor/logic.go: Add done channel and Done() method for graceful shutdown
- internal/editor/mock_setup.go: Mock filesystem for tests
- internal/browser/: Browser layout and search logic
- internal/io/: Worker pool for async tasks
- Update architecture docs and spec
2026-05-31 08:56:30 -04:00
f8f81b1fec
Update architecture: input batching, priority workers, memory monitoring
...
- Add input batching to Logic goroutine via non-blocking select loop
- Add two-tier priority queue (high/low) to Worker pool
- Add §10 Memory Monitoring and Management (heap stats, debug page, future governor)
- Update diagram and channel topology to reflect new channels
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-05-08 10:10:06 -04:00
4b048b679e
Add runtime architecture specification
...
- New doc/architecture.md: concurrency model, goroutine responsibilities,
channel topology, deadlock analysis, sync/async partitioning
- Update SPEC.md §3: split into code organization + runtime architecture,
cross-reference to architecture.md
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-05-08 08:24:04 -04:00