mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-07-12 21:02:17 +02:00
withActiveSkills injected carried-forward skills into every non-inline agent request, while the resolver only honors them for agents with the skillCarryForward trait (real-agent-resolver). The mismatch persisted an ever-growing activeSkills list into the requested composition of every turn for agents that would never use it. The gate now lives in withActiveSkills, mirroring the resolver. That required a structural fix: sessions cannot import assembly/registry.js (its agent builders transitively reach di/container, which imports sessions — the module cycle broke SessionsImpl registration under test). Traits move to assembly/traits.ts, a zero-import leaf, with registry re-exporting them so existing assembly-level importers are unchanged. Regression test pins the non-trait agent case. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| core | ||
| shared | ||