chore(coding): record ML-07 integration

This commit is contained in:
2026-08-26 23:44:42 +08:00
parent 549069dffe
commit a981b07faa
2 changed files with 59 additions and 140 deletions

View File

@@ -143,6 +143,18 @@
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.
- Integrated ML-07 from source commit
`d22ceef104b4f95e7a35888875dcb1c18245c190` at the exact ML-06 frontier
`552c6162a57894b713ea1f47d356fa48c0fc0cf1` as coordinator commit `549069d`
(`feat(coding): add generated Data Service SDK skill`), with no cherry-pick
conflict. The delivered scope is limited to the bundled Data Service Skill,
canonical TypeScript/JavaScript SDK assets, existing skill registry/display
registration, and focused SDK/install/workflow tests. The source commit and
coordinator range contain no root `task_plan.md`, `findings.md`, or
`progress.md` scratch files. The foreign ML-07 task record was removed from
this coordinator after cherry-pick; the source record remains in
`D:\Datas\OthersProjects\makelore-ml07-data-service-sdk-skill-6b4e91c2`.
The ML-08 frontier is `549069d` plus this coordinator cleanup/record commit.
## Verification
@@ -297,17 +309,57 @@
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.
- ML-07 focused SDK/Skill assets:
`pnpm exec vitest run tests/unit/data-service-sdk-assets.test.ts
--maxWorkers=1` — after normalizing coordinator checkout line endings to the
source's canonical LF bytes, 1 file / 14 tests passed. The initial checkout
run had 13 passed and 1 frontmatter assertion failure caused solely by
CRLF; the normalized working files hash exactly to their committed blobs.
- ML-07 adjacent registry/display/resource/Pi suite:
`pnpm exec vitest run tests/unit/data-service-sdk-assets.test.ts
tests/unit/skill-display.test.ts tests/unit/pi-resource-loader.test.ts
tests/unit/pi-product-tools.test.ts --maxWorkers=1` — 4 files / 34 tests
passed. Packaged resource listing includes `SKILL.md`, `assets/`,
`assets/makelore-data.ts`, and `assets/makelore-data.js`.
- ML-07 full unit verification: the normal parallel runner had 1 Vitest fork
worker exit unexpectedly after 187/188 files and 1606 passed tests (2
skipped), with no assertion failure. The serial rerun
`pnpm exec vitest run --exclude tests/unit/coding-chat-pressure.test.tsx
--maxWorkers=1` passed 188 files / 1610 tests with 2 skipped, followed by
`pnpm exec vitest run tests/unit/coding-chat-pressure.test.tsx
--maxWorkers=1` — 1 test passed.
- ML-07 `pnpm typecheck`: passed.
- ML-07 `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-07 `pnpm build`: passed Vite, Electron, Pi runtime, and Windows NSIS
packaging; existing dynamic-import/chunk, optional dependency, and absent
optional packaged-resource warnings remained visible.
- ML-07 `pnpm test:electron:windows`: 2 files / 4 tests passed.
- ML-07 affected E2E:
`pnpm exec playwright test tests/e2e/project-configuration-skills.spec.ts
--config=playwright.config.ts` — 1 test passed.
- ML-07 SDK static boundary checks found no cloud credential, external URL,
retry call, cache/offline storage, Firebase, or Works Square behavior; the
only Authorization/Bearer use is the injected local preview token required
by the contract. Skill checks confirmed inspect → explicit
`data_service_configure` → `agent_browser` → read-back → report ordering and
the exact-copy/no-op/conflict policy.
- ML-07 root-scratch and boundary scans passed; changed paths are limited to
the Data Service skill assets, registry/display registration, focused tests,
and the task record. `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, 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.
Service, ML-04 Pi Data Service tools, ML-05 preview data sessions, ML-06
Agent Browser pre-document injection, and ML-07 generated SDK/Skill assets
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 supplies the narrow exact-Origin injection seam
and ML-07 consumes only that local capability 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.