Commit Graph
95 Commits
Author SHA1 Message Date
weichen 427263cee5 Merge remote-tracking branch 'origin/main' into fix/empty-create-task
Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	.task/feature-duplication-lesson-records.md
2026-10-01 05:29:27 +00:00
weichenandCursor 782e4fdb56 Point frontend at the merged empty-workspace fix
Why: The empty-create branch was synced onto frontend main after the input queue landed, so the parent gitlink must follow that tip.
Evidence: The synced tip 0cc0f40 is on frontend main, and vitest reported 42 passed with the default-project path still present.
Impact: Dev gitlink only.
Refs: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Frontend/pulls/29
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 05:28:52 +00:00
weichen e7140825d8 Merge remote-tracking branch 'origin/main' into feature/input-queue
Co-authored-by: Cursor <cursoragent@cursor.com>

# Conflicts:
#	.task/feature-duplication-lesson-records.md
2026-10-01 05:27:25 +00:00
weichenandCursor aae0efee1a Point frontend at the merged input queue
Why: The input-queue branch was synced onto frontend main after the preview fallback landed, so the parent gitlink must follow that tip.
Evidence: Frontend main ba52fad contains aad5871, and vitest reported 42 passed on that tip.
Impact: Dev gitlink only. The queue and files tab stay, and the preview sniff changes remain in the pinned tree.
Refs: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Frontend/pulls/28
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 05:26:40 +00:00
weichen 46f89cf921 Merge remote-tracking branch 'origin/main' into feature/binary-doc-index 2026-10-01 05:25:41 +00:00
weichenandCursor c4cf7af296 Point backend at the merged binary-doc index
Why: The index branch was synced onto backend main after the interpreter merge, so the parent gitlink must follow that tip.
Evidence: Backend main 42fe619 contains 34be855, and go test of tools and runmgr passed on that tip.
Impact: Dev gitlink only. The write guard and text index stay, and the interpreter files remain in the pinned tree.
Refs: https://git-home.u1680832.nyat.app:30319/weichen/Agent-System-Backend/pulls/34
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 05:25:35 +00:00
weichen 62d39037af Merge remote-tracking branch 'origin/main' into feature/preview-sniff-fallback 2026-10-01 05:20:28 +00:00
weichenandCursor 2192f946a4 Point frontend at the empty-workspace task fix
Why: The first click on 新建任务 did nothing useful when the workspace had no project.
Evidence: Frontend 288d3ac; tsc -b passed and vitest reported 40 passed. A browser check on the dev server created 默认项目 and a conversation on the first click, and a second click added a conversation without a second project.
Impact: Dev gitlink only. Backend is unchanged.
Refs: modules/frontend fix/empty-create-task
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 04:50:21 +00:00
weichenandCursor 30092e300b Point frontend at the input queue and files tab
Why: follow-up messages were rejected while a run was in flight, and
the file list was only available from the workspace overlay.

Evidence: frontend 3c81525; tsc clean; vitest 42 tests.

Impact: gitlink only. Backend conversation serialization is unchanged.

Refs: task feature/input-queue
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 04:31:57 +00:00
weichenandCursor 90a3a1d722 Point backend at binary write guard and text indexing
Why: pseudo-binary Office writes and unsearchable generated documents
were the two pieces of the closed docx PR that main still needs.

Evidence: backend 3e5699c; go test ./... 19 packages ok. Dev #99 and
Backend #27 are closed as superseded.

Impact: gitlink only. Merge after Dev #113 so the refusal text names
tools that are already on main.

Refs: task feature/binary-doc-index
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 04:12:26 +00:00
weichenandCursor a11fed43da Merge origin/main into preview-sniff-fallback
Why: the preview sniff branch predated the shell redesign and could not
merge. Module gitlinks now include current main plus ZIP fallback for
docx, xlsx, and pptx.

Evidence: conflict was only the shared sync-log card; both sides' rows
kept. UI and Frontend tests passed on the updated module SHAs.

Impact: parent branch contains origin/main. .mimosa/ ignore stays.

Refs: task feature/preview-sniff-fallback, Dev PR #96
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 04:07:40 +00:00
weichenandCursor 89481a6ee3 Advance preview sniff gitlinks onto current module mains
Why: the open preview-sniff PRs were cut before the shell redesign, so
they could not merge. UI and Frontend now contain origin/main plus the
ZIP sniff, including xlsx and pptx text fallback.

Evidence: UI vitest 68 and tsc clean; Frontend vitest 40 and tsc clean.
UI pulls/21 and Frontend pulls/22 updated.

