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
73bf08275b
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-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
037c6084c5
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-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
bb0af3873d
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-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
033ef70ac9
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-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 and Cursor
f4619757e2
fix(test): extend pi-agent E2E AgentTimeout to 60m for stage runs.
...
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-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
c6c7423ec6
docs(test): record pi-agent E2E failure at V0.1 stage timeout.
...
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-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
9598705fc7
chore(ops): add test env smoke script and document test soak pass.
...
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-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
72879c6e22
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-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
f73988e567
docs(test): update report with successful push and dev soak.
...
Record Gitea token push, restarted dev server ready checks, and 60s soak pass.
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 Cursor
c1b8f23b14
docs(test): report PG fix, CI short suite, and soak/E2E progress.
...
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-13 02:50:23 +00:00
weichen
185c42fc94
test(governance): 补跑 product_manager PG+PI 全链路并通过
...
抽取 runPiAgentGovernanceE2E 共用 harness,新增 system_reqs 真实 Agent 验收并更新测试报告。
2026-09-13 02:50:23 +00:00
weichen and Cursor
c7aba86376
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-13 02:50:23 +00:00
weichen
390c0e3c71
docs(test): 更新 gap matrix MISSING-04 为 PASS
2026-09-13 02:50:23 +00:00
weichen and Cursor
81f118098d
docs(test): archive QA-001 backup drill and penetration test report.
...
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-13 02:50:23 +00:00
weichen
784d852ac0
test(governance): PI Agent PG 全链路实测通过并固化运行条件
...
修复 runner 鉴权与 data/dev 工作区挂载,使用正式 main 工作流完成 intake→批准→推进。
2026-09-13 02:50:23 +00:00
weichen and Cursor
1ebed78bf5
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-13 02:50:23 +00:00
weichen
d6f5e0e28a
feat(projectcontext): bizdev 注入项目对话并完成 PG 治理 E2E
...
新增 ctxmgr 项目对话采集并接入 PM/TE BuildSnapshot;PG 测试统一 TEST_DATABASE_URL 并使用三正式工作流 key。
2026-09-13 02:50:23 +00:00
weichen and Cursor
d957b05569
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-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
0beddd9887
ci(qa): add QA-001 gate with go vet, short tests, and migration check.
2026-09-13 02:50:23 +00:00
weichen
77b8d07cd7
fix(governance): 统一文档访问判定与上下文快照排除计数
...
补齐 DocumentAccessDecider HTTP 409、projectcontext 私有对话排除统计,并更新整改 gap matrix 与测试报告。
2026-09-13 02:50:23 +00:00
weichen and Cursor
6bc238c665
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-13 02:50:23 +00:00
weichen and Cursor
574dd16546
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-13 02:50:23 +00:00
weichen and Cursor
5856585d1d
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-13 02:50:23 +00:00
weichen and Cursor
38e44a2606
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-13 02:50:23 +00:00
weichen and Cursor
d7a144de26
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-13 02:50:23 +00:00
weichen and Cursor
ad6e38d11a
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-13 02:50:23 +00:00
weichen and Cursor
3ade654256
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-13 02:50:23 +00:00
weichen and Cursor
47984f4863
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-13 02:50:23 +00:00
weichen and Cursor
aea391cdaf
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-13 02:50:23 +00:00
weichen and Cursor
d5a9a29eec
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-13 02:50:23 +00:00
weichen and Cursor
12756b13e6
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-13 02:50:23 +00:00
weichen and Cursor
f07178fa73
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-13 02:50:23 +00:00
weichen and Cursor
c1f6830178
docs(test): fix report structure for blended ABAC and PG chain cases
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:23 +00:00
weichen and Cursor
543ca310da
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-13 02:50:23 +00:00
weichen and Cursor
4b168854ba
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-13 02:50:23 +00:00
weichen and Cursor
90f77eac93
feat(authz): implement six-phase permissions, settings and workflow v2
...
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-13 02:50:23 +00:00
weichen and Cursor
79811aa759
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-13 02:50:23 +00:00
weichen and Cursor
2795af2d09
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-13 02:50:23 +00:00
weichen and Cursor
7c5f8deeb1
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-13 02:50:23 +00:00
weichen and Cursor
f6410508aa
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-13 02:50:23 +00:00
weichen and Cursor
b6035991d4
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-13 02:50:23 +00:00
weichen and Cursor
d9f3d40423
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-13 02:50:23 +00:00
weichen and Cursor
69a3be5463
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-13 02:50:23 +00:00
weichen and Cursor
4bfe1cb5ad
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-13 02:50:23 +00:00
weichen and Cursor
32b88beee0
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-13 02:50:23 +00:00
weichen and Cursor
10fa91de61
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-13 02:50:23 +00:00
weichen and Cursor
ff81170f47
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-13 02:50:23 +00:00
weichen and Cursor
ec2ea02e8a
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-13 02:50:23 +00:00
weichen and Cursor
b402426257
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-13 02:50:23 +00:00
weichen and Cursor
e0c39aa38c
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-13 02:50:23 +00:00
weichen and Cursor
50c5f2ab0d
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-13 02:50:23 +00:00
weichen and Cursor
1fa6e9aa77
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-13 02:50:23 +00:00
weichen and Cursor
be5cdb1ef6
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-13 02:50:23 +00:00
weichen and Cursor
dc629fc4b8
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-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 and Cursor
0f5bc426e8
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-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 and Cursor
016c3a9791
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-13 02:50:22 +00:00
weichen and Cursor
654e19a12d
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-13 02:50:22 +00:00
WeiCHEN
fcf00e7d1a
chore(scripts): fix backfill script import and run projection for ws_intake
2026-09-13 02:50:22 +00:00
weichen and Cursor
a56d033d3c
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-13 02:50:22 +00:00
weichen and Cursor
ebbfc2db18
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-13 02:50:22 +00:00
WeiCHEN and Cursor
9d40a91f9d
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-13 02:50:22 +00:00
weichen and Cursor
6219caf690
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-13 02:50:22 +00:00
weichen and Cursor
967dd9becd
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-13 02:50:22 +00:00
WeiCHEN and Cursor
68765023a2
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-13 02:50:22 +00:00
weichen
8cdc839650
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-13 02:50:22 +00:00
weichen and Cursor
edffe74009
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-13 02:50:22 +00:00
WeiCHEN and Cursor
238f1d9346
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-13 02:50:22 +00:00
weichen
47b8179824
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-13 02:50:22 +00:00
WeiCHEN and Cursor
91b257393e
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-13 02:50:22 +00:00
weichen
844bfd2803
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-13 02:50:22 +00:00
WeiCHEN and Cursor
bbd1218922
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-13 02:50:22 +00:00
weichen
4258d88415
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-13 02:50:22 +00:00
WeiCHEN and Cursor
e139b2b267
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-13 02:50:22 +00:00
weichen
d8c445bfd5
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-13 02:50:22 +00:00
WeiCHEN and Cursor
908d4bdb2e
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-13 02:50:22 +00:00
weichen
3b72503ec6
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-13 02:50:22 +00:00
WeiCHEN and Cursor
6f3a4d4c80
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-13 02:50:22 +00:00
weichen
25ec2a22d8
docs(plan): add Phase 1 IAM and authorization implementation plan
2026-09-13 02:50:22 +00:00
WeiCHEN and Cursor
70493a3ed5
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-13 02:50:22 +00:00
weichen
d4988d04e8
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-13 02:50:22 +00:00
WeiCHEN and Cursor
636eb0ccf1
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-13 02:50:22 +00:00
weichen
e96ade076a
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-13 02:50:22 +00:00
WeiCHEN and Cursor
a8c8cba447
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-13 02:50:22 +00:00
weichen
171959710d
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-13 02:50:22 +00:00
WeiCHEN and Cursor
f9c4f9b01b
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-13 02:50:22 +00:00
weichen
d612c1193e
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-13 02:50:22 +00:00
WeiCHEN
eea28f0be4
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-13 02:50:22 +00:00
weichen
886cbb7913
docs(plan): add production governance plan and Phase 0 authz matrix
2026-09-13 02:50:22 +00:00
WeiCHEN and Cursor
cc2aa33b10
docs(test): chat turn idempotency automated test report
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:22 +00:00
weichen
36721f9c08
docs(test): archive P0 remediation test report
2026-09-13 02:50:22 +00:00
WeiCHEN and Cursor
7ab5041c59
refactor(web): stop persisting full message list to localStorage
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:22 +00:00
weichen
3145550a59
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-13 02:50:22 +00:00
WeiCHEN and Cursor
d17fae0a5d
feat(web): isolate stream runtime by session and turn
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:22 +00:00
WeiCHEN and Cursor
ad2147445c
chore(deploy): 三环境 Compose 构建真实 app 镜像并补齐法规库运维
...
将 dev/test/main 的 app 服务从占位容器改为 Dockerfile 多阶段构建,增加 healthcheck 与 .regulations 只读挂载;新增法规库备份/恢复脚本并同步 env-service 目录初始化与 gitignore。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:22 +00:00
WeiCHEN and Cursor
f5ead1dcd5
feat(web): send stable client_turn_id and resume turns after disconnect
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:22 +00:00
WeiCHEN and Cursor
f4e4357ddb
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-13 02:50:22 +00:00
WeiCHEN and Cursor
a1cb4aade0
feat(api): gate chat stream on chat_turns with session serial execution
...
Co-authored-by: Cursor <cursoragent@cursor.com >
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 and Cursor
c887bc0480
feat(db): add chat_turns idempotency table
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:21 +00:00
WeiCHEN and Cursor
93ae180159
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-13 02:50:21 +00:00
WeiCHEN and Cursor
62ab734021
fix(web): guard chat window fetch races on session switch
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:21 +00:00
WeiCHEN and Cursor
cda534a75d
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-13 02:50:21 +00:00
WeiCHEN and Cursor
7c830146f5
test(web): cover real temp vs server message identity
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:21 +00:00
WeiCHEN and Cursor
6f4e8c0933
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-13 02:50:21 +00:00
WeiCHEN and Cursor
e1a9b302ba
fix(web): merge live and history by serverId and clientTurnId
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:21 +00:00
WeiCHEN and Cursor
a9fe69ac16
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-13 02:50:21 +00:00
WeiCHEN and Cursor
c4ef72506f
feat(api): return user_message_id in SSE turn_ack and done
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:21 +00:00
WeiCHEN and Cursor
0d395f2bf2
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-13 02:50:21 +00:00
WeiCHEN and Cursor
9f7500bb72
fix(web): disable chat stream auto-retry without idempotency
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:21 +00:00
WeiCHEN
222b0c2dd6
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-13 02:50:21 +00:00
WeiCHEN and Cursor
b69cb617a0
docs(spec): chat turn idempotency and session isolation
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:21 +00:00
WeiCHEN and Cursor
24478ec383
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-13 02:50:21 +00:00
WeiCHEN and Cursor
9cb129d3e8
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-13 02:50:21 +00:00
WeiCHEN and Cursor
dda6a06e4a
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-13 02:50:21 +00:00
WeiCHEN and Cursor
3db56b4166
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-13 02:50:21 +00:00
WeiCHEN and Cursor
868238137c
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-13 02:50:21 +00:00
WeiCHEN
60d4df4319
fix(chat): resolve intent recognition, workflow auth, and message ordering
2026-09-13 02:50:21 +00:00
WeiCHEN
917740f26d
feat(project): implement modal-based project creation, creator-led member assignment, and exited-member read-only retention
2026-09-13 02:50:21 +00:00
WeiCHEN
eda2a2b32b
refactor(dialogue): implement task dispatch notifications and consecutive assistant messages with confirmation cards
2026-09-13 02:50:21 +00:00
WeiCHEN
0df8b065c2
refactor(dialogue): naturalize multi-role conversations, close chat sessions with assistant response, and set URS to project shared
2026-09-13 02:50:21 +00:00
WeiCHEN
76e538a47f
fix(doc): resolve URS viewing and private-to-shared workflow in document pane for 10 review projects
2026-09-13 02:50:21 +00:00
WeiCHEN
f48181ee0c
feat(chat): add URS requirement document upload dialogues with attachments and phase events for all 10 projects
2026-09-13 02:50:21 +00:00
WeiCHEN
27fe03a3e3
feat(chat): mount interactive review, approval, and verification confirmation cards in multi-role dialogues
2026-09-13 02:50:21 +00:00
WeiCHEN
2e3e43be8f
fix(frontend): align MockDocumentMeta markdown property and guard nullish input in markdownToBlockAST
2026-09-13 02:50:21 +00:00
WeiCHEN
a8f74244f5
feat(review): seed 10 real medical device projects with dual workflows, multi-role dialogues and fix account-switch chat isolation
2026-09-13 02:50:21 +00:00
WeiCHEN
42e3ece2c6
fix(workflow): fix 405/404/403 errors on workflow switcher by updating CORS, 5201 demo permissions and server restart
2026-09-13 02:50:21 +00:00
WeiCHEN
408bef6b8a
chore(release): Phase 7 全链路验收报告、测试修复与发布基线归档
2026-09-13 02:50:21 +00:00
WeiCHEN
716aa6f49a
feat(workflow): Phase 6 前端项目多工作流切换器、前置依赖横幅与文档血缘失效提醒
2026-09-13 02:50:21 +00:00
WeiCHEN
abeab90388
feat(workflow): Phase 5 智能测试经理工作流、前置强依赖校验与文档血缘级联失效
2026-09-13 02:50:21 +00:00
WeiCHEN
f994c45d67
feat(workflow): Phase 4 智能产品经理工作流、系统需求规格书与质量门禁
2026-09-13 02:50:21 +00:00
WeiCHEN
c0d6ef7d80
feat(workflow): Phase 3 Coordinator 上下文、动作路由与工作流运行 API 集成
2026-09-13 02:50:21 +00:00
WeiCHEN
f87a6ee28d
feat(workflow): Phase 1 & 2 数据库迁移、项目创建人权威化与多工作流控制面
2026-09-13 02:50:21 +00:00
WeiCHEN
adfb45946f
docs(workflow): Phase 0 基线确认、架构决策记录(ADR)与契约冻结
2026-09-13 02:50:21 +00:00
WeiCHEN
1fc7d0d01f
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-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
3885ef5da2
test(chat): add session turn_intent metadata assertion and chip category navigation tests
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 and Cursor
aef1d79060
docs(test): archive auth and dual settings test report
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
e8002b2243
feat(category): implement recategorize backfill engine and fallback mapping (Spec §3.4-3.5 A4-A5)
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
cd4d0a19e5
test(engine): add integration tests and archive test report for project template cloning
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
b4e4a64cd0
feat(web): integrate auth guards, dual settings and dev switcher
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
7d293833bf
feat(chat): 完成分类锚点坞(CategoryDock)与双轨制未读重构 (含方案A轮次归一化与起始位置居中)
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
cd08e443eb
feat(web): implement dedicated AdminSettingsModal for role-admin
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
aa19926819
fix(nav): 修复点击项目会话时因 URL hash 监听重放导致被强制回弹选中第一个项目的 bug
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
775bf73fb1
feat(web): implement dedicated UserSettingsModal
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
1cfe3f9f02
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-13 02:50:20 +00:00
WeiCHEN and Cursor
793efd31d2
feat(web): add LoginView and FirstLoginPasswordModal components
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
487dc072f5
feat(history): 实现三模历史搜索、每日智能协同摘要与时间轴侧栏 (Phase P2)
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
6f1579dde3
feat(web): add frontend auth types and api client
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
54f1c88791
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-13 02:50:20 +00:00
WeiCHEN and Cursor
2047c85ba5
feat(api): add auth and admin management endpoints
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
fb8f57398c
feat(history): 实现超长对话历史按日归档与滑动窗口 (Phase P0)
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
6c9ad6b61d
feat(auth): add auth data models, config and store engine
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
645bd06519
feat(prompt+cache): implement 10-section prompt template, true KB regulation recall, behavior rules and multi-level caching (P4)
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
e8ca4b02aa
docs(plan): add auth and dual settings implementation plan
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
1635ad0007
feat(coordinator): implement determinism-first query rewrite with ellipsis completion and pronoun resolution (P3)
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
72f54a2461
docs(spec): add auth and dual settings design specification
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
640b672e8b
feat(ctxmgr): implement chat memory vectorization, privacy dual-gate retrieval and memory composer (P2)
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
9c586f2baf
test(rbac): archive dynamic roles and doc visibility rbac test report
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
c58d33b853
feat(ctxmgr): implement sliding window, rolling summarizer and DST task state (P1)
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
e1c1d03a85
feat(web): wire rbac permission enforcement into left rail and rights modal
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
be659cba11
feat(chat): wire multi-turn dialogue broken links (G1/G2/G3/G9) with session restore
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
d905c91338
feat(web): add doc visibility override modal and badges in deck drawer
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
e590dcfd7b
docs(design): add multi-turn dialogue optimization system design (report 03)
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
b13a03840c
feat(web): upgrade settings modal with dynamic roles CRUD and permission matrix
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
e5e80a6fc6
feat(core): update backend coordinator, docgov lease, squad workflow and web governance integration
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
bd52108c8a
feat(rbac): implement permission evaluation engine and unit test suite
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
658e9db65e
fix(web): wire ALL_MOCK_DOCUMENTS and project deliverables to fix document switching
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
aa9636c10f
feat(rbac): define rbac data contracts and extend deliverable and user types
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
04cdb8f371
feat(scripts): add launch.sh to detect-and-restart dev stack (compose, backend, web)
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
b52f72c6fc
docs(plan): add dynamic roles and doc visibility rbac implementation plan
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
b83e3de401
fix(web): render step_failed phase as failed strip node with retry reset
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
16674d476c
docs(spec): add dynamic roles and doc visibility rbac design spec
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN
7e243f4330
docs(test): archive long-task phase live/resume UX real-agent report
2026-09-13 02:50:20 +00:00
WeiCHEN
096dc8a5b4
fix(web): distinguish recovery action styles for long-task failures
2026-09-13 02:50:20 +00:00
WeiCHEN
8292f69790
feat(web): drive long tasks from SSE with live phases and continue/restart recovery
2026-09-13 02:50:20 +00:00
WeiCHEN
4dd799c785
feat(web): add task SSE client and live phase-event mapper
2026-09-13 02:50:20 +00:00
WeiCHEN
1df0a3f15f
test(server): task stream transient injection, classification and resume integration tests
2026-09-13 02:50:20 +00:00
WeiCHEN
912eb61a02
feat(api): task stream request-id, resume mode and workspace-aware error classification
2026-09-13 02:50:20 +00:00
WeiCHEN
c83f53a4fa
docs(spec): add long-task phase live/resume UX P2 spec and plan
2026-09-13 02:50:20 +00:00
WeiCHEN
a6864fe7b4
docs(spec): archive chat wait-error-retry UX spec and implementation plan
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
545765c409
fix(web): escape HTML in chat markdown rendering
...
Prevent self-XSS when chat bubbles render user/LLM markdown via
dangerouslySetInnerHTML by escaping raw HTML after math/code
extraction and sanitizing link href schemes.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
e344a10a0f
docs(test): strengthen chat wait-error-retry report with web E2E evidence
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
4eaad5adb8
docs(test): archive chat wait-state error-retry UX real-agent report
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
d03d9396e1
fix(web): scope Task 5 App.tsx to SSE wiring only
...
- Rebased App.tsx on the last clean Task-4 parent (5aa8129 ) and re-applied
only Task-5's SSE plumbing: streamAbortRef, isStreamingActive,
buildNetworkErrorInfo, runStreamAttempt, handleErrorAction,
handleStopStreaming, and the InputArea/MessageStream wiring.
- Removed the unscoped WIP that had been folded into b2cf863 (NeuroPulse
demo data/session-privacy/docgov-lease/cardActionPolicy imports that do
not exist in git, causing b2cf863 to fail to build in isolation).
- Real-backend path now appends the pending placeholder and calls
runStreamAttempt immediately; the artificial setTimeout(600) is only
used for the mock keyword-shortcut demo branches (unchanged from 5aa8129 ),
gated by precomputed predicates so it never wraps the SSE call.
- Preserved 5aa8129's mock keyword shortcuts (生成文档/驳回/修改/通过等) verbatim.
- No silent success-template fallback re-introduced.
- P1 error actions remain filtered to retry-only; auto-retry transient
attempts stay capped at 2 with 1s/2s backoff via AbortController.
- Bloated WIP App.tsx backed up to .superpowers/sdd/App.tsx.wip-backup
for later use by whichever task owns NeuroPulse/session-privacy/docgov
lease work.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
0cb664d540
feat(web): drive chat bubbles from SSE with auto-retry and stop
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
0d0ef5d5b6
feat(web): render chat wait-state and structured error actions in bubbles
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
fa6b979346
fix(web): drop out-of-scope ProjectSession.userId from Task 3
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
9d0a054307
feat(web): add chat SSE client and transient auto-retry helpers
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
7615beeaf9
fix(agent): scope Task 2 to SSE phases/errors without dialogue_llm leak
...
- untrack internal/coordinator/dialogue_llm.go (kept on disk untracked as local WIP for a future dialogue-LLM commit with its own tests; it depends on engine.go fields (dialogueBackend, ReplySource) not yet committed)
- slim internal/chat/session.go back to Task 2 scope relative to bfa6889 : keep EmitErrorInfo(stream.ClassifyError(...)) for intent+coordination errors and the dialogue_generating EmitPhase before ProcessIntent; drop sync.Mutex/mu, ChatResponse.ReplySource, preference/RecentDialogue injection block, and collectRecentDialogue helper (unrelated WIP for the dialogue-LLM feature)
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
1889279b18
feat(agent): emit dialogue phases and classified SSE errors with request id
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
c32532bce9
fix(stream): avoid dial substring false-positive in ClassifyError
...
Remove "dial" from networkHints to stop "dialogue" misclassification;
extend workspace/resumable and EmitErrorInfo test coverage.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
f9b676ac93
feat(stream): add structured ErrorInfo and error classification
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
WeiCHEN and Cursor
e8b9347d8d
fix(web): redesign auth and settings UI using system design tokens and high-fidelity styles
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:20 +00:00
weichen
6ccf98e291
merge: feature/web-workbench — three-column workbench MVP
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
4301c034f5
feat(web): wire project isolation and template cloning on project creation
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
weichen
a779d353b4
merge: feature/backend-platform — KB memory docgov API and chat history
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
f00bf14ab4
test(doc): 完善三分类隐私隔离与流转单元测试并归档全量测试报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
9ca74422c9
feat(web): add template status badges to deck drawer and tab bar
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
weichen
cb8a615e0a
merge: feature/squad-intent — squad engine intent and adaptive planning
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
8708645f22
docs(test): 归档历史多轮会话持久化与标杆案例语义推荐标准化实测报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
4c2e93fece
feat(ui): 实现三分类Tab分段切换、全景大盘分区与一键共享/取消共享闭环
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
3da2324e7c
fix(engine): 修复 DOCX 公式因 undefined 虚根在 Word 中丢失的缺陷
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
ab31e0e774
docs(report): 补充归档真实Agent全流程业务测试报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
46b955f30d
feat(cli): 终端自推荐标杆案例渲染与全业务链 E2E 端到端回归实操
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
9eb155021b
fix(chore): 修正.gitignore根目录data规则并纳入前端mockDocuments
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
258a8dacd2
feat(engine): add project template cloning factory and unit tests
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
a8f0cc9f01
docs(report): 归档智能体小队自适应规划真实后端集成测试报告与设计方案
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
2a6dd442bb
feat(server): 新增会话列表、多轮历史消息查询与标杆案例语义检索 RESTful API
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
c46f5422b9
feat(types): 升级交付物数据契约支持工作流/共享/私密三分类与创作者属性
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
2faddab7ac
refactor(types): extend deliverable item with projectId and isTemplateOnly
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
aa968d277b
test(chat): 添加基于真实Agent工作区的多轮人机交互E2E测试用例
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
d0c9670ebc
feat(coordinator): 在贴身业务参谋决策锦囊中注入相似标杆案例自推荐
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
9480e3fa29
fix(layout): 修复边栏拖拽位移累加并实现1:1光标捕获绝对跟随
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
1e8e7ed3ce
docs(plan): add project init template cloning implementation plan
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
e2ca8ad55a
feat(intent): 增强目标市场槽位意图匹配与上下文兼容推断
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
fb8232639b
feat(ctxmgr): 增加已批准受控文档自动切片向量化与标杆案例语义检索
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
9c4a839932
feat(ui): 修复模态背景穿透、公式/富文本Markdown解析并集成右键快捷菜单
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
9cebf826ba
docs(spec): add project init template cloning design spec
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
2597a4555b
feat(squad): 优化质量门禁章节规范化匹配与审核专员预置草稿流转
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
db3dc282ba
feat(ctxmgr): 增加历史多轮会话列表查询、消息拉取与会话重构引擎
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
ff948377bd
docs(spec): 归档三层交付物分类治理与多用户隐私/共享设计规范与实施计划
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
580a77d80a
docs(test): 补充 Canvas Tainted 缺陷排查与修复验证记录
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
56bbb2f137
feat(squad): 打通成果物基准假设附录挂载、协调层自适应回显与CLI非标文档执行
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
edf2f759ae
feat(ctxmgr): 增加离线确定性高维嵌入生成器与向量字面量工具
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
6885c48d48
chore(web): update package-lock.json with tsx
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
c5d53c28fa
test(engine): 增加 cleanSvgForCanvas 净化与防污染单元测试
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
337d75f05b
docs(rules): enforce real agent execution standard for delivery verification
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
0e49892075
docs(plan): 编制历史多轮对话持久化与标杆案例语义检索实施计划
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
ffdb332547
docs(test): add three-column workbench and block document engine test report
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
3c147ed7db
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-13 02:50:19 +00:00
WeiCHEN and Cursor
f75e5094a2
feat(squad): 实现单步评估器StepEvaluator与工作流动态加步、跳步及基准假设推断
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
10e01a2481
docs(spec): 编写历史多轮对话持久化与已批准交付物标杆案例语义检索设计规范
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
996f4a79df
feat(server): integrate web spa static assets hosting and route fallback
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
980d0f9a2d
docs(test): 归档 DOCX 原生公式、Mermaid 与排版优化测试报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
62ebaf49d4
feat(squad): 实现自适应任务规划器AdaptivePlanner支持固定流微调与非标文档自治拆解
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
804c7bd128
docs(test): 归档全业务链成熟度端到端贯通与受控文档治理实操测试报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
47d4f7cf8b
feat(web): complete in-place block editing, reviewer comments, and role governance loop
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
808d706180
test(engine): 增加 DOCX 行内 OMML 复合解析与公式转换单元测试
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
f1d602b089
feat(squad): 实现角色资产中心RoleRegistry支持8大标准角色与临时专员派生
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
4be8be277f
test(bizdev): 新增全业务链成熟度螺旋推进(V0.1->V0.5->V1.0)端到端贯通测试
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
2cb8d9b8d2
feat(web): implement 36px slim tabs, deck drawer, and block views with medical styling
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
80383269e9
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-13 02:50:19 +00:00
WeiCHEN and Cursor
912ae4f782
feat(squad): 增强领域核心模型支持角色来源、自适应步骤与黑板基准假设
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
c68c0026d9
feat(cli): 升级 bizdev-cli 阶段执行器支持流式进度与文档治理拦截
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
ef6665288c
feat(web): implement agent chat stream with thinking pulse indicator and case cards
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
26c94d1107
fix(cli): adapt default stage by role and add scanner error checking
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
f9dcd51831
docs(test): establish test report standards and generate three-branch intent framework report
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
429179e472
feat(bizdev): 贯通跨阶段事实黑板自动传承与里程碑决策记录
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
deee4dcee1
feat(web): implement responsive three-column shell with resizable rails and theme switch
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
a02d4de7d2
docs(test): archive test report for dialogue-driven content and hierarchical intent system
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
eedda67aad
feat(cli): add three-branch interaction feedback and comprehensive verification test cases
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
c290f3104b
feat(ctxmgr): 支持跨阶段项目事实黑板与成熟度状态持久化
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
2b9678a496
feat(web): implement markdown block ast converters and auto-numbering engine
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
d4ddd61443
feat(web): integrate interactive cards into chat stream and wire docgov actions
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
ae9d2f1fea
docs(test): archive 2026-09-08 HTTP API and SSE context integration test report
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
75b7c1c3d1
feat(web): define block ast, workbench session, and docgov types
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
656a19cbe2
fix(web): add 60s grace period undo, executing banner and ttl safeguards to interactive card
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
44ebafd946
test(api): add e2e integration tests for claimed document SSE and docgov RESTful APIs
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
36afce14e6
feat(web): initialize react 19 vite typescript scaffold and token design system
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
77d854e343
feat(web): build interactive card component with lifecycle and idempotency
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
2815381613
feat(api): add RESTful endpoints and SSE streams for context and docgov lifecycle
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
ff0262c182
docs(plan): add three-column modern workbench and block document engine implementation plan
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
6493ffd3ce
fix(coordinator): chain expectation for card confirmation and add ttl lifecycle cleanup
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
2c05c5d3cb
feat(service): emit governance interception and progress summary on claimed documents
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
b407fe534b
docs(spec): refine right rail with 36px slim tabs and deck panel drawer
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
1af5a9e909
docs(test): 归档 DOCX/XLSX 导出与会话隔离持久化测试报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
8b942d0460
feat(stream): add governance event and lightweight progress summary protocol
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
fa9eb31d2b
docs(spec): add three-column modern workbench and block document engine specification
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
ff1eaab820
test(workbench): 增加 DOCX/XLSX 导出与会话隔离单元测试
...
- 验证 DOCX 二进制 Buffer 生成、TextRun 解析与 Blob 输出
- 验证 XLSX 多表提取、自适应列宽与工作簿 Sheet 命名规范
- 验证 sess-001 与 sess-002 对话隔离及动态追加互不串线
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
dba93f8bc2
test(docgov): 增加编制审核批准全流程自动化测试与测试报告归档
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
2fcf02200e
feat(ui): 顶栏综合导出下拉选择器与 App 消息隔离及存储打通
...
- SlimTabBar: 增加导出格式气泡下拉菜单,支持一键导出 Word DOCX、Excel XLSX、Markdown MD
- App: MessageStream 严格根据 activeSessionId 过滤消息流,杜绝多项目会话串线
- App: 新建项目自动注入独立引导语,全流程与 storage 自动双向同步
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
d883836075
feat(agent): 将文档治理生命周期与认领拦截挂钩至BizDev服务与CLI工具链
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
ece051d456
feat(storage): 实现多项目会话隔离与 localStorage 全局刷新持久化
...
- 预设 sess-001 (4K内窥镜) 与 sess-002 (掌上超声) 独立初始消息流
- safeGetItem/safeSetItem 包装器防御性存取 sessions, activeSessionId, messages, deliverables
- 确保页面刷新后用户发送的所有内容、回复及即时生成的私密文档零丢失
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
4b00a98d4f
feat(service): 实现文档编制审核批准生命周期、权限控制与认领闭环引擎
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
fefb53ef30
feat(engine): 实现 DOCX 与 XLSX 客户端原生渲染导出引擎
...
- 引入 docx 与 xlsx 依赖,纯前端无损编译 Block AST 交付物
- buildDocxModel: 自动生成两行四列受控签署栏、多级编号标题、Markdown富文本、医疗标准三线表、Cambria Math公式与动态页眉页脚
- buildXlsxWorkbook: 自动提取文档概览与全部数据表格,生成带自适应列宽的 Excel 工作簿并支持直接下载
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
6c875ffbeb
feat(db): 增加受控文档编制审核批准生命周期与认领治理Schema
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
1a1875bc8c
feat(coordinator): implement docgov gates, semantic anchoring and interactive card dispatch
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
6cd9bbe67e
docs(test): 归档多级上下文管理与记忆衰减引擎真实Agent实测报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
12aad70a28
feat(ui): 升级顶栏为极简级联面包屑架构,自适应 320px 极窄视窗
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
224a2f8f9d
feat(agent): 增强上下文沙箱指引、搜索过滤与CLI用户ID上下文透传
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
00e7d4db1e
fix(intent): address review findings for hierarchical intent funnel and security guards
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
6ea93e5e82
feat(agent): 实现混合上下文装配引擎(Context Blender)与智能体小队沙箱对接
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
85e5c31034
feat(intent): implement 4-stage hierarchical intent funnel and slot extraction
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
96be8fdd94
feat(service): 实现单用户/项目多级上下文模型、时间衰减与用户习惯偏好管理
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
9e84ba71e3
fix(doc): 完善文档系统各层级标题、图表公式与有序列表自动编号引擎
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
4de6c12721
feat(storage): 实现CAS物理文件寻址与向量切片防爆炸去重引擎
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
f6e4edcb08
feat(intent): add interactive card payload and extended intent contracts
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
f769f8da4c
feat(db): 部署专属记忆与多级上下文数据库容器与pgvector初始化Schema
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
3a3347e627
docs(plan): add implementation plan for dialogue-driven content synthesis and hierarchical intent funnel
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
07a5e999b8
docs(test): 归档流式传输服务与按需呈现交互规范测试报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
24e577f50c
docs(spec): add specification for dialogue-driven content synthesis and hierarchical intent funnel
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
500884a19b
test(api): 补充SSE流式长连接端到端自动化测试套件
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
75494cbd75
feat(cli): 终端支持动态阶段状态流式输出与低认知负荷摘要呈现
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
810eb26be3
feat(api): 实现HTTP服务骨架与Server-Sent Events流式交互接口
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
0f01f047d5
feat(agent): 在小队编排与任务生命周期中打通阶段性状态与摘要流式通知
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
1bdea54022
feat(service): 建立多层级流式事件发射模型与Context穿透引擎
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
68d9c65317
docs(test): 归档多领域知识中枢与专属法规知识库解耦集成测试报告
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
3e341fbb1b
feat(agent): 配置法规可行性评估报告专属三阶段智能体工作流
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
1b7ce098b6
feat(agent): 智能体小队工作区动态法规检索与上下文注入
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
7cbfb33150
feat(service): 实现嵌入式多领域知识中枢与Hybrid RRF检索引擎
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:19 +00:00
WeiCHEN and Cursor
7d123ae8c6
feat(db): 启动本项目专属知识库容器并完成法规数据无损迁移与解耦
...
Co-authored-by: Cursor <cursoragent@cursor.com >
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 and Cursor
97c8a7629c
feat(chat): integrate non-blocking pending expectation and topic preemption in session
...
Co-authored-by: Cursor <cursoragent@cursor.com >
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 and Cursor
4c35888a4e
feat(agent): ensure clean container and isolate workspace artifacts strictly to host volume
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
6d44412719
feat(coordinator): refactor advisor persona and assemble next expectation drafts
...
Co-authored-by: Cursor <cursoragent@cursor.com >
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 and Cursor
713ff94ff8
feat(cli): add bizdev-cli runner tool and integration tests
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
3ffcab4502
docs(env): update environment configuration template with MiniMax and Tavily pool
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
db46ac7388
feat(intent): implement three-branch flexible intent resolution and expectation contracts
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
weichen
024af3e66b
chore: history rewrite root anchor
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
68d58df38f
chore(config): initialize go module and configuration loader
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
c65f5e8a3d
fix(service): populate Excel pricing cells and verify attachment readback parity
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
34fcbe6ff3
chore(docker): integrate pi-agent service in dev, test, and main compose files
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
105b3f4103
feat(coordinator): 增强工作区阶段元数据持久化与上下文自动关联
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
0832d7caa9
docs(plan): add bizdev squad and templates implementation plan
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
59cca0594e
fix(service): backfill CDO quote markdown table from excel summary and align workspace
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
aad4a0daee
test(agent): add Tavily pool rotation and PiAgent remote runner tests
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
52c36e6a87
feat(cli): CLI支持-chat交互式对话REPL与单次自然语言指令调度
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
7838ae804d
chore(config): add .env.example with cursor, pi-agent, and kb variables
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
77c17b7bc0
feat(service): implement bizdev service with independent task drivers
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
b36a9ee108
feat(agent): support PI_AGENT_RUNNER_URL remote execution in PiAgentBackend
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
82bfe41d1f
feat(chat): 封装L1会话管理器打通自然语言多轮人机交互闭环
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
6eebe2872a
docs(spec): add business docking squad and templates design spec
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
d54ba6ea77
chore(tools): add package.json for cursor-bridge and pi-bridge
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
61f9b6edb4
feat(agent): add pi-agent container assets with dynamic MiniMax config and HTTP runner
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
b8439a89e9
feat(coordinator): 实现L2统一上下文组装器与意图校验调度引擎
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
57b8db2fcc
chore(rules): 配置 Cursor 持久化规则以约束三分支模型与环境隔离规范
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
6ee1c5b6c7
feat(agent): implement cursor-cli, pi-agent, and stub backend adapters
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
b78c9f5071
feat(agent): add Tavily search extension with API key pool and auto-rotation
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
2414bd4742
feat(intent): 定义核心意图契约并实现基于上下文约束的规则意图识别器
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
aeab5c3c40
feat(scripts): 增加多环境一键启停管理与分支工作流辅助脚本
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
9bcf458529
feat(quote): implement CDO quote Excel calculation and fill engine
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
1208c74030
fix(agent): pass absolute workDir and parse bridge JSON response
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
733fb8dae5
docs(system): 纳管系统架构设计与演进规划文档
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
5d2389b2c3
feat(env): 增加开发/测试/主分支三套独立服务与共享知识库编排及配置
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
a3b58f09ac
feat(template): add self-describing templates and agent personas
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
260e1a6b8a
fix(all): resolve whole-branch review findings on Excel labels, persona forwarding, and error handling
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
288dbeffdf
feat(cli): CLI支持成熟度阶段执行与业务参谋锦囊可视化
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
203297056d
feat(db): 增加共享知识库与隔离系统数据库初始化脚本
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
9f5bd762a8
feat(kb): add regulation knowledge base client with snapshot materialization
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
6ea0043b49
feat(bizdev): 实现成熟度三阶段编排与AdvisorBriefing双轨交付
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN
ee18e5436e
docs(ops): 建立仓库基础架构、三分支规范与环境运行文档
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
32beee0b75
feat(squad): 修复stub字段覆盖并增强质量门禁闭环与锚点提取
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
f1227d9a8a
test(squad): add comprehensive tests for workspace, context, workflow, quality gate, and cli
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
0f43102f84
feat(cli): upgrade bizdev-cli with dynamic inspection, step manipulation, and manifest display
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
3c2d0ca94e
feat(service): integrate squad service and ports into bizdev domain service
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
434ce844f8
feat(quality): implement 3-tier quality gate, manifest auditing, and quote backfill
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
4474d575da
feat(workflow): implement dynamic workflow driver with sub-workspace isolation
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
f84a12acae
feat(context): implement self-describing context system with authority guide
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00
WeiCHEN and Cursor
6bbbb16a1c
feat(squad): define workspace directory metadata models and engine
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-13 02:50:18 +00:00