Commit Graph
78 Commits
Author SHA1 Message Date
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 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
weichen 072d62be56 Pin cross-session reading delivery across four modules
Why: integrate the approved cross-session reading feature (proposal +
core contract + backend gate/tools/UI) into the Dev composition.

Evidence: subrepo PRs all merged on their mains — Documents #21
(bf0988b), Core #6 (fd44179), Backend #18 (cb7f79d), Frontend #16
(9c87953); combined make test to follow on this exact tree before the
Dev PR is requested.

Impact: gitlink-only change plus task card; no Dev-repo code touched.

Refs: modules/documents/docs/proposals/2026-09-30-cross-session-reading.md;
task card .task/feature-cross-session-reading.md.
2026-09-30 15:22:39 +00:00
weichen 0bf2f9becc Advance pins to merged platform heads
ci / test (pull_request) Failing after 1m50s
2026-09-30 14:23:38 +00:00
weichen ec48bb49b7 Advance pins to rebased capability heads 2026-09-30 14:22:59 +00:00
weichen 4908405814 Advance core pin to rebased avatar head 2026-09-30 14:22:26 +00:00
weichen 8793bc97d5 Land the UI capability platform across repos (gitlinks + housekeeping)
Why: R-platform spans core/ui/frontend/documents; also honors the
agreed housekeeping item — .env.dev must be gitignored (it holds live
API keys).

Evidence: make test full suite green on this head (exit 0); headless
walk on the real binary: avatar columns, settings shell with badges,
admin-row avatars, zero console errors.

Impact: capability layer only, no behavior changes. Merge order:
core -> ui -> frontend -> documents -> this PR.

Refs: proposal 2026-09-30-ui-redesign-and-auth.md (capability platform)
2026-09-30 14:19:32 +00:00
weichen 73b2802b69 Advance frontend pin to merged R4 head
ci / test (pull_request) Failing after 1m37s
2026-09-30 12:43:42 +00:00
weichen 599a6448d4 Land the R4 visual refresh across repos (gitlinks + task card)
Why: R4 spans ui (token scale) and frontend (icon set + restyle); the
Dev repo advances pointers and the task record.

Evidence: make test full suite green on this head (exit 0); headless
journey on the real binary across both themes with zero console errors
and zero leftover emoji glyphs.

Impact: pure visual layer. Merge order: ui -> frontend -> this PR.

Refs: proposal 2026-09-30-ui-redesign-and-auth.md (R4)
2026-09-30 12:41:45 +00:00
weichen 66eae89017 Advance frontend pin to merged PR #12 head
ci / test (pull_request) Failing after 30s
2026-09-30 11:17:12 +00:00
weichen a633f76a99 Merge origin/main (tavily-search sync; backend/documents rebased) 2026-09-30 11:15:49 +00:00
weichen e6ad8f06ac Land admin-issued auth R2 across repos (gitlinks + task card)
Why: R2 spans backend (migration v10, auth/session APIs, CLI user
subcommands), frontend (login page, forced change gate, admin user
management), documents (decision record).

Evidence: make test full suite green on this head (exit 0); headless
journey on the real binary with --auth on covers admin bootstrap,
first-login forced change for created and reset passwords, non-admin
menu gating, API-key login, logout.

Impact: auth-enabled deployments gain password login and admin account
management; embedded no-auth mode unchanged. Merge order: backend ->
frontend -> documents -> this PR.

Refs: proposal 2026-09-30-ui-redesign-and-auth.md (R2 admin-issued)
2026-09-30 11:15:06 +00:00
weichen 1634b42df0 Pin the tavily-search combo (tool wiring + prompt modules + guide row)
Why: give the catalog's WebSearch prompt a carrier by registering
Agent-Native's Tavily tools behind settings, with library copy on top.

Evidence: backend 16 packages green incl. 4 new search tests; live
boot checks for both unconfigured and configured states.

Impact: pins backend 0d55ebb, documents b4546fe.

Refs: feature/tavily-search-tool task card.
2026-09-30 11:00:16 +00:00
weichen b1af58bd78 Pin the catalog-coverage combo (4 more portable prompts + guide section)
Why: close the coverage gap against the user's take-everything-portable
bar and record the porting rule.

Evidence: backend 16 packages green at 44-module floor; documents guide
section 9 carries the full disposition table.

Impact: pins backend ed036cb, documents 60bb2ed.

Refs: feature/prompt-catalog-coverage task card.
2026-09-30 10:49:05 +00:00
weichen 8fcbd96c15 Advance documents pin to merged PR #17 head
ci / test (pull_request) Failing after 1m53s
2026-09-30 10:46:06 +00:00
weichen 6345f15ba3 Merge origin/main (prompt-library sync; submodules rebased) 2026-09-30 10:44:06 +00:00
weichen fd5f1960e7 Land the task-centric sidebar R1 across repos (gitlinks + task card)
Why: R1 implementation spans core (Conversation flags), backend
(migration v8, task list APIs, /api/me), frontend (TaskSidebar rebuild),
ui (contracts mirror), documents (proposal acceptance record); the Dev
repo advances the pointers and the task record.

Evidence:
- make test full suite green on this head (core+backend+frontend+ui+
  agent-command, exit 0) before advancing gitlinks.
- Headless walk on the built binary: cross-project task open, pinned-
  first ordering, archive hide/show/restore, new-task flow, account
  footer identity, zero console errors.

Impact: UI restructure per approved option A; no mid-column or inbox
changes (D25/D26/D31 intact). Merge order: core -> backend -> ui ->
frontend -> documents -> this PR.

Refs: proposal docs/proposals/2026-09-30-ui-redesign-and-auth.md (option A, R1)
2026-09-30 10:38:12 +00:00
weichen 8f019384cf Record the sync checkpoint
ci / test (pull_request) Failing after 1m33s
2026-09-30 10:37:01 +00:00
weichen ca2ff2d6a4 Pin the prompt-library combo across core, backend, frontend and documents
Why: prompts move from hardcoded strings to a layered embed library
with trigger-based assembly, user overrides and observability.

Evidence: composite make test green over this combo; runtime check on a
live mock server (40 modules, 7 layers, override round-trip, skill
command routing); task card records results and remaining items.

Impact: pins core 0cb0a40, backend 4938bd0 (with its vendored core
gitlink), frontend 4abf13d, documents 2715ed6.

Refs: feature/prompt-library task card; design guide in Documents.
2026-09-30 10:36:12 +00:00