Skip to content

feat(efficiency): TeamSizeConfig and context caps for token savings - #34

Open
jkbennitt wants to merge 1 commit into
mainfrom
feat/efficiency-yield-pass
Open

feat(efficiency): TeamSizeConfig and context caps for token savings#34
jkbennitt wants to merge 1 commit into
mainfrom
feat/efficiency-yield-pass

Conversation

@jkbennitt

Copy link
Copy Markdown
Member

Summary

  • Introduce frozen TeamSizeConfig for TeamSizeOptimizer (prior magic numbers as defaults).
  • Skip length-based team growth when average confidence is already high (default ≥ 0.85).
  • Cap collaborative context contribution text (max_chars_per_entry), skip empty contributions, make scoring weights configurable, keyword cache for dedupe.
  • Export updates + unit tests for optimizer and context builder.

Context

Yield-framework efficiency pass on AppSprout-dev/felix-agent-sdk (parallel to the monorepo efficiency PR).

Test plan

  • Unit tests for team size optimizer and context builder
  • CI green on PR

Make team-size thresholds config-driven, skip length-based growth at
high confidence, and cap collaborative context entry size. Adds tests
and Yield-framework pass notes.
@jkbennitt
jkbennitt requested a review from CalebisGross as a code owner August 7, 2026 22:00
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