weichen and Cursor
54244ed97a
fix(server): extend SSE write deadline for chat and run/stream
...
Wire heartbeat + SetWriteDeadline into handleChatStream and
handleRunTaskStream; reject malformed run/stream JSON with 400; move
CreateAndStart/Subscribe before SSE Flush so failures stay JSON errors.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 16:42:56 +00:00
weichen and Cursor
64efaa32c8
docs(ops): register system health audit and claim Wave 0 fix branch
...
Archive the 2026-09-17 health-check audit/remediation and short-term Wave 0
task so P0 SSE/cache fixes can proceed under mutex chat+web.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 16:42:55 +00:00
weichen
dfa2d2d4bd
merge: chore/release-s1c-integration-slot
CI / go-vet-and-short-test (push) Failing after 0s
CI / backup-restore-drill (push) Failing after 0s
CI / web (push) Failing after 0s
2026-09-17 15:52:53 +00:00
weichen and Cursor
1dd1a8d23f
docs(ops): release integration slot after S1-continued smoke
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 15:52:53 +00:00
weichen
e58c707df6
merge: feature/rdev-template-depth-s1-continued
...
S1 continued: deepen remaining 46 rdev templates, lint 60/60, real-PI samples, instance_no fix.
2026-09-17 15:51:41 +00:00
weichen and Cursor
36261e9d13
docs(ops): claim merge slot and archive S1-continued short-term
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 15:51:30 +00:00
weichen and Cursor
9b35c1abd1
docs(test): archive S1-continued rdev template depth report and sync matrix
...
Record real-PI samples for review and verification templates, mark S1 continued done across writing-spec/backlog/FEATURE-MATRIX/CURRENT.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 15:51:09 +00:00
weichen and Cursor
12608c21ef
fix(projectinstance): allocate next instance_no for planning drafts
...
Avoid unique (project_id, instance_no) collisions when saving a new
workflow plan after a completed main instance.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 14:56:50 +00:00
weichen and Cursor
04243e64d8
feat(rdev-templates): deepen stage-10–13 transfer/validation templates (S1 batch 5)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 14:37:19 +00:00
weichen and Cursor
7c50128bd1
feat(rdev-templates): deepen stage-08 verification templates (S1 batch 4)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 14:37:18 +00:00
weichen and Cursor
05629721f0
feat(rdev-templates): deepen stage-06 software/inspection/list templates (S1 batch 3)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 14:37:18 +00:00
weichen and Cursor
1692a57175
feat(rdev-templates): deepen stage-06 hardware/process templates (S1 batch 2)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 14:37:18 +00:00
weichen and Cursor
8c37ac0cd5
feat(rdev-templates): deepen 6 review-record templates (S1 batch 1)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 14:37:03 +00:00
weichen and Cursor
535eb442b5
docs(ops): add short-term for rdev-template-depth-s1-continued
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 14:34:45 +00:00
weichen and Cursor
b800f9adf9
docs(ops): claim rdev-template-depth-s1-continued and open short-term
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 14:34:34 +00:00
weichen
f8c4a61922
merge: chore/archive-proposal-http-task
CI / go-vet-and-short-test (push) Failing after 0s
CI / backup-restore-drill (push) Failing after 0s
CI / web (push) Failing after 0s
2026-09-17 14:12:13 +00:00
weichen and Cursor
51d6d53ede
docs(ops): archive proposal-http short-term after closeout
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 14:12:13 +00:00
weichen
21fb95458a
merge: chore/closeout-claim-cleanup
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-17 14:12:02 +00:00
weichen and Cursor
fc227f339c
docs(ops): clear closed feature worktree claims after closeout
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 14:12:02 +00:00
weichen and Cursor
dcc859ecb0
docs(test): archive proposal HTTP live evidence and release slot
...
CI / go-vet-and-short-test (push) Failing after 0s
CI / backup-restore-drill (push) Failing after 0s
CI / web (push) Failing after 0s
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 14:11:23 +00:00
weichen
1f2fcd0727
merge: feature/docgov-modification-proposal-http
2026-09-17 14:08:06 +00:00
weichen and Cursor
c89a58e026
docs(ops): occupy integration slot for proposal-http merge
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 14:08:02 +00:00
weichen and Cursor
d01694b556
docs(ops): record author-only pilot and proposal-http task claim
...
Archive CAS evidence for workflow.allow_author_only_approval on dev,
mark proposal HTTP audit resolved, and claim the feature branch in CURRENT.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 14:07:52 +00:00
weichen and Cursor
c0e7df5abf
feat(docgov): expose proposal HTTP and wire frontend decide flow
...
Add POST /api/v1/docgov/proposal for ProposeModification, harden decide
status mapping, and replace App pendingProposal local mock with real API calls.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 14:07:52 +00:00
weichen and Cursor
ba92a8b3a5
docs(status): note author-only merged to dev in FEATURE-MATRIX
...
CI / go-vet-and-short-test (push) Failing after 0s
CI / backup-restore-drill (push) Failing after 0s
CI / web (push) Failing after 0s
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:58:30 +00:00
weichen and Cursor
cbeefdb9ed
docs(ops): release integration slot after author-only merge smoke
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:58:19 +00:00
weichen and Cursor
09a9921e87
merge: feature/document-author-only-plan
...
Close out document author_only U1–U6 into dev (default policy off).
Resolved CURRENT claim table and bizdev service conflicts with rdev prior-doc injection.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:57:12 +00:00
weichen and Cursor
4f1bb1f02d
docs(ops): archive author-only U1–U6 and close remediation DoD
...
Move short-term tasks to archive, update MATRIX/INDEX/CURRENT, and hand off merge to dev.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:55:17 +00:00
weichen and Cursor
472f845a88
docs(test): track U6 API evidence as txt (logs gitignored)
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:49:12 +00:00
weichen and Cursor
7b09da1f99
docs(ops): close document-author-only U6 and note proposal HTTP gap
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:48:59 +00:00
weichen and Cursor
58b785e110
docs(test): add document-author-only U6 closed-loop report
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:48:59 +00:00
weichen and Cursor
cf7f55a1b9
test(web): cover author_only action visibility and docgov client shapes
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:48:59 +00:00
weichen and Cursor
916931f5d8
feat(web): surface duty_policy author_only badge end-to-end
...
Propagate summary.duty_policy into deliverables/AST and show 编制人兼任 on the action bar.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:48:59 +00:00
weichen and Cursor
b87fc5007f
feat(web): call real docgov lifecycle APIs from action handlers
...
Replace local lifecycleState mocks; add handleRejectApprove; use holdsDocDuty for chat shortcuts.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:48:59 +00:00
weichen and Cursor
aed7f3f9b5
fix(web): gate docgov actions by duty id, not folded role
...
author_only A/A/A users were stuck as author-only under resolveCurrentDocRole priority.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:48:59 +00:00
weichen and Cursor
3c6342bfee
feat(web): add docgov claim/submit/review/approve API client
...
Wire frontend to existing lifecycle HTTP so approval actions can leave local mock state.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:48:59 +00:00
weichen and Cursor
8658a135ab
docs(ops): claim and close document-author-only U4 and U5
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:15:05 +00:00
weichen and Cursor
7ccb821d6c
test(web): cover author_only duty resolution and validation
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:15:05 +00:00
weichen and Cursor
72686d13cb
feat(web): add per-document author_only toggle in project settings
...
Show a single author picker when兼任 is enabled, respect the system
capability flag, and surface author_only docs in activation preview.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:15:05 +00:00
weichen and Cursor
be128602e4
feat(web): resolve client duty_policy for author_only plans
...
Align TypeScript types and projectSettingsDuties with backend
ResolveDocTaskDuty so author_only no longer fails as partial.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:15:05 +00:00
weichen and Cursor
2c012ee59f
test: cover author_only access matrix and duty_policy audits
...
Prove A can run the full action chain and outsiders stay denied; assert
audit Details carry duty_policy on all five transitions.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:15:05 +00:00
weichen and Cursor
3f7358d454
feat(docgov): record duty_policy on lifecycle audit details
...
Surface the document duty mode on submit/review/approve transitions for
consistent logs under author_only.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:15:05 +00:00
weichen and Cursor
f02600d75c
fix(projectinstance): resolve author_only duties in ABAC gates
...
Use ResolveDocTaskDuty so normalized author-only plans (author ID only)
are treated as full A/A/A for access, stage visibility, and readiness.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 13:15:05 +00:00
weichen and Cursor
c6c07263c7
docs(ops): claim and close document-author-only U3
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 09:59:38 +00:00
weichen and Cursor
67b3b5e070
test: cover duty lock, heal/revoke skip, and instance duty adapter
...
Unit evidence for AE5a/AE5b filters; optional PG cases when
TEST_DATABASE_URL is set.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 09:59:38 +00:00
weichen and Cursor
750b904439
feat(app): wire projectinstance duties into bizdev
...
Composition-root adapter maps live instance DocTasks to bizdev's narrow
InstanceDutySource without crossing module boundaries.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 09:59:38 +00:00
weichen and Cursor
5b9b46ee8d
feat(bizdev): prefer instance-governed duties when generating docs
...
Inject InstanceDutySource, resolve governed bindings, lock duties after
create, and skip in-memory HealBinding overwrite for governed docs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 09:59:38 +00:00
weichen and Cursor
42a3b1e56c
feat(docduty): skip duty_locked rows in heal and revoke
...
Keep instance-governed A/A/A (or separated) bindings immune to project
default heal and member-slot revocation.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 09:59:38 +00:00
weichen and Cursor
89484177ee
feat(docgov): lock document duties and project duty_policy
...
Add LockDocumentDuty for PG/memory and expose duty_policy on workflow
document summaries for later UI marking.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 09:59:38 +00:00
weichen and Cursor
7d3474816b
feat(db): add document_records duty_locked and duty_policy columns
...
Stamp instance-governed document duties at create time so heal/revoke can
skip locked rows without importing projectinstance.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-09-17 09:59:38 +00:00