Hardening/review roadmap#1
Merged
Merged
Conversation
Adds REVIEW.md (peer-review of the codebase) and implements every Quick
Win from its roadmap. Each production change ships with a failing test
first (red-green-refactor):
- extract _route_after_model to module scope (unblocks test collection)
- _cooldown_limit_for helper replaces 3 if .. else 3 no-op ternary
- _strip_response_metadata_noise preserves token usage while dropping
provider noise (was: blanket clear that broke cost observability)
- _write_checkpoint_atomic keeps prior file intact on mid-write crash
- Config gains budget_hard_cap / budget_warn_at /
semantic_dedup_threshold; wired through build_react_agent
- dedup / semantic_dedup / loop_breaker logs demoted to info
- delete dead max_json_repairs field
- hoist Config.from_env() out of per-question loop
Plus operational hygiene: LICENSE (MIT), .env.example, .github/ci.yml,
dependency upper bounds, README drift fix, gitignore .last_failures /
submission / anatomy PDFs, rename scratch_vision_test to _scratch_vision,
delete empty plugin-skill dirs.
Tests: 29 passed (was 10). REVIEW.md §0 tracks status.
…-based answer formatting pipeline
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.
No description provided.