Skip to content

feat: vibecheck integration with attribution panel#21

Open
o-k-a-y wants to merge 3 commits intojoshLong145:mainfrom
o-k-a-y:feat/vibecheck-attribution
Open

feat: vibecheck integration with attribution panel#21
o-k-a-y wants to merge 3 commits intojoshLong145:mainfrom
o-k-a-y:feat/vibecheck-attribution

Conversation

@o-k-a-y
Copy link
Collaborator

@o-k-a-y o-k-a-y commented Feb 25, 2026

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Feb 25, 2026

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 20.65217% with 73 lines in your changes missing coverage. Please review.
✅ Project coverage is 74.50%. Comparing base (6346c51) to head (48e7324).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/ui/stats.rs 13.79% 47 Missing and 3 partials ⚠️
src/app.rs 50.00% 8 Missing and 3 partials ⚠️
src/main.rs 0.00% 10 Missing ⚠️
src/ui/mod.rs 0.00% 2 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
- Coverage   75.53%   74.50%   -1.03%     
==========================================
  Files          19       19              
  Lines        4737     4825      +88     
  Branches     4737     4825      +88     
==========================================
+ Hits         3578     3595      +17     
- Misses       1078     1144      +66     
- Partials       81       86       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

src/app.rs Outdated
Some(agent_id) => ledger.depth_of_for_agent(&sym.id, agent_id),
None => ledger.depth_of(&sym.id),
};
let read_depth = ledger.depth_of(&sym.id);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why remove the sub agent support?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right. This was unintentional.

flatten_symbol was always using the aggregate depth_of(), ignoring the
active agent filter. This caused symbol-level depth indicators in the
tree view to show aggregate coverage even when filtering by a specific
agent. Now passes agent_filter through and uses depth_of_for_agent()
to match the behavior already present in count_symbols().
Comment on lines +285 to +298
for (family, score) in scores {
let pct = (score * 100.0).round() as u32;
let bar_len = (score * 12.0).round() as usize;
let bar = "█".repeat(bar_len);
let color = family_color(family);
lines.push(Line::from(vec![
Span::styled(
format!(" {:<8}", format!("{family}")),
Style::default().fg(Color::DarkGray),
),
Span::styled(format!("{bar:<12}"), Style::default().fg(color)),
Span::styled(format!("{pct:>3}%"), Style::default().fg(color)),
]));
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From my testing I noticed that larger projects now open much slower in ambits. With this type of implementation we only take the hit on application start, and new files from the file watcher. Im wondering if we can this operation occur in parallel. it's tricky since we are relying on the App instance which is constructed on app start.

We do have an event loop like pattern already implemented. wondering if we can extend the current Event type to add a new event type for vibe check file loads.

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.

3 participants