WeiCHEN
5ab034eb53
merge: modular-decouple-residual (splits + W4 + sysadmin)
...
Land nine package splits, W4 projection/deploy Darwin tests, and
sysadmin system:* permissions with settings audits onto local_dev.
2026-09-23 10:10:17 +08:00
WeiCHEN
9735578c1f
docs(ops): record residual sysadmin matrix and CURRENT claim
...
Update FEATURE-MATRIX remaining deferred items and register the
continuation task claim for serial integrate.
2026-09-23 10:09:44 +08:00
WeiCHEN
b627134c62
feat(sysadmin): add system:* permissions and settings audit log
...
Seed fine-grained console permissions (goose 00065), gate admin
handlers by system:* keys, and persist settings change audits for
all upserts. KB ops and whitelist consumers stay deferred.
2026-09-23 10:09:10 +08:00
WeiCHEN
124c6d0071
docs(ops): correct W4 Darwin test claim
...
DarwinVisibilityTests are not in this round; keep evidence at 5 PASS.
2026-09-23 10:02:26 +08:00
WeiCHEN
ee037a4cbc
docs(ops): mark W4 done tip 12322b69
...
Fill pending_commit tip after projection/deploy commit; align W4 test count.
2026-09-23 10:02:13 +08:00
WeiCHEN
3337bf4a42
feat(w4): complete doc projection CAS and deploy/recover loop
...
Add whole-doc and row projection with hash CAS, real enqueue→claim→
fake-deploy→SQLite receipt chain, Darwin lsof cwd visibility, and
black-box tests. PI image compose remains deferred.
2026-09-23 10:01:23 +08:00
WeiCHEN
12322b6974
feat(agentctl): W4 projection apply and deploy-recover loop
...
Add CAS projection helpers and a real enqueue→claim→command→receipt
deploy path for temp-repo tests; PI image compose stays deferred.
2026-09-23 10:01:12 +08:00
WeiCHEN
39e115b4d3
refactor(docgov): split engine.go into use-case files
...
Move claim/document/persist/proposal/read/review_flow into ≤800-line
siblings without behavior change; short tests green.
2026-09-23 09:54:19 +08:00
WeiCHEN
4c07716933
refactor(server): split handlers.go by domain
...
Keep slim handlers.go core; move chat/docgov/health/http/context
handlers into domain files ≤800 lines without behavior change.
2026-09-23 09:54:18 +08:00
WeiCHEN
943becfb2a
refactor(projectinstance): split store.go into use-case files
...
Move mem/pg activate/live/meta/plan/token/seed paths into ≤800-line
siblings without behavior change; short tests green.
2026-09-23 09:54:17 +08:00
WeiCHEN
64c7197f8c
merge: user-profile-display acceptance docs
2026-09-23 09:53:11 +08:00
WeiCHEN
c1f27e3cdb
docs(ops): record user-profile-display acceptance on local_dev
2026-09-23 09:53:02 +08:00
WeiCHEN
9da7f352fa
refactor(docrevision): split service.go into use-case files
...
Move human/agent/read/locked/compat paths into ≤800-line siblings
without behavior change; short tests green.
2026-09-23 09:52:49 +08:00
WeiCHEN
dca33c705d
refactor(boundaries): split five oversized packages by use-case
...
Move bizdev/freedoc/intent/projectworkflow/squad giant files into
≤800-line use-case siblings without behavior change; short tests green.
2026-09-23 09:52:16 +08:00
WeiCHEN
2fae990965
merge: user-profile-display build unblock (optional chat status)
2026-09-23 09:44:12 +08:00
WeiCHEN
654a92583f
fix(web): allow optional chat status in cancelInflight helper
...
Unblocks Docker web build after ChatMessage.status became optional.
2026-09-23 09:44:02 +08:00
WeiCHEN
ad80777a3e
merge: user-profile-display (directory API + profile edits)
2026-09-23 09:40:00 +08:00
WeiCHEN
6d3efdf4d7
feat(auth): show real names in duty pickers and enable profile edits
...
Add a login-visible user directory API and admin/self profile update
paths so project duty selectors stop falling back to "用户 N", and so
users can persist display fields with an admin-edit tip.
2026-09-23 09:39:41 +08:00
WeiCHEN
19a1a03c20
merge: modular-refactor-impl-plan closeout (CURRENT done)
...
Record undertaking-plan task done and short-term closeout after first merge.
2026-09-23 09:38:25 +08:00
WeiCHEN
e32d55bd9b
docs(ops): close modular-refactor-impl-plan after local_dev merge
...
Record merged SHA, validation receipts, and CURRENT row done; cleanup
pending for feature worktree; remote sync not requested.
2026-09-23 09:38:24 +08:00
WeiCHEN
b9f4509287
merge: modular-refactor-impl-plan-2026-09-23 (undertaking framework)
...
Land the phase-gate and work-package backfill framework for the off-host
refactor plan; documentation only.
2026-09-23 09:38:01 +08:00
WeiCHEN
19a8f19a8a
docs(ops): claim CURRENT for modular-refactor-impl-plan
...
Register the undertaking-plan documentation task in the parallel-claim table.
2026-09-23 09:37:49 +08:00
WeiCHEN
5c249b0975
docs(plan): add modular refactor implementation undertaking framework
...
Define phase gates, work-package template, anti-duplication checks against
A-G/exceptions baseline, and product-host backfill rules without coding.
2026-09-23 09:37:48 +08:00
WeiCHEN
2ce8688db4
merge: modular-refactor-review closeout (CURRENT done)
...
Record checklist task done and short-term closeout after first merge.
2026-09-23 09:14:42 +08:00
WeiCHEN
6bcaf53d51
docs(ops): close modular-refactor-review after local_dev merge
...
Record merged SHA, validation receipts, and CURRENT row done; cleanup
remains for an independent maintainer; remote sync not requested.
2026-09-23 09:14:33 +08:00
WeiCHEN
e8bff7e287
merge: modular-refactor-review-2026-09-23 (audit checklist)
...
Bring the phase-1/2 and cancel-contract review checklist into local_dev
as a documented self-check for the off-host refactor plan.
2026-09-23 09:13:47 +08:00
WeiCHEN
f0de2b2158
docs(ops): claim CURRENT row for modular-refactor-review
...
Register the checklist task in the parallel-claim table so coordination
snapshots match the agentctl registration.
2026-09-23 09:12:38 +08:00
WeiCHEN
6d9f3648bd
docs(audit): add modular refactor plan review checklist
...
Provide phase-1/2 and cancel-contract self-check items for the off-host
refactor plan, with N01–N22 mapping placeholders and product-host backfill steps.
2026-09-23 09:11:56 +08:00
WeiCHEN
8f0e31e53a
merge: closeout FEATURE-MATRIX A-G done + CURRENT residuals
2026-09-23 04:24:54 +08:00
WeiCHEN
fdd072d694
docs(status): close MATRIX A-G and register unfinished-batch residuals
...
Restore W1-D schema facts lost in merge, mark decoupling A-G done with
batch evidence, and keep redline rows partial with 2026-09-22 evidence.
2026-09-23 04:24:09 +08:00
WeiCHEN
c24e1548ca
merge: closeout CURRENT + sealed DOCREV UI PASS ledger
...
Resolve CURRENT to DOCREV PASS focus (CAS on closeout 44cc4926 ).
Archive sealed main/post-restart ledger mud2qct9. Hook bypass: integrate
task lacks docs:admin; CURRENT body matches closeout receipt.
2026-09-23 04:17:42 +08:00
WeiCHEN
44cc4926e1
docs(ops): restore DOCREV UI PASS focus on CURRENT
...
Prior ours-merge dropped the focus line; re-apply via docs @document
CAS with sealed ledger link and docrev cleanup row.
2026-09-23 04:17:13 +08:00
WeiCHEN
4a97cfcf76
docs(test): archive sealed DOCREV UI main+post-restart PASS ledger
...
Persist mud2qct9 main/post ledgers, phase-state, and key screenshots
under sealed-ledger-ui00-16-post-20260923T0400Z (schema 63).
2026-09-23 04:16:39 +08:00
WeiCHEN
63348b6e35
merge: docrev short-term CURRENT sync note
2026-09-23 04:06:16 +08:00
WeiCHEN
a9198eb5b5
docs(ops): note CURRENT sync pending after DOCREV UI PASS
2026-09-23 04:06:15 +08:00
WeiCHEN
437cee84a5
merge: closeout CURRENT DOCREV UI PASS note
2026-09-23 04:03:32 +08:00
WeiCHEN
e9a9ce97c2
docs(ops): record DOCREV UI rerun PASS on CURRENT
2026-09-23 04:02:02 +08:00
WeiCHEN
ddcb63cd4b
merge: feature/docrev-ui-rerun-2026-09-22 (UI PASS closeout docs)
2026-09-23 04:01:06 +08:00
WeiCHEN
4baa1220ee
docs(ops): close docrev UI audits after main+post-restart PASS
...
Record real Playwright ledgers, mark 20 audits and 9 remediations done, and leave management-implementation-plan as plan-only.
2026-09-23 04:00:49 +08:00
WeiCHEN
bcc3168e8a
merge: feature/docrev-ui-rerun-2026-09-22 (UI-13b before 三权)
2026-09-23 03:35:48 +08:00
WeiCHEN
0f97965cd2
fix(e2e): run UI-13b A/A conflict on drafting intake before 三权
...
Prelim materializes with empty duty slots (author_id=0), so claim/edit is
impossible after UI-11; move conflict onto intake while it is still drafting.
2026-09-23 03:35:27 +08:00
WeiCHEN
6fc86335ef
merge: feature/docrev-ui-rerun-2026-09-22 (squad/playwright timeouts)
2026-09-23 03:12:58 +08:00
WeiCHEN
84cc3b9861
fix(e2e): raise Playwright per-test timeout to 15m
...
Pair with 10m squad waits so UI-03 does not race the test wall when intake finishes near the expect limit.
2026-09-23 03:11:20 +08:00
WeiCHEN
ecd8e94e24
fix(e2e): raise squad wait timeout to 10m for UI-03
...
Intake completion landed ~20s after the old 7m expect wall; keep claim-before-edit fix and avoid false pending failures.
2026-09-23 03:09:24 +08:00
WeiCHEN
8c37c9330a
merge: feature/docrev-ui-rerun-2026-09-22 (UI-13b claim-before-edit)
2026-09-23 03:02:42 +08:00
WeiCHEN
01bf599bd4
fix(e2e): claim prelim author before UI-13b conflict edit
...
Prelim docs ship with author_id=0 so currentDocRole is viewer and dblclick
is a no-op; claim 认领此文档 first then assert the edit tip on both A contexts.
2026-09-23 03:00:15 +08:00
WeiCHEN
67251abc09
fix(e2e): release A1 lease before UI-13b A2 opens block editor
...
Same-user second context could not dblclick-edit while A1 held the
human lease on prelim. Leave to intake, let A2 claim editor, then A1 save.
2026-09-23 02:35:45 +08:00
WeiCHEN
0429b9735e
fix(e2e): run UI-13b conflict on drafting prelim, not locked intake
...
After UI-11 三权, intake is 已生效受控 and blocks body edit. Use
secondDocId (prelim_design) for the A/A head-conflict scenario.
2026-09-23 02:12:02 +08:00
WeiCHEN
92bb1a2004
fix(e2e): send Bearer token when fetching revision-state etag
...
UI-13b page.evaluate fetch used credentials-only and got HTTP 401 because
auth is Bearer in smdf_auth_session, not cookies.
2026-09-23 01:53:49 +08:00
WeiCHEN
9d7c97f728
fix(e2e): fetch revision-state etag by doc id for UI-13b
...
waitForResponse raced unrelated revision-state polls, so A1/A2
compared different documents heads before the conflict save.
2026-09-23 01:29:17 +08:00