diff --git a/.project-docs/30-worklog/current-state.md b/.project-docs/30-worklog/current-state.md index 6b0c048..092ea6b 100644 --- a/.project-docs/30-worklog/current-state.md +++ b/.project-docs/30-worklog/current-state.md @@ -4,6 +4,21 @@ This file is the integrated default-branch snapshot. Feature tasks record progre ## Integrated Through +- Unified Plugin workspace bundled-delivery fix source + `6bd9287c879dca93da11e17533f84e3535fc656a` from task + `20260905-plugin-download-action-6c8e4a21` is integrated onto local `main` as + `6d102b2`. Code-owned bundled official Plugins, including + `makelore.project-scaffold`, now show `随应用提供` when no device-package record + exists instead of falsely showing `未下载官方包`. This is presentation-only: + bundled Plugins still have no device download/update/uninstall flow, and the existing + server-authoritative `免费获取` action remains required before project enablement. + Focused Plugin tests, typecheck, scoped lint, and all Vite targets passed; the ordinary + full unit run had one unrelated Pi real-process two-second timing miss among 1,887 + passing tests and 2 skips, and that exact test passed 6/6 in isolation with the + pressure suite passing 1/1. The production Marketplace currently returns + `404 plugin_not_found` for Project Scaffold and still requires deployment of the + current server plus migration through `20260904_project_scaffold_0085`; no deployment + or production database change is claimed here. - Interactive AI application source `959b633` and official Marketplace packaging source `ddb678b46ff10a28e04beeafcfc00c8c8a23ff9f` are integrated through merges `4bc3e0ea5331a7d3f3576768c0119c02c0f0f952` and diff --git a/.project-docs/30-worklog/tasks/20260905-plugin-bundled-status-integration-8f2c5a41.md b/.project-docs/30-worklog/tasks/20260905-plugin-bundled-status-integration-8f2c5a41.md new file mode 100644 index 0000000..cc189b8 --- /dev/null +++ b/.project-docs/30-worklog/tasks/20260905-plugin-bundled-status-integration-8f2c5a41.md @@ -0,0 +1,60 @@ +# Task: Integrate bundled official Plugin device-status fix + +## Identity + +- Task ID: 20260905-plugin-bundled-status-integration-8f2c5a41 +- Mode: Integration +- Branch: main +- Worktree: D:\Datas\OthersProjects\makelore +- Base commit: 9ed9bf4a715e300420e7a764a4cf576a6dfc4938 +- Owner: codex-root +- Status: Ready for Integration + +## Scope + +- Integrate feature commit `6bd9287c879dca93da11e17533f84e3535fc656a` + onto local `main` from its exact parent `9ed9bf4a715e300420e7a764a4cf576a6dfc4938`. +- Reconcile the source outcome into current state and remove only the duplicate source + task record from the default-branch checkpoint. + +## Intent And Constraints + +- Concurrent Task Gate: Passed after releasing the completed prior integration lock and + claiming this exact root/main worktree in Integration mode. +- Planning Gate: Passed after reading the source task outcome, ADR-008, current Plugin + architecture/business rules, current state, and the prior scaffold landing record. +- Preserve the three explicitly adopted historical task records byte-for-byte and + uncommitted; do not stash, reset, clean, move, or delete them. +- Preserve the accepted boundary: Project Scaffold ships in the signed client, has no + device download action, and still requires server-authoritative free account + acquisition before project enablement. + +## Outcome + +- Cherry-picked feature source `6bd9287c879dca93da11e17533f84e3535fc656a` + onto local `main` as product commit `6d102b2` without conflict. +- Removed only the duplicate source task record from the default-branch documentation + checkpoint; it remains intact on the source branch and commit. +- Updated current state with the accepted presentation correction and the separate + production server deployment/migration requirement. +- Preserved all three adopted historical task records byte-for-byte and uncommitted. + +## Verification + +- Source evidence: focused Plugin page/model 35 passed; typecheck and scoped ESLint + passed; all Vite targets passed; isolated Pi timing rerun 6/6 and pressure 1/1 passed. +- Source commit and landed product commit have the exact same tree + `1976d2f27f239dead6d26f99131182c7c657a9db`. +- Root replay was not claimed because the root checkout has no installed Vitest or + TypeScript executables; no dependency mutation was performed there. +- Local server evidence remains separate: Project Scaffold Marketplace tests 2/2 and + sole migration head `20260904_project_scaffold_0085`. + +## Follow-ups + +- Deploy the current Works Square server and migrate production through 0085 so the + public catalog can authorize and expose `免费获取`. + +## Promotion Candidates + +- None recorded. diff --git a/.project-docs/30-worklog/tasks/20260905-plugin-download-action-6c8e4a21.md b/.project-docs/30-worklog/tasks/20260905-plugin-download-action-6c8e4a21.md deleted file mode 100644 index 3b244a0..0000000 --- a/.project-docs/30-worklog/tasks/20260905-plugin-download-action-6c8e4a21.md +++ /dev/null @@ -1,69 +0,0 @@ -# Task: Fix missing official plugin acquire and download action - -## Identity - -- Task ID: 20260905-plugin-download-action-6c8e4a21 -- Mode: Feature -- Branch: codex/20260905-plugin-download-action-6c8e4a21-plugin-download-action -- Worktree: D:\Datas\OthersProjects\.codex-worktrees\makelore\20260905-plugin-download-action-6c8e4a21 -- Base commit: 9ed9bf4a715e300420e7a764a4cf576a6dfc4938 -- Owner: codex-root -- Status: Ready for Integration - -## Scope - -- Reproduce and fix the unified `/plugins` projection for the code-owned bundled - `makelore.project-scaffold` Plugin when the Account Library has not acquired it. -- Keep the existing acquisition, device-package, project-enablement, and Agent - assignment authorities separate; cover the public Renderer seam with a focused - regression test. -- Limit product changes to the unified Plugin workspace projection/presentation and - its focused tests unless the reproduction proves the fault is owned elsewhere. - -## Intent And Constraints - -- A bundled Project Scaffold Plugin never has a device download/update/uninstall - action. Before acquisition it must offer the existing free Account Library acquire - action; after acquisition it may offer project enablement and Agent assignment. -- Do not add a visible local package/Skill installation picker, change server/Main - contracts, or collapse Account Library acquisition into device installation. -- Preserve the occupied client root worktree and its three adopted untracked task - records exactly. Work only in this isolated feature worktree. -- Concurrent Task Gate: Passed. Planning Gate: Passed after loading the current - integrated state, ADR-008, Plugin business rules/module boundaries, and the completed - root Project Scaffold integration task. No active product writer overlaps this scope. - -## Outcome - -- Added one shared projection predicate for code-owned bundled official Plugins and - used it on both the unified Plugin card and detail dialog. An unacquired bundled - Project Scaffold now reports `随应用提供` rather than the false - `未下载官方包` state. -- Preserved the existing authority boundary: the client does not synthesize a - Marketplace catalog entry or acquisition action. The existing `免费获取` action - still appears only when the server catalog contains the Plugin and the authenticated - Account Library snapshot confirms it is not acquired. - -## Verification - -- TDD red: the new public Renderer regression failed because both card and detail - reported the bundled Plugin as not downloaded. -- Focused green: `plugins-page` plus `plugin-workspace-model` = 35 passed. -- `corepack pnpm run typecheck`: passed. -- Scoped ESLint on the three changed product files and focused test: passed. -- `corepack pnpm run build:vite`: passed for Renderer, Main, Preload, and utility - targets with existing size/import warnings. -- Full unit run: 225 files / 1887 passed / 2 skipped, with one unrelated real-process - timing threshold failure (`2657ms < 2000ms`). The exact failed file then passed 6/6 - in isolation; the separately skipped pressure suite passed 1/1. -- `git diff --check`: passed. - -## Follow-ups - -- Deploy the current Works Square server revision and migrate production through - `20260904_project_scaffold_0085`; until then the live catalog has no authority to - offer `免费获取` for `makelore.project-scaffold`. - -## Promotion Candidates - -- None recorded.