WeiCHEN
e590dcfd7b
docs(design): add multi-turn dialogue optimization system design (report 03)
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
b13a03840c
feat(web): upgrade settings modal with dynamic roles CRUD and permission matrix
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
e5e80a6fc6
feat(core): update backend coordinator, docgov lease, squad workflow and web governance integration
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
bd52108c8a
feat(rbac): implement permission evaluation engine and unit test suite
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
658e9db65e
fix(web): wire ALL_MOCK_DOCUMENTS and project deliverables to fix document switching
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
aa9636c10f
feat(rbac): define rbac data contracts and extend deliverable and user types
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
04cdb8f371
feat(scripts): add launch.sh to detect-and-restart dev stack (compose, backend, web)
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
b52f72c6fc
docs(plan): add dynamic roles and doc visibility rbac implementation plan
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
b83e3de401
fix(web): render step_failed phase as failed strip node with retry reset
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
16674d476c
docs(spec): add dynamic roles and doc visibility rbac design spec
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
7e243f4330
docs(test): archive long-task phase live/resume UX real-agent report
2026-09-13 02:50:20 +00:00
WeiCHEN
096dc8a5b4
fix(web): distinguish recovery action styles for long-task failures
2026-09-13 02:50:20 +00:00
WeiCHEN
8292f69790
feat(web): drive long tasks from SSE with live phases and continue/restart recovery
2026-09-13 02:50:20 +00:00
WeiCHEN
4dd799c785
feat(web): add task SSE client and live phase-event mapper
2026-09-13 02:50:20 +00:00
WeiCHEN
1df0a3f15f
test(server): task stream transient injection, classification and resume integration tests
2026-09-13 02:50:20 +00:00
WeiCHEN
912eb61a02
feat(api): task stream request-id, resume mode and workspace-aware error classification
2026-09-13 02:50:20 +00:00
WeiCHEN
c83f53a4fa
docs(spec): add long-task phase live/resume UX P2 spec and plan
2026-09-13 02:50:20 +00:00
WeiCHEN
a6864fe7b4
docs(spec): archive chat wait-error-retry UX spec and implementation plan
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
545765c409
fix(web): escape HTML in chat markdown rendering
...
Prevent self-XSS when chat bubbles render user/LLM markdown via
dangerouslySetInnerHTML by escaping raw HTML after math/code
extraction and sanitizing link href schemes.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
e344a10a0f
docs(test): strengthen chat wait-error-retry report with web E2E evidence
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
4eaad5adb8
docs(test): archive chat wait-state error-retry UX real-agent report
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
d03d9396e1
fix(web): scope Task 5 App.tsx to SSE wiring only
...
- Rebased App.tsx on the last clean Task-4 parent (5aa8129 ) and re-applied
only Task-5's SSE plumbing: streamAbortRef, isStreamingActive,
buildNetworkErrorInfo, runStreamAttempt, handleErrorAction,
handleStopStreaming, and the InputArea/MessageStream wiring.
- Removed the unscoped WIP that had been folded into b2cf863 (NeuroPulse
demo data/session-privacy/docgov-lease/cardActionPolicy imports that do
not exist in git, causing b2cf863 to fail to build in isolation).
- Real-backend path now appends the pending placeholder and calls
runStreamAttempt immediately; the artificial setTimeout(600) is only
used for the mock keyword-shortcut demo branches (unchanged from 5aa8129 ),
gated by precomputed predicates so it never wraps the SSE call.
- Preserved 5aa8129's mock keyword shortcuts (生成文档/驳回/修改/通过等) verbatim.
- No silent success-template fallback re-introduced.
- P1 error actions remain filtered to retry-only; auto-retry transient
attempts stay capped at 2 with 1s/2s backoff via AbortController.
- Bloated WIP App.tsx backed up to .superpowers/sdd/App.tsx.wip-backup
for later use by whichever task owns NeuroPulse/session-privacy/docgov
lease work.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
0cb664d540
feat(web): drive chat bubbles from SSE with auto-retry and stop
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
0d0ef5d5b6
feat(web): render chat wait-state and structured error actions in bubbles
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
fa6b979346
fix(web): drop out-of-scope ProjectSession.userId from Task 3
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
9d0a054307
feat(web): add chat SSE client and transient auto-retry helpers
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
7615beeaf9
fix(agent): scope Task 2 to SSE phases/errors without dialogue_llm leak
...
- untrack internal/coordinator/dialogue_llm.go (kept on disk untracked as local WIP for a future dialogue-LLM commit with its own tests; it depends on engine.go fields (dialogueBackend, ReplySource) not yet committed)
- slim internal/chat/session.go back to Task 2 scope relative to bfa6889 : keep EmitErrorInfo(stream.ClassifyError(...)) for intent+coordination errors and the dialogue_generating EmitPhase before ProcessIntent; drop sync.Mutex/mu, ChatResponse.ReplySource, preference/RecentDialogue injection block, and collectRecentDialogue helper (unrelated WIP for the dialogue-LLM feature)
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
1889279b18
feat(agent): emit dialogue phases and classified SSE errors with request id
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
c32532bce9
fix(stream): avoid dial substring false-positive in ClassifyError
...
Remove "dial" from networkHints to stop "dialogue" misclassification;
extend workspace/resumable and EmitErrorInfo test coverage.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
f9b676ac93
feat(stream): add structured ErrorInfo and error classification
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
e8b9347d8d
fix(web): redesign auth and settings UI using system design tokens and high-fidelity styles
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
weichen
6ccf98e291
merge: feature/web-workbench — three-column workbench MVP
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
4301c034f5
feat(web): wire project isolation and template cloning on project creation
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
weichen
a779d353b4
merge: feature/backend-platform — KB memory docgov API and chat history
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
f00bf14ab4
test(doc): 完善三分类隐私隔离与流转单元测试并归档全量测试报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
9ca74422c9
feat(web): add template status badges to deck drawer and tab bar
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
weichen
cb8a615e0a
merge: feature/squad-intent — squad engine intent and adaptive planning
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
8708645f22
docs(test): 归档历史多轮会话持久化与标杆案例语义推荐标准化实测报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
4c2e93fece
feat(ui): 实现三分类Tab分段切换、全景大盘分区与一键共享/取消共享闭环
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
3da2324e7c
fix(engine): 修复 DOCX 公式因 undefined 虚根在 Word 中丢失的缺陷
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
ab31e0e774
docs(report): 补充归档真实Agent全流程业务测试报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
46b955f30d
feat(cli): 终端自推荐标杆案例渲染与全业务链 E2E 端到端回归实操
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
9eb155021b
fix(chore): 修正.gitignore根目录data规则并纳入前端mockDocuments
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
258a8dacd2
feat(engine): add project template cloning factory and unit tests
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
a8f0cc9f01
docs(report): 归档智能体小队自适应规划真实后端集成测试报告与设计方案
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
2a6dd442bb
feat(server): 新增会话列表、多轮历史消息查询与标杆案例语义检索 RESTful API
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
c46f5422b9
feat(types): 升级交付物数据契约支持工作流/共享/私密三分类与创作者属性
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
2faddab7ac
refactor(types): extend deliverable item with projectId and isTemplateOnly
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
aa968d277b
test(chat): 添加基于真实Agent工作区的多轮人机交互E2E测试用例
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
d0c9670ebc
feat(coordinator): 在贴身业务参谋决策锦囊中注入相似标杆案例自推荐
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00