Skip to content

feat: refactor engine packages and harden test utilities#7

Merged
Patel230 merged 7 commits into
mainfrom
feature/engine-refactor-eyrie-enhance
May 22, 2026
Merged

feat: refactor engine packages and harden test utilities#7
Patel230 merged 7 commits into
mainfrom
feature/engine-refactor-eyrie-enhance

Conversation

@Patel230
Copy link
Copy Markdown
Contributor

Summary

  • Refactor engine packages for better separation of concerns
  • Centralize loopback defaults
  • Resolve noctx lint debt
  • Harden test utilities

Test plan

  • CI green on all checks

Patel230 added 4 commits May 22, 2026 12:59
- 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
@Patel230 Patel230 closed this May 22, 2026
@Patel230 Patel230 reopened this May 22, 2026
Patel230 added 3 commits May 22, 2026 14:14
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.
@Patel230 Patel230 merged commit a8d14e5 into main May 22, 2026
13 checks passed
@Patel230 Patel230 deleted the feature/engine-refactor-eyrie-enhance branch May 22, 2026 10:26
@Patel230
Copy link
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant