Commit Graph
79 Commits
Author SHA1 Message Date
weichenandCursor 233dfb54ea Propose the agent stack audit and completion design
Why: The three libraries cannot be reused or recovered independently, and the tested dependency combination is not the one the product builds.
Evidence: Read-only audit at native c6d867c, squad 590fd86, intent 1dbbe81, recorded with file references in docs/records/2026-10-02-agent-stack-audit.md.
Impact: Documents only. No library code or gitlinks change in this commit. Later stages stay separate tasks.
Refs: Dev feature/agent-stack-blueprint
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-02 16:27:37 +00:00
weichen acd6f01c40 Merge pull request 'Record the P4 workflow rulings' (#33) from feature/agent-harness-p4 into main
Merge pull request #33
2026-10-02 01:03:55 +00:00
weichenandCursor 974db6a011 Record the P4 workflow rulings
Why: The harness proposal still said the script decision was deferred, after the implementation chose both declarative workflows and two dynamic forms.
Evidence: The P4 section now states routing order, copy-on-start, step and retry caps, and the script switch.
Impact: Documentation only.
Refs: feature/agent-harness-p4
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 16:22:13 +00:00
weichen 357e3fdb24 Merge pull request 'Propose the agent harness and link it from the roadmap' (#32) from feature/agent-harness-p0 into main 2026-10-01 12:43:26 +00:00
weichenandCursor a3f0b80759 Propose the agent harness and link it from the roadmap
Why: Tool-call history is flattened into assistant text, so the model imitates calls and invents artifact ids. The fix belongs to a shared harness, not another prompt tweak.
Evidence: Proposal 2026-10-01-agent-harness.md records the 2026-10-01 session evidence, the ZCode and Claude Code patterns, and the P0-P4 acceptance.
Impact: Documents only. P0 code lands in the backend on the same branch name. P1-P4 are not implemented here.
Refs: feature/agent-harness-p0
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 12:25:31 +00:00
weichen f3a3a5deb4 Document the base extension roadmap and plugin contract v2
Why: The base must stay unmodified by downstream products, so the roadmap, compatibility window, and plugin contract need a written proposal before further forks.

Evidence: Three proposals under docs/proposals and a short pointer in the plugin development guide.

Impact: Tag commands in the compat proposal are not executed.

Refs: Agent-System-Dev feature/base-extension-roadmap
2026-10-01 10:47:11 +00:00
weichenandCursor a0da588f90 Document the base extension roadmap and plugin contract v2
Why: The base must stay unmodified by downstream products, so the roadmap, compatibility window, and plugin contract need a written proposal before further forks.
Evidence: Three proposals under docs/proposals and a short pointer in the plugin development guide.
Impact: Downstream work follows extension-point requests and a published base version. Tag commands in the compat proposal are not executed.
Refs: .task/feature-base-extension-roadmap.md
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 10:34:30 +00:00
weichen 8ee5d5c467 Merge pull request 'Document project inbox dual view and archive flow (CF3)' (#30) from feature/project-inbox-r1 into main 2026-09-30 19:19:28 +00:00
weichen 1b1489203d Document project inbox dual view and archive flow (CF3)
Why: D48-D51 add the project inbox (archive-to-project, aggregated
project view, project stream); guide needs the user-facing story.
Evidence: usage.md 4.2 gains project inbox bullet; badge note updated.
Impact: docs-only.
Refs: 2026-09-30-card-stream-artifact-unify-project-inbox.md (D48-D52).
2026-09-30 19:18:12 +00:00
weichen 6fdfc19c54 Merge pull request 'Document artifact facade cards and context backfill (CF-A)' (#29) from feature/artifact-unify-r1 into main 2026-09-30 18:42:14 +00:00
weichen 96c8404c5e Document artifact facade cards and context backfill (CF-A)
Why: D46/D47 add inbox facade cards for truncated tool results and
artifact text backfill; guide needs the unified presentation story.
Evidence: usage.md 4.5 gains facade/backfill bullet.
Impact: docs-only.
Refs: 2026-09-30-card-stream-artifact-unify-project-inbox.md (D46/D47).
2026-09-30 18:40:50 +00:00
weichen f5aa687cb1 Merge pull request 'Document card streaming three-tool flow (CF-S)' (#28) from feature/card-stream-r1 into main 2026-09-30 18:21:41 +00:00
weichen 3d2da4eb0b Document card streaming three-tool flow in usage guide
Why: CF-S (D44/D45) adds card_begin/card_append/card_commit; users need
the streaming flow and crash-fallback behavior documented.
Evidence: usage.md cardflow bullet updated to v2 flow.
Impact: docs-only.
Refs: 2026-09-30-card-stream-artifact-unify-project-inbox.md (D44/D45).
2026-09-30 18:19:39 +00:00
weichen 437af31118 Merge pull request 'Propose card stream, artifact unification, and project inbox (D44-D52)' (#27) from feature/cardflow-future-plan into main 2026-09-30 17:45:16 +00:00
weichen 4a69886952 Mark card stream / artifact / project inbox proposal approved (D49 confirmed)
Why: user approved the proposal 2026-09-30 and directed implementation.
Evidence: approval recorded in status line and D49 note.
Impact: docs-only; unlocks CF-S task start.
2026-09-30 17:44:57 +00:00
weichen 67cf52bb77 Propose card stream, artifact unification, and project inbox (D44-D52)
Why: cardflow-r1 deferred three capabilities (card content streaming,
artifact unification, cross-session inbox CF3); user directed 2026-09-30
to implement them, plan first.
Evidence: code survey at Dev R0=d64742c (cardsvc.Update streaming base,
artifact_ref ctxasm gap, activity_cards project_id column reserved).
Impact: reviewable proposal D44-D52 with three-phase task split; no
runtime behavior change yet.
Refs: 2026-09-30-cardflow-and-process-split.md (D39-D43).
2026-09-30 17:39:09 +00:00
weichen cb700cf40b Merge pull request 'Add cardflow proposal (D39-D43) and update guides' (#26) from feature/cardflow-r1 into main 2026-09-30 17:12:10 +00:00
weichen 7e123e5688 Record cardflow-r1 verification: 9/9 dual-state walkthrough plus per-layer evidence
Why: CF2 验收剧本(双态零页面走查)完成;证据入任务主记录。
Evidence: 无头 Chromium 9/9 通过(过程折叠不回退、锚点/展开全文/收件箱卡/D32 定位);各层测试与组合构建见记录。
Impact: 文档。
Refs: Dev 任务卡 feature/cardflow-r1。
2026-09-30 16:39:47 +00:00
weichen 4a55832e9d Add cardflow-and-process-split proposal (D39-D43) and update guides
Why: 卡流机制与中栏过程/回复分离的用户五项裁定(2026-09-30)入库:显式路由、卡片权威+引用回填、默认关、CF0 先行、完备性剧本修订;Cursor 式过程折叠决策(D41)。
Evidence: 提案 docs/proposals/2026-09-30-cardflow-and-process-split.md;usage.md 增过程折叠/长回复折叠/长结果进卡片三节;plugin-development.md 增通道外溢验收项(06 §2.7)。
Impact: 文档;决策编号 D39–D43(D34–D38 为认证提案预留段)。
Refs: Dev 任务卡 feature/cardflow-r1。
2026-09-30 16:39:47 +00:00
weichen 1f3e7ab441 Merge pull request 'Record the user adjudication of the preview decision points' (#25) from feature/file-preview-adjudicate into main 2026-09-30 16:15:59 +00:00
weichen 07a6acfc21 Ignore local mimosa hook status artifacts 2026-09-30 16:15:59 +00:00
weichen 4f3b22d601 Record the user adjudication of the preview decision points
Why: D1-D5 were settled by the user (deps in, full-fidelity pptx, OG
card plus optional embed, dual placement); the proposal status must
reflect that before implementation starts.

Evidence: decision section rewritten with the settled choices and the
accepted trade-off on D2 (fall back to outline level with evidence only
if no Vite-compatible renderer builds).

Impact: documentation only.

Refs: task feature/file-preview-caps.
2026-09-30 16:15:41 +00:00
weichen f0361f3856 Merge pull request 'Record Gitea access facts in AGENTS.md' (#24) from feature/gitea-access-facts into main 2026-09-30 16:08:29 +00:00
weichen baf8f22aa7 Record Gitea access facts in AGENTS.md
Why: agents rediscovered Gitea hosts and credential locations from
scratch each session, and the retired git-panel host kept failing with
TLS broken-pipe errors before the right host was recalled.

Evidence: curl git-home...:30319/api/v1/version with token from
~/.secrets/gitea -> {"version":"1.27.3"}; ssh -p 31411 git@git-ssh...
(BatchMode) -> "Hi there, weichen!" with key ~/.ssh/home_gitea (ED25519,
SHA256:GYXaOXIMeloQ1fKSfdJ/ndgPQzs/Ix7Hk62ekfkfQ20). Same section already
merged in Agent-System-Dev (PR #73).

Impact: AGENTS.md only; records hosts and credential locations, no
secret values (baseline hard boundary 2).

Refs: Agent-System-Dev PR #73
2026-09-30 16:06:17 +00:00
weichen ffb2aa7cc4 Merge pull request 'Propose file previews plus reserved delete and fs-tool capabilities' (#23) from feature/file-preview-proposal into main 2026-09-30 16:03:25 +00:00
weichen f179de8847 Propose file previews plus reserved delete and fs-tool capabilities
Why: the user asked for a reviewable plan covering (a) previews for
office/image/markdown/code files and web links, docked in the right rail
or the system overlay, (b) keeping artifact deletion as a capability with
no UI entry, and (c) implementing fs tools without enabling them.

Evidence: the proposal assesses each idea against current architecture,
defines the FilePreview capability component with a format matrix and
lazy-loaded office parsers, the SSRF-guarded url-preview endpoint, the
gated sandboxed fs tool family, four delivery phases with acceptance
criteria, and decision points D1-D5 for the user.

Impact: documentation only; implementation follows in a separate task
after D1-D5 are settled.

Refs: task feature/file-preview-proposal; extends 2026-09-30
ui-redesign-and-auth.md section 9.
2026-09-30 16:03:13 +00:00
weichen 5882448237 Merge pull request 'Record the chat-order and artifact-files fix round in the proposal' (#22) from feature/chat-order-artifact-files into main 2026-09-30 15:23:56 +00:00
weichen 8e2657c824 Record the chat-order and artifact-files fix round in the proposal
Why: the delivery log for the 2026-09-30 afternoon fixes (part-order
fidelity, download channel, artifact file management, settings cascade)
belongs with the redesign proposal it extends, including the two durable
conventions it produced.

Evidence: adds section 9 with root causes, the render-order-equals-
storage-order rule, the compound-selector lesson for @ui shells on host
generic classes, and the full verification record (vitest/go suites plus
the 12/12 headless run).

Impact: future UI work inherits both conventions without rediscovering
the failure modes.

Refs: task feature/chat-order-artifact-files.
2026-09-30 15:22:33 +00:00
weichen bf0988b2b2 Merge pull request 'Propose layered cross-session reading with on-demand peer tools' (#21) from feature/cross-session-reading into main 2026-09-30 14:58:35 +00:00
weichen 7abfae1f6b Propose layered cross-session reading with on-demand peer tools
Why: parallel conversations in one project cannot see each other's
transcripts, which already caused duplicate delivery of the same
requirement (records/2026-09-30-lesson-parallel-session-duplication.md);
artifacts/knowledge are already project-shared, so transcripts are the
only missing channel.

Evidence: permission formula and gate matrix designed fail-closed
(project switch default off; per-conversation outbound/inbound flags
default open/shared); tool design lands the "conversation history
search" builtin planned in skeleton design 4.8.

Impact: documents only; implementation follows in core/backend/frontend
under Dev task feature/cross-session-reading.

Refs: proposals/2026-09-29-system-skeleton-design-and-plan.md 4.8/4.9;
records/2026-09-30-lesson-parallel-session-duplication.md.
2026-09-30 14:58:15 +00:00
weichen 2c238af241 Merge pull request 'Record the UI capability platform delivery' (#20) from feature/ui-capability-platform into main 2026-09-30 14:23:19 +00:00
weichen 7052297545 Record the UI capability platform delivery (icons/avatars/settings)
Why: proposal must record the 2026-09-30 decision (avatars, cards,
settings as base capabilities plugins reuse) and where it landed.

Evidence: feature/ui-capability-platform across core (avatar
vocabulary), ui (shared components + full vocabulary renderers),
frontend (consumption); 35+ tests and headless walk green.

Impact: status line only.
2026-09-30 14:22:37 +00:00
weichen fb72859505 Merge pull request 'Record admin-issued accounts decision and R2 delivery' (#19) from feature/auth-admin-accounts into main 2026-09-30 11:17:06 +00:00
weichen 924c3033a9 Record the admin-issued accounts decision and R2 delivery
Why: the user replaced the stage-2 email self-registration sketch with
admin-issued accounts (2026-09-30): no self registration, admin sets
initial passwords, first login after creation or reset forces a change.

Evidence: R2 landed on feature/auth-admin-accounts (migration v10,
auth/session APIs, CLI user subcommands, login page + forced change
gate + admin user management); store/e2e tests and a full headless
journey on the real binary are green (see that task's PR).

Impact: proposal status line only; section 5.1 sketch superseded.
2026-09-30 11:15:41 +00:00
weichen 9d4738142b Merge pull request 'feature/tavily-search-tool' (#18) from feature/tavily-search-tool into main 2026-09-30 11:00:28 +00:00
weichen b4546fee1b Move WebSearch to ported in the catalog disposition table
Why: the backend now registers tavily_search/web_search via
Agent-Native's TavilyProvider, so the guide's not-ported reason no
longer holds.

Evidence: backend PR records the registration and runtime checks.

Impact: table row updated, library count 44 -> 46.

Refs: feature/tavily-search-tool task card.
2026-09-30 11:00:11 +00:00
weichen 1774cfeefa Merge pull request 'Record option A acceptance and R1 execution (UI proposal)' (#17) from feature/task-sidebar-r1 into main 2026-09-30 10:45:59 +00:00
weichen 151925b9ee Record option A acceptance and R1 execution in the UI proposal
Why: the user picked option A (task-centric) after reviewing the demos;
the proposal status must reflect the decision and where R1 landed.

Evidence: R1 delivered on feature/task-sidebar-r1 across core/backend/
frontend (contract flags, migration v8, task list APIs, TaskSidebar);
headless walk and test suites green there.

Impact: status line only; no design content change.
2026-09-30 10:45:57 +00:00
weichen ea4fd721ea Merge pull request 'feature/prompt-catalog-coverage' (#16) from feature/prompt-catalog-coverage into main 2026-09-30 10:45:26 +00:00
weichen fd4863899a Add the porting criterion and full catalog disposition table
Why: deciding what enters the library from an external prompt catalog
needs a stated rule (carrier mechanism or future slot) and an auditable
per-item disposition, otherwise coverage drifts by reviewer taste.

Evidence: table maps every Claude Code catalog entry to a library module
or an explicit not-ported reason.

Impact: guide gains section 9; no code change.

Refs: feature/prompt-catalog-coverage task card.
2026-09-30 10:45:15 +00:00
weichen 761f8bec4e Merge pull request 'feature/prompt-library' (#15) from feature/prompt-library into main 2026-09-30 10:36:54 +00:00
weichen 02198f1ceb Add the prompt library design and extension guide
Why: the prompt system's design rationale (layering, the eight module
patterns, trigger semantics, override chain) needs to live with the
docs so future prompt work follows it instead of re-deriving it.

Evidence: guide content distilled from the implemented library and the
Claude prompt catalog analysis recorded in the task card.

Impact: new docs/guides/prompt-library-design.md; no code change.

Refs: feature/prompt-library task card.
2026-09-30 10:36:40 +00:00
weichen ab14f62534 Merge pull request '界面重构与多用户认证设计提案 + HTML demo(方案 A/B/C + 认证)' (#14) from feature/ui-redesign-proposals into main 2026-09-30 10:02:04 +00:00
weichen e601b253bc Add UI redesign and auth design proposal with HTML demos
Why: current UI scatters creation entries (project + at sidebar top-left,
new session at bottom-left), has no user/tenant surfaces, and the project
tree forces per-project navigation; the system targets multi-user
multi-tenant operation.

Evidence:
- Studied zai-org/ZCode desktop layout (WorkspaceShellLayout, WorkspaceSidebar,
  DESIGN.md) and mapped transferable patterns (single New-Task entry,
  organize-by views, sidebar account footer) with repo file citations.
- Three layout proposals (task-centric / activity rail / project portal) with
  comparison table and recommendation A; auth stage-2 design (orgs,
  memberships, server sessions) with SSE cookie upgrade removing ?key=.
- Five static demos (index + A/B/C + auth) verified headless: DOM layout
  assertions (column widths, view switching, screen switching), clipping and
  contrast QA clean, zero console errors, light/dark themes render.

Impact: documents only; no code change. Demos double as the R4 design-token
target palette. Implementation proceeds only after direction is approved.

Refs: docs/proposals/2026-09-30-ui-inbox-command-workspace.md (D25-D33),
docs/proposals/2026-09-30-dual-tier-storage-and-multitenancy.md (D17-D24)
2026-09-30 09:59:40 +00:00
weichen 8b63607211 Merge pull request 'Update the usage guide for inbox, command bus, and workspaces; record T5 verification' (#13) from feature/polish-r1 into main 2026-09-30 08:17:57 +00:00
weichen 3a773139d0 Record T5 polish verification with the zero-page walkthrough
Why: T5 acceptance evidence - the D31 conversation-completeness walkthrough on a fresh instance plus tidy/badge and guide updates.
Evidence: walkthrough 12/12 PASS (fresh binary, empty data dir, conversation-only driving end to end); ui StatusLamp dual-encoding assertions; frontend 9/9 + build.
Impact: docs/records only.
Refs: docs/proposals/2026-09-30-ui-inbox-command-workspace.md T5; task card feature/polish-r1
2026-09-30 08:17:53 +00:00
weichen 7da2b192d2 Update the usage guide for inbox, command bus, and workspaces; record T5 verification
Why: T2-T4 changed the interaction foundation (pure-inbox rail, four-entrance command bus, overlay workspaces) and the guide still described the classic tabs; T5 acceptance also requires the verification record with the zero-page walkthrough.
Evidence: zero-page walkthrough 12/12 PASS on a fresh real binary (fresh data dir: empty instance -> project/conversation -> slash commands -> #upload card lifecycle -> card action receipts -> tidy -> HITL block+resolve -> button-entrance dispatch -> plugin workspace declaration -> artifacts -> four-entrance audit); StatusLamp shape+color dual encoding asserted by ui suite; combo make test at pinned heads.
Impact: usage guide sections 4.2-4.7/5/6.2/7 rewritten; new T5 record; no code change.
Refs: docs/proposals/2026-09-30-ui-inbox-command-workspace.md T5; task card feature/polish-r1
2026-09-30 08:17:26 +00:00
weichen d5864d1eb9 Merge pull request 'Record T4 workspaces verification results' (#12) from feature/t4-workspaces-verification into main 2026-09-30 08:09:08 +00:00
weichen b7a6bd9d5e Record T4 workspaces verification results
Why: T4 acceptance requires a verification record in this repo before the Dev combo pin.
Evidence: backend full sweep green with TestWorkspacesOverlay; ui 23/23 (OverlayHost semantics); frontend tsc+vitest+build; example plugin workspace/command assets JSON-validated; combo make test at pinned heads.
Impact: docs/records only.
Refs: docs/proposals/2026-09-30-ui-inbox-command-workspace.md T4; task card feature/workspaces-r1
2026-09-30 08:09:04 +00:00
weichen ba52c7bb0a Merge pull request 'Record T3 command-bus verification results' (#11) from feature/t3-command-bus-verification into main 2026-09-30 07:55:43 +00:00