weichen and Cursor
7778559201
docs(docrev): freeze version boundary ADR and Wave 0 task
...
Accept DOCREV decision gates, archive design short-term, and mark
FEATURE-MATRIX partial as implementation starts on feature branch.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 05:58:49 +00:00
weichen
e372a1467c
merge: finalize conversation intent state verification
2026-09-13 04:47:33 +00:00
weichen
a676bd0b95
docs(test): record final conversation state smoke
2026-09-13 04:47:29 +00:00
weichen
5bc333b1aa
merge: busy preflight without failed runs
2026-09-13 04:44:03 +00:00
weichen
357fcc79ee
docs(ops): occupy slot for busy preflight
2026-09-13 04:43:58 +00:00
weichen
6ab8b52113
fix(taskrun): reject busy documents before run creation
2026-09-13 04:43:50 +00:00
weichen
2660260758
merge: fixture cleanup evidence
2026-09-13 04:38:01 +00:00
weichen
f17781adb6
docs(test): record fixture workspace cleanup
2026-09-13 04:37:57 +00:00
weichen
a7c073d85c
merge: release chat integration slot
2026-09-13 04:36:32 +00:00
weichen
06dacc9956
docs(ops): release chat integration slot
2026-09-13 04:36:25 +00:00
weichen
1cd2e681ed
merge: truthful integration rebuild command
2026-09-13 04:35:58 +00:00
weichen
0225906f3f
fix(ops): rebuild images for integration smoke
2026-09-13 04:35:52 +00:00
weichen
e0f07060b9
merge: readonly summary HTTP coverage
2026-09-13 04:29:22 +00:00
weichen
deaec82a7c
test(chat): cover readonly summary HTTP path
2026-09-13 04:29:17 +00:00
weichen
d7a19d4786
merge: authorized readonly document summary
2026-09-13 04:27:16 +00:00
weichen
a830d9dcc1
docs(ops): occupy slot for summary integration
2026-09-13 04:27:10 +00:00
weichen
cd506d8cc7
fix(chat): add authorized readonly document summaries
2026-09-13 04:27:01 +00:00
weichen
55639b3d26
merge: release chat integration slot
2026-09-13 04:20:02 +00:00
weichen
efe630d033
docs(ops): record dev smoke and release slot
2026-09-13 04:19:58 +00:00
weichen
ef61e77192
merge: fix/conversation-intent-state
2026-09-13 03:51:55 +00:00
weichen
30ace0234b
docs(ops): occupy integration slot for chat fixes
2026-09-13 03:51:45 +00:00
weichen
95ab2badf6
fix(chat): preserve intent and task runtime state
2026-09-13 03:51:18 +00:00
weichen and Cursor
995e099026
fix(web): use fatal error class for auth-related chat errors
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 03:33:34 +00:00
weichen and Cursor
38e2e32807
fix(web): satisfy chatRetry task auto-retry type check in docker build
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 03:32:57 +00:00
weichen and Cursor
3e242e6d36
fix(docgov): reclaim orphan squad leases and align run_id
...
Use task run_id as doc lease holder so release tracks execution, and reclaim squad locks when the holder run is missing or no longer running.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 03:32:20 +00:00
weichen and Cursor
0c5256c60c
fix(web): bind task API to resolved intake key when URS-only pool
...
When deliverables only expose user_requirements templates, requirement phrases still must POST intake on V0.1. Re-resolve task_key on retry and skip auto-retry for stage gate errors.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 03:30:13 +00:00
weichen and Cursor
d08cbdc2de
fix(web): route 初始需求 to intake and map stage 403 errors
...
Debug logs showed task runs used user_requirements on V0.1 while the active stage only allows intake. Prefer intake for 初始需求/摸底 phrasing and surface DOC_TASK_NOT_IN_ACTIVE_STAGE instead of SESSION_FORBIDDEN.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 03:28:36 +00:00
weichen and Cursor
3afd606635
fix(web): resolve project id from session id for task runs
...
Task template messages were posting to project_id=1 when local session cache lacked projectId, causing 403 on POST /api/v1/tasks/runs. Parse sess-p{id}-u{user} encoding as fallback and surface HTTP status on task failures.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 03:23:53 +00:00
weichen and Cursor
8032dce435
fix(chat): rebuild path and clarify stream auth errors
...
Rebuild dev backend so message visibility uses scope-aware filtering instead of dropping messages without stage_key. Map HTTP 401/403 on chat stream to actionable auth errors instead of generic NETWORK_ERROR.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 03:20:38 +00:00
weichen and Cursor
e0721a7944
fix(web): add favicon assets to stop /favicon.ico 404
...
Add public favicon.svg and favicon.ico and link them from index.html
so browsers stop requesting a missing root icon on refresh.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 03:14:22 +00:00
weichen and Cursor
2636542418
fix(web): repair duplicate else in useChatWindow loadInitialWindow
...
Remove a stray else branch left from the refresh-state refactor that
broke Vite/esbuild parsing on page reload.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 03:07:51 +00:00
weichen and Cursor
dca83f0dea
docs(chat): archive refresh remediation test report and close gap
...
Update gap-matrix CHAT-HISTORY-REFRESH to PASS, sync CURRENT and
short-term checklist with implementation evidence.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 03:06:11 +00:00
weichen and Cursor
b6aebc8176
fix(web): improve chat window refresh state and user-scoped cache
...
Distinguish authorized-empty and forbidden phases; skip caching day
buckets with zero messages; bind window cache keys to user id.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 03:06:11 +00:00
weichen and Cursor
4b8d8bf6d6
fix(chat): unify history read authorization and stats filtering
...
Apply session ownership plus scope_kind visibility across window, day,
search, dates, categories, unread, and digest endpoints; add PG refresh
regression test for pre-activation and task-scoped messages.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 03:06:11 +00:00
weichen and Cursor
1abafa3176
fix(chat): add message scope columns and write-path resolution
...
Persist workflow_instance_id, stage_instance_id, scope_kind on chat
messages and task runs; resolve scope from live instance for chat and
document tasks so refresh can apply consistent stage authorization.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 03:06:08 +00:00
weichen
210fe4a7bb
merge: feature/sync-wip-2026-09-13 — container env config and chat refresh docs
CI / go-vet-and-short-test (push) Failing after 1s
CI / backup-restore-drill (push) Failing after 0s
CI / web (push) Failing after 0s
2026-09-13 02:55:31 +00:00
weichen and Cursor
6101bf8bef
docs(audit): add chat history refresh diagnosis and remediation trail
...
Record refresh disappearance root cause, gap-matrix blocker, short-term
task, handoff, and archive evidence for CHAT-HISTORY-REFRESH.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:55:21 +00:00
weichen and Cursor
fe0bb3a503
fix(config): layer root and env compose files with expanded overrides
...
Load agent/cursor env overrides in config loader; pass root .env plus
environment-specific env files in env-service; align compose env_file mounts.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:55:18 +00:00
weichen
40fdd9315c
merge: feature/chore-history-rewrite — history rewrite tooling and docs
CI / go-vet-and-short-test (push) Failing after 1s
CI / backup-restore-drill (push) Failing after 0s
CI / web (push) Failing after 35s
2026-09-13 02:51:33 +00:00
weichen and Cursor
9e8ff2ff4a
chore(scripts): add epic history rewrite tooling and SHA map docs
...
Replay 358 linear commits as 14 feature/fix epics with merge --no-ff;
include manifest, rewrite script, SHA map, and git-workflow-helper alignment.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:51:33 +00:00
weichen
4a7b571c8d
merge: feature/agent-docs-system — doc taxonomy and branch policy
2026-09-13 02:50:23 +00:00
weichen
f9656d899e
merge: fix/governance-v2-codex — three-workflow governance and Codex P0
2026-09-13 02:50:23 +00:00
weichen and Cursor
f30886e442
docs(agents): require feature branches off dev for all work
...
Align AGENTS, Cursor rule, PROJECT, README, templates, and CURRENT with
strategy A: no direct commits on dev/test/main; all work branches from dev.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:23 +00:00
weichen
7ffbadfaa8
merge: feature/workflow-abac-taskrun — workflow ABAC taskrun and QA
2026-09-13 02:50:23 +00:00
weichen and Cursor
edcfcd321c
docs(ops): 勾选 pi-agent provider 修复提交证据
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:23 +00:00
weichen and Cursor
81743dcb75
docs(ops): remove .doc root stubs and archive completed research
...
Delete 15 redirect stubs now that canonical paths exist under audit/
and remediation/. Move completed ops/research to archive, fix internal
links, and remove untracked duplicate test-report workspace artifacts.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:23 +00:00
weichen and Cursor
c60599379f
fix(agent): 将 pi-agent 默认模型对齐为 MiniMax-M2.7-highspeed
...
根因是 Go 默认 provider 误为 cc-switch-kimi-for-coding,且 app 容器未注入 PI_AGENT_*,导致 runner 收到未知 provider。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:23 +00:00
weichen and Cursor
be9a6d4640
docs(archive): relocate superpowers, workflow, and test assets
...
Move docs/superpowers to archive/design/superpowers with stubs;
archive workflow rules to PROJECT SSOT; separate test-report assets.
Update Go doc path references.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:23 +00:00
weichen and Cursor
575c2da092
fix(deploy): main 环境注入生产密钥并完成本地冒烟验收
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:23 +00:00
weichen and Cursor
20f52d025b
docs(agents): multi-agent rules, templates, and tool entrypoints
...
Rewrite AGENTS.md with taxonomy, worktree, and integration slot rules;
add FEATURE-MATRIX-driven CURRENT; tool stubs; session-close checklist.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:23 +00:00
weichen and Cursor
2fbb0b29a6
docs(audit): 以 gap-matrix 与 ops 对齐 Codex 再审计结论
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:23 +00:00
weichen and Cursor
511864bad0
docs(ops): scaffold doc taxonomy and relocate audit/remediation
...
Establish .doc/{status,audit,remediation,archive} structure with README
maps, migrate 15 root audit/remediation docs, and add redirect stubs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:23 +00:00
weichen and Cursor
0547bd58a8
fix(ops): HTTP 超时、env status 只读;test/dev 镜像重建 schema 25
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:23 +00:00
weichen
3d09bd6d7d
fix(quality): 闭环 Go 质量门禁(鉴权富化/V0.5/vet/health/KB gate/记忆轮询)
2026-09-13 02:50:23 +00:00
weichen and Cursor
ac9fe7f09b
chore(ops): 新增退休非正式工作流定义脚本
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:23 +00:00
weichen and Cursor
8c5dd97d63
feat(db): 同步种子用户与项目序列避免冷启动主键冲突
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:23 +00:00
weichen and Cursor
3b7b49c624
fix(api): 任务同步与SSE入口补齐项目成员鉴权
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:23 +00:00
weichen and Cursor
0d10c9adfe
docs(ops): 建立通用 AGENTS 手册与本仓 PROJECT/CLAUDE 入口
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:23 +00:00
weichen and Claude Sonnet 5
a6501e5b31
docs(audit): comprehensive project code review and remediation plan
...
Complete audit and remediation documentation for Chat-Agent-System:
- 2026-09-12-AUDIT-INDEX.md: Document index and quick navigation guide
- 2026-09-12-audit-summary-report.md: Overall project assessment (5.7/10)
- 12 identified defects (3 critical, 4 high, 5 medium)
- 3 incomplete features
- Risk assessment and remediation timeline (61h total)
- 2026-09-12-comprehensive-audit-and-remediation-plan.md: Detailed analysis
- BUG-01 to BUG-12: Root cause, code locations, impact
- MISSING-01 to MISSING-04: New feature design
- Phase A/B/C remediation strategy
- 2026-09-12-remediation-tasks-and-acceptance-checklist.md: Executable tasks
- 15 detailed tasks with code snippets and test cases
- 61 hours total effort (Phase A:15h, B:26h, C:20h)
- 2026-09-12-quick-reference-guide.md: Fast lookup and diagnostics
- Symptom → root cause → solution matrix
- Code hotspot map and common Q&A
Key findings:
- Project 70% complete, needs immediate remediation
- 3 critical bugs affecting project lifecycle, security, data consistency
- 0% E2E test coverage
- 88 test definitions polluting development database
Recommendation: Start Phase A immediately (critical fixes), complete all remediation within one week.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com >
2026-09-13 02:50:23 +00:00
weichen
a24b00d393
merge: feature/security-iam — P0 security and IAM Phase 0-1
2026-09-13 02:50:22 +00:00
weichen
21de3bc39e
merge: feature/chat-idempotency-task — turn idempotency and task materials
2026-09-13 02:50:22 +00:00
weichen
eb350d4367
merge: feature/web-chat-ux — SSE chat longtask history workflow and seed data
2026-09-13 02:50:21 +00:00
weichen
eedf2d17e0
merge: feature/rbac-auth — dynamic RBAC and auth settings
2026-09-13 02:50:20 +00:00
weichen
ade4723a3a
merge: feature/web-features — intent funnel export and templates
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
a779d353b4
merge: feature/backend-platform — KB memory docgov API and chat history
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
29e00db0d9
merge: feature/agent-infra — pi-agent Tavily and docker
2026-09-13 02:50:18 +00:00
weichen
6e4c8e319b
merge: feature/bizdev-core — bizdev MVP stack
2026-09-13 02:50:18 +00:00
weichen
085da29859
merge: feature/foundation — repo scaffold and env baseline
2026-09-13 02:50:18 +00:00
weichen
024af3e66b
chore: history rewrite root anchor
2026-09-13 02:50:18 +00:00