permissions

package
v0.2.49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2026 License: GPL-2.0, GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package permissions holds vibekit's one remaining permission control: the Supervised-mode default for newly-auto-created chats (SupervisedDefault, permissions_read.go). It fails CLOSED to false — Supervised mode is opt-in; a corrupt config.json must not suddenly gate every write on approval.

Tool-call authorization on v3 (KAS) is owned end to end by kiro-cli's native Cedar policy engine, surfaced and edited via GET|POST /api/permissions (see internal/policyfile). vibekit runs no classifier of its own and never auto-answers a permission request.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SupervisedDefault

func SupervisedDefault(ctx context.Context, configDir string) bool

SupervisedDefault reports the settings-file-wide default for the Supervised-mode flag applied to newly-auto-created chats. Fails CLOSED to false on any read/parse problem (see the package comment).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL