Does a CodeBuddy session ever report zero friction because CodeBuddy can't, not because none happened? #328
|
I've been reading dashboard-collector.ts alongside session-collector.ts. isValuable() decides whether a session gets surfaced to the team digest, and it gates on interventionCount above zero, which comes from scanTranscriptStop parsing interrupt and toolReject markers out of the transcript. For CodeBuddy, though, readCodebuddyIndexOnce always returns interrupt 0 and toolReject 0, with a comment saying CodeBuddy transcripts just don't expose those markers. So a CodeBuddy session with real interrupts and rejections looks identical in the digest to one with none, as long as it touches under three distinct tools. Is there a plan to backfill that signal from CodeBuddy some other way, or is friction tracking effectively Claude-Code-only right now? |
Replies: 4 comments
|
You've got it right — there's no backfill for CodeBuddy today, so friction tracking is effectively Claude-Code-only. |
|
Confirmed — the problem is real, and the root cause is exactly the What was actually happening
What was recoverable, and what wasn'tCodeBuddy stores tool outcomes in the sibling
Result
Verified end-to-end: a real rejection session → So friction tracking is no longer Claude-Code-only. |
|
Looks like #336 answered the invitation before I got to it: toolReject and toolError recovered from the message blobs, with the "User rejected this command" marker as a positive whitelist, so it under-counts rather than mis-counts. That's a cleaner resolution than I expected for bare cancelled being three-way ambiguous. The remaining gap is interrupt, which stays at zero until CodeBuddy persists a per-message marker, so a session can still report less friction than happened, just no longer none of it. That was the core of my question, and it's now a documented platform limitation rather than a silent one. Thanks for the quick confirmation, and to m0Nst3r873 for landing the extraction. |
|
Thanks for the original write-up — it was a genuinely sharp piece of reading. You traced the whole chain from And you've summarized the outcome correctly — |
You've got it right — there's no backfill for CodeBuddy today, so friction tracking is effectively Claude-Code-only.
We'd welcome a PR if you're up for it.