4.5 KiB
4.5 KiB
Task: Remove redundant AI Design progress banner
Identity
- Task ID: 20260904-remove-design-progress-4e8a1c73
- Mode: Feature
- Branch: codex/20260904-remove-design-progress-4e8a1c73-remove-design-progress
- Worktree: D:\Datas\OthersProjects.codex-worktrees\makelore\20260904-remove-design-progress-4e8a1c73
- Base commit:
403236115b - Owner: codex-root
- Status: Ready for Integration
Scope
- Remove the visible AI Design assistant-progress banner from the main conversation pane. The right-side “AI 听懂的想法” projection remains the sole surface for the currently organized design understanding.
- Preserve immediate provisional user messages, their
发送中/正在确认feedback, canonical assistant replies, and the existing internal stream reconciliation. - Update focused Renderer regression coverage only. Do not change the Works Square server, Electron Main/API contracts, Current Specification authority, generation, navigation, packaging, publication, or unrelated project records.
Intent And Constraints
- The user explicitly identified the progress banner as duplicated information and requested that it be removed. It must not be replaced by another central loading surface.
- Raw assistant deltas remain non-canonical and must stay out of the conversation. Removing their presentation must not remove their Store state or change operation identity and failure recovery.
- Keep the pending user bubble as the honest acknowledgement that a send was accepted locally; only the redundant assistant-side banner is removed.
- Concurrent Task Gate and Planning Gate passed in the managed isolated worktree from
exact client
mainbase403236115bf81e7617856cd8219b1be23f6abbb8. - The root integration task overlaps the same AI Design area but owns only root/canonical reconciliation; this feature task owns the component and focused test in isolation.
- ADR-007 remains unchanged: the server Current Specification is semantic authority, while the right-side youth summary is its secondary client projection.
Outcome
DesignConversationPaneno longer subscribes toassistantStreamsfor visible presentation and no longer renders the “AI 正在整理你的想法” / result-confirmation banner in the conversation timeline.- Raw assistant deltas remain Store-owned transport state and still never appear as committed chat content. The final canonical assistant turn remains unchanged.
- Provisional user messages and their
发送中/正在确认labels remain visible, so removing the duplicated assistant banner does not remove send acknowledgement. - The right-side “AI 听懂的想法” card and all Current Specification behavior are unchanged.
Verification
- Focused Renderer test:
pnpm exec vitest run tests/unit/image-canvas-page.test.tsxpassed1 file / 10 tests. - TypeScript:
pnpm exec tsc --noEmitpassed. - Scoped ESLint for the changed component and test passed.
- The isolated worktree dependencies were restored from the existing lockfile with offline, frozen resolution and lifecycle scripts disabled; no dependency version or lockfile changed.
Follow-ups
- Integrate this source commit after the existing root AI Design integration task has safely completed or released its ownership. Do not overwrite that task's dirty canonical-document reconciliation or its three preserved foreign records.
Promotion Candidates
- Target:
.project-docs/30-worklog/current-state.md, AI Design presentation wording in.project-docs/20-architecture/system-overview.md, and the corresponding rule in.project-docs/40-domain/business-rules.md. - Proposal: record that raw assistant deltas stay internal and invisible in the main conversation; the right-side Current Specification projection is the single surface for the AI's organized understanding. The main timeline shows provisional/canonical user messages and canonical assistant turns, without a separate assistant-progress banner.
- Evidence: the user explicitly identified the banner as duplicated information and requested its removal; focused Renderer coverage confirms the banner is absent while send acknowledgement remains.
- Future impact: later conversation changes should not reintroduce a second summary or progress card into the timeline merely because assistant delta transport state exists.
- Semantic conflict: this narrows the prior task's optional visible progress projection; it does not change ADR-007 or server authority. Human confirmation is already present in this task request.