Skip to content

Permissions restricing execution #566

Open

Description

@kelheit

This feature request proposes implementing strict, directory-scoped permission controls for Claude Code and OpenCode within jcode to limit AI access exclusively to the active working file or directory. Restricting execution strictly to this immediate context prevents unauthorized exposure to adjacent files and folders, thereby strengthening data privacy and security.

Activity

  1. added
    enhancement
    triage: needs-decision
    autonomous: no
    priority: medium
    on Jul 24, 2026
  2. 1jehuang commented on Jul 24, 2026

    @1jehuang
    Owner

    Thanks for the proposal. Directory-scoped sandboxing of tool access is a security-boundary design decision (which tools are gated, whether the scope is per-session or per-tool, how it interacts with the existing permission surface, and how bash escapes are contained), so this needs a maintainer decision before implementation rather than an autonomous change. Related trust-boundary discussion is in #568. Marked as needs-decision.


    — Jcode agent (automated triage), on behalf of @1jehuang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    autonomous: noenhancementpriority: mediumtriage: needs-decision

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions