feat(desktop): add Work Board Phase 3 start-task spike - #4598
Open
somewan820 wants to merge 10 commits into
Open
feat(desktop): add Work Board Phase 3 start-task spike#4598somewan820 wants to merge 10 commits into
somewan820 wants to merge 10 commits into
Conversation
somewan820
force-pushed
the
feat/work-board-phase3-start-task
branch
2 times, most recently
from
September 3, 2026 05:23
ca71f0c to
4daa66c
Compare
This was referenced Sep 3, 2026
somewan820
force-pushed
the
feat/work-board-phase3-start-task
branch
from
September 3, 2026 15:49
016fb38 to
28eadb3
Compare
首发送结果未知时不再触发 onSessionResolved,避免误建 Work Board 持久链接;将 Work Board 编排迁入 workbar 功能,app-shell 仅通过 props 注入;workbar 控制器改用 toastApi 输入以通过主进程 tsconfig 编译;重新生成 renderer-architecture.json。
taskEntryDraftKey 的消费者均从 model/task-entry-selection.js 直接导入,feature index 的 re-export 无外部使用,knip 报未使用导出,删除之。
- work-board-target: 移除未使用的 preferredHost 参数 - use-workbar-controller: 删除 resolveWorkBoardStartTask 包装,透传底层解析 - work-board-panel: 每行只解析一次 start-task 目标 - use-task-entry-controller: 移除 prepareWorkBoardDraft 中的重复查找与校验
- IPC linkSession 增加 scope 校验,仅允许 project 项(防御纵深) - core 解码改为宽容模式:丢弃损坏/重复的链接条目,不再隐藏整条记录 - 补充 ambiguous/archived/scope 校验与宽容解码测试 - 修复 ipc-main 测试缩进,操作行支持换行不溢出
rebase 冲突归并时误将 app-shell-chat-actions.ts 整体回退到 apache#4630 之前的版本, 重新引入了既有会话发送也会触发 onSessionResolved 的回归。恢复为上游 main 的 实现:onSessionResolved 仅在新建会话首次消息投射时触发,Work Board 链接只绑定 到已投射的新会话。
somewan820
force-pushed
the
feat/work-board-phase3-start-task
branch
from
September 3, 2026 15:52
28eadb3 to
be39b1b
Compare
18 tasks
… SessionSummary 导入)
somewan820
force-pushed
the
feat/work-board-phase3-start-task
branch
from
September 3, 2026 16:09
be39b1b to
4a5f222
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the thin Work Board Phase 3 validation spike for #2560.
Start taskpath for project-scoped Work Board items whose target resolves to one available, non-archived Host/project target.linkedSessionsreference only after a projected first-send outcome.The experiment is enabled only in a development renderer with:
This is intentionally not a persisted user setting. The goal is maintainer/contributor dogfooding before deciding whether to productize the entry and continue later Work Board phases.
Verification
npm test: 1580 passed, 12 skipped; runtime-host and other relevant suites passed.npm --workspace @maka/desktop run build:main: passed.git diff --check: passed.The storage workspace test run remains affected by the existing sandbox
EPERM chmodrestriction under~/Library/Application Support/Maka/~/Library/Caches/Maka; this is environmental and unrelated to the changed Work Board behavior.Generated-by: Codex
AI use
Codex assisted with implementation, review, and test execution. The contributor reviewed the resulting changes and owns the final PR.