Impact: gitlinks only. Dev still needs to merge origin/main before the
parent PR can land.

Refs: task feature/preview-sniff-fallback
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 04:07:21 +00:00
weichenandCursor d62f6806d2 Point backend at run_shell and run_python executors
Why: the deliverable workflow prompts call run_shell and run_python, but
those tools were not in the registered binary, so generation fell back
to text-only write_artifact.

Evidence: backend feature/exec-interpreters 2880b58; go test ./... 19
packages ok in modules/backend.

Impact: Dev gitlink moves to the interpreter commit. Merge the backend
PR before this one so the recorded SHA is on backend main.

Refs: task feature/exec-interpreters
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 04:03:07 +00:00
weichen a70242da75 Land agent-native deliverables batch and record the task card 2026-10-01 03:36:18 +00:00
weichen 17b5bbe376 Archive the deliverable-docx-r1 task card and pin frontend head
ci / test (pull_request) Failing after 1m36s
Why: the card was folded into PR #109 already marked complete, so
task-close skipped it; archive it manually per the no-open-cards rule
and advance the frontend gitlink past the mimosa-ignore chore (#26).

Evidence: .task has no deliverable-docx-r1.md left; precheck [cards]
to be re-run after merge; frontend -> de38791 (chore #26 merged).

Impact: housekeeping only; no code paths touched.

Refs: task feature/deliverable-docx-r1 (PR #109), frontend PR #26
2026-10-01 02:54:25 +00:00
weichen d53e8e7c42 Land styled docx generation and in-chat deliverable cards
Why: users received plain-text .docx files and had to dig through the
process collapse or workspace panel to find deliverables; deliverables
must appear directly in the conversation and open with real formatting.

Evidence: module PRs merged — Agent-System-Backend#31 (docgen Markdown
to styled OOXML, write_docx tool, artifact_ref pinned as content after
final text, prompt routing, mock #doc dogfood) and
Agent-System-Frontend#25 (deliverable card renderer, live projection
pinned tail). Combination `make test` green in this worktree: backend
go test 19 pkgs, frontend vitest 40/40 + tsc clean, ui tsc + vitest
68/68 incl design-guard, agent-command ok. Task card records scope,
sync nodes and leftovers.

Impact: gitlinks backend -> 8550bb0, frontend -> b048d90; core/ui
unchanged.

Refs: task feature/deliverable-docx-r1
2026-10-01 02:51:49 +00:00
weichen 6b78db5977 Merge remote-tracking branch 'origin/main' into feature/ui-tokens-v3 2026-09-30 19:31:01 +00:00
weichen b35ea7058f Advance submodule gitlinks to post-merge heads
Why: Submodule branches merged their origin/main (CF3) and were pushed;
record the new heads so the parent sync merges cleanly.
Evidence: submodules green post-merge (ui 68 / frontend 39 tests, tsc
clean); parent task-sync re-run follows this commit.
Impact: gitlinks only.
Refs: task feature/ui-tokens-v3.
2026-09-30 19:30:58 +00:00
weichen c0f0200abd Advance submodule gitlinks: phase 4 chat flow and motion
Why: Land phase 4 of the UI redesign in the parent repo: ToolBlock chat
contract, Collapsible migration of all folds, live sweep with worked-time,
and the honest in-progress input hint. Completes the four-phase plan on
this branch (deviation recorded in the task card).
Evidence: combined make test -> go core/backend/agent-command ok, frontend
39 vitest passed, ui 66 vitest passed; tsc clean in both submodules.
Impact: modules/ui and modules/frontend gitlinks move to their
feature/ui-tokens-v3 heads; task card records results and remaining items.
Refs: task feature/ui-tokens-v3.
2026-09-30 19:26:39 +00:00
weichen 29d24237f3 Pin project-inbox-r1 module combination after module merges
Why: module PRs merged (documents #30, backend #30, ui #22, frontend
#23; core #11/#12 earlier); Dev tracks merged tips.
Evidence: per-module main tips after merge.
Impact: gitlink-only.
2026-09-30 19:19:49 +00:00
weichen d73269e09c Pin project-inbox-r1 module combination (CF3)
Why: CF3 lands across core (project channel helpers), backend
(aggregation/archive/SSE), ui (archive affordance), frontend (dual view).
Evidence: module tests green; combination make test in task card.
Impact: gitlink-only.
2026-09-30 19:16:57 +00:00
weichen f323d3f417 Advance frontend gitlink: artifact preview convergence (phase 3)
Why: Land phase 3 of the UI redesign in the parent repo.
Evidence: frontend submodule commit on feature/ui-tokens-v3; tsc -b and
38 vitest tests pass; task card records the runs.
Impact: modules/frontend gitlink moves; no API changes.
Refs: task feature/ui-tokens-v3.
2026-09-30 19:14:31 +00:00
weichen 05ebf3d9e1 Advance frontend gitlink: admin zone IA (phase 2)
Why: Land phase 2 of the UI redesign in the parent repo: admin-only
full-screen system management, conversation-first sidebar, role-aware
workspace shortcuts.
Evidence: frontend submodule commit on feature/ui-tokens-v3; tsc -b and
38 vitest tests pass in the submodule; combined make test re-run recorded
at phase boundaries in the task card.
Impact: modules/frontend gitlink moves; no API or contract changes.
Refs: task feature/ui-tokens-v3.
2026-09-30 19:11:20 +00:00
weichen 80a4fa5e32 Adopt DESIGN.md constitution and phase-1 Zai visual foundation
Why: The approved frontend redesign requires a durable design constitution
so future UI work stays consistent (user directive: make this project's
standing design guidance, four principles: beautiful/modern/concise/usable).
DESIGN.md encodes the Zai-calibrated rules (surface ladder, type scale,
radius nesting, MotionKit recipes, ToolBlock contract, IA principles) and
AGENTS.md adds a mandatory UI gate; submodules land phase 1 (tokens v3,
MotionKit, Collapsible, panel layout, mono primary buttons).
Evidence: make test in this worktree -> frontend 38 passed (incl. new
host design-guard ratchet), ui 61 passed (incl. collapsible + design-guard),
go core/backend/agent-command ok. precheck READY at R0 0be23f9a4d.
Impact: gitlinks advance to Agent-System-UI/Agent-System-Frontend
feature/ui-tokens-v3 heads; AGENTS.md gains a UI section; no backend or
contract changes.
Refs: session-approved redesign plan v2 (8 decisions recorded in task card).
2026-09-30 19:02:22 +00:00
weichen b8a06cd0e1 Pin artifact-unify-r1 module combination after module merges
Why: backend PR #29 and documents PR #29 merged; Dev tracks merged tips.
Evidence: backend 9f1b964 / documents 6fdfc19.
Impact: gitlink-only.
2026-09-30 18:42:54 +00:00
weichen b10b83456c Pin artifact-unify-r1 module combination (CF-A)
Why: CF-A lands in backend (ctxasm backfill + facade cards) and documents.
Evidence: backend commit recorded in module log; combination make test in
task card.
Impact: gitlink-only.
2026-09-30 18:40:50 +00:00
weichen f96c55df23 Pin card-stream-r1 module combination after module merges
Why: backend PR #28 and documents PR #28 merged; Dev tracks merged tips.
Evidence: backend a067d08 / documents f5aa687.
Impact: gitlink-only.
2026-09-30 18:22:04 +00:00
weichen e1f996815a Pin card-stream-r1 module combination (CF-S: streaming card tools)
Why: CF-S (D44/D45) implementation lands in backend and documents; Dev
tracks the tested combination.
Evidence: backend 24a2873 (tools+cardsvc+runmgr+mock+tests), documents
3d2da4e (usage guide); combination make test recorded in task card.
Impact: gitlink-only on Dev.
Refs: documents 2026-09-30-card-stream-artifact-unify-project-inbox.md (D44/D45).
2026-09-30 18:19:59 +00:00
weichen 0b883469a2 Pin preview-sniff-fallback module combination
Why: track 2 of the fake-docx remediation — read-only preview fallback for
stock text-masquerading docx artifacts; also ignore the Mimosa plugin's
per-session .mimosa state dir that kept dirtying the tree and blocking precheck.

Evidence: modules/ui 83367f7 (doc->binary dispatch + readable Office error),
modules/frontend cd77340 (PK magic sniff + markdown fallback); make test-ui
49/49, make test-frontend 33/33, frontend tsc --noEmit clean.

Impact: parent pins move to the two submodule branches; .gitignore gains
.mimosa/; no code outside those modules.

Refs: .task/feature-preview-sniff-fallback.md
2026-09-30 17:51:53 +00:00
weichen f958bfb326 Pin the preview-capability module combination
ci / test (pull_request) Failing after 1m35s
2026-09-30 17:20:41 +00:00
weichen 792c24f1cc Point the task gitlinks at the preview-capability branches 2026-09-30 17:18:28 +00:00
weichen dcb5bc0f72 Merge remote-tracking branch 'origin/main' into fix/followup-hardening 2026-09-30 17:17:46 +00:00
weichen 1381b826ec Pin backend and core gitlinks and record follow-up hardening
Why: two strands land together — (1) the remaining 20 module-level govulncheck advisories against x/crypto v0.37.0 clear to the upstream floor via Backend#25 (19 fixed, GO-2026-5932 unfixed upstream); (2) backend main (daddac8) and core main (cafd9a5) from the parallel cardflow merge were not yet pinned, and backend main no longer built against the Dev-pinned core — pinning the coherent pair keeps main verifiable.
Evidence: combined make test exit 0 at backend daddac8 + core cafd9a5 (backend packages ok, frontend 33/33, ui 37/37, agentcmd ok); backend go test green and govulncheck 0 affected / 0 import-level / 1 module-level; task.sh hardening smoke-verified (drift measurement, identity probe, abandon cleanup all PASS).
Impact: two gitlink pins + task card; no Dev-repo source change; remote branch hygiene (55 merged branches deleted) and global git identity were environment fixes outside the repo.
Refs: .task/fix-followup-hardening.md, Backend PR #25
2026-09-30 17:16:28 +00:00
weichen 9451887c05 Pin cardflow-r1 gitlinks to merged module mains and record PR chain
ci / test (pull_request) Failing after 1m34s
Why: cardflow-r1 组合收尾——五模块 PR 已合入,Dev 指针改钉合入后 main tip(core cafd9a5/documents cb700cf/ui efd87f9/backend 076abfe/frontend 6752b78);任务卡回填 PR 链与自动化缺陷修复记录(死主机 API 基址、compare status 字段不存在)。
Evidence: Dev worktree make test 退出码 0(core/backend ok、frontend 33/33、ui 41/41、agent-command ok)。
Impact: 仅子模块指针 + 任务卡。
Refs: 任务卡 feature/cardflow-r1。
2026-09-30 17:14:33 +00:00
weichen cedf558a18 Merge remote-tracking branch 'origin/main' into feature/cardflow-r1
# Conflicts:
#	modules/backend
#	modules/frontend
#	modules/ui
2026-09-30 17:13:21 +00:00
weichen 641dc6e159 Pin backend, frontend, and ui gitlinks past reachable security advisories
Why: dependency CVE inventory follow-up — backend govulncheck had two reachable vulnerabilities (GO-2026-5004 pgx SQL injection via placeholder confusion, GO-2026-5970 x/text infinite loop via pgx.Connect) and frontend/ui npm audit flagged GHSA-82fw-gwwq-j7x9 (vitest mocker path traversal); all fixed by version bumps merged in the respective repos (Backend#23, Frontend#19, UI#18).
Evidence: gitlinks pinned to backend 41cebd3, frontend af03854, ui daf73be; combined verification make test exit 0 (backend packages ok, frontend 33/33, ui 37/37, agentcmd ok); backend govulncheck now reports 0 reachable (was 2), both frontend repos npm audit clean (was 2 moderate each).
Impact: three gitlink pins + task card only; no Dev-repo source change; vitest stays on 4.1.11 (first fixed release) rather than 5.x.
Refs: .task/fix-dep-vuln-bumps.md
2026-09-30 16:49:56 +00:00
weichen d7f01abe0d Rebuild Dev branch: pin cardflow-r1 module tips on fresh main with final task card
Why: main 二次演进(任务1 合入 PR #79、gitlink 修复)后,旧 Dev 分支整体过时——重建为 main + 五模块卡流 tip + 终版任务卡。
Evidence: 五模块 tip 均已推送(core a64fb5a / backend 1c4b198 / frontend b329de3 / ui 9750395 / documents 7e123e5);make test 全绿(frontend 33/33、ui 41/41、backend 全 ok)。
Impact: 指针 + 任务卡;旧 Dev 分支提交由 force push 取代。
Refs: feature/cardflow-r1。
2026-09-30 16:45:59 +00:00
weichen 4bf572d66a Pin submodule pointers to their remote mains
ci / test (pull_request) Failing after 1m33s
Why: Dev gitlinks lagged behind merged module mains (backend fa494c3,
frontend b067b57, documents f0361f38, plus deps advances); the integrated
build should track each repo's main.

Evidence: make pin advanced all listed submodules; make test exit 0
(frontend 33/33, ui 37/37, backend go test all ok, agent-command ok).

Impact: gitlink bumps only, no source changes.

Refs: housekeeping after chat-process-split-r1 (PR #79)
2026-09-30 16:34:06 +00:00
weichen cd9e1321d4 Merge remote-tracking branch 'origin/main' into feature/chat-process-split-r1 2026-09-30 16:15:47 +00:00
weichen a57688e0fd Bump gitlinks to post-merge submodule tips 2026-09-30 16:15:46 +00:00
weichen 90d77e5123 Restore regressed gitlinks and pin the file-preview proposal
Why: PR #73 merged a branch whose worktree carried stale submodule
pointers, regressing modules/{backend,documents,frontend,ui} on main to
pre-#71 commits; documents also advanced with the file-preview proposal
(PR #23).

Evidence: submodule status now matches each module's main tip
(backend 239cf76, documents 5882448+, frontend fb219e0, ui efa6c69,
core fd44179 unchanged); make test combo verification green.

Impact: composed checkout sees the merged chat-order and proposal work
again; no source changes in this repo beyond pointers and the task card.

Refs: task feature/file-preview-proposal.
2026-09-30 16:03:38 +00:00
weichen 2a49aa7f80 Restore the ui gitlink to its main tip
Why: the origin/main merge recorded a stale ui pointer (c7564791); this
branch verifies against efa6c69 (ui main), which carries the icons the
merged frontend needs.

Evidence: git submodule status shows checkout efa6c69 (ui origin/main);
frontend tsc -b exit 0 and vitest 33/33 against it.

Impact: gitlink update only.

Refs: feature/chat-process-split-r1
2026-09-30 15:54:56 +00:00
weichen b2c90c6201 Merge origin/main into feature/chat-process-split-r1 (docs cards; gitlinks ours) 2026-09-30 15:51:19 +00:00
weichen 175ce7c6da Bump frontend to the post-merge reconciliation commit
Why: frontend 6483757 fixes the tsc breakage left by the main merge and
ports artifact events onto the items stream.

Evidence: tsc -b exit 0; vitest 33/33.

Impact: gitlink update only.

Refs: feature/chat-process-split-r1
2026-09-30 15:47:41 +00:00
weichen 8a06ed1147 Fill task card objectives and verification evidence
ci / test (pull_request) Failing after 31s
Why: card must carry result and verification state before review.
Evidence: targeted behavior checks recorded in the card; bash -n passed.
Impact: documentation only.
Refs: feature-gitea-access-facts
2026-09-30 15:46:24 +00:00
weichen b014fcc9ce Merge remote-tracking branch 'origin/main' into feature/chat-process-split-r1 2026-09-30 15:44:58 +00:00
weichen 89e3b055a4 Bump gitlinks to submodule main-merge commits
Why: task-sync requires a clean tree; both submodule branches now carry
merges of their respective mains (backend 9e694c0, frontend 765789f).

Evidence: git submodule status shows the new SHAs; backend go test ./...
ok after its merge; frontend vitest 32/32 after its merge.

Impact: gitlink update only.

Refs: feature/chat-process-split-r1
2026-09-30 15:44:57 +00:00
weichen 3e2a981d4e Point the task gitlinks at the fix branches 2026-09-30 15:42:52 +00:00
weichen 596d02ce38 Bump frontend and backend for review fixes on chat-process-split-r1
Why: the review of feature/chat-process-split-r1 required untracking the
frontend node_modules symlink, per-turn interleaving of live parts with
tool-call-driven process marking, a long-reply excerpt, and marking
artifact_ref parts as process in the backend.

Evidence: frontend 22a8723 (untrack symlink) + 754ce83 (interleave and
mark); backend ae8e5d0 (artifact process). make test green: frontend
27/27, ui 35/35, backend go test ./... ok.

Impact: parent task branch now points at the reviewed submodule commits;
ready for PR.

Refs: code review of feature/chat-process-split-r1 (2026-09-30)
2026-09-30 15:34:44 +00:00
weichen cffb80f762 Pin the UI contracts mirror sync for cross-session flags
Why: make contracts regenerates modules/ui/src/contracts.ts from Core
as authority; the mirror commit (UI PR #15) must be pinned or the
combined tree stays dirty after make test.

Evidence: UI PR #15 merged on ui main; make test re-run on this tree
below.

Impact: gitlink-only change.

Refs: Core PR #6; UI PR #15; Dev task feature/cross-session-reading.
2026-09-30 15:25:39 +00:00