#[non_exhaustive]pub enum PathAccessRuleSource {
DefaultDevelopmentBaseline,
TrustedGlobalConfig,
ProductPrivate,
ProductReadOnly,
ProductConfig,
GitMetadataBaseline,
PermissionReview,
DurableMemory,
}Expand description
Trust source for a path access rule.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
DefaultDevelopmentBaseline
Rule supplied by Merry’s built-in development process baseline.
TrustedGlobalConfig
Rule came from the user’s global Merry config.
This is intentionally higher trust than project-local configuration, because normal coding-agent runs may edit files inside the project.
ProductPrivate
Product-owned credentials and state unavailable to actions.
ProductReadOnly
Product-owned read-only state (such as $XDG_STATE_HOME/merry,
including session journals, input history, and logs) that remains
readable for history review while staying strictly non-writable.
ProductConfig
Merry’s own non-secret configuration and skill directories.
These directories live outside the workspace and hold no credentials, so sandboxed commands may read and update user config and skills directly.
GitMetadataBaseline
Automatically applied read-only protection for Git metadata paths.
A reviewed action may temporarily overlay this rule for one process action, but the path is never retained as a session grant.
PermissionReview
Rule materialized from the current permission admission result.
DurableMemory
Durable memory notes under the XDG data home.
This tree is outside the workspace. Sandboxed commands can read and write it so the agent can use the same notes the host maintains.
Trait Implementations§
Source§impl Clone for PathAccessRuleSource
impl Clone for PathAccessRuleSource
impl Copy for PathAccessRuleSource
Source§impl Debug for PathAccessRuleSource
impl Debug for PathAccessRuleSource
impl Eq for PathAccessRuleSource
Source§impl Hash for PathAccessRuleSource
impl Hash for PathAccessRuleSource
Source§impl Ord for PathAccessRuleSource
impl Ord for PathAccessRuleSource
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for PathAccessRuleSource
impl PartialEq for PathAccessRuleSource
Source§impl PartialOrd for PathAccessRuleSource
impl PartialOrd for PathAccessRuleSource
impl StructuralPartialEq for PathAccessRuleSource
Auto Trait Implementations§
impl Forget for PathAccessRuleSource
impl Freeze for PathAccessRuleSource
impl Move for PathAccessRuleSource
impl RefUnwindSafe for PathAccessRuleSource
impl Send for PathAccessRuleSource
impl Sync for PathAccessRuleSource
impl Unpin for PathAccessRuleSource
impl UnsafeUnpin for PathAccessRuleSource
impl UnwindSafe for PathAccessRuleSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.