Prechádzať zdrojové kódy

docs: close tool invocation mode todos

Problem: Todo 46 and its parity correction remained open after both runtime modes passed specification and quality gates.

Risk: direct transcript persistence across reconnect remains intentionally deferred to Todo 49; bounded event scheduling remains Todo 48.
zhenyu.hu 2 týždňov pred
rodič
commit
56184e7980

+ 5 - 1
docs/plans/todo-46-configurable-tool-invocation-mode.md

@@ -1,6 +1,10 @@
 # Todo 46 Configurable Tool Invocation Mode Plan
 
-**Status:** in_progress
+**Status:** done
+
+## Result
+
+Added request-level `dual_agent` and `chat_agent_tools` modes. Direct mode sends the same enabled registry schemas to ChatAgent, executes provider-resolved calls through the shared kernel, preserves visible content plus ordered assistant/tool transcripts, and records mode in audits/session config. Default dual behavior remains backward compatible. Final verification: `217 passed`, one existing warning.
 
 ## Review Update
 

+ 5 - 1
docs/plans/todo-46.1-mode-parity-and-duplicate-call-safety.md

@@ -1,6 +1,10 @@
 # Todo 46.1 Mode Parity and Duplicate Call Safety Plan
 
-**Status:** in_progress
+**Status:** done
+
+## Result
+
+Added pre-side-effect duplicate ID rejection, ordered concurrent direct execution, and symmetric event-budget enforcement for direct and dual modes. Specification and quality gates passed with no Critical/Important findings.
 
 ## Goal
 

+ 2 - 2
docs/plans/todos.md

@@ -82,8 +82,8 @@
 | 45.5 | done | `docs/plans/todo-45.5-composed-schema-and-copy-failures.md` | Prevent unrelated composed-schema branches from triggering fallback and normalize argument snapshot failures without exposing validator internals. | Branch-aware composed validation and immutable validation summaries pass direct reproductions. |
 | 45.6 | done | `docs/plans/todo-45.6-mixed-validation-and-handler-snapshot.md` | Require every validation failure to be missing-only before fallback and contain arbitrary handler payload serialization exceptions. | Mixed validation skips fallback; arbitrary handler snapshot exceptions become stable `HANDLER_ERROR`. |
 | 45.7 | done | `docs/plans/todo-45.7-structured-incomplete-mixed-validation.md` | Prevent an explicit structured `complete=False` flag from bypassing substantive validation failures. | Structured incomplete plus substantive errors skips fallback; bounded final gate APPROVED. |
-| 46 | in_progress | `docs/plans/todo-46-configurable-tool-invocation-mode.md` | Add `dual_agent` and `chat_agent_tools` runtime modes on the shared event kernel. | Runtime tests prove mode-specific requests, direct execution, valid provider history, and dual-mode regression safety. |
-| 46.1 | in_progress | `docs/plans/todo-46.1-mode-parity-and-duplicate-call-safety.md` | Reject repeated provider call IDs before side effects, align direct multi-call concurrency with dual mode, and enforce the same event budget in both modes. | Duplicate IDs never re-execute handlers; direct calls overlap while preserving reply order; dual ignores text events after budget exhaustion. |
+| 46 | done | `docs/plans/todo-46-configurable-tool-invocation-mode.md` | Add `dual_agent` and `chat_agent_tools` runtime modes on the shared event kernel. | Both modes share registry/kernel/results while preserving mode-specific protocol and valid transcripts; full suite passes (`217 passed`, one existing warning). |
+| 46.1 | done | `docs/plans/todo-46.1-mode-parity-and-duplicate-call-safety.md` | Reject repeated provider call IDs before side effects, align direct multi-call concurrency with dual mode, and enforce the same event budget in both modes. | Duplicate IDs are rejected before side effects; direct batches overlap with stable order; dual/direct budgets are symmetric; final gates pass. |
 | 47 | pending | `docs/plans/todo-47-built-in-event-plugins.md` | Add terminate-session, device-volume, schedule, and web-search as built-in plugins on the generic event kernel. | Plugin contract tests cover valid, ambiguous, invalid, idempotent, and failure results for all four events. |
 | 48 | pending | `docs/plans/todo-48-parallel-event-batches.md` | Execute multiple flat events with bounded parallelism, failure isolation, aggregation, and a terminal barrier. | Runtime tests prove independent concurrency, stable result order, isolated failures, and termination after sibling completion or timeout. |
 | 49 | pending | `docs/plans/todo-49-tool-mode-ui-session-restore.md` | Add UI mode selection, workspace/session restoration, and clear EventAgent applicability feedback. | Static/WebSocket tests prove requests, snapshots, loaded sessions, and audit context preserve the selected mode. |