Commit Graph
26 Commits
Author SHA1 Message Date
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
weichen 6f541db72d Record T3 command-bus verification results
Why: T3 acceptance requires a verification record in this repo before the Dev combo pin.
Evidence: backend 15 pkgs ok incl. new cmdbus suite and danger-confirm e2e (dispatch -> confirm card -> action -> committed -> audit query ordered); ui 18/18; frontend 9/9; combo make test at pinned heads.
Impact: docs/records only.
Refs: docs/proposals/2026-09-30-ui-inbox-command-workspace.md T3; task card feature/command-bus-r1
2026-09-30 07:55:39 +00:00
weichen ad87c9334e Merge pull request 'Record T2 inbox verification results' (#10) from feature/t2-inbox-verification into main 2026-09-30 07:34:45 +00:00
weichen 18bf3bf8e5 Record T2 inbox verification results
Why: T2 acceptance requires a verification record in this repo before the Dev combo pin.
Evidence: backend 14 pkgs ok incl. cardsvc suite; real-binary mock #upload e2e (2 cards, action receipt, pin, dismiss, idempotent re-action); ui 13/13; frontend 9/9; combo make test+build PASS.
Impact: docs/records only.
Refs: docs/proposals/2026-09-30-ui-inbox-command-workspace.md T2; task card feature/inbox-r2
2026-09-30 07:34:33 +00:00
weichen 210b492e02 Merge pull request 'Record T1 verification results' (#9) from feature/core-cards-commands-r1 into main 2026-09-30 06:27:15 +00:00
weichen 4348d4ebc4 Record T1 verification results
Why: Delivery gate requires a verification record with per-case PASS evidence
  for the T1 contract task before requesting review.

Evidence: record covers core/agent-command/frontend/ui suites, combo test and
  the additive-compatibility check; contract change list enumerated.

Impact: Documentation only.

Refs: Dev task feature/core-cards-commands-r1
2026-09-30 06:27:15 +00:00
weichen 023daeffaa Merge pull request 'Add UI foundation proposal (inbox, command bus, workspaces)' (#8) from feature/ui-foundation-r0 into main 2026-09-30 05:48:38 +00:00
weichen cf801f25d7 Add UI foundation proposal (inbox, command bus, workspaces)
Why: Record the approved design for the interaction foundation phase — inbox/
  command-bus/workspace mechanisms sink into the base system, domain views stay
  plugin territory (target-system strategy), decisions D25-D33.

Evidence: proposal covers background, five UI principles, dialogue-completeness
  P0 constraint, module/repo split (Agent-System-UI, Agent-Command), contract
  sketch, task sequence T0-T5 and acceptance criteria.

Impact: Becomes the design baseline for T0-T5 tasks across five repos.

Refs: Agent-System-Dev feature/ui-foundation-r0
2026-09-30 05:48:38 +00:00
weichen 8bc875e7ab Merge pull request 'Record the parallel-duplication lesson, follow-ups, and startup config usage' (#7) from feature/duplication-lesson-records into main 2026-09-30 04:44:32 +00:00
weichen faeed84f01 Record the parallel-duplication lesson, follow-ups, and startup config usage
Why: boot-config 重复交付事故须按 documentation.md 经验闭环沉淀:根因与
检查动作入经验条目、处置与后续项入过程记录;使用指南启动节仍是纯 CLI
旧文案,需反映已上线配置面(PR#4/PR#12)。

Evidence: 经验条目按 lesson 模板(candidate 状态、事故时间线与完整 SHA
回链);usage §1.3 与已合入实现实测一致(config explain 逐字段来源与
DSN 脱敏、serve --config envs/dev.json 落 data-dev)。

Impact: docs/records/ 新增 lesson-parallel-session-duplication 与
boot-config-followups 两条;docs/guides/usage.md §1.3 重写为四源合并 +
多环境启动说明;无代码影响。

Refs: Agent-System-Backend PR#4(66b4bbf5)与 PR#5(8270acf5,已关闭留
差异清单);本仓 PR#6(配置面设计);Agent-System-Dev PR#12(a58f85e)。
2026-09-30 04:44:08 +00:00
weichen 84b3421b12 Merge pull request 'Design the startup configuration surface and instance conventions' (#6) from feature/config-surface into main 2026-09-30 04:15:04 +00:00
weichen 9b761245b2 Merge pull request 'Record the restore drill: safety net verified, chain gap closed' (#5) from feature/restore-drill into main 2026-09-30 04:03:24 +00:00
weichen 220513825e Merge pull request 'Archive the commit-level SHA maps into the records' (#4) from feature/archive-sha-maps into main 2026-09-30 03:54:59 +00:00
weichen 2ec3e509b2 Merge pull request 'Record the empty-list and shared-checkout delivery lessons' (#3) from feature/lessons-2026-09-30 into main 2026-09-30 03:48:33 +00:00
weichen 5280666dd8 Merge pull request 'Record the 2026-09-30 commit history migration' (#2) from feature/history-migration-record into main 2026-09-30 03:16:15 +00:00
weichen b183511393 Merge pull request 'Adopt the task-startup gate and commit format in AGENTS.md' (#1) from feature/entry-docs-gate into main 2026-09-30 03:15:24 +00:00