WeiCHEN
59739a2b48
feat(agentctl): harden CURRENT projection and human-section guards
...
W2-U5: own_row_only/slot_protected policy wiring, normalized projection
rows, idempotent request ids, five-state status vocab, expanded protected
human sections, projections ledger readout, and doc contradiction fixes.
2026-09-23 17:00:44 +08:00
WeiCHEN
725e2e4beb
merge: candidate agentctl-daemon coordinator into dev
2026-09-23 16:44:20 +08:00
WeiCHEN
5dc25e0be3
fix(agentctl): retry manager.lock holder_pid read on LOCK_BUSY
2026-09-23 16:42:22 +08:00
WeiCHEN
cb4a13671d
feat(agentctl): add foreground daemon coordinator with manager.lock
2026-09-23 16:39:21 +08:00
WeiCHEN
981021b2b6
merge: candidate agentctl-handoff quarantine fence into dev
2026-09-23 16:29:28 +08:00
WeiCHEN
b2c582dc5a
fix(agentctl): re-lock write txn after schema DDL for claim CAS
2026-09-23 16:29:12 +08:00
WeiCHEN
7d864828b5
fix(agentctl): treat unset AGENTCTL_FENCE as zero for bootstrap
2026-09-23 16:24:56 +08:00
WeiCHEN
198b3e4ad4
feat(agentctl): add quarantine handoff with fence and heartbeat TTL
...
Fail-closed suspect/quarantine demotion, AGENTCTL_FENCE inheritance, and verified: gates for env/git:dev recovery without auto-release.
2026-09-23 16:16:35 +08:00
WeiCHEN
fda5ef2931
merge: dialogue-realtime-search acceptance docs
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-23 15:08:28 +08:00
WeiCHEN
fa6529db0e
docs(ops): record dialogue realtime search remote test acceptance
...
Capture remote GMKtec :8081 evidence that Tavily-forced weather answers are date-anchored and no longer invent deep-winter temperatures.
2026-09-23 15:08:09 +08:00
WeiCHEN
8c40cb7412
merge: feature/w1-closeout-2026-09-23 (W1 five-state closeout)
2026-09-23 15:05:23 +08:00
WeiCHEN
0a933af95f
docs(ops): close out W1 U1r/U2/U3 five-state fields
...
Record merged tips and mark CURRENT claims done; cleanup remains with
independent maintainers.
2026-09-23 15:05:10 +08:00
WeiCHEN
451f55f80d
merge: feature/agentctl-claim-2026-09-23 (long-lived claim CLI)
2026-09-23 15:02:09 +08:00
WeiCHEN
6699c4a8aa
feat(agentctl): add long-lived claim namespace and CLI
...
Introduce claim: resources with additive claims/claim_queue tables, atomic
acquire/release under IMMEDIATE transactions, and concurrency regressions.
2026-09-23 15:02:00 +08:00
WeiCHEN
7cd0f505b2
merge: feature/agent-governance-config-2026-09-23 (governance JSON policy)
CI / go-vet-and-short-test (push) Failing after 0s
CI / backup-restore-drill (push) Failing after 0s
CI / web (push) Failing after 1s
2026-09-23 14:53:18 +08:00
WeiCHEN
8749f5077a
merge: fix/dialogue-realtime-search-2026-09-23 (force Tavily for realtime dialogue)
2026-09-23 14:51:44 +08:00
WeiCHEN
a5ea8197ab
fix(coordinator): force Tavily search for weather/realtime dialogue answers
...
Anchor weather and other realtime questions on runner /v1/search results (or an explicit refuse constraint) so the model cannot invent dates or temperatures from training memory.
2026-09-23 14:51:09 +08:00
WeiCHEN
33c7b9a260
feat(agentctl): externalize governance policy to JSON
...
Load configs/agent-governance.json from the main worktree with fail-closed
POLICY_* codes, and keep test fixtures writing the same contract file.
2026-09-23 14:50:56 +08:00
WeiCHEN
1cb8c6f4b3
merge: fix/agentctl-automation-converge-2026-09-23 (automation converge into w4)
2026-09-23 14:39:57 +08:00
WeiCHEN
dd75f42c98
fix(agentctl): converge automation into w4 and drop fork
...
Port deploy phase transition guards and cleanup markdown projection into
agentctl_w4, delete the unused automation module, and pin illegal jumps
with a regression test.
2026-09-23 14:39:49 +08:00
WeiCHEN
21c1278c04
merge: coordination-db-daemon-impl-plan closeout (CURRENT+short-term)
2026-09-23 14:17:52 +08:00
WeiCHEN
9e9856f652
docs(ops): record coordination-db-daemon impl-plan closeout fields
...
Persist short-term status, head_sha, and integration_state after the
undertaking plan landed on local_dev.
2026-09-23 14:17:34 +08:00
WeiCHEN
ec8a39b39d
docs(ops): close out coordination-db-daemon impl-plan on local_dev
...
Mark CURRENT claim done and record merge tip 51f82d5d in the
short-term closeout after docs-only integration.
2026-09-23 14:17:11 +08:00
WeiCHEN
51f82d5d4f
merge: feature/coordination-db-daemon-impl-plan-2026-09-23 (undertaking plan docs)
2026-09-23 14:16:36 +08:00
WeiCHEN
dad5556181
docs(remediation): add coordination db/daemon implementation undertaking plan
...
Pre-fill W1–W3 work packages (U1r–U6) with symbol-level anchors, real
concurrency gates, mutexes, and ADR gate for L2. Docs-only; no code.
2026-09-23 14:16:25 +08:00
WeiCHEN
1f2f3d6a58
merge: closeout-worktrees results doc
2026-09-23 14:03:11 +08:00
WeiCHEN
47c57eee6b
docs(ops): record closeout-worktrees merge and cleanup results
2026-09-23 14:03:01 +08:00
WeiCHEN
1165b28d5f
merge: coordination-db-daemon closeout (CURRENT done + short-term)
2026-09-23 14:01:31 +08:00
WeiCHEN
bf1b592071
docs(ops): close out coordination-db-daemon task on local_dev
...
Mark CURRENT claim done and record merge tip d8ba8dba in the
short-term closeout fields after docs-only integration.
2026-09-23 14:01:27 +08:00
WeiCHEN
d8ba8dba3c
merge: feature/coordination-db-daemon-2026-09-23 (plan+research docs)
2026-09-23 14:00:21 +08:00
WeiCHEN
d7e0a683c9
docs(remediation): add coordination db/daemon phased plan and research
...
Document L1 single-host claim/daemon/doc projection design and L2
cross-host PostgreSQL as planned-only. Register INDEX entries and claim
CURRENT; U1 cites queue subparser fix 63e66c6f .
2026-09-23 13:54:48 +08:00
WeiCHEN
de3bff6d6d
merge: closeout-worktrees docs batch (6 tips + task doc)
...
Rebuild onto current local_dev after parallel agentctl-queue integrate. Non-.doc tree matches frozen D; CURRENT/MATRIX kept as local_dev.
2026-09-23 13:52:52 +08:00
WeiCHEN
63e66c6fb3
merge: fix/agentctl-queue-subparser-2026-09-23 (queue subparser + tests)
2026-09-23 13:50:49 +08:00
WeiCHEN
2b5bcffcef
merge: promote-fix-latest-upload evidence (closeout docs)
...
Keep evidence short-term/report/receipts; leave FEATURE-MATRIX and CURRENT as current local_dev.
2026-09-23 13:50:31 +08:00
WeiCHEN
f9f09a5440
fix(ops): remove duplicate agentctl queue subparser registration
...
The second queue parser shadowed handler-compatible flags (--head,
cancel --task, schedule --drain), so enqueue/cancel/schedule failed
at runtime and queue_items stayed empty. Keep the first registration
and add regression coverage for parser flags, roundtrip, and schedule.
2026-09-23 13:50:18 +08:00
WeiCHEN
90b0a6498d
merge: freeform-project-id-bigint docs (closeout docs)
2026-09-23 13:50:12 +08:00
WeiCHEN
c60ccfe285
merge: modular-decouple residual candidate (closeout docs)
2026-09-23 13:50:11 +08:00
WeiCHEN
db3ec5d6e3
merge: modular-decouple closeout docs (closeout docs)
2026-09-23 13:50:10 +08:00
WeiCHEN
2ee2b495ca
merge: docrev-ui-rerun memo (closeout docs)
2026-09-23 13:50:09 +08:00
WeiCHEN
1950ab2cb1
merge: user-profile-display CURRENT claim (closeout docs)
2026-09-23 13:50:07 +08:00
WeiCHEN
68be691e13
merge: closeout-worktrees task doc (closeout docs)
2026-09-23 13:50:06 +08:00
WeiCHEN
306836006f
docs(ops): register closeout-worktrees task for docs merge and cleanup
2026-09-23 13:49:23 +08:00
WeiCHEN
cc91c217e7
merge: feature/task-bubble-bind-2026-09-23 (assistant_msg_id bind + error actions)
2026-09-23 11:49:50 +08:00
WeiCHEN
c60685bb25
docs(ops): claim task-bubble-bind on CURRENT
...
Register parallel claim row after test overlay verification.
2026-09-23 11:26:01 +08:00
WeiCHEN
66eadc0dc1
docs(ops): record task-bubble-bind test evidence and closeout
...
Capture test overlay verification, LiveDualTrack, and browser checks for
assistant_msg_id binding and non-resumable continue hiding.
2026-09-23 11:24:45 +08:00
WeiCHEN
a360dd302f
merge: platform deepening plan (docs only)
2026-09-23 11:19:44 +08:00
WeiCHEN
6b7c8495c5
docs(remediation): add platform deepening plan for decoupling, bus, reliability, HA, concurrency
...
Six-track plan (R1-R6) grounded in the 2026-09-23 four-way read-only
survey: server/chat/bizdev/workflow residual coupling, event bus ops
loop gaps (dead letters, serial dispatch, dual outbox), panic
recovery, single-host HA (replicas, PG hot standby, backup
automation), concurrency hotspots (docgov engine lock, sync long
tasks, pool tuning). Planned only; no code changes.
2026-09-23 11:19:33 +08:00
WeiCHEN
b9b192a843
fix(web): bind task assistant bubble to serverId and harden error actions
...
Return assistant_msg_id from createTaskRun so live bubbles merge with history,
hide continue on terminal failed runs, and restart via a fresh turn/bubble.
2026-09-23 11:12:50 +08:00
WeiCHEN
15fdb28aa1
merge: fix/dialogue-current-time-2026-09-23 (dialogue clock anchor)
2026-09-23 10:59:37 +08:00
WeiCHEN
c9e1033926
fix(coordinator): inject current time into dialogue prompt to anchor time-sensitive answers
2026-09-23 10:59:28 +08:00
WeiCHEN
e77d994d5d
merge: closeout docs for pi-runner-response-size integrate
2026-09-23 10:33:49 +08:00
WeiCHEN
0d3976aa15
docs(ops): close out pi-runner response-size integrate on local_dev
2026-09-23 10:33:21 +08:00
WeiCHEN
ee66bd009a
docs: record latest-upload promote-to-test evidence
2026-09-23 10:32:11 +08:00
WeiCHEN
04d0727e94
merge: feature/pi-runner-response-size-2026-09-23 (cap /v1/run response size)
2026-09-23 10:30:16 +08:00
WeiCHEN
54955c9d1a
merge: promote local_dev to test (latest-upload summary + parse wait)
2026-09-23 10:27:21 +08:00
WeiCHEN
30fa4e88b2
merge: fix/fix-latest-upload-summary-2026-09-23 (latest-upload summary + parse wait)
2026-09-23 10:23:21 +08:00
WeiCHEN
e035d67170
docs(ops): register pi-runner response-size task as done
2026-09-23 10:22:41 +08:00
WeiCHEN
77028af546
fix(pi-runner): cap /v1/run response size to stop typed reject
...
Truncate execution.log patches and keep members aligned with patch bodies so
verbose MiniMax-M3 runs no longer exceed the Go 8MB fail-closed limit.
Surface body-too-large vs typed-reject reasons and map contract failures to
fatal restart instead of misleading resumable TASK_INTERRUPTED.
2026-09-23 10:22:23 +08:00
WeiCHEN
10f9a8b9c3
merge: modular-decouple-residual closeout docs (W4 matrix + governance status)
2026-09-23 10:19:42 +08:00
WeiCHEN
521edd4dba
merge: modular-decouple residual MATRIX/W4 calibration
...
Land FEATURE-MATRIX W4 landed notes and close superseded
governance-automation short-term after residual merges.
2026-09-23 10:19:32 +08:00
WeiCHEN
3ebabc1941
docs(ops): calibrate W4 matrix and close governance-automation status
...
Mark W4 projection/deploy/recover/Darwin as landed in FEATURE-MATRIX,
close the superseded governance-automation short-term, and refresh
residual closeout SHAs after local_dev merges.
2026-09-23 10:19:20 +08:00
WeiCHEN
9f7658515c
docs(ops): calibrate W4 matrix and close governance-automation status
...
Mark W4 projection/deploy/recover/Darwin as landed in FEATURE-MATRIX,
close the superseded governance-automation short-term, and refresh
residual closeout SHAs after local_dev merges.
2026-09-23 10:18:13 +08:00
WeiCHEN
55f3e89a2d
merge: promote-user-profile-display-test evidence (receipt + report)
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-23 10:18:11 +08:00
WeiCHEN
e2e508755c
docs(ops): close user-profile-display test promotion evidence
2026-09-23 10:17:52 +08:00
WeiCHEN
f1f1846925
merge: modular-decouple-residual closeout docs
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-23 10:16:45 +08:00
WeiCHEN
ae9d44a35c
docs(ops): close out modular-decouple-residual after local_dev land
2026-09-23 10:16:30 +08:00
WeiCHEN
8b3936ea0c
merge: modular-decouple residual goose 00065
2026-09-23 10:15:20 +08:00
WeiCHEN
73e1797987
feat(sysadmin): add goose 00065 for system:* and settings audits
...
Restore the migration that seeds console permissions and creates
system_settings_audits so PG environments match the phase-2 API.
2026-09-23 10:15:15 +08:00
WeiCHEN
701c565f72
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:13:39 +08:00
WeiCHEN
ed6de25b82
merge(dev): absorb smalltalk routing into intent split
...
Keep use-case split of recognizer.go and port IsSmallTalk helpers
into recognizer_helpers.go so residual can re-integrate cleanly.
2026-09-23 10:13:29 +08:00
WeiCHEN
b2d49d54f1
docs(ops): record Sysadmin phase-2 tip SHA
2026-09-23 10:12:04 +08:00
WeiCHEN
e217929ccd
merge: promote local,dev to test (intent smalltalk + schema 64)
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-23 10:12:00 +08:00
WeiCHEN
d49c8f8cfc
feat(sysadmin): system permission checks and settings audit list
...
Expose fine-grained system:* checks (admin grants all) and list
system_setting_policy_audits for settings change visibility.
2026-09-23 10:11:46 +08:00
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
c6e3f26524
merge: fix/intent-smalltalk-routing-2026-09-23 (smalltalk → casual chat)
2026-09-23 10:08:44 +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
f6e14f97af
docs(ops): record head_sha for upload parse-wait follow-up
2026-09-23 09:55:59 +08:00
WeiCHEN
1f37f90b4b
feat(chat): show MinerU parse progress while waiting in-turn
...
When summarizing the latest upload, poll parse state up to MinerU timeout,
emit document_parsing phase events so the bubble stays live and input stays
locked, then summarize or return a clear slow/failed reply.
2026-09-23 09:55:59 +08:00
WeiCHEN
0079080d8a
fix(intent): route general smalltalk questions to casual chat instead of stage consult template
2026-09-23 09:54:37 +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
20290d0379
docs(ops): claim CURRENT row for user-profile-display done
2026-09-23 09:53:30 +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
1546d89446
docs(ops): record head_sha for latest-upload summary fix
2026-09-23 09:42:47 +08:00
WeiCHEN
a3b5d4291b
fix(chat): resolve latest-upload summary via CAS assets
...
Recognize “刚刚上传” as @latest_upload and summarize the project’s newest CAS attachment (with clear parse pending/failed/no-asset replies) instead of searching only controlled workflow docs.
2026-09-23 09:42:28 +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