docs(phase-1/m4.2): M4.2 status; plan handed to M4.3 (container seam)
This commit is contained in:
1 parent
9ad7c60537
commit
b774a1feb6
2 files changed
+29
-6
No files matched your search
@@ -643,9 +643,33 @@ PASS` in separate processes). One leg-A teardown wedge reproduced
|
||||
`exitApplication` never arrived; killed, leg B verified the encrypted
|
||||
library intact and passed anyway.
|
||||
|
||||
**Next up: M4.2** — convert `:core:domain` to multiplatform (Phase-0
|
||||
recommendation #1, "convert first"), then `NoteColors.kt` joins
|
||||
`commonMain`; continue expect/actual seams (§6.3 order).
|
||||
**M4.2 — `:core:domain` → multiplatform: DONE.** Phase-0
|
||||
recommendation #1 ("convert it first; zero code changes") — the plain
|
||||
`kotlin("jvm")` deploy was the gate blocking `commonMain` access.
|
||||
`androidTarget()` + `jvm()`, sources moved untouched (pure renames),
|
||||
coroutines `implementation → api` (Flow is in the public interfaces),
|
||||
AGP plugin + namespace added, no manifest needed. Consumers unchanged
|
||||
by design — plain-JVM (`:core:data-jvm`, `:desktopApp`) and AGP
|
||||
(`:core:data`, `:app`) both resolve through variant metadata.
|
||||
`NoteColors.kt` then became the first shared UI-layer file with a
|
||||
domain dependency (`api(project(":core:domain"))` in composeApp
|
||||
commonMain).
|
||||
|
||||
```
|
||||
./gradlew assembleDebug :composeApp:compileKotlinJvm :core:data-jvm:smoke
|
||||
BUILD SUCCESSFUL — RESULT: M1a PASS (one run, all consumers)
|
||||
./gradlew :desktopApp:run … --self-test SELFTEST wrote note id=1
|
||||
```
|
||||
|
||||
**Next up: M4.3** — the container seam: an `AppGraph` interface in
|
||||
`commonMain` (noteRepository, settings, cipher services, security
|
||||
state) so the four ViewModels leave `IncidoApplication`/
|
||||
`AndroidViewModelFactory` behind (multiplatform lifecycle artifacts —
|
||||
verify the set against Compose 1.7.3 first, §6.4), and
|
||||
`DesktopContainer` can implement the same face. Clipboard
|
||||
(`LocalClipboard` + `ClipEntry`) and image-decode
|
||||
(`skia.Image.makeFromEncoded`) migrations ride along with the screens
|
||||
that need them (§6.3).
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user