You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -218,7 +224,8 @@ All options are validated at startup via `IValidateOptions` implementations.
218
224
## Current Scope
219
225
220
226
- The shared tooling layer is permission-aware across the runtime.
221
-
- The current runtime includes multi-turn provider-backed tool execution with durable conversation history.
227
+
- The current runtime includes multi-turn provider-backed tool execution with durable conversation history and session-backed prompt replay.
228
+
- Agent-driven tool calls flow through the same approval and allowlist enforcement path used by direct tool execution, including caller-aware interactive approval behavior.
222
229
- Operational commands support stable JSON output via `--output-format json`, which makes them useful in scripts and automation.
223
230
- The embedded server exposes local JSON and SSE endpoints for prompts, sessions, sharing, status, and doctor flows.
Copy file name to clipboardExpand all lines: docs/architecture.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ Test projects: **UnitTests**, **IntegrationTests**, **MockProvider**, **ParityHa
40
40
4.**`SharpClawAgentBase`** delegates to **`AgentFrameworkBridge.RunAsync`**, which drives **`ProviderBackedAgentKernel`** (streaming `IModelProvider`, auth checks, **`ProviderExecutionException`** on hard failures).
41
41
5. Turn completion updates session, checkpoints as implemented in **`ConversationRuntime`**, publishes events via **`IRuntimeEventPublisher`**.
42
42
43
-
**Note:**`AgentRunContext` carries **`IToolExecutor`**, but the current **`AgentFrameworkBridge`** path does not attach SharpClaw tools to the Microsoft Agent Framework chat loop; **`AgentRunResult.ToolResults`** is empty in that bridge. Tools are still fully usable via **`IToolExecutor`** (tests and parity harness call it directly).
43
+
**Note:**`AgentRunContext` carries **`IToolExecutor`**, and the current **`AgentFrameworkBridge`** path advertises the resolved tool set to the provider, executes tool calls through the permission-aware executor, and records tool results in the agent run result. Prompt references and tool approvals respect the caller's normalized interactivity mode.
Copy file name to clipboardExpand all lines: docs/runtime.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ The agent stack is described in [agents.md](agents.md).
31
31
32
32
## Context assembly
33
33
34
-
**`PromptContextAssembler`** pulls workspace/session-aware data (skills registry, memory hooks, git context as wired today) into the prompt path before the agent runs.
34
+
**`PromptContextAssembler`** pulls workspace/session-aware data (skills registry, todo state, memory hooks, git context as wired today) into the prompt path before the agent runs.
35
35
36
36
It also includes a compact diagnostics summary from **`IWorkspaceDiagnosticsService`**, which currently surfaces configured diagnostics sources and build-derived findings for .NET workspaces.
37
37
@@ -73,7 +73,9 @@ The parity layer adds several runtime-owned services:
73
73
-**`IAgentCatalogService`** — overlays configured specialist agents on top of built-in agents
74
74
-**`IConversationCompactionService`** — creates durable session summaries stored in session metadata
75
75
-**`IShareSessionService`** — creates and removes self-hosted share snapshots
76
-
-**`IHookDispatcher`** — executes configured hook processes for turn/tool/share/server events
76
+
-**`IHookDispatcher`** — executes configured hook processes for turn/tool/share/server events and exposes hook inspection/testing
77
+
-**`ITodoService`** — persists session and workspace todo items under session metadata and `.sharpclaw/tasks.json`
78
+
-**`IWorkspaceInsightsService`** — reconstructs durable usage, cost, and execution stats from persisted event logs
77
79
78
80
These services are intentionally small and runtime-owned rather than separate orchestration subsystems.
0 commit comments