weichen
07ff3e45c4
docs(test): archive PI narrative closeout evidence
...
Record the repaired MiniMax live path and update readiness copy before
promoting docgov-pi-narrative to done.
2026-09-23 15:19:29 +00:00
weichen
fdbefbac83
merge: candidate pi-narrative-final-closeout-b into local_dev
2026-09-23 15:17:27 +00:00
weichen
413ca989a1
merge: candidate chat-semantic-d3-closeout into local_dev
...
Land summarizer fix and closeout evidence; MATRIX/CURRENT shared docs follow via docs apply.
2026-09-23 15:16:23 +00:00
weichen
8f00c97fae
fix(chat): restore D3 semantic shadow under reasoning no-tools
...
Embed authorized messages in the PI summarizer prompt and recover narrative
from execution.log so MiniMax shadow works without REPLACE. Align chatflow
tests with async S1 drain and record closeout evidence.
2026-09-23 15:13:19 +00:00
weichen
f6046bba7e
fix(docgov): materialize reasoning narrative under --no-tools
...
Embed Facts in the PI narrative prompt and teach the bind-mounted runner
to write assistant text into missing reasoning targets, matching pi-native.
2026-09-23 15:11:22 +00:00
weichen
c07d4020d0
feat(intentflow): I2 shadow tier, project allowlist, and rollout metrics
...
Persist validated_only shadow plans without executing, gate elevated tiers
behind INTENT_PLAN_PROJECT_ALLOWLIST, and keep legacy chat routing for shadow.
2026-09-23 15:10:26 +00:00
weichen
3e01f18756
merge: integrate final-artifact-vault into local_dev (authorized exception)
...
User authorized lifting CURRENT FAV whole-branch merge protection on
2026-09-23. Keep FAV_DEGRADED_READ/FAV_PUBLISHER_ENABLED default false.
Drop duplicate goose 00034 (local_dev already has 00036). Preserve
agentx workspace admin routes and pin-export wiring.
2026-09-23 13:57:08 +00:00
weichen
6032dbaa16
merge: integrate go-agentx runtime into local_dev candidate
...
Bring pinative/agentx workspace registry and A-B harness onto current
local_dev; renumber goose agentx registry 00062→00066 to avoid clash
with chat-summary/provenance migrations. Keep CURRENT/MATRIX as ours
for later docs apply; union module-boundaries agentx import tree.
Path literals use workspace constants for arch-check.
2026-09-23 13:25:32 +00:00
weichen
15b388fc86
docs(ops): salvage task docs and mineru gofmt in closeout batch
2026-09-23 12:49:33 +00:00
weichen
e6ddfab9e8
merge: sync origin/dev into local dev (closeout batch)
...
Resolve conflicts: both CURRENT claim tables (slot preserved), local
multi-host coordination plan + origin phased companion, origin
module-boundaries, combined PG isolation with remote product tests.
FEATURE-MATRIX takes origin record_id layout; A-G done bump deferred
pending evidence row apply.
2026-09-23 12:45:30 +00:00
WeiCHEN
4830b8ba6d
fix(squad): retry settled steps that never wrote the deliverable
...
Classify clean settle + missing target as transient (settled-no-deliverable)
and re-invoke once with a corrective write-tool prompt, instead of permanent
MISSING_TARGET failure.
2026-09-23 19:18:05 +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
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
c9e1033926
fix(coordinator): inject current time into dialogue prompt to anchor time-sensitive answers
2026-09-23 10:59:28 +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
30fa4e88b2
merge: fix/fix-latest-upload-summary-2026-09-23 (latest-upload summary + parse wait)
2026-09-23 10:23:21 +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
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
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
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
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
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
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
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
3bdd53ae35
fix(freedoc): widen freeform project_id to BIGINT for snowflake IDs
...
UI-11 POST /freeform-documents 500 when project_id exceeds int4.
Align Go types + goose 00063 with projects.id BIGINT.
2026-09-23 00:45:31 +08:00
WeiCHEN
0ad4ee319c
fix(coordinator): map engine-split sentinels to vocabulary
2026-09-22 22:14:22 +08:00
WeiCHEN
f77cf953d5
merge(dev): sync track-s1 shadow onto current local dev
2026-09-22 22:13:31 +08:00
WeiCHEN
834af6dd59
refactor(coordinator): split engine.go by use-case handlers (rebuilt on current dev)
2026-09-22 22:10:26 +08:00
WeiCHEN
08af12b936
merge: feature/g2-g3-exception-clearance-2026-09-22
...
Keep G1 cleared sql_write; land G2/G3 path clearances; baseline to zero.
2026-09-22 22:08:53 +08:00
WeiCHEN
573fce225d
merge: feature/track-i1-query-owner-2026-09-22
...
Land QueryOwner code; FEATURE-MATRIX deferred to docs apply.
2026-09-22 22:05:45 +08:00
WeiCHEN
0eee2dd036
merge: feature/server-assembly-2026-09-22
...
Keep G1 Heal via docgov through Runtime port; domain HTTP adapters.
2026-09-22 22:04:53 +08:00
WeiCHEN
239997ce09
merge: feature/status-drift-reconcile-2026-09-22
2026-09-22 22:02:53 +08:00
WeiCHEN
a8c6eb6638
refactor(boundaries): clear U5 path leaks and U8 task_runs write
...
Route deliverable/workspace paths through workspace constants and cancel
open runs via taskrun.CancelOpenByProject so G2/G3 exceptions can drop.
2026-09-22 22:01:14 +08:00
WeiCHEN
0c572ddaca
test(chat): align semantic shadow tests with async pending path
...
Drain/wait after GenerateRollingSummary; register summary table writers;
document consolidation discarding duplicate S1 dirty worktrees.
2026-09-22 21:59:12 +08:00
WeiCHEN
52c7828339
merge: feature/docgov-vocabulary-2026-09-22
...
Keep contracts/vocabulary with G1 uow/workspace duty ports; chat stays decoupled.
2026-09-22 21:58:16 +08:00
WeiCHEN
7e405546ec
merge: feature/track-t-strengthen-2026-09-22
2026-09-22 21:54:48 +08:00
WeiCHEN
57111ca075
merge: feature/rdev-closeout-2026-09-22
2026-09-22 21:54:40 +08:00
WeiCHEN
6984f96c19
merge: feature/workflow-def-unidirect-2026-09-22
2026-09-22 21:53:52 +08:00
WeiCHEN
265de19725
merge: feature/chat-app-decouple-2026-09-22
2026-09-22 21:53:38 +08:00
WeiCHEN
3e1d00b2e3
merge: feature/t20-lowrisk-hardening-2026-09-22
2026-09-22 21:53:30 +08:00
WeiCHEN
2c80129421
merge: feature/g1-exception-clearance-2026-09-22
2026-09-22 21:53:25 +08:00
WeiCHEN
056e4e5c4b
feat(chat): productionize semantic summary shadow path without REPLACE
2026-09-22 21:51:20 +08:00
WeiCHEN
684008e3a5
feat(trace): strengthen T2/T3 evidence and access-log design
2026-09-22 21:51:19 +08:00
WeiCHEN
10c5a295a2
feat(rdev): nightly four-workflow expansion and proposal title alignment
2026-09-22 21:51:18 +08:00
WeiCHEN
7d51e40b1c
refactor(boundaries): clear data/dev path leaks; start output.md via DeliverableKey
...
Remove coordinator/bizdev/storage data/dev fallbacks and register
agent→workspace so default agent targets use workspace.DeliverableKey.
Remaining U5 path and G3 task_runs clearance stay open.
2026-09-22 21:44:57 +08:00