Classic confinement request: kcap

To make the review of your request easier, please use the following template to provide all the required details and also include any other information that may be relevant.


  • name: kcap
  • description: kcap records AI coding-agent sessions (Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot CLI and others) to a Capacitor server, runs those agents on the user’s behalf through a local daemon, and gives pull-request reviews the context of the sessions that produced them. The snap ships the kcap CLI, its daemon and the desktop app together.
  • snapcraft: https://github.com/kurrent-io/kcap-cli/blob/main/snap/snapcraft.yaml
  • upstream: https://github.com/kurrent-io/kcap-cli
  • upstream-relation: The publisher (Kurrent) develops and maintains kcap.
  • supported-category: AI agent/assistant that runs arbitrary user-directed code
  • reasoning: kcap is a developer tool that drives other developer tools installed on the host, which strict confinement cannot accommodate:
    • It executes agent CLIs the user installed outside the snap (npm globals, ~/.local/bin, nvm, Homebrew-style prefixes), plus git and gh, resolving them through the user’s login-shell PATH, and runs them in PTYs.
    • It reads and writes those agents’ session transcripts and hook configuration in hidden directories under $HOME: ~/.claude, ~/.codex, ~/.cursor, ~/.gemini, ~/.copilot, ~/.kiro, ~/.pi, ~/.config/opencode and more. The set grows as agents are added, so a fixed personal-files list would not keep up.
    • Agents launched on the host call kcap back through the hooks it installs, and those invocations must reach the user’s files and repositories like the agent itself.
    • It works inside repositories anywhere on disk: installs git hooks, writes per-repo agent skills, and creates git worktrees.
    • It installs and manages its daemon as a systemd --user service (systemctl --user and ~/.config/systemd/user).
    • It shares prompt and review files with the agents it runs through the host /tmp.

I understand that strict confinement is generally preferred over classic.

I’ve tried the existing interfaces to make the snap to work under strict confinement.

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

Repo link has changed to https://github.com/kurrent-io/kcap

Hi @roman_sakno

Technical reasons on why kcap needs classic are understood.

But classic confinement is a sensitive matter and is reserved for mature, well known applications from trusted publishers. While kcap itself is still a young project, we recognize that the publisher behind it maintains the well-established KurrentDB project.

That being said, we have two options to establish the trust in the publisher:

Kindly let me know how you want to proceed?

I believe that Verified Account is the right direction.

Hi @roman_sakno

Thanks for the confirmation. Please complete the Verified Accounts process and let me know once the account is verified.