weichen and Cursor
5e5bc1f03b
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:44:39 +00:00
weichen and Cursor
8ff4d338d5
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:36:23 +00:00
weichen and Cursor
f3392face9
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:31:30 +00:00
weichen and Cursor
43c972d0ad
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:31:27 +00:00
weichen and Cursor
33b1b8be62
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:31:24 +00:00
weichen and Cursor
3596109424
docs(ops): 勾选 pi-agent provider 修复提交证据
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 01:39:07 +00:00
weichen and Cursor
8f3aa0f0c1
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 01:39:01 +00:00
weichen and Cursor
ac7419e0fc
fix(deploy): main 环境注入生产密钥并完成本地冒烟验收
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 23:51:56 +00:00
weichen and Cursor
b4bc0c2af3
docs(audit): 以 gap-matrix 与 ops 对齐 Codex 再审计结论
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 16:55:51 +00:00
weichen and Cursor
505c4193fd
fix(ops): HTTP 超时、env status 只读;test/dev 镜像重建 schema 25
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 16:55:21 +00:00
weichen and Cursor
91985a23c6
fix: 闭环 Go 质量门禁(鉴权富化/V0.5/vet/health/KB gate/记忆轮询)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 16:54:19 +00:00
weichen and Cursor
1fb7393763
chore(ops): 新增退休非正式工作流定义脚本
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 16:53:00 +00:00
weichen and Cursor
b13ced641a
feat(db): 同步种子用户与项目序列避免冷启动主键冲突
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 16:52:30 +00:00
weichen and Cursor
d82021e9b2
fix(api): 任务同步与SSE入口补齐项目成员鉴权
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 16:52:27 +00:00
weichen and Cursor
31fe607e64
docs(ops): 建立通用 AGENTS 手册与本仓 PROJECT/CLAUDE 入口
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 16:51:58 +00:00
weichen
eb5634a06e
test(governance): 补跑 product_manager PG+PI 全链路并通过
...
抽取 runPiAgentGovernanceE2E 共用 harness,新增 system_reqs 真实 Agent 验收并更新测试报告。
2026-09-12 16:19:14 +00:00
weichen
63a5e2849f
docs(test): 更新 gap matrix MISSING-04 为 PASS
2026-09-12 15:40:24 +00:00
weichen
f4cb9176e7
test(governance): PI Agent PG 全链路实测通过并固化运行条件
...
修复 runner 鉴权与 data/dev 工作区挂载,使用正式 main 工作流完成 intake→批准→推进。
2026-09-12 15:40:13 +00:00
weichen
51ac51235e
feat(projectcontext): bizdev 注入项目对话并完成 PG 治理 E2E
...
新增 ctxmgr 项目对话采集并接入 PM/TE BuildSnapshot;PG 测试统一 TEST_DATABASE_URL 并使用三正式工作流 key。
2026-09-12 15:16:02 +00:00
weichen and Claude Sonnet 5
203f1c8a82
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-12 15:12:30 +00:00
weichen
bb138475e3
fix(governance): 统一文档访问判定与上下文快照排除计数
...
补齐 DocumentAccessDecider HTTP 409、projectcontext 私有对话排除统计,并更新整改 gap matrix 与测试报告。
2026-09-12 15:10:23 +00:00
weichen and Cursor
e197e3f69a
fix(frontend): skip hash anchor navigation until session is validated
...
Avoid chat day fetches with empty session_id on the login page when a stale URL hash is present.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 14:39:01 +00:00
weichen and Cursor
94ee09c9f2
docs(workflow): record three-workflow governance remediation and test report
...
Archive the strict governance design notes and validation report for the 2026-09-12 remediation cycle.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 14:33:49 +00:00
weichen and Cursor
edd3a57b8a
test(workflow): add governance regression and activation PG coverage
...
Cover public auth config, catalog policy, official main workflow activation on Postgres, and conn-busy metadata writeback fixes.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 14:33:47 +00:00
weichen and Cursor
7ecb121314
fix(frontend): gate data fetches until session validated and improve workflow UX
...
Prevent login-page 401 noise by deferring project/chat API calls until auth is confirmed, use public-config for registration policy, and add client-side duty assignment checks before saving workflow plans.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 14:33:45 +00:00
weichen and Cursor
812fa6ecdf
feat(api): add workflow catalog routes and public auth config endpoint
...
Expose governance APIs for workflow selection/termination and allow login pages to read registration policy without admin credentials.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 14:33:43 +00:00
weichen and Cursor
9ef217cb4b
feat(service): enforce three-workflow governance and instance lifecycle
...
Wire catalog policy, v2 manifests, stage access, activation metadata fixes, and coordinator instance advance around frozen workflow snapshots.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 14:33:41 +00:00
weichen and Cursor
8862fc31f9
feat(db): add workflow schema v2 and catalog governance migrations
...
Introduce catalog governance tables and extend workflow schema v2 so only the three official workflows are selectable at runtime.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 14:33:38 +00:00
weichen and Cursor
899a0e65e6
feat(authz): implement six-phase permissions, settings and workflow v2
...
CI / go-vet-and-short-test (push) Failing after 0s
CI / backup-restore-drill (push) Failing after 0s
CI / web (push) Failing after 32s
Close P0 auth gaps for lineage/runs, stage ABAC fail-closed, and
project:create; add IAM migrations 00021-23, me settings APIs, schema v2
manifests, orchestrator skeleton, and gate A regression coverage.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 12:06:53 +00:00
weichen and Cursor
bb3f3a1b93
docs(test): record pi-agent E2E v5 PASS after env sync fix
...
Full lifecycle passed in 714s with MiniMax token, RUNNER_AUTH_TOKEN, and shared KB connected.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 11:51:07 +00:00
weichen and Cursor
182d9d7757
docs(config): align .env.example with dual-env compose layout
...
Document CONTEXT_DB/SYSTEM_DB aliases, pi-agent secrets sync to configs/.env.dev, and compose vs host Go variable scope.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 11:36:10 +00:00
weichen and Cursor
5c0235e269
docs(test): record pi-agent E2E v3 failure at 60m step timeout
...
V0.1 step_01_organize exceeded AgentTimeout after KB and timeout passthrough fixes.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 11:28:05 +00:00
weichen and Cursor
47c5b52c21
fix(squad): propagate AgentTimeout to pi-agent step execution
...
E2E v2 still hit 30min runner timeout because runOneStep ignored ExecuteOptions.Timeout; inject shared KB config in pi-agent E2E test.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 10:24:45 +00:00
weichen and Cursor
be07346275
fix(test): extend pi-agent E2E AgentTimeout to 60m for stage runs.
...
CI / go-vet-and-short-test (push) Failing after 2s
CI / backup-restore-drill (push) Failing after 0s
CI / web (push) Failing after 44s
V0.1 workflow steps exceeded the default 30m pi-agent /v1/run deadline; align test config with production AGENT_TIMEOUT and runner env vars.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 09:50:37 +00:00
weichen and Cursor
fca1ddc297
docs(test): record pi-agent E2E failure at V0.1 stage timeout.
...
CI / go-vet-and-short-test (push) Failing after 0s
CI / backup-restore-drill (push) Failing after 0s
CI / web (push) Failing after 36s
Document 33min run with dialogue steps passing and workflow ExecuteStage failing on pi-agent /v1/run deadline.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 09:47:50 +00:00
weichen and Cursor
9ad4f2b622
chore(ops): add test env smoke script and document test soak pass.
...
CI / go-vet-and-short-test (push) Failing after 0s
CI / backup-restore-drill (push) Failing after 0s
CI / web (push) Failing after 30s
Provide git-push-dev helper, DEP-001 smoke checks for test compose, and update E2E/soak test report.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 09:42:45 +00:00
weichen and Cursor
e829dd6074
fix(db): enable test env cold-start migrations on empty database.
...
Use pgvector image with extensions-only init, seed legacy users before project/chat fixtures, and align test compose with goose-only schema bootstrap.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 09:42:45 +00:00
weichen and Cursor
12122d06b5
docs(test): update report with successful push and dev soak.
...
CI / go-vet-and-short-test (push) Failing after 0s
CI / backup-restore-drill (push) Failing after 1s
CI / web (push) Failing after 34s
Record Gitea token push, restarted dev server ready checks, and 60s soak pass.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 09:25:21 +00:00
weichen and Cursor
cf9ad06b13
docs(test): report PG fix, CI short suite, and soak/E2E progress.
...
CI / go-vet-and-short-test (push) Failing after 0s
CI / backup-restore-drill (push) Failing after 0s
CI / web (push) Failing after 1m20s
Document seed user reactivation, full short test pass, readiness soak, and blocked git push pending credentials.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 09:14:07 +00:00
weichen and Cursor
e47dae04f0
fix(test): stabilize PG seed users and CI short test suite.
...
Reactivate dev seed users after auth PG tests, use unique session tokens, fix import guard and coordinator assertions, and skip flaky E2E in short mode; add pg_restore CI drill job.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 09:14:02 +00:00
weichen and Cursor
48ab158672
docs(test): archive QA-001 backup drill and penetration test report.
...
CI / go-vet-and-short-test (push) Failing after 19m20s
CI / web (push) Failing after 3m25s
Record template MIME, CI gate, backup/RPO drill, and security negative case results per test report standard.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 08:59:19 +00:00
weichen and Cursor
a4df9b966d
test(security): add automated penetration negative test matrix.
...
Cover anonymous admin/task access, body limits, MIME rejection, strict readiness, and CORS allowlist without legacy test principals.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 08:59:19 +00:00
weichen and Cursor
07ce332a31
chore(ops): add system DB backup and restore drill scripts.
...
Support dev/test/main pg_dump backups with RPO manifest metadata and a restore drill that validates dump integrity and migration idempotency.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 08:59:19 +00:00
weichen and Cursor
546de528aa
ci: add QA-001 gate with go vet, short tests, and migration check.
...
Run migration gate against CI Postgres and add web npm test/build jobs on dev/test/main pushes and PRs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 08:59:19 +00:00
weichen and Cursor
3fcb096fc6
feat(upload): reuse MIME validator for workflow template uploads.
...
Centralize template extension, magic-byte, and HTML/script rejection in upload.ValidateTemplate so admin template POST matches project asset hardening.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 08:59:17 +00:00
weichen and Cursor
d85f80204a
feat(ops): compose runner auth, upload MIME validation, and test soak
...
Wire RUNNER_AUTH_TOKEN through dev/test/main Compose, validate uploads
with extension whitelist and content sniffing, add readiness soak script
and short PG loop test, and require runner token in prod when URL is set.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 08:51:10 +00:00
weichen and Cursor
e416b67a45
feat(taskrun): resume interrupted runs and harden P1 security gaps
...
Add confirm-gated resume API with resumable flag, Phase 5 finalize fault
and rolling-restart replay tests, Mermaid strict mode, request body limits,
and optional Runner Bearer auth between app and pi-agent.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 08:49:23 +00:00
weichen and Cursor
b3e529e444
feat(taskrun): add worker lease/heartbeat and Phase 5 fault injection tests
...
Introduce goose v20 lease columns with heartbeat loops so only expired
leases are marked interrupted on restart; add PG tests for concurrent
stage advance, active lease survival, and backup migration idempotency.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 08:46:05 +00:00
weichen and Cursor
b7cd24b267
feat(taskrun): persist runs/events and fix finalize-before-done ordering
...
Add goose v19 task_runs/task_run_events tables with PG store for restart
replay, orphan interruption on startup, strict /ready checks, and strip
client work_dir from chat/SSE paths per P0 path sandbox requirements.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 06:07:31 +00:00
weichen and Cursor
f24a759d1e
fix(projectworkflow): generate UTF-8 safe project codes for Chinese names
...
Truncate project codes by rune instead of byte to prevent invalid PostgreSQL UTF-8 sequences from mixed CJK and ASCII slugs.
test(server): add PG pi-agent governance E2E and Phase 5 acceptance matrix
Cover Chinese HTTP project create, pi-agent intake after workflow activate, authz negatives, activate idempotency, and migration version gate.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 05:58:04 +00:00
weichen and Cursor
76426d0420
docs(test): fix report structure for blended ABAC and PG chain cases
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 05:52:05 +00:00
weichen and Cursor
d123f41738
feat(abac): filter blended squad context and add PG governance E2E
...
Route BuildBlendedSquadContext through stage access gate, and add PG integration test covering activate, doc approval hook, notifications, ABAC, and stage advance.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 05:51:58 +00:00
weichen and Cursor
b78f1faa56
docs(test): add pi-agent E2E and bizdev ABAC acceptance report
...
Record real pi-agent lifecycle run (676s PASS) and stage access gate unit test results per delivery checklist.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 05:46:19 +00:00
weichen and Cursor
686d39ec62
fix(e2e): authenticate multi-role docgov steps in pi-agent lifecycle test
...
Align seeded user IDs and use per-role Bearer tokens so review reject/approve actions run as the assigned reviewer instead of the legacy fallback principal.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 05:34:50 +00:00
weichen and Cursor
dff1d60c48
feat(abac): gate bizdev agent context by workflow stage duties
...
Inject stage access gate into bizdev service so task execution, project context reads, and prior docs respect live workflow ABAC.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 05:27:25 +00:00
weichen and Cursor
3f0bb28072
test(e2e): extend pi-agent lifecycle timeout to 1h
...
Allow long-running ad-hoc pi-agent steps by raising the HTTP client limit and documenting the 1h go test invocation.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 05:27:25 +00:00
weichen and Cursor
b48e0082c2
feat(notification): add 24h stage advance reminder and confirm on advance.
...
Poll pending requests every 15 minutes, emit deduplicated escalation notifications, and close requests when creator confirms stage advance.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 03:26:30 +00:00
weichen and Cursor
23872ab704
feat(abac): enforce stage access on chat, search and SSE streams.
...
Tag messages with stage_key metadata, block sends for unauthorized roles, and filter history/search/case results by allowed stages.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 03:20:31 +00:00
weichen and Cursor
a484c808d3
feat(web): poll stage ready notifications to refresh advance banner.
...
Poll project notifications every 15s and reload readiness when stage_ready_to_advance arrives.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 03:14:30 +00:00
weichen and Cursor
b41bfade53
feat(api): wire document approval hook and project notifications API.
...
Register workflow approval callback on server start and expose GET /projects/{id}/notifications.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 03:14:30 +00:00
weichen and Cursor
8b7c4dfcc6
feat(projectinstance): refresh stage readiness after document approval.
...
Sync doc task status on approve and evaluate whether to emit stage advance readiness; chain docgov hooks.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 03:14:30 +00:00
weichen and Cursor
6fb28aabb7
feat(notification): emit deduplicated stage ready to advance events.
...
Write outbox row and creator notification when a stage first becomes advance-ready.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 03:14:30 +00:00
weichen and Cursor
00b0bb6882
feat(db): add outbox, notifications and stage advance request tables.
...
Support transactional stage.ready_to_advance events with dedupe by stage instance and config revision.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 03:14:30 +00:00
weichen and Cursor
5ec4951f9b
feat(abac): restrict workflow document access by active stage duties.
...
Resolve stage access from live instance assignments and filter document list/content for non-assigned roles.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 03:10:47 +00:00
weichen and Cursor
0a8baab272
test(db): add PG integration test for activation and stage advance.
...
Verify migration 00017 and full plan→preview→activate→advance chain against dev Postgres.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 03:10:45 +00:00
weichen and Cursor
25f2917a46
feat(service): add stage gate readiness and creator-confirmed advance.
...
Evaluate required document approvals before stage transition, expose readiness/advance APIs, show StageAdvanceBanner in the UI, and keep legacy workflow switch for explicit initial_workflow_key projects.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 03:06:55 +00:00
weichen and Cursor
8c2c8d4c4f
docs(test): add Phase 3 project workflow governance test report.
...
Document planning-mode creation, plan/preview/activate unit results, and API regression outcomes for the instance governance MVP.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 03:03:34 +00:00
weichen and Cursor
3fca0f1aca
feat(web): add project workflow settings wizard and replace free switcher.
...
Topbar shows configure/view workflow actions under governance mode with a multi-step ProjectSettingsModal for plan, duty assignment, and confirmed activation.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 03:03:34 +00:00
weichen and Cursor
8ef408ba58
feat(api): expose project settings endpoints and block legacy workflow switching.
...
Add settings/plan/preview/activate routes and reject active-workflow toggles when governance instances or planning projects require configured activation.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 03:03:34 +00:00
weichen and Cursor
9ba3d51a53
feat(service): implement project workflow plan, preview, and activation flow.
...
New projectinstance package validates three-duty separation, issues confirmation tokens, and activates immutable workflow instances; new projects start in planning mode.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 03:03:34 +00:00
weichen and Cursor
caa98d8722
feat(db): add project workflow instance tables for Phase 3 governance.
...
Introduce planning/active lifecycle, instance snapshots, duty assignments, and activation confirmation tokens with single-live-instance constraints.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 03:03:34 +00:00
weichen and Cursor
28628ae141
docs(test): Phase 2 workflow designer test report and plan
...
Archive validator/publish test results and document Phase 2 MVP scope
boundaries ahead of Phase 3 project activation work.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 02:53:09 +00:00
weichen and Cursor
d025d13c87
feat(web): add admin workflows and template library tab
...
Admin console can list workflow definitions, validate/publish draft versions,
and view bootstrap template assets from the server API.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 02:53:09 +00:00
weichen and Cursor
79ce1eb56f
feat(api): add admin workflow and template management endpoints
...
Expose draft/validate/publish/retire workflow APIs and template upload/list
routes wired to workflowdef service with DBCatalog refresh on publish.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 02:53:09 +00:00
weichen and Cursor
7951b0f0b5
feat(db): add workflow definitions, versions, and template asset tables
...
Introduce Phase 2 IAM-adjacent schema for versioned workflow definitions,
template assets/versions, and workflow_defs permissions seed.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 02:53:09 +00:00
weichen and Cursor
a9828c6f26
test(docs): Phase 1 completion gates, PG integration tests, and report
...
Add disabled-user 401, admin roles/sessions handler tests, optional PG store
integration, cross-project 403 fixture, and update the Phase 1 test report to
reflect completion status.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 02:48:00 +00:00
weichen and Cursor
d59246a274
feat(web): fail-closed capabilities and admin roles from server API
...
Stop persisting roles to localStorage as authority; AdminSettingsModal reads
and writes role matrices via /api/v1/admin/roles; hasPermission denies when
capabilities are not loaded from /auth/me.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 02:48:00 +00:00
weichen and Cursor
39ab0ca1e4
feat(authz): complete Phase 1 admin roles, sessions, and unified admin gate
...
Add roles CRUD backed by system_roles tables, session list/revoke APIs,
capabilities fallback for memory mode, and route all admin checks through
AuthorizationService instead of hardcoded role-admin checks.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-12 02:47:57 +00:00
weichen
51e431e9b0
test(docs): Phase 1 IAM authz tests and test report
...
Extend P0 and auth/me handler tests for members endpoint and capabilities; archive Phase 1 test report under .doc/test-reports/.
2026-09-12 01:45:41 +00:00
weichen
774a767c0c
feat(web): wire project members CRUD to REST API
...
Add projectMembers client and role adapter; sync members from server on login and modal open; persist add/update/remove via /api/v1/projects/{id}/members.
2026-09-12 01:45:41 +00:00
weichen
ca9b371699
feat(web): consume server capabilities for RBAC decisions
...
Fetch and cache capabilities from /auth/me on login and session restore; hasPermission prefers server capabilities over local role definitions.
2026-09-12 01:39:36 +00:00
weichen
0285c8670f
feat(authz): add AuthorizationService, capabilities API, and project members CRUD
...
Wire authz service into server, expose capabilities on /auth/me, and add project member management routes with owner/admin gates.
2026-09-12 01:39:33 +00:00
weichen
f97ed2dd98
feat(auth): persist sessions and accounts via PostgresAuthStore
...
Add PgStore with hashed token sessions, IAM bootstrap, and store factory wiring; remove in-memory token map and allow_dev_switch from login payload.
2026-09-12 01:39:31 +00:00
weichen
bc37debc31
feat(db): add IAM core migration for users, sessions, and RBAC
...
Introduce goose migration 00015 to extend users with IAM columns and seed system roles/permissions for Phase 1 authorization.
2026-09-12 01:39:29 +00:00
weichen
77d3da116f
docs: add Phase 1 IAM and authorization implementation plan
...
Define the database, PostgresAuthStore, AuthorizationService, and frontend
capabilities workstream after Phase 0 security止血 is complete.
2026-09-12 01:01:20 +00:00
weichen
8341168271
test(docs): extend Phase 0 security gates and archive test report
...
Add P0 negative tests, prod bundle forbidden-string scan, and the Phase 0
security止血 acceptance report with PASS results.
2026-09-12 01:00:58 +00:00
weichen
b600c9d518
fix(auth): restrict demo seed users to dev/test environments
...
Main no longer creates fixed-password demo accounts and legacy anonymous
fallback is limited to explicit dev/test in-memory fixtures.
2026-09-12 01:00:58 +00:00
weichen
00ec89a6b3
fix(security): add CORS allowlist and enforce principal on chat handlers
...
Replace wildcard CORS with configured origins and bind chat/task user
identity to the authenticated principal instead of request body fields.
2026-09-12 01:00:58 +00:00
weichen
867f55f1e9
fix(web): remove identity simulation and stop sending X-User-ID
...
Product UI no longer switches sessions locally; API clients attach Bearer
tokens only and LocalAuthClient stays test-only outside the prod bundle.
2026-09-12 01:00:58 +00:00
weichen
e82b6242c7
docs: add production governance plan and Phase 0 authz matrix
...
Freeze terminology and document the API resource-action matrix before
security止血 changes land in application code.
2026-09-12 01:00:58 +00:00
weichen
82917799e8
docs(test): archive P0 remediation test report
2026-09-11 16:04:56 +00:00
weichen
2772c9e526
feat(security): complete P0 release blocking remediation
...
Unify auth middleware and remove X-User-ID trust, add project_members
authorization, sandbox workspaces via resolver, and admin-only reconcile
by run_id. Introduce goose migrations with startup schema gate, fail closed
when DB unavailable outside explicit ALLOW_IN_MEMORY, bundle web/dist in
app Dockerfile, and remove frontend pseudo-login fallback.
2026-09-11 16:04:53 +00:00
WeiCHEN and Cursor
8abf190e75
chore(deploy): 三环境 Compose 构建真实 app 镜像并补齐法规库运维
...
将 dev/test/main 的 app 服务从占位容器改为 Dockerfile 多阶段构建,增加 healthcheck 与 .regulations 只读挂载;新增法规库备份/恢复脚本并同步 env-service 目录初始化与 gitignore。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 19:53:24 +08:00
WeiCHEN and Cursor
28faa4932d
fix(agent): Chat Agent 全链路 P0-P5 整改
...
封堵鉴权旁路与导出 IDOR,DocGov 改服务端身份;对话层 PendingAction 接真实 docgov/taskrun;修复流式租约假死与会话级任务流;加固配置/doc_id/NULL;补齐 slog 与测试;前端 ErrorBoundary 与受控文档重试。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 18:22:45 +08:00
WeiCHEN and Cursor
ba249a56c8
chore: fix backfill script import and run projection for ws_intake
...
Remove unused import so backfill can repair run_1789111889557885000
chat message and workflow_runs for project 56 intake workspace.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 16:53:21 +08:00
WeiCHEN and Cursor
60433f2a6b
feat(web): sync workflow docs from server and persist task artifact in chat
...
Pass doc_id on task runs, merge server deliverable state by task_key,
fetch controlled document content when opening non-template docs, and
map metadata.artifact after refresh.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 16:46:53 +08:00
WeiCHEN and Cursor
bcfb9f415b
feat(api): add workflow document list, content read, and backfill script
...
Expose project controlled documents from DocGov, serve authenticated
output.md content by doc_id, and add idempotent backfill for run_1789111889557885000.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 16:46:53 +08:00
WeiCHEN and Cursor
6e489733ec
feat(agent): unify async task FinalizeTaskRun projection to chat and runs
...
Extend taskrun executors to return full TaskRunResult, finalize assistant
placeholder content with artifact metadata, and map quality_failed terminal
state instead of metadata-only updates.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 16:46:49 +08:00
WeiCHEN and Cursor
edb6aa9e96
docs(test): add longtask P0 observer and materials test report
...
Archive automated regression results for stream materials, observer disconnect,
project asset upload, and ResolveMaterials assembly.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 15:15:17 +08:00
WeiCHEN and Cursor
8e966db056
feat(web): asset upload, task run observer, and session lineage on tasks
...
Upload binary attachments as project assets, subscribe by run_id after refresh,
and pass session_id/project_id through long-task requests.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 15:15:16 +08:00
WeiCHEN and Cursor
63cc8ab1da
feat(api): observer task runs decoupled from SSE lifecycle
...
Add POST/GET/POST cancel task run APIs, background worker with event replay,
workspace reconcile, runner child cancel, and chat message metadata updates.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 15:15:15 +08:00
WeiCHEN and Cursor
463f7d5ea5
feat(agent): project asset upload and squad materials assembly
...
Register uploads via CAS, resolve project asset pools into task materials
with server-side extraction, and propagate asset_id through the bizdev/squad chain.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 15:15:15 +08:00
WeiCHEN and Cursor
7d2f86bdc4
fix(api): pass materials through task/stage stream handlers
...
Stream SSE path now forwards Materials to ExecuteTask/ExecuteStage, and
TestTaskStream_MaterialsInjection targets the real /tasks/run/stream endpoint.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 15:15:11 +08:00
WeiCHEN and Cursor
0c9c0928ec
feat(web): wire project list and create to server API
...
Login syncs projects from GET /api/v1/projects; create project uses POST with server-assigned id while preserving local sessions and templates.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 14:28:01 +08:00
WeiCHEN and Cursor
4473115273
fix(web): align workbench user ids with auth seed
...
Unify MOCK_USERS with backend auth (admin id=1), merge session identity on login, and migrate demo seeds/tests to id 2/3/4 for 张工/李/王.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 14:23:31 +08:00
WeiCHEN and Cursor
0fc16af9a3
fix(web): keep draft when send preflight fails
...
Return accepted/error from handleSendMessage, clear InputArea only on success, and surface thinking/streaming feedback.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 14:23:28 +08:00
WeiCHEN and Cursor
78ad01b2da
fix(web): add secure-context-safe clientTurnId helper
...
Provide RFC 4122 v4 fallback via getRandomValues for LAN HTTP pages where randomUUID is unavailable.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 14:23:25 +08:00
WeiCHEN
d084056638
feat(task): inject uploaded documents into task materials and enable LAN host access
...
- backend: add Materials field to TaskRunRequestDTO and forward to ExecuteTask
- backend: add TestTaskStream_MaterialsInjection test case in taskstream_test.go
- web: serialize materials in buildTaskRequest and add unit test
- web: improve isSameMessage identity comparison in messageIdentity.ts
- web: configure host: '0.0.0.0' in vite.config.ts for LAN collaboration access
2026-09-11 13:22:02 +08:00
WeiCHEN and Cursor
78b340fd35
docs(test): chat turn idempotency automated test report
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 13:20:13 +08:00
WeiCHEN and Cursor
2c98839b91
refactor(web): stop persisting full message list to localStorage
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 13:20:13 +08:00
WeiCHEN and Cursor
29cbd5a6ad
feat(web): isolate stream runtime by session and turn
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 13:20:13 +08:00
WeiCHEN and Cursor
0dbfc32603
feat(web): send stable client_turn_id and resume turns after disconnect
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 13:20:13 +08:00
WeiCHEN and Cursor
1438af18f7
feat(api): gate chat stream on chat_turns with session serial execution
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 13:18:16 +08:00
WeiCHEN and Cursor
9202ca7bf3
feat(db): add chat_turns idempotency table
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 13:18:16 +08:00
WeiCHEN and Cursor
636e2c0cb4
fix(web): guard chat window fetch races on session switch
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 13:17:00 +08:00
WeiCHEN and Cursor
35aafa288d
test(web): cover real temp vs server message identity
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 13:16:42 +08:00
WeiCHEN and Cursor
f431414e29
fix(web): merge live and history by serverId and clientTurnId
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 13:16:42 +08:00
WeiCHEN and Cursor
69d8f2f50d
feat(api): return user_message_id in SSE turn_ack and done
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 13:16:42 +08:00
WeiCHEN and Cursor
d0e0b05bc8
fix(web): disable chat stream auto-retry without idempotency
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 13:15:25 +08:00
WeiCHEN and Cursor
f4da2f179f
docs(spec): chat turn idempotency and session isolation
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 13:15:07 +08:00
WeiCHEN and Cursor
8c8fa4721a
chore(db): add ten-project chat seed migration and generator script
...
Provide SQL migration and Python helper to import review demo sessions
and seed messages from tenProjectsSeed.json into Postgres.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 13:00:35 +08:00
WeiCHEN and Cursor
13e58814d7
feat(web): improve chat attachments, unread marks, and session UX
...
Support richer attachment payloads in input area, local read-id cache for
unread badges, and expand private-shared and chronology test coverage.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 13:00:34 +08:00
WeiCHEN and Cursor
79f86e2671
feat(web): align project templates with official reference skeletons
...
Replace ad-hoc markdown stubs with reference-system template baselines,
free-text device type input, and add template quality regression tests.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 13:00:34 +08:00
WeiCHEN and Cursor
2c58e2d17c
fix(workflow): reconcile version conflicts in review mode and UI retry
...
Auto-adopt current workflow selection version in review/demo backend
paths, and retry frontend workflow switch after refreshing project version.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 13:00:33 +08:00
WeiCHEN and Cursor
a865b68e36
fix(ctxmgr): normalize dismissed_unread_ids for Postgres array insert
...
Ensure nil dismissed ID slices serialize as empty bigint arrays and
preallocate compressDismissed output to avoid NULL write failures.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 13:00:31 +08:00
WeiCHEN
acedc2b0ba
feat(doc-preview): 上传文档多格式在线预览 + IndexedDB 持久化恢复
...
## 新增功能
- 支持用户上传的 Word(.docx)、PDF、Excel(.xlsx/.csv)、PPT(.pptx)、
图像(png/jpg/svg/webp等)、纯文本/代码文件的在线高保真预览
- 预览与受控工作流文档严格隔离:上传文档走 FilePreviewPanel,
工作流/对话入库文档继续走 BlockRenderer,互不干扰
## 核心 Bug 修复
- 修复页面刷新后上传文件无法预览/下载的根本问题
- 根因:File 对象无法 JSON 序列化,刷新后内存引用丢失
- 方案:新增 fileStore.ts,使用 IndexedDB 持久化文件二进制内容
- App 启动时自动 restoreFileRawToDeliverables() 从 IndexedDB 恢复 fileRaw
- 上传时 saveFile() 同步写入 IndexedDB(fire-and-forget)
## 下载按钮修复
- 优先从内存 File 对象动态创建 blob URL,避免依赖已 revoke 的旧 URL
- 文件内容不可用时按钮禁用并显示 tooltip 说明
## 存储层改进
- saveDeliverables() 序列化前剔除 fileRaw(不可持久化)和 blob: URL
避免 localStorage 保存损坏的空对象
## 新增文件
- web/src/data/fileStore.ts — IndexedDB 封装(saveFile/getFile/restore)
- web/src/components/doc/preview/FilePreviewPanel.tsx — 预览面板主组件
- web/src/components/doc/preview/renderers/DocxViewer.tsx — Word 预览
- web/src/components/doc/preview/renderers/PdfViewer.tsx — PDF 预览
- web/src/components/doc/preview/renderers/ExcelViewer.tsx — Excel 预览
- web/src/components/doc/preview/renderers/PptViewer.tsx — PPT 预览
- web/src/components/doc/preview/renderers/ImageViewer.tsx — 图像预览
- web/src/components/doc/preview/renderers/TextViewer.tsx — 文本预览
- web/src/tests/file-preview.test.ts — 预览功能单元测试
2026-09-11 12:58:50 +08:00
WeiCHEN and Cursor
5ec5fca070
feat(intent): Phase 5 V2 shadow gray flags and IntentPlan execution
...
Add env-based feature flags (intent_v2_shadow/decision, multi_intent,
workflow_intents), V1/V2 shadow diff reporting, expectation_plus_new plan
building, ranked-frame L2 conflict gate, and coordinator sequential query
plan execution with confirm-step deferral.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 11:59:16 +08:00
WeiCHEN and Cursor
7ae8d5f22c
feat(intent): Phase 4 run control, subtypes, and limited IntentPlan
...
Add RUN_STATUS_QUERY/RUN_RESUME/RUN_RESTART with matcher and coordinator
handlers; write QUERY_PROGRESS/SUPPLEMENT_INFO subtypes to V2 frame; support
safe query+query multi-intent plans via IntentPlan dual-write.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 11:56:24 +08:00
WeiCHEN and Cursor
e3c62fbc57
feat(intent): Phase 3 workflow/help intents and coordinator handlers
...
Add SWITCH/TRIGGER/QUERY workflow, doc status, help and unsupported intents
with ActionSpec registry entries, NL matchers, L2 handlers with creator-only
switch gate, router routes, and capability-aware AvailableActions.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 11:54:24 +08:00
WeiCHEN and Cursor
cbe9f8c43a
feat(intent): add V2 frame, ActionSpec registry, and legacy dual-write
...
Introduce IntentFrameV2 with goal/object/relation/evidence, register all 21
legacy intents in ActionSpec registry, and dual-write intent_frame_v2 alongside
TopIntent without changing Router/Coordinator routing.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 11:50:56 +08:00
WeiCHEN and Cursor
7efe0ba5bd
fix(intent): Phase 0+1 P0 safety gates for recognition and coordination
...
Add golden-v1 hard-negative suite, shadow observability fields, query/command
negation gates for high-risk writes, AllowAffirmative enforcement, candidate
conflict clarification, and coordinator clarify-before-ambiguous ordering.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-11 11:49:20 +08:00
WeiCHEN
8f08a8dbe1
fix(chat): resolve intent recognition, workflow auth, and message ordering
2026-09-11 10:34:47 +08:00
WeiCHEN
c72bcc8ab0
feat(project): implement modal-based project creation, creator-led member assignment, and exited-member read-only retention
2026-09-11 10:10:33 +08:00
WeiCHEN
af003a3bb9
refactor(dialogue): implement task dispatch notifications and consecutive assistant messages with confirmation cards
2026-09-11 09:52:11 +08:00
WeiCHEN
82d7fe1cdc
refactor(dialogue): naturalize multi-role conversations, close chat sessions with assistant response, and set URS to project shared
2026-09-11 09:42:58 +08:00
WeiCHEN
4a4f2592b8
fix(doc): resolve URS viewing and private-to-shared workflow in document pane for 10 review projects
2026-09-11 09:26:03 +08:00
WeiCHEN
f3337b7bf9
feat(chat): add URS requirement document upload dialogues with attachments and phase events for all 10 projects
2026-09-11 09:03:54 +08:00
WeiCHEN
42f5b3da19
feat(chat): mount interactive review, approval, and verification confirmation cards in multi-role dialogues
2026-09-11 08:35:27 +08:00
WeiCHEN
92572138f7
fix(frontend): align MockDocumentMeta markdown property and guard nullish input in markdownToBlockAST
2026-09-11 00:58:00 +08:00
WeiCHEN
0d3cc6a6ce
feat(review): seed 10 real medical device projects with dual workflows, multi-role dialogues and fix account-switch chat isolation
2026-09-11 00:47:23 +08:00
WeiCHEN
dc12bc5794
fix(workflow): fix 405/404/403 errors on workflow switcher by updating CORS, 5201 demo permissions and server restart
2026-09-11 00:13:06 +08:00
WeiCHEN
a51d5fcd6d
chore(release): Phase 7 全链路验收报告、测试修复与发布基线归档
2026-09-10 23:57:40 +08:00
WeiCHEN
443a09d5b4
feat(workflow): Phase 6 前端项目多工作流切换器、前置依赖横幅与文档血缘失效提醒
2026-09-10 23:56:35 +08:00
WeiCHEN
e9238c0ab1
feat(workflow): Phase 5 智能测试经理工作流、前置强依赖校验与文档血缘级联失效
2026-09-10 23:51:59 +08:00
WeiCHEN
9d33b1c804
feat(workflow): Phase 4 智能产品经理工作流、系统需求规格书与质量门禁
2026-09-10 23:48:40 +08:00
WeiCHEN
0961e180a3
feat(workflow): Phase 3 Coordinator 上下文、动作路由与工作流运行 API 集成
2026-09-10 23:41:24 +08:00
WeiCHEN
7c899605ea
feat(workflow): Phase 1 & 2 数据库迁移、项目创建人权威化与多工作流控制面
2026-09-10 23:35:44 +08:00
WeiCHEN
484ed80377
docs(workflow): Phase 0 基线确认、架构决策记录(ADR)与契约冻结
2026-09-10 23:20:17 +08:00
WeiCHEN
4962cefdae
feat(export): 实现单次智能体回复导出、私密文档保存与隐私防泄露全套闭环 (Phase 0 - Phase 2)
...
- Phase 0: 实现服务端回复导出策略矩阵引擎 (replyexport.EvaluatePolicy)、数据库迁移 (2026-09-11-message-export-policy.sql)、SSE done 事件挂载与能力探测 API
- Phase 1: 构建前端 ReplyDocumentIR 语法树解析与渲染管道,支持 Markdown / DOCX 文件下载及带格式富文本剪贴板复制
- Phase 2: 实现私密自由文档 (freeform_documents) 领域服务、PostgreSQL 乐观锁版本管理、ACL 隐私隔离、一键共享与右侧栏编辑联动
- 专项修复:
1. 修复后台 API 路由注册并加入双向拉取同步,确保私密保存实时进入我的私密列表
2. 实现轻量回复专属 DOCX 生成与静默下载逻辑 (downloadDocxReply)
3. 将 LaTeX 公式转为标准 MathML 矢量标记,支持粘贴到 Microsoft Word / WPS 自动识别为原生公式
2026-09-10 23:04:04 +08:00
WeiCHEN
779c6c7f04
test(chat): add session turn_intent metadata assertion and chip category navigation tests
2026-09-10 16:10:53 +08:00
WeiCHEN
2c0c6a0348
feat(category): implement recategorize backfill engine and fallback mapping (Spec §3.4-3.5 A4-A5)
2026-09-10 15:56:53 +08:00
WeiCHEN
5a83b9fa44
feat(chat): 完成分类锚点坞(CategoryDock)与双轨制未读重构 (含方案A轮次归一化与起始位置居中)
2026-09-10 15:44:05 +08:00
WeiCHEN
76dae2dc3f
fix(nav): 修复点击项目会话时因 URL hash 监听重放导致被强制回弹选中第一个项目的 bug
2026-09-10 14:33:48 +08:00
WeiCHEN
709fadcef2
feat(history): 完成 Phase P3 虚拟滚动、聊天记录导出与协同未读提醒
...
- 虚拟滚动:接入 @tanstack/react-virtual,封装 useVirtualMessages 动态测高与 overscan 预渲染,迁移 anchorNavigator 锚点定位与 SSR 兼容降级
- 聊天记录导出:基于既有 docx 与 xlsx 依赖实现 chatExporter 与 ChatExportModal,新增服务端 /api/v1/chat/export/messages 支持按条件导出
- 协同未读标记:新增 useUnreadMarks 30s 轮询与服务端 /api/v1/chat/unread 接口,日历格与工具栏支持橙色未读徽标提示
- 测试与验证:新增 chat_unread_and_export_api_test.go,前端全量 126 项单元/组件测试及生产打包 100% 通过
2026-09-10 14:25:13 +08:00
WeiCHEN
de015d694a
feat(history): 实现三模历史搜索、每日智能协同摘要与时间轴侧栏 (Phase P2)
2026-09-10 13:53:07 +08:00
WeiCHEN
ad57685665
feat(history): 实现多级历史导航、分类筛选、日历联动与消息双向引用 (Phase P1)
...
- 后端核心与 API:
- 实现 ChatCategoryStat 结构体与 ListChatCategories 统计引擎 (Postgres + In-Memory 内存降级双轨)
- 注册 GET /api/v1/chat/categories 聚合接口
- 增强 GetChatDayMessages 支持自动根据 anchor_id 逆查 day_key,实现免猜测跨日检索
- 前端锚点导航引擎:
- 实现 anchorNavigator 模块 (快路径 DOM scrollIntoView + 1.8s 发光脉冲、慢路径跨日拉取、深链 Hash 解析)
- 编写 anchorNavigator.test.ts 单元测试并 100% 通过
- 分类过滤与轻量月历:
- 实现 CategoryFilterBar 水平分类筛选栏 (8 类业务标签,暗淡/高亮模式)
- 实现 HistoryCalendar 零依赖原生悬浮月历组件 (热度点与消息数,jumpToDate 快速定位)
- 消息引用与双向追溯:
- 消息气泡悬浮“引用”入口,点击提取发言人与摘要至输入框
- 实现 QuoteChip 待发引用标签与 QuoteCard 已发引用卡片
- 引用卡片点击直连锚点定位,快慢路径自动回溯
2026-09-10 13:40:44 +08:00
WeiCHEN
2ece0ce882
feat(history): 实现超长对话历史按日归档与滑动窗口 (Phase P0)
2026-09-10 13:24:32 +08:00
WeiCHEN
cf966dcf77
feat(prompt+cache): implement 10-section prompt template, true KB regulation recall, behavior rules and multi-level caching (P4)
2026-09-10 11:52:40 +08:00
WeiCHEN
b75a06cc1a
feat(coordinator): implement determinism-first query rewrite with ellipsis completion and pronoun resolution (P3)
2026-09-10 11:46:27 +08:00
WeiCHEN
2c3e303561
feat(ctxmgr): implement chat memory vectorization, privacy dual-gate retrieval and memory composer (P2)
2026-09-10 11:38:36 +08:00
WeiCHEN
30bfc1fd2f
feat(ctxmgr): implement sliding window, rolling summarizer and DST task state (P1)
2026-09-10 11:19:08 +08:00
WeiCHEN
6a88ceb94d
feat(chat): wire multi-turn dialogue broken links (G1/G2/G3/G9) with session restore
2026-09-10 11:05:14 +08:00
WeiCHEN
143d94ffdf
docs(design): add multi-turn dialogue optimization system design (report 03)
2026-09-10 11:05:12 +08:00
WeiCHEN
747cd39e97
feat(core): update backend coordinator, docgov lease, squad workflow and web governance integration
2026-09-10 09:38:35 +08:00
WeiCHEN
d40de5fe61
fix(web): wire ALL_MOCK_DOCUMENTS and project deliverables to fix document switching
2026-09-10 09:37:53 +08:00
WeiCHEN
8362802d37
feat(scripts): add launch.sh to detect-and-restart dev stack (compose, backend, web)
2026-09-09 20:46:49 +08:00
WeiCHEN
7feabff181
fix(web): render step_failed phase as failed strip node with retry reset
2026-09-09 20:25:07 +08:00
WeiCHEN
82aa6ab322
docs(test): archive long-task phase live/resume UX real-agent report
2026-09-09 19:22:13 +08:00
WeiCHEN
99e0d4a412
fix(web): distinguish recovery action styles for long-task failures
2026-09-09 18:49:36 +08:00
WeiCHEN
873e6d0a83
feat(web): drive long tasks from SSE with live phases and continue/restart recovery
2026-09-09 18:48:26 +08:00
WeiCHEN
1d81d6acf1
feat(web): add task SSE client and live phase-event mapper
2026-09-09 18:41:02 +08:00
WeiCHEN
7c1383768f
test(server): task stream transient injection, classification and resume integration tests
2026-09-09 18:35:51 +08:00
WeiCHEN
0b846e132a
feat(api): task stream request-id, resume mode and workspace-aware error classification
2026-09-09 18:27:29 +08:00
WeiCHEN
870d0462c4
docs(spec): add long-task phase live/resume UX P2 spec and plan
2026-09-09 18:19:53 +08:00
WeiCHEN
1e7cb67ab4
docs(spec): archive chat wait-error-retry UX spec and implementation plan
2026-09-09 18:10:12 +08:00
WeiCHEN and Cursor
0c7d974ae2
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-09 17:48:12 +08:00
WeiCHEN and Cursor
a964899f51
docs(test): strengthen chat wait-error-retry report with web E2E evidence
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-09 17:41:02 +08:00
WeiCHEN and Cursor
4aa839c5d1
docs(test): archive chat wait-state error-retry UX real-agent report
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-09 17:23:31 +08:00
WeiCHEN and Cursor
56fb3180c2
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-09 17:07:44 +08:00
WeiCHEN and Cursor
b2cf8637a3
feat(web): drive chat bubbles from SSE with auto-retry and stop
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-09 16:47:52 +08:00
WeiCHEN and Cursor
5aa812943c
feat(web): render chat wait-state and structured error actions in bubbles
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-09 16:36:49 +08:00
WeiCHEN and Cursor
6d32fc68f3
fix(web): drop out-of-scope ProjectSession.userId from Task 3
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-09 16:32:31 +08:00
WeiCHEN and Cursor
357aab3ba7
feat(web): add chat SSE client and transient auto-retry helpers
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-09 16:30:48 +08:00
WeiCHEN and Cursor
ccc485a670
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-09 16:25:35 +08:00
WeiCHEN and Cursor
8f29d84908
feat(agent): emit dialogue phases and classified SSE errors with request id
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-09 16:16:25 +08:00
WeiCHEN and Cursor
bfa68892ac
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-09 16:09:39 +08:00
WeiCHEN and Cursor
f385515ad3
feat(stream): add structured ErrorInfo and error classification
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-09 16:08:04 +08:00
WeiCHEN and Cursor
a8701bc08c
fix(web): redesign auth and settings UI using system design tokens and high-fidelity styles
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 23:40:40 +08:00
WeiCHEN and Cursor
1c7320b1c4
docs(test): archive auth and dual settings test report
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 23:32:15 +08:00
WeiCHEN and Cursor
f38572c0af
feat(web): integrate auth guards, dual settings and dev switcher
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 23:31:06 +08:00
WeiCHEN and Cursor
28e7f3af14
feat(web): implement dedicated AdminSettingsModal for role-admin
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 23:26:41 +08:00
WeiCHEN and Cursor
fc95ef6fed
feat(web): implement dedicated UserSettingsModal
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 23:24:47 +08:00
WeiCHEN and Cursor
2c61a08bcf
feat(web): add LoginView and FirstLoginPasswordModal components
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 23:23:49 +08:00
WeiCHEN and Cursor
eb522e7285
feat(web): add frontend auth types and api client
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 23:20:33 +08:00
WeiCHEN and Cursor
d548f773bc
feat(api): add auth and admin management endpoints
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 23:19:04 +08:00
WeiCHEN and Cursor
f7bc32798b
feat(auth): add auth data models, config and store engine
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 23:17:03 +08:00
WeiCHEN and Cursor
cf9c8415b4
docs(plan): add auth and dual settings implementation plan
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 23:15:18 +08:00
WeiCHEN and Cursor
169631c54b
docs(spec): add auth and dual settings design specification
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 23:14:23 +08:00
WeiCHEN and Cursor
372d241601
test(rbac): archive dynamic roles and doc visibility rbac test report
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 22:41:04 +08:00
WeiCHEN and Cursor
909448e5ea
feat(web): wire rbac permission enforcement into left rail and rights modal
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 22:40:22 +08:00
WeiCHEN and Cursor
e1071f74e1
feat(web): add doc visibility override modal and badges in deck drawer
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 22:36:55 +08:00
WeiCHEN and Cursor
fa2d0e9837
feat(web): upgrade settings modal with dynamic roles CRUD and permission matrix
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 22:33:41 +08:00
WeiCHEN and Cursor
d1202038d8
feat(rbac): implement permission evaluation engine and unit test suite
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 22:31:50 +08:00
WeiCHEN and Cursor
6287731885
feat(rbac): define rbac data contracts and extend deliverable and user types
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 22:30:39 +08:00
WeiCHEN and Cursor
a7eef6f63b
docs(plan): add dynamic roles and doc visibility rbac implementation plan
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 22:29:36 +08:00
WeiCHEN and Cursor
3d75471dc2
docs(spec): add dynamic roles and doc visibility rbac design spec
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 22:27:17 +08:00
WeiCHEN and Cursor
2745e89ed3
test(engine): add integration tests and archive test report for project template cloning
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 20:42:15 +08:00
WeiCHEN and Cursor
b56ca45ad4
feat(web): wire project isolation and template cloning on project creation
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 20:41:05 +08:00
WeiCHEN and Cursor
061789e5d7
feat(web): add template status badges to deck drawer and tab bar
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 20:38:06 +08:00
WeiCHEN and Cursor
a527f4dcd4
fix(engine): 修复 DOCX 公式因 undefined 虚根在 Word 中丢失的缺陷
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 20:37:28 +08:00
WeiCHEN and Cursor
29efa0d348
feat(engine): add project template cloning factory and unit tests
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 20:36:02 +08:00
WeiCHEN and Cursor
a3daabf4d9
refactor(types): extend deliverable item with projectId and isTemplateOnly
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 20:35:04 +08:00
WeiCHEN and Cursor
0cf23df338
docs(plan): add project init template cloning implementation plan
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 20:31:07 +08:00
WeiCHEN and Cursor
23cf8c3a1e
docs(spec): add project init template cloning design spec
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 20:28:54 +08:00
WeiCHEN and Cursor
50f95c61ed
docs(test): 补充 Canvas Tainted 缺陷排查与修复验证记录
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 20:25:50 +08:00
WeiCHEN and Cursor
3c6b4baa2a
test(engine): 增加 cleanSvgForCanvas 净化与防污染单元测试
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 20:25:33 +08:00
WeiCHEN and Cursor
345cd54fb9
fix(engine): 修复 Mermaid 导出时的 Canvas Tainted 污染与 toBlob 异常
...
- 配置 Mermaid flowchart.htmlLabels 为 false,禁用 foreignObject 嵌入式 HTML 标签
- 实现 cleanSvgForCanvas 深度净化 SVG,剥离 @import 与将 foreignObject 转为原生 SVG <text>
- 替换异步 toBlob/FileReader 为同步 toDataURL + atob,并在 img.onload 中增加安全沙箱 try/catch 兜底
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 20:25:30 +08:00
WeiCHEN and Cursor
c517b4a25b
docs(test): 归档 DOCX 原生公式、Mermaid 与排版优化测试报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 20:17:09 +08:00
WeiCHEN and Cursor
c4f30eb26f
test(engine): 增加 DOCX 行内 OMML 复合解析与公式转换单元测试
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 20:17:05 +08:00
WeiCHEN and Cursor
dd67aacf49
feat(engine): 实现 DOCX 原生 OMML 数学公式、Mermaid 高清渲染与出版级公文排版
...
- 集成 mathml2omml 与 KaTeX,实现展示级公式 (<m:oMathPara>) 与行内公式 (<m:oMath>) 的微软原生矢量公式渲染
- 实现 svgToPngData 将 Mermaid 矢量图光栅化为 2.5x 视网膜清晰度的 PNG 图片嵌入 Word
- 重构公文抬头、4列受控签署栏、出版级三线表、keepNext 防孤行与带分割线的受控页眉页脚
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 20:17:01 +08:00
WeiCHEN and Cursor
3d6df3feb7
fix(cli): adapt default stage by role and add scanner error checking
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 19:15:34 +08:00
WeiCHEN and Cursor
e1864905c8
docs(test): archive test report for dialogue-driven content and hierarchical intent system
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 19:05:59 +08:00
WeiCHEN and Cursor
776333e1ec
feat(web): integrate interactive cards into chat stream and wire docgov actions
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 18:58:21 +08:00
WeiCHEN and Cursor
649290bbba
fix(web): add 60s grace period undo, executing banner and ttl safeguards to interactive card
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 18:45:10 +08:00
WeiCHEN and Cursor
1c62be6e49
feat(web): build interactive card component with lifecycle and idempotency
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 18:33:36 +08:00
WeiCHEN and Cursor
6e4fe22bfb
fix(coordinator): chain expectation for card confirmation and add ttl lifecycle cleanup
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 18:22:13 +08:00
WeiCHEN and Cursor
73b50926e4
docs(test): 归档 DOCX/XLSX 导出与会话隔离持久化测试报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 18:09:59 +08:00
WeiCHEN and Cursor
275b4ebd63
test(workbench): 增加 DOCX/XLSX 导出与会话隔离单元测试
...
- 验证 DOCX 二进制 Buffer 生成、TextRun 解析与 Blob 输出
- 验证 XLSX 多表提取、自适应列宽与工作簿 Sheet 命名规范
- 验证 sess-001 与 sess-002 对话隔离及动态追加互不串线
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 18:09:56 +08:00
WeiCHEN and Cursor
7e8f0cd4f7
feat(ui): 顶栏综合导出下拉选择器与 App 消息隔离及存储打通
...
- SlimTabBar: 增加导出格式气泡下拉菜单,支持一键导出 Word DOCX、Excel XLSX、Markdown MD
- App: MessageStream 严格根据 activeSessionId 过滤消息流,杜绝多项目会话串线
- App: 新建项目自动注入独立引导语,全流程与 storage 自动双向同步
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 18:09:51 +08:00
WeiCHEN and Cursor
9fc45ab3e3
feat(storage): 实现多项目会话隔离与 localStorage 全局刷新持久化
...
- 预设 sess-001 (4K内窥镜) 与 sess-002 (掌上超声) 独立初始消息流
- safeGetItem/safeSetItem 包装器防御性存取 sessions, activeSessionId, messages, deliverables
- 确保页面刷新后用户发送的所有内容、回复及即时生成的私密文档零丢失
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 18:09:47 +08:00
WeiCHEN and Cursor
58623605bc
feat(engine): 实现 DOCX 与 XLSX 客户端原生渲染导出引擎
...
- 引入 docx 与 xlsx 依赖,纯前端无损编译 Block AST 交付物
- buildDocxModel: 自动生成两行四列受控签署栏、多级编号标题、Markdown富文本、医疗标准三线表、Cambria Math公式与动态页眉页脚
- buildXlsxWorkbook: 自动提取文档概览与全部数据表格,生成带自适应列宽的 Excel 工作簿并支持直接下载
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 18:09:43 +08:00
WeiCHEN and Cursor
c1c299b4ab
feat(coordinator): implement docgov gates, semantic anchoring and interactive card dispatch
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 18:07:56 +08:00
WeiCHEN and Cursor
a7ee616afc
feat(ui): 升级顶栏为极简级联面包屑架构,自适应 320px 极窄视窗
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 17:56:30 +08:00
WeiCHEN and Cursor
473fe7ec76
fix(intent): address review findings for hierarchical intent funnel and security guards
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 17:53:39 +08:00
WeiCHEN and Cursor
8a8582056c
feat(intent): implement 4-stage hierarchical intent funnel and slot extraction
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 17:42:57 +08:00
WeiCHEN and Cursor
003a899785
fix(doc): 完善文档系统各层级标题、图表公式与有序列表自动编号引擎
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 17:41:59 +08:00
WeiCHEN and Cursor
5dc58322aa
feat(intent): add interactive card payload and extended intent contracts
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 17:31:52 +08:00
WeiCHEN and Cursor
8aa0698dfb
docs(plan): add implementation plan for dialogue-driven content synthesis and hierarchical intent funnel
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 17:27:00 +08:00
WeiCHEN and Cursor
db238a467a
docs(spec): add specification for dialogue-driven content synthesis and hierarchical intent funnel
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 17:01:27 +08:00
WeiCHEN and Cursor
dcc06502b4
test(doc): 完善三分类隐私隔离与流转单元测试并归档全量测试报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 16:50:17 +08:00
WeiCHEN and Cursor
8967f2b48b
feat(ui): 实现三分类Tab分段切换、全景大盘分区与一键共享/取消共享闭环
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 16:50:11 +08:00
WeiCHEN and Cursor
3206304a57
fix(chore): 修正.gitignore根目录data规则并纳入前端mockDocuments
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 16:50:06 +08:00
WeiCHEN and Cursor
a95b92da31
feat(types): 升级交付物数据契约支持工作流/共享/私密三分类与创作者属性
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 16:49:40 +08:00
WeiCHEN and Cursor
7bbfddccd4
fix(layout): 修复边栏拖拽位移累加并实现1:1光标捕获绝对跟随
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 16:49:36 +08:00
WeiCHEN and Cursor
59c3e83606
feat(ui): 修复模态背景穿透、公式/富文本Markdown解析并集成右键快捷菜单
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 16:49:30 +08:00
WeiCHEN and Cursor
904696ad10
docs(spec): 归档三层交付物分类治理与多用户隐私/共享设计规范与实施计划
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 16:49:25 +08:00
WeiCHEN and Cursor
6d3bbd9496
chore(web): update package-lock.json with tsx
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:53:12 +08:00
WeiCHEN and Cursor
988a8e5462
docs(test): add three-column workbench and block document engine test report
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:52:47 +08:00
WeiCHEN and Cursor
b80a6863c7
feat(server): integrate web spa static assets hosting and route fallback
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:51:50 +08:00
WeiCHEN and Cursor
916bddc04f
feat(web): complete in-place block editing, reviewer comments, and role governance loop
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:50:48 +08:00
WeiCHEN and Cursor
267b8c89a5
feat(web): implement 36px slim tabs, deck drawer, and block views with medical styling
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:47:57 +08:00
WeiCHEN and Cursor
171b42510e
feat(web): implement agent chat stream with thinking pulse indicator and case cards
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:46:08 +08:00
WeiCHEN and Cursor
1ed455ab73
feat(web): implement responsive three-column shell with resizable rails and theme switch
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:44:54 +08:00
WeiCHEN and Cursor
4d9dfbb027
feat(web): implement markdown block ast converters and auto-numbering engine
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:43:21 +08:00
WeiCHEN and Cursor
915b35232c
feat(web): define block ast, workbench session, and docgov types
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:41:30 +08:00
WeiCHEN and Cursor
952c73e9a5
feat(web): initialize react 19 vite typescript scaffold and token design system
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:40:51 +08:00
WeiCHEN and Cursor
19461e594a
docs(plan): add three-column modern workbench and block document engine implementation plan
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:37:35 +08:00
WeiCHEN and Cursor
46741bcf13
docs(spec): refine right rail with 36px slim tabs and deck panel drawer
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:36:39 +08:00
WeiCHEN and Cursor
0b62403b8b
docs(spec): add three-column modern workbench and block document engine specification
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:34:12 +08:00
WeiCHEN and Cursor
a695334ac6
docs(test): 归档历史多轮会话持久化与标杆案例语义推荐标准化实测报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:01:52 +08:00
WeiCHEN and Cursor
1ec53b76d8
feat(cli): 终端自推荐标杆案例渲染与全业务链 E2E 端到端回归实操
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 14:00:59 +08:00
WeiCHEN and Cursor
7416a9fb35
feat(server): 新增会话列表、多轮历史消息查询与标杆案例语义检索 RESTful API
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:44:05 +08:00
WeiCHEN and Cursor
f111fb19ae
feat(coordinator): 在贴身业务参谋决策锦囊中注入相似标杆案例自推荐
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:43:08 +08:00
WeiCHEN and Cursor
0f1f0c6713
feat(ctxmgr): 增加已批准受控文档自动切片向量化与标杆案例语义检索
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:39:59 +08:00
WeiCHEN and Cursor
e6aab19b89
feat(ctxmgr): 增加历史多轮会话列表查询、消息拉取与会话重构引擎
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:37:36 +08:00
WeiCHEN and Cursor
d92e3dee42
feat(ctxmgr): 增加离线确定性高维嵌入生成器与向量字面量工具
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:34:44 +08:00
WeiCHEN and Cursor
316ec475ed
docs(plan): 编制历史多轮对话持久化与标杆案例语义检索实施计划
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:33:25 +08:00
WeiCHEN and Cursor
dd36da4aa7
docs(spec): 编写历史多轮对话持久化与已批准交付物标杆案例语义检索设计规范
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:31:39 +08:00
WeiCHEN and Cursor
86d9e31c00
docs(test): 归档全业务链成熟度端到端贯通与受控文档治理实操测试报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:20:19 +08:00
WeiCHEN and Cursor
3abc6a5921
test(bizdev): 新增全业务链成熟度螺旋推进(V0.1->V0.5->V1.0)端到端贯通测试
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:20:15 +08:00
WeiCHEN and Cursor
b273b33095
feat(cli): 升级 bizdev-cli 阶段执行器支持流式进度与文档治理拦截
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:20:11 +08:00
WeiCHEN and Cursor
72737e3565
feat(bizdev): 贯通跨阶段事实黑板自动传承与里程碑决策记录
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:20:07 +08:00
WeiCHEN and Cursor
5a1a75870d
feat(ctxmgr): 支持跨阶段项目事实黑板与成熟度状态持久化
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:20:04 +08:00
WeiCHEN and Cursor
275c3ca157
docs(test): archive 2026-09-08 HTTP API and SSE context integration test report
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:07:37 +08:00
WeiCHEN and Cursor
c1e2575e0a
test(api): add e2e integration tests for claimed document SSE and docgov RESTful APIs
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:07:31 +08:00
WeiCHEN and Cursor
8ff574c08b
feat(api): add RESTful endpoints and SSE streams for context and docgov lifecycle
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:07:26 +08:00
WeiCHEN and Cursor
1c6dd6cfb8
feat(service): emit governance interception and progress summary on claimed documents
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:07:20 +08:00
WeiCHEN and Cursor
b5d29e11cd
feat(stream): add governance event and lightweight progress summary protocol
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 13:07:13 +08:00
WeiCHEN and Cursor
ac0b6d412e
test(docgov): 增加编制审核批准全流程自动化测试与测试报告归档
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 12:01:58 +08:00
WeiCHEN and Cursor
c533523755
feat(agent): 将文档治理生命周期与认领拦截挂钩至BizDev服务与CLI工具链
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 12:01:49 +08:00
WeiCHEN and Cursor
2ca662ba72
feat(service): 实现文档编制审核批准生命周期、权限控制与认领闭环引擎
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 11:48:59 +08:00
WeiCHEN and Cursor
42fff9dfdb
feat(db): 增加受控文档编制审核批准生命周期与认领治理Schema
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 11:46:33 +08:00
WeiCHEN and Cursor
400f5a6764
docs(test): 归档多级上下文管理与记忆衰减引擎真实Agent实测报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 11:21:26 +08:00
WeiCHEN and Cursor
e88a47db6d
feat(agent): 增强上下文沙箱指引、搜索过滤与CLI用户ID上下文透传
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 11:21:18 +08:00
WeiCHEN and Cursor
67e52ffd42
feat(agent): 实现混合上下文装配引擎(Context Blender)与智能体小队沙箱对接
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 10:23:28 +08:00
WeiCHEN and Cursor
73e053e8e0
feat(service): 实现单用户/项目多级上下文模型、时间衰减与用户习惯偏好管理
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 10:18:31 +08:00
WeiCHEN and Cursor
00c36083f4
feat(storage): 实现CAS物理文件寻址与向量切片防爆炸去重引擎
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 10:16:14 +08:00
WeiCHEN and Cursor
38aac97d24
feat(db): 部署专属记忆与多级上下文数据库容器与pgvector初始化Schema
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 10:13:54 +08:00
WeiCHEN and Cursor
caf07388e0
docs(test): 归档流式传输服务与按需呈现交互规范测试报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 09:33:50 +08:00
WeiCHEN and Cursor
e938c99468
test(api): 补充SSE流式长连接端到端自动化测试套件
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 09:33:03 +08:00
WeiCHEN and Cursor
856269a965
feat(cli): 终端支持动态阶段状态流式输出与低认知负荷摘要呈现
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 09:19:41 +08:00
WeiCHEN and Cursor
dce8431b82
feat(api): 实现HTTP服务骨架与Server-Sent Events流式交互接口
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 09:17:37 +08:00
WeiCHEN and Cursor
f43d3687c1
feat(agent): 在小队编排与任务生命周期中打通阶段性状态与摘要流式通知
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 09:14:58 +08:00
WeiCHEN and Cursor
8289443e45
feat(service): 建立多层级流式事件发射模型与Context穿透引擎
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-08 09:09:41 +08:00
WeiCHEN and Cursor
3bdd6dd043
docs(test): 归档多领域知识中枢与专属法规知识库解耦集成测试报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 23:56:26 +08:00
WeiCHEN and Cursor
79b03ad916
feat(agent): 配置法规可行性评估报告专属三阶段智能体工作流
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 23:56:24 +08:00
WeiCHEN and Cursor
566bfa8611
feat(agent): 智能体小队工作区动态法规检索与上下文注入
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 23:47:21 +08:00
WeiCHEN and Cursor
d43822b8d5
feat(service): 实现嵌入式多领域知识中枢与Hybrid RRF检索引擎
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 23:46:22 +08:00
WeiCHEN and Cursor
0f21060bce
feat(db): 启动本项目专属知识库容器并完成法规数据无损迁移与解耦
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 23:40:23 +08:00
WeiCHEN and Cursor
d8a7254c1b
docs(report): 补充归档真实Agent全流程业务测试报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 23:16:46 +08:00
WeiCHEN and Cursor
ac243112a4
docs(report): 归档智能体小队自适应规划真实后端集成测试报告与设计方案
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 23:16:41 +08:00
WeiCHEN and Cursor
80b35ac069
test(chat): 添加基于真实Agent工作区的多轮人机交互E2E测试用例
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 23:16:37 +08:00
WeiCHEN and Cursor
f181529195
feat(intent): 增强目标市场槽位意图匹配与上下文兼容推断
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 23:16:35 +08:00
WeiCHEN and Cursor
4737316d26
feat(squad): 优化质量门禁章节规范化匹配与审核专员预置草稿流转
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 23:16:32 +08:00
WeiCHEN and Cursor
889e775f01
feat(squad): 打通成果物基准假设附录挂载、协调层自适应回显与CLI非标文档执行
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 22:30:13 +08:00
WeiCHEN and Cursor
af2d3b09d4
docs(rules): enforce real agent execution standard for delivery verification
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 22:27:46 +08:00
WeiCHEN and Cursor
abd0893e12
feat(squad): 实现单步评估器StepEvaluator与工作流动态加步、跳步及基准假设推断
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 22:27:06 +08:00
WeiCHEN and Cursor
37664ad7c8
feat(squad): 实现自适应任务规划器AdaptivePlanner支持固定流微调与非标文档自治拆解
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 22:22:50 +08:00
WeiCHEN and Cursor
0737a6780c
feat(squad): 实现角色资产中心RoleRegistry支持8大标准角色与临时专员派生
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 22:20:56 +08:00
WeiCHEN and Cursor
486fbf1977
feat(squad): 增强领域核心模型支持角色来源、自适应步骤与黑板基准假设
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 22:19:57 +08:00
WeiCHEN and Cursor
8a2c537445
docs(test): establish test report standards and generate three-branch intent framework report
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 22:16:04 +08:00
WeiCHEN and Cursor
2456141f67
feat(cli): add three-branch interaction feedback and comprehensive verification test cases
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 22:11:54 +08:00
WeiCHEN and Cursor
a0a9b03e28
feat(chat): integrate non-blocking pending expectation and topic preemption in session
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 22:11:51 +08:00
WeiCHEN and Cursor
017b53d634
feat(coordinator): refactor advisor persona and assemble next expectation drafts
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 22:11:48 +08:00
WeiCHEN and Cursor
d3251dee0b
feat(intent): implement three-branch flexible intent resolution and expectation contracts
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 22:11:45 +08:00
WeiCHEN and Cursor
3a15143fa7
feat(coordinator): 增强工作区阶段元数据持久化与上下文自动关联
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 21:38:59 +08:00
WeiCHEN and Cursor
b1484a7a9b
feat(cli): CLI支持-chat交互式对话REPL与单次自然语言指令调度
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 21:34:51 +08:00
WeiCHEN and Cursor
bd33d9645e
feat(chat): 封装L1会话管理器打通自然语言多轮人机交互闭环
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 21:34:47 +08:00
WeiCHEN and Cursor
70c96f2f3d
feat(coordinator): 实现L2统一上下文组装器与意图校验调度引擎
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 21:34:43 +08:00
WeiCHEN and Cursor
d0ca8bed54
feat(intent): 定义核心意图契约并实现基于上下文约束的规则意图识别器
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 21:34:39 +08:00
WeiCHEN and Cursor
e2759394ca
docs(system): 纳管系统架构设计与演进规划文档
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 21:27:21 +08:00
WeiCHEN and Cursor
7346fcae64
feat(cli): CLI支持成熟度阶段执行与业务参谋锦囊可视化
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 21:27:10 +08:00
WeiCHEN and Cursor
6502d35e50
feat(bizdev): 实现成熟度三阶段编排与AdvisorBriefing双轨交付
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 21:27:05 +08:00
WeiCHEN and Cursor
9030cb9dd1
feat(squad): 修复stub字段覆盖并增强质量门禁闭环与锚点提取
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 21:27:01 +08:00
WeiCHEN and Cursor
003d99ab67
test(squad): add comprehensive tests for workspace, context, workflow, quality gate, and cli
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 18:23:59 +08:00
WeiCHEN and Cursor
63e4af2db5
feat(cli): upgrade bizdev-cli with dynamic inspection, step manipulation, and manifest display
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 18:23:55 +08:00
WeiCHEN and Cursor
da9c63debe
feat(service): integrate squad service and ports into bizdev domain service
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 18:23:51 +08:00
WeiCHEN and Cursor
14ef73677e
feat(quality): implement 3-tier quality gate, manifest auditing, and quote backfill
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 18:23:47 +08:00
WeiCHEN and Cursor
0f17f74cc2
feat(workflow): implement dynamic workflow driver with sub-workspace isolation
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 18:23:42 +08:00
WeiCHEN and Cursor
d0c6559dd6
feat(context): implement self-describing context system with authority guide
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 18:23:39 +08:00
WeiCHEN and Cursor
b0142ab026
feat(squad): define workspace directory metadata models and engine
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 18:23:35 +08:00
WeiCHEN and Cursor
cd39a52dce
feat(agent): ensure clean container and isolate workspace artifacts strictly to host volume
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 17:51:50 +08:00
WeiCHEN and Cursor
953a99ab83
docs(env): update environment configuration template with MiniMax and Tavily pool
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 17:31:45 +08:00
WeiCHEN and Cursor
4929b1842c
chore(docker): integrate pi-agent service in dev, test, and main compose files
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 17:31:39 +08:00
WeiCHEN and Cursor
38406f5e0b
test(agent): add Tavily pool rotation and PiAgent remote runner tests
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 17:31:35 +08:00
WeiCHEN and Cursor
ab26e5d161
feat(agent): support PI_AGENT_RUNNER_URL remote execution in PiAgentBackend
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 17:31:31 +08:00
WeiCHEN and Cursor
fabdb51e65
feat(agent): add pi-agent container assets with dynamic MiniMax config and HTTP runner
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 17:31:27 +08:00
WeiCHEN and Cursor
1edf5f60ab
feat(agent): add Tavily search extension with API key pool and auto-rotation
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 17:31:23 +08:00
WeiCHEN and Cursor
02f04f3851
fix(agent): pass absolute workDir and parse bridge JSON response
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 17:15:16 +08:00
WeiCHEN and Cursor
840541794a
fix(all): resolve whole-branch review findings on Excel labels, persona forwarding, and error handling
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 17:00:40 +08:00
WeiCHEN and Cursor
8dc315b690
feat(cli): add bizdev-cli runner tool and integration tests
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 16:47:28 +08:00
WeiCHEN and Cursor
ad18561da6
fix(service): populate Excel pricing cells and verify attachment readback parity
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 16:44:55 +08:00
WeiCHEN and Cursor
7a41b4f5be
fix(service): backfill CDO quote markdown table from excel summary and align workspace
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 16:41:29 +08:00
WeiCHEN and Cursor
d97098371d
feat(service): implement bizdev service with independent task drivers
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 16:38:55 +08:00
WeiCHEN and Cursor
8c000f0b2d
chore(tools): add package.json for cursor-bridge and pi-bridge
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 16:37:44 +08:00
WeiCHEN and Cursor
a7d30a2c7a
feat(agent): implement cursor-cli, pi-agent, and stub backend adapters
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 16:36:15 +08:00
WeiCHEN and Cursor
b3026d3c5b
feat(quote): implement CDO quote Excel calculation and fill engine
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 16:34:01 +08:00
WeiCHEN and Cursor
543babf621
feat(template): add self-describing templates and agent personas
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 16:30:52 +08:00
WeiCHEN and Cursor
6f44916bfb
feat(kb): add regulation knowledge base client with snapshot materialization
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 16:27:51 +08:00
WeiCHEN and Cursor
40a25f9bd0
chore(config): initialize go module and configuration loader
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 16:25:45 +08:00
WeiCHEN and Cursor
76e6acaff4
docs(plan): add bizdev squad and templates implementation plan
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 16:23:34 +08:00
WeiCHEN and Cursor
b14fc71922
chore(config): add .env.example with cursor, pi-agent, and kb variables
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 16:16:10 +08:00
WeiCHEN and Cursor
4c97de4f8e
docs(spec): add business docking squad and templates design spec
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 16:15:47 +08:00
WeiCHEN and Cursor
d78c6e4fa6
chore(rules): 配置 Cursor 持久化规则以约束三分支模型与环境隔离规范
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 15:59:27 +08:00
WeiCHEN and Cursor
dd7675eb89
feat(scripts): 增加多环境一键启停管理与分支工作流辅助脚本
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 15:59:25 +08:00
WeiCHEN and Cursor
4ce8275a8a
feat(env): 增加开发/测试/主分支三套独立服务与共享知识库编排及配置
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 15:59:22 +08:00
WeiCHEN and Cursor
6478742d44
feat(db): 增加共享知识库与隔离系统数据库初始化脚本
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 15:59:19 +08:00
WeiCHEN and Cursor
d27b0ad5ad
docs: 建立仓库基础架构、三分支规范与环境运行文档
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-07 15:56:53 +08:00