rowboat/apps/x/packages
Ramnique Singh 05545ba283 fix(x): gate session skill carry-forward on the skillCarryForward trait
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>
2026-07-10 16:44:56 +05:30
..
core fix(x): gate session skill carry-forward on the skillCarryForward trait 2026-07-10 16:44:56 +05:30
shared ci(x): typecheck test files — the gap vitest and the build tsconfigs both miss 2026-07-10 16:30:26 +05:30