From 02be67b069ebaefa27d0cb85279b9a8dd6d0eda3 Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Fri, 3 Jul 2026 13:33:06 -0700 Subject: [PATCH] =?UTF-8?q?docs(migration):=20C3=20execution=20corrections?= =?UTF-8?q?=20=E2=80=94=20Microcompact=20not=20crate-superseded,=20unknown?= =?UTF-8?q?-tool=20already=20done?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Claude-Session: https://claude.ai/code/session_013uVSkcdR2eP7hW4xm54wb4 --- .../CONTINUATION-2026-07.md | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/docs/tinyagents-full-migration-plan/CONTINUATION-2026-07.md b/docs/tinyagents-full-migration-plan/CONTINUATION-2026-07.md index e92bfe3fe..cada56cfe 100644 --- a/docs/tinyagents-full-migration-plan/CONTINUATION-2026-07.md +++ b/docs/tinyagents-full-migration-plan/CONTINUATION-2026-07.md @@ -184,11 +184,20 @@ The importer (`session_import/`) already proves shape parity. Execute: once), then install crate `BudgetMiddleware`/`BudgetLimits`; delete local `CostBudgetMiddleware` + `turn_subagent_usage.rs` task-local (206) in favour of `RunTree` rollup. -3. Delete `CacheAlign` + `Microcompact` middlewares (crate-superseded, - warn-only); fold `PromptCacheSegment` into crate cache guard. -4. Adopt `UnknownToolPolicy::Rewrite`; delete the - `__openhuman_unknown_tool__` sentinel (sdk-gaps §2). - Net: `tinyagents/middleware.rs` 2448 → ~1400. +3. ~~Delete `CacheAlign` + `Microcompact`~~ CORRECTED by C3 execution + (2026-07-03): `CacheAlign` deleted (warn-only, crate cache guard already + installed — commit on `feat/tinyagents-c3-middleware-dedupe`). + `Microcompact` is NOT crate-superseded — tinyagents 1.5.0 has no + tool-result body-clearing equivalent and the local one is live on the + session turn path — moved to the C5 upstream-extraction batch (extract a + crate microcompact first, then delete locally). +4. ~~Adopt `UnknownToolPolicy::Rewrite`~~ CORRECTED by C3 execution: the + sentinel + `UnknownToolRewriteMiddleware` were already deleted in 01.2; + live policy is `UnknownToolPolicy::ReturnToolError`, which preserves the + attempted tool name + args (#4419 UX). Rewrite mode would regress (needs a + catch-all target tool); rationale comment added at `run_policy_for`. Done — + no further action. + Net: `tinyagents/middleware.rs` 2448 → ~1500 (Microcompact stays until C5). ### C4 — Events/progress projection (05.3) then delete progress_tracing