Skip to content

feat(prompt-hook): gate context injection by confidence tier - #145

Merged
sunerpy merged 1 commit into
mainfrom
feat/upstream-1.4.1-defer-f-prompt-hook-gate
Jul 14, 2026
Merged

sunerpy merged 1 commit into
mainfrom
feat/upstream-1.4.1-defer-f-prompt-hook-gate

feat(prompt-hook): gate context injection by confidence tier

ffba6c3
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Jul 14, 2026 in 1s

95.54% (target 95.00%)

View this Pull Request on Codecov

95.54% (target 95.00%)

Details

Codecov Report

❌ Patch coverage is 94.33594% with 29 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
crates/codegraph-cli/src/main.rs 85.71% 10 Missing ⚠️
crates/codegraph-cli/src/segments.rs 94.37% 9 Missing ⚠️
crates/codegraph-cli/src/segment_match.rs 92.07% 8 Missing ⚠️
crates/codegraph-cli/src/structural_gate.rs 99.32% 1 Missing ⚠️
crates/codegraph-store/src/queries.rs 96.29% 1 Missing ⚠️

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #145      +/-   ##
==========================================
- Coverage   95.55%   95.54%   -0.01%     
==========================================
  Files         115      118       +3     
  Lines       57429    57929     +500     
==========================================
+ Hits        54876    55349     +473     
- Misses       2553     2580      +27     
Files with missing lines Coverage Δ
crates/codegraph-mcp/src/engine.rs 97.36% <100.00%> (+<0.01%) ⬆️
crates/codegraph-cli/src/structural_gate.rs 99.32% <99.32%> (ø)
crates/codegraph-store/src/queries.rs 98.18% <96.29%> (-0.03%) ⬇️
crates/codegraph-cli/src/segment_match.rs 92.07% <92.07%> (ø)
crates/codegraph-cli/src/segments.rs 94.37% <94.37%> (ø)
crates/codegraph-cli/src/main.rs 89.20% <85.71%> (-0.02%) ⬇️

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.