-
Notifications
You must be signed in to change notification settings - Fork 3.5k
chore(tinyagents): align v2.1 and reconcile migration plan #5130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
senamakel
merged 8 commits into
tinyhumansai:main
from
senamakel:feat/tinyagents-migration-2026-07-22
Jul 23, 2026
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
d245ce6
fix(flows): pass flow id when finalizing rejected resume
senamakel 8be06fa
chore(deps): align tinyagents with v2.1
senamakel d4df050
docs(tinyagents): reconcile migration plan and ledgers
senamakel fb8edf4
Merge remote-tracking branch 'upstream/main' into feat/tinyagents-mig…
senamakel ef8204b
fix(deps): unify TinyCortex TinyAgents source
senamakel 3ebe8d0
chore(deps): track exact TinyAgents selection
senamakel c10ee47
chore: resolve merge conflicts with upstream/main
senamakel b215499
fix(tools): update NodeExecTool test for new RuntimePoolConfig + work…
senamakel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| # TinyAgents migration deletion ledger | ||
|
|
||
| This ledger records host-side removals required by | ||
| [`tinyagents-migration-plan-2026-07-22.md`](../tinyagents-migration-plan-2026-07-22.md). | ||
| A row moves to `DELETED` only after its crate-backed replacement and the named | ||
| parity evidence are in place. Generic code moved into `vendor/tinyagents` must | ||
| also name its upstream PR before the host copy is removed. | ||
|
|
||
| | Work package | Host artifact | Preconditions / replacement | Status | Evidence | | ||
| | --- | --- | --- | --- | --- | | ||
| | WP-1 | `inference/provider/router.rs` + tests | Crate `ModelRouter` owns live routing | PENDING | #4783 adopted the router; legacy provider consumers remain | | ||
| | WP-1 | `inference/provider/reliable.rs` + tests | Crate retry/fallback owns every model call | PENDING | Retargeted provider wire-parity tests | | ||
| | WP-1 | `inference/provider/legacy_provider.rs` and `compatible` alias | Every OpenAI-compatible slug uses crate `OpenAiModel` | PENDING | #4780/#4782/#4784 client cutover; residual legacy callers must be removed | | ||
| | WP-1 | `inference/provider/traits.rs` + tests | No `impl Provider`; consumers use crate model/message/usage types | PENDING | Consumer sweep + `inference_provider_e2e` and `agent_harness_e2e` | | ||
| | WP-1 | `tinyagents/model.rs::ProviderModel` / `MaxTokensModel` | Tier and bespoke models are direct `ChatModel`s | PENDING | `rg ProviderModel src` empty | | ||
| | WP-1 | `tinyagents/convert.rs` message conversion | No host `ChatMessage`; retain tool-schema conversion until WP-4 | PENDING | Conversion tests moved or retired | | ||
| | WP-1 | `inference/provider/crate_provider.rs` | No legacy `Provider` consumer needs the reverse adapter | PENDING | `rg 'impl Provider' src` empty | | ||
| | WP-2 | `routing/{policy,quality,factory}.rs` | Generic decisions use crate `ModelRouter`; host health signals remain | PENDING | Routing parity tests host/crate | | ||
| | WP-2 | `tool_timeout` implementation | Crate `ToolTimeout` owns timeout mechanics; host only projects config/env | PENDING | Timeout precedence tests | | ||
| | WP-2 | `model_council/{council,graph}.rs` | Generic ensemble graph released in tinyagents | PENDING | Upstream PR + offline graph tests | | ||
| | WP-3 | legacy `run_turn_engine` and graph escape hatches | All regression assertions exercise the crate turn path | PENDING | `rg OPENHUMAN_AGENT_GRAPH_` history-only | | ||
| | WP-4 | host tool trait/adapter artifacts selected by design | Approved tool-model decision preserves security and ungated result types | DESIGN GATE | Successor design document | | ||
| | WP-5 | generic seam middlewares | Equivalent crate middleware released and adopted | PENDING | Per-middleware drift rows + parity tests | | ||
| | WP-5 | detached subagent registry mechanics | Crate `TaskStore`/`SteeringRegistry` own lifecycle | PENDING | Upstream PR + orchestration tests | | ||
| | WP-5 | `agent/progress_tracing.rs` and `progress_tracing/langfuse.rs` | C4 S2-S6 gates pass; journal projection is self-sufficient | BLOCKED | One-release shadow parity and C4 §5 gate | | ||
|
|
||
| Deletion totals are reconciled in WP-6 after all rows are terminal. The | ||
| original projection is approximately 30k host LOC deleted and 12–15k generic | ||
| LOC upstreamed; measured totals, not the estimate, are authoritative. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
Align the S5/S6 deletion ownership and parity gate.
Line 6-7 says S6 deletes both
ProviderDeltaandprogress_tracing, but Lines 173-178 assignprogress_tracingto S5 andProviderDeltato S6. Also, the updated “journal projection parity” wording at Lines 174-175 leaves the §5 gate at Lines 182-183 referring to “V3 projection parity.” Update these cross-references before this document governs deletion work.Also applies to: 174-178
🤖 Prompt for AI Agents