fix(rebase): Resolve conflicts from rebase onto abhijit-2592

Manually resolved merge conflicts in CLI and Core config files that occurred during the rebase of the extensible plan mode feature branch onto `abhijit-2592/read-proj-dir-policy-file`.
This commit is contained in:
Mahima Shanware
2026-02-19 19:11:51 +00:00
parent 12ee556f3b
commit 6f0d7b8adb
2 changed files with 0 additions and 11 deletions

View File

@@ -813,12 +813,8 @@ export async function loadCliConfig(
coreTools: settings.tools?.core || undefined,
allowedTools: allowedTools.length > 0 ? allowedTools : undefined,
policyEngineConfig,
<<<<<<< HEAD
policyUpdateConfirmationRequest,
excludeTools,
=======
excludeTools: finalExcludeTools,
>>>>>>> 45fcd9869 (Fix: Enable write_file in Plan Mode via workspace policy)
toolDiscoveryCommand: settings.tools?.discoveryCommand,
toolCallCommand: settings.tools?.callCommand,
mcpServerCommand,

View File

@@ -74,9 +74,6 @@ export function getPolicyDirectories(
dirs.push(workspacePoliciesDir);
}
// Admin tier (highest priority)
dirs.push(Storage.getSystemPoliciesDir());
// Default tier (lowest priority)
dirs.push(defaultPoliciesDir ?? DEFAULT_CORE_POLICIES_DIR);
@@ -180,11 +177,7 @@ export async function createPolicyEngineConfig(
const policyDirs = getPolicyDirectories(
defaultPoliciesDir,
settings.policyPaths,
<<<<<<< HEAD
settings.workspacePoliciesDir,
=======
workspacePoliciesDir,
>>>>>>> 45fcd9869 (Fix: Enable write_file in Plan Mode via workspace policy)
);
const securePolicyDirs = await filterSecurePolicyDirectories(policyDirs);