Repository navigation
fix: stabilize execution and consolidate repository structure - #7
Merged
Merged
Conversation
Restrict generated-code imports to an explicit allowlist, redact configuration secrets, preserve current SerpAPI queries, and honor agent tool and planning controls. Add regression coverage and restore package build and clean-checkout quality gates without changing dependency versions.
Remove stale aliases, add recent agent-capable models, and resolve explicit aliases through the central catalog so ModelManager cannot silently substitute older models. Add catalog parity and opt-in live integration coverage.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Stabilizes agent execution and configuration contracts while bringing OpenRouter mappings, repository hygiene, and architecture documentation up to date. Users no longer have provider credentials printed by
config --show, successful searches no longer overwrite later queries, and explicitly selected models resolve to their exact configured IDs.The branch also restores clean-checkout packaging and verification, consolidates examples/plans/docs into canonical locations, and splits 18 multi-model classes into focused modules with original-path compatibility.
What changed
config --showredacts all provider credentials and the nested model API key. Pydantic models useConfigDictinstead of deprecated class-based configuration.ModelManagerresolves explicit aliases exactly instead of silently substituting older models.uv auditreports no LiteLLM advisory entry. Pinned setup-uv v10.3.3 by full SHA with uv 0.13.7 and documented trusted destination controls.examples/, and all exec-plans are indexed only indocs/PLANS.mdwith active/completed locations.multi_model_serpapi.pyinto focusedmodel_manager,schemas,context,tools, andsystemmodules. The original module is a thin compatibility re-export; all 18 class implementations were verified unchanged by independent AST comparison.Test coverage
Added regression coverage for:
ModelManageraliases, recent model mappings, and static/central catalog parity.tests/test_openrouter_models.pyalso provides an opt-in live-catalog integration test for future refreshes.Validation
make check: 250 passed, 1 opt-in skipped.uv audit --locked: no LiteLLM advisory entry at 1.108.3; other package advisories remain for separate triage.uv lock --check: passed.agentic-internet --help: passed.Free-provider completion attempts are documented in
docs/references/openrouter-models-2026-11-09.md. One model timed out; the alternate returned a valid zero-cost response with reasoning but no final answer text under bounded token limits. No paid retry was made.Post-Deploy Monitoring & Validation
This is a CLI/library change with no hosted deployment. During PR CI and the next local provider smoke test, watch for:
config --show, repeated queries, unexpected model substitution, or OpenRouter aliases disappearing from the live catalog.397d606for dependency/CI security updates,b1addd9for the module split,7b761cbfor repository hygiene,9181cbcfor diagrams,191674ffor the Terra/Sol/Luna adjustment,68e65a5for the catalog refresh, or3ec4453for the stabilization implementation.