TauriTavern/docs/Agent
Darkatse f76139f961 feat(agent): Agent Phase 1 runtime foundation
- Introduce the Agent domain model, run/workspace/checkpoint repositories,
and a file-backed workspace store with event journaling.

- Wire the runtime service into Tauri commands and expose the frontend Agent
API for starting, observing, cancelling, reading, and committing runs.

- Derive workspaces from stable chat identity while keeping each run isolated,
and make unsupported Phase 1 paths fail fast.

- Document the Agent architecture, API contract, workspace model, LLM gateway,
tool/MCP boundaries, and implementation plan.
2026-04-26 14:28:08 -04:00
..
LlmGateway.md feat(agent): Agent Phase 1 runtime foundation 2026-04-26 14:28:08 -04:00
McpSkill.md feat(agent): Agent Phase 1 runtime foundation 2026-04-26 14:28:08 -04:00
ProfilesAndPreset.md feat(agent): Agent Phase 1 runtime foundation 2026-04-26 14:28:08 -04:00
README.md feat(agent): Agent Phase 1 runtime foundation 2026-04-26 14:28:08 -04:00
RunEventJournal.md feat(agent): Agent Phase 1 runtime foundation 2026-04-26 14:28:08 -04:00
TestingStrategy.md feat(agent): Agent Phase 1 runtime foundation 2026-04-26 14:28:08 -04:00
ToolSystem.md feat(agent): Agent Phase 1 runtime foundation 2026-04-26 14:28:08 -04:00
Workspace.md feat(agent): Agent Phase 1 runtime foundation 2026-04-26 14:28:08 -04:00

TauriTavern Agent Detail Docs

本目录保存 Agent 框架的细节设计文档。高层入口仍保留在 docs/ 根目录:

  1. docs/AgentArchitecture.md:系统边界、分层、数据流。
  2. docs/AgentContract.md:不可破坏的不变量与 fail-fast 约束。
  3. docs/AgentImplementPlan.md:分阶段实施计划与验收标准。

细节文档

文档 内容
Workspace.md Workspace、Artifact、Checkpoint、commit/rollback 语义
RunEventJournal.md Run Event、状态机、订阅、恢复、取消与审批
ProfilesAndPreset.md Agent Profile、Preset agent schema、ContextFrame、Plan Policy
ToolSystem.md ToolSpec、ToolResult、Tool Registry、Policy、审批与 Legacy ToolManager 边界
LlmGateway.md provider-agnostic LLM gateway 与现有 ChatCompletionService 的复用边界
McpSkill.md MCP 独立集成、Skill 渐进披露、安全边界
TestingStrategy.md Domain/Application/Frontend/Security/Performance 测试矩阵

进度跟踪

实时开发进度不写在本目录;请更新 docs/CurrentState/AgentFramework.md。