Documentation
¶
Overview ¶
Package musepolicy projects Agent Layer grants into Muse's native policy.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleMCP ¶
HandleMCP reloads canonical policy for every request, including in sessions whose native hook registration predates a sync. Native denies take precedence.
func MCPPrefixes ¶
MCPPrefixes validates unambiguous native tool namespaces before granting calls.
func ParseCommandPrefixes ¶
ParseCommandPrefixes validates commands.allow entries as literal argv prefixes and returns their native Muse representation.
func SyncCommands ¶
SyncCommands replaces only this workspace's Agent Layer-owned allow rules. Native Muse evaluates argv prefixes, compound stages, and deny precedence. It uses this same lock file when persisting interactive approval decisions.
Types ¶
This section is empty.