feat: refactor engine packages and harden test utilities#7
Merged
Conversation
- Apply gofumpt formatting across all reexport files - Add branch fallback in checkout-eyrie action: when hawk branch doesn't exist on eyrie, fall back to main instead of failing
When the eyrie catalog doesn't have pricing for a model, ModelPricing now falls back to tier-based defaults (cheap=0.15/0.60, mid=3.0/15.0, expensive=15.0/75.0) instead of returning the same flat 3.0/15.0 for all unknown models. This ensures cascade routing savings calculations produce meaningful estimates even without complete catalog data.
…ng defaults When the eyrie catalog is unavailable or incomplete, CostTierOf now infers tier from model name patterns (mini/flash=cheap, opus/pro=expensive). ModelPricing uses tier-based defaults instead of flat 3.0/15.0 for all unknown models, so cascade routing savings calculations work correctly regardless of catalog completeness.
Contributor
Author
|
Merged. Engine refactored into sub-packages (agent, branching, code, compact, control, cost, ctxmgr, diff, docs, errs, git, history, intelligence, io, lifecycle, memory, observability, planning, project, prompt, retry, review, safety, scaffold, search, session, streaming, token, validation, workflow) with re-export shims for backward compatibility. 430 files changed, CI all green. |
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
Test plan