Classic confinement request for bumeter

Snap name: bumeter Source: Private repository (https://github.com/chieund/bumeter - access can be granted to reviewers upon request)

Bumeter is a desktop monitor for AI coding assistants (Claude Code, Kiro). It reads their local session logs and shows token usage per conversation, quota bars in the tray, and lets the user manage the assistants’ skills.

Why strict confinement does not work:

  1. It reads and watches the assistants’ hidden data directories in $HOME (~/.claude/projects/, ~/.kiro/sessions/), whose layout changes with each tool release; support for more tools (Codex, Cursor, OpenCode…) means more dot-directories that cannot be listed in advance.
  2. It writes the user’s ~/.claude/settings.json (statusLine hook, with backup and undo) and installs/disables skills under ~/.claude/skills and ~/.kiro/skills.
  3. It executes the user’s own CLI tools found in PATH (kiro-cli whoami, then kiro-cli chat --no-interactive /usage, only when the user is logged in) to read the remaining monthly credits; these are host binaries outside the snap.
  4. The statusLine hook it registers is executed by the assistant (a host process) and must point to a stable path of the bundled bum CLI.

This is the same category as developer tools that integrate with tools installed on the host. All data stays on the machine; the only network request is the optional skills.sh search the user starts.

This request has been added to the queue for review by the @reviewers team.

Please use the template from:

1 Like

Hello @bumkom :slight_smile:

It is plausible that there are technical reasons why bumeter needs classic to work properly in all scenarios, but please note that classic confinement is a sensitive matter and it is reserved for mature, well-known applications published by mature, well-known entities. As of today, I believe that bumeter doesn’t meet these criteria because of the following reasons:

  • The project seems to be very fresh, according to the upstream repository
  • The projects seems to have little/none community around according to upstream repository (contributors, issues, PRs, etc.)
  • I could not find evidences that the project has a strong enough user base currently

Thus, considering these factors, I think bumeter should not get classic confinement as of now.

Thanks @yomonokio, understood. I’ll withdraw the classic request for now and move bumeter to strict confinement. Would a personal-files request for $HOME/.claude and $HOME/.kiro (read/write, auto-connect) be acceptable? The kiro-cli credit lookup will be disabled in the snap build. I’ll open a separate request with the template once the strict build is ready.

Hi @bumkom :slight_smile:

Quoting the personal-files interface documentation:

This interface is typically used to provide read-only access to top-level hidden data directories (directories starting with a dot) within a user’s real home directory in order to support importing data from existing applications where the snap is the clear owner of the target directory.

Given that $HOME/.claude and $HOME/.kiro are clearly not owned by your snap, an auto-connection request will most likely be rejected.

I’d suggest considering a manual-connection for those instead.