diff --git a/.project-docs/30-worklog/current-state.md b/.project-docs/30-worklog/current-state.md index 4ecef2e..6c9a080 100644 --- a/.project-docs/30-worklog/current-state.md +++ b/.project-docs/30-worklog/current-state.md @@ -4,6 +4,19 @@ This file is the integrated default-branch snapshot. Feature tasks record progre ## Integrated Through +- AI Design confirmation-handoff client source commit + `1a52831b26a226ee675c815e8975b4258a10fa18` from task + `20260908-design-confirmation-handoff-client-8c3f1a72` is integrated as product + commit `3c4e866c2d3847d870f2502f8232ab19e35f1e8e` by task + `20260908-design-confirmation-integration-client-8d4b6f20`. The active creation + card now remains visible for meaningful canonical content even when the compact + concept field is empty. A missing aspect ratio is visibly unselected and must be + written through typed Design operations before Quote preparation. An offered Quote + retains the explicit confirmation control, which submits only the server-issued + Quote ID; chat text and the preparation action still cannot synthesize a Task. + Verification passed 64 focused tests, TypeScript, scoped ESLint, all Vite production + targets, and exact-range diff checks. No Electron contract, DTO, persistence, + package, deployment, or production activation changed. - AI Design chat-to-Quote client regression source commit `6b1e3937d709b74d407379c210a4bf09e8f4b158` from task `20260907-design-chat-generation-handoff-client-7d3a9c41` is integrated as merge diff --git a/.project-docs/30-worklog/tasks/20260908-design-confirmation-integration-client-8d4b6f20.md b/.project-docs/30-worklog/tasks/20260908-design-confirmation-integration-client-8d4b6f20.md new file mode 100644 index 0000000..e98fe6a --- /dev/null +++ b/.project-docs/30-worklog/tasks/20260908-design-confirmation-integration-client-8d4b6f20.md @@ -0,0 +1,69 @@ +# Task: Integrate AI Design confirmation handoff client + +## Identity + +- Task ID: 20260908-design-confirmation-integration-client-8d4b6f20 +- Mode: Integration +- Branch: main +- Worktree: D:\Datas\OthersProjects\makelore +- Base commit: 323f4caa5037daddb4336a723f5c62b8d19a0742 +- Owner: codex-root +- Status: Ready for integration + +## Scope + +- Integrate reviewed source commit `1a52831b26a226ee675c815e8975b4258a10fa18` + onto the exact local `main` frontier. +- Make an incomplete but meaningful AI Design plan visible, require an explicit + aspect-ratio choice when absent, request the immutable Quote, and create a Task + only after the user confirms that offered Quote. +- Record the integrated state and verification without changing Electron contracts, + server DTOs, packaging, deployment, or unrelated worktree files. + +## Intent And Constraints + +- Renderer readiness is only permission to check a production plan, never authority + to create a Generation Task. +- Missing ratio must remain visibly unselected; the user's choice is written through + typed `design.input.apply` operations before requesting a Quote. +- Confirmation submits only the server-issued Quote ID. +- Preserve the three unrelated untracked task records already present in the root + worktree; do not stage, rewrite, stash, reset, or clean them. + +## Outcome + +- Cherry-picked source commit `1a52831b26a226ee675c815e8975b4258a10fa18` + onto the exact source-parent `main` frontier as product commit + `3c4e866c2d3847d870f2502f8232ab19e35f1e8e`. +- Confirmed that every source product/test path is byte-equivalent. The only + source-to-product difference is intentional omission of the source task's + read-only record, which remains on its source branch. +- Promoted the incomplete-plan visibility, explicit aspect-ratio choice, and + Quote-ID confirmation handoff into canonical integrated state. +- Preserved the three pre-existing untracked task records without staging or editing + them. + +## Verification + +- `pnpm exec vitest run tests/unit/image-canvas-page.test.tsx + tests/unit/youth-creation-card.test.tsx tests/unit/image-workspace-store.test.ts` + — 3 files, 64 tests passed. +- `pnpm typecheck` — passed. +- Scoped ESLint for both changed production modules and the changed test — passed. +- `pnpm build:vite` — passed; only existing Browserslist, mixed-import, and chunk-size + warnings were emitted. +- `git diff --check 323f4caa5037daddb4336a723f5c62b8d19a0742..3c4e866c2d3847d870f2502f8232ab19e35f1e8e` + — passed. +- `check_project_docs.py --target .` — passed. +- Task-aware `check_doc_drift.py` — passed while retaining the three adopted, + unchanged foreign task records. + +## Follow-ups + +- Run an authenticated packaged-client smoke after the paired server/client rollout: + meaningful chat -> missing-ratio selection -> offered Quote -> Quote-ID confirmation + -> authoritative Task projection. + +## Promotion Candidates + +- None recorded.