Skip to content

feat: wire scoring engine into handoff compression#53

Merged
Manavarya09 merged 1 commit intomainfrom
feat/wire-scoring-engine
Apr 15, 2026
Merged

feat: wire scoring engine into handoff compression#53
Manavarya09 merged 1 commit intomainfrom
feat/wire-scoring-engine

Conversation

@Manavarya09
Copy link
Copy Markdown
Owner

Summary

  • Replace hardcoded priority-based compression in build_handoff() with calls to score_snapshot() and budget_allocation() from the scoring module
  • The scoring module was defined but completely unused — now it drives context compression decisions
  • Sections are ranked by data-driven relevance scores (task=100, error=95, git=80, etc.) instead of manual priority indices

Test plan

  • cargo check compiles cleanly
  • All 62 tests pass including 12 handoff tests
  • relay handoff --dry-run shows scored sections in output

🤖 Generated with Claude Code

Replace hardcoded priority-based compression with the scoring module's
score_snapshot() and budget_allocation(). Sections are now ranked by
data-driven relevance scores instead of manual indices.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@Manavarya09 Manavarya09 merged commit c4b9fab into main Apr 15, 2026
4 checks passed
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