chore(coding): record ML-06 integration

This commit is contained in:
brother7 committed 2026-08-26 22:45:43 +08:00
1 parent 38d63a9b7b
commit 552c6162a5
2 files changed
+57 -119

No files matched your search

@@ -131,6 +131,18 @@
this coordinator after cherry-pick; the source record remains in
`D:\Datas\OthersProjects\makelore-ml05-preview-data-session-5c8e2a71`.
The ML-06 frontier is `e842dd4` plus this coordinator cleanup/record commit.
- Integrated ML-06 from source commit
`992a0a68d743f766f19bc34c245adca4431ba321` at the exact ML-05 frontier
`14fec701086f60d78466b8e1cc3fb57ca8d7e200` as coordinator commit `38d63a9`
(`feat(agent-browser): add opt-in preview data injection`), with no
cherry-pick conflict. The delivered scope is limited to the explicit Agent
Browser preview-data opt-in, exact-Origin CDP pre-document script lifecycle,
child-session tracking/cleanup, and Main/session invalidation wiring; the
ordinary arbitrary-URL path remains data-free and no second BrowserWindow or
preload was added. The foreign ML-06 task record was removed from this
coordinator after cherry-pick; the source record remains in
`D:\Datas\OthersProjects\makelore-ml06-agent-browser-injection-2c7e91a4`.
The ML-07 frontier is `38d63a9` plus this coordinator cleanup/record commit.
## Verification
@@ -247,16 +259,55 @@
`injectProjectData`, `__MAKELORE_DATA__`,
`Page.addScriptToEvaluateOnNewDocument`, script-ID tracking, or navigation
injection markers.
- ML-06 was integrated from source commit
`992a0a68d743f766f19bc34c245adca4431ba321` at the exact ML-05 frontier
`14fec701086f60d78466b8e1cc3fb57ca8d7e200` as coordinator commit `38d63a9`
(`feat(agent-browser): add opt-in preview data injection`), with no
cherry-pick conflict. The change adds only the explicit Agent Browser
preview-data opt-in, exact-Origin CDP pre-document script lifecycle,
child-session tracking/cleanup, and Main/session invalidation wiring. The
foreign ML-06 task record was removed from this coordinator after
cherry-pick; the source record remains in
`D:\Datas\OthersProjects\makelore-ml06-agent-browser-injection-2c7e91a4`.
The ML-07 frontier is `38d63a9` plus this coordinator cleanup/record commit.
- ML-06 focused Vitest:
`pnpm exec vitest run tests/unit/agent-browser-core.test.ts
tests/unit/agent-browser-routes.test.ts tests/unit/pi-product-tools.test.ts
tests/unit/coding-core-routes.test.ts --maxWorkers=1` — 4 files / 122 tests
passed.
- ML-05 preview regressions after ML-06:
`pnpm exec vitest run tests/unit/preview-data-session.test.ts
tests/unit/data-service-routes.test.ts tests/unit/coding-core-routes.test.ts
tests/unit/agent-browser-core.test.ts
tests/unit/coding-attachments-routes.test.ts --maxWorkers=1` — 5 files /
120 tests passed.
- ML-06 `pnpm test:electron:windows`: 2 files / 4 tests passed.
- ML-06 `pnpm typecheck`: passed.
- ML-06 `pnpm lint:check`: passed with 0 errors and the same 5 pre-existing
warnings in `src/pages/Home/index.tsx` and `src/pages/Makelore/index.tsx`.
- ML-06 `pnpm build:vite`: passed for renderer, Main, preload, and utility
worker; existing dynamic-import and large-chunk warnings remained visible.
- ML-06 full E2E `pnpm test:e2e`: 25 tests passed and 1 existing test failed
at `tests/e2e/pi-coding-first-chat.spec.ts:575` because the `当前对话模型`
combobox remained disabled until timeout. A direct rerun of that test
reproduced the same timeout; this is not an ML-06 injection path and is not
counted as an E2E pass.
- ML-06 boundary checks passed: no new `BrowserWindow` or preload was added,
the ordinary arbitrary-URL path remains data-free, and the expected changed
path list contains only Agent Browser/session wiring, route/Pi propagation,
focused tests, and the task record.
- ML-06 `git diff --check`: passed after foreign task-record cleanup.
## Follow-ups
- ML-02 identity choice and legacy/independent-copy UX, ML-03 Main Data
Service, ML-04 Pi Data Service tools, and ML-05 preview data sessions are
integrated. ML-04 consumed the `DataServiceOperations` seam from the
recorded ML-03 frontier and preserves its active-project identity and
trusted project-path constraints. ML-05 consumes that same trusted seam and
preserves the Main-owned credential boundary while leaving ML-06 injection
for the next ticket.
Service, ML-04 Pi Data Service tools, ML-05 preview data sessions, and ML-06
Agent Browser pre-document injection are integrated. ML-04 consumed the
`DataServiceOperations` seam from the recorded ML-03 frontier and preserves
its active-project identity and trusted project-path constraints. ML-05 and
ML-06 preserve the Main-owned credential boundary; ML-06 adds the narrow
exact-Origin injection seam for ML-07 while keeping ordinary arbitrary URL
opens data-free.
- 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.