docs(ui): align CLAUDE.md + roadmap + memory with staged UI strategy
Landed the UI framework design in 2026-04-24-ui-framework.md yesterday;
this commit propagates the decisions across the documents that future
sessions touch first, so the three-layer pattern is discoverable without
re-reading the full plan.
Changes:
* NEW memory/project_ui_architecture.md — evergreen crib-sheet:
three-layer diagram, AcDream.UI.Abstractions contract, D.2a/D.2b
split, module layout, hard rules, why staged not pure-custom.
* CLAUDE.md: new paragraph describing the three-layer UI split, naming
AcDream.UI.Abstractions as the plugin-facing contract, pointing at
the full plan + memory crib.
* docs/architecture/acdream-architecture.md: new "UI Architecture"
companion-stack diagram after Layer 0-5 (doesn't renumber the main
stack), plus step 6a "UI tick" in Per-Frame Update Order.
* docs/plans/2026-04-11-roadmap.md Phase D tightened:
- D.2 split explicitly into D.2a (Hexa.NET.ImGui scaffold + abstraction
layer) and D.2b (custom retail-look backend, implements same contracts).
- D.3 AcFont / D.4 dat sprites / D.7 cursor flagged as D.2b dependencies.
- D.5 core panels / D.6 HUD flagged as abstraction-layer deliverables
— ship with D.2a, reskinned by D.2b.
- D.8 Sound marked superseded (shipped as Phase E.2).
- F.5 core panels + H.1 chat-window cross-references updated to say
they target AcDream.UI.Abstractions, unblocked by D.2a.
- Shipped-phases table untouched.
* docs/research/retail-ui/00-master-synthesis.md: scope note at top
clarifies the Keystone research is the D.2b (custom backend)
foundation, NOT where D.2a starts.
* ~/.claude/.../memory/MEMORY.md: one-line index entry pointing at the
new project_ui_architecture.md (so session auto-load surfaces it).
Zero code changes; doc-only. dotnet build stays green. All verification
greps pass (see plan file for exact checks).
This commit is contained in:
parent
d1c7d4a8b6
commit
7e84d489d0
5 changed files with 135 additions and 13 deletions
|
|
@ -25,6 +25,14 @@ The codebase is organized by layer (see architecture doc). Current phase
|
|||
state lives in memory (`memory/project_*.md`), plans in `docs/plans/`,
|
||||
research in `docs/research/`.
|
||||
|
||||
**UI strategy:** three-layer split — swappable backend (Hexa.NET.ImGui for
|
||||
Phase D.2a short-term, custom retail-look toolkit for D.2b later) /
|
||||
stable `AcDream.UI.Abstractions` layer (ViewModels + Commands + `IPanel`
|
||||
/ `IPanelRenderer`) / unchanged game state. **All plugin-facing UI
|
||||
targets `AcDream.UI.Abstractions` — never import a backend namespace
|
||||
from a panel.** Full design: `docs/plans/2026-04-24-ui-framework.md`.
|
||||
Memory crib: `memory/project_ui_architecture.md`.
|
||||
|
||||
## How to operate
|
||||
|
||||
**You are the lead engineer AND architect on this project at all times.**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue