mirror of
https://bitbucket.org/siakitem/my-pi.git
synced 2026-10-26 18:55:22 +00:00
refactor(permission-system): simplify policy and autoreview flow
This commit is contained in:
@@ -90,7 +90,6 @@ export class HardGuardPolicyLoader implements PolicyLoader {
|
||||
return DENY_ALL;
|
||||
}
|
||||
|
||||
loadProjectConfig(): ScopeConfig { return EMPTY_SCOPE; }
|
||||
loadAgentConfig(): ScopeConfig { return EMPTY_SCOPE; }
|
||||
loadProjectAgentConfig(): ScopeConfig { return EMPTY_SCOPE; }
|
||||
getConfiguredMcpServerNames(): readonly string[] { return []; }
|
||||
@@ -114,8 +113,6 @@ export class HardGuardPolicyLoader implements PolicyLoader {
|
||||
return {
|
||||
globalConfigPath: this.userPath,
|
||||
globalConfigExists: existsSync(this.userPath),
|
||||
projectConfigPath: null,
|
||||
projectConfigExists: false,
|
||||
agentsDir: dirname(this.userPath),
|
||||
agentsDirExists: existsSync(dirname(this.userPath)),
|
||||
projectAgentsDir: null,
|
||||
|
||||
Reference in New Issue
Block a user