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
kcapback 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.