chore(coding): record ML-03 integration

This commit is contained in:
brother7 committed 2026-08-26 19:21:13 +08:00
1 parent c19227a4d4
commit e15d8b7f51
2 files changed
+31 -89

No files matched your search

@@ -8,7 +8,7 @@
- Worktree: D:\Datas\OthersProjects\makelore-data-service-client-b72e4c19
- Base commit: f2456039230f68e3ecb2c8653fc3379c23bbe5ce
- Owner: codex-root
- Status: In Progress (ML-01 and ML-02 integrated)
- Status: In Progress (ML-01 through ML-03 integrated)
## Scope
@@ -84,6 +84,18 @@
tests, and identity E2E; no Main, cloud, session, or provisioning logic was
added. The foreign ML-02 task record was deleted from this coordinator's net
diff after cherry-pick; the source worktree retains its own record.
- Integrated ML-03 Main Data Service from the exact ML-02 frontier
`003fe210f49de37c7ddf49cf10acde38705bf8c3` with no cherry-pick conflict.
Implementer commit `10d8132cc34f1a69fafdd9e9f7ff3693888fc3fc` was
cherry-picked as feature commit `c19227a` (`feat(coding): add Main Data
Service Host adapter`). The delivered scope is limited to the Main-owned
cloud client, shared safe DTOs, `DataServiceOperations` coding composition,
fixed `/api/works/data-service` Host routes, route precedence before the
Works catch-all, and focused tests; no preview/Pi/Renderer credential or
unrelated transport logic was added. The foreign ML-03 task record was
deleted from this coordinator after cherry-pick; the source worktree retains
its own record. The ML-04 frontier is this integrated commit plus the
coordinator's cleanup/record commit.
## Verification
@@ -124,12 +136,27 @@
tests and reproduced one pre-existing PI model-combobox failure at
`tests/e2e/pi-coding-first-chat.spec.ts:575` on its direct rerun. This
unrelated failure remains visible and is not masked by the focused passes.
- ML-03 focused tests: `pnpm exec vitest run
tests/unit/data-service-client.test.ts tests/unit/data-service-routes.test.ts
tests/unit/data-service-server-registration.test.ts --maxWorkers=1` — 3
files / 17 tests passed.
- ML-03 regression tests: `pnpm exec vitest run
tests/unit/coding-core-routes.test.ts tests/unit/coding-project-identity.test.ts
tests/unit/host-api-proxy.test.ts tests/unit/works-routes.test.ts
--maxWorkers=1` — 4 files / 82 tests passed.
- `pnpm typecheck`: passed.
- `pnpm lint:check`: passed with 0 errors and the same 5 existing warnings in
`src/pages/Home/index.tsx` and `src/pages/Makelore/index.tsx`.
- `git diff --check`: passed.
- Coordinator branch, clean state, exact ML-02 HEAD, and ML-03 commit parent
were verified before integration; cherry-pick completed without conflicts.
## Follow-ups
- ML-02 identity choice and legacy/independent-copy UX is integrated. ML-03
must use
`requireActiveRealProjectWithIdentity()` for all Data Service callers.
- ML-02 identity choice and legacy/independent-copy UX plus ML-03 Main Data
Service are integrated. ML-04 must consume the `DataServiceOperations` seam
from the recorded ML-03 frontier and preserve its active-project identity
and trusted project-path constraints.
- The broader ML-00 through ML-09 coordinator task remains in progress; this
record does not claim full client-suite, build, review, or release proof.