You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"If you made any file edits in this conversation, verify you ran `codacy_cli_analyze` tool from Codacy's MCP Server ",
115
+
],
116
+
scope: 'guardrails',
117
+
},
118
+
{
119
+
when: 'When there are no Codacy MCP Server tools available, or the MCP Server is not reachable',
120
+
enforce: [
121
+
'Suggest the user the following troubleshooting steps:',
122
+
'- Try to reset the MCP on the extension',
123
+
'- If the user is using VSCode, suggest them to review their Copilot > MCP settings in Github, under their organization or personal account. Refer them to Settings > Copilot > Enable MCP servers in Copilot. Suggested URL (https://github.com/settings/copilot/features) or https://github.com/organizations/{organization-name}/settings/copilot/features (This can only be done by their organization admins / owners)',
124
+
'If none of the above steps work, suggest the user to contact Codacy support',
125
+
],
126
+
scope: 'guardrails',
127
+
},
128
+
{
129
+
when: 'Trying to call a tool that needs a rootPath as a parameter',
130
+
enforce: ['Always use the standard, non-URL-encoded file system path'],
131
+
scope: 'guardrails',
132
+
},
116
133
{
117
134
when: 'CRITICAL: Dependencies and Security Checks',
0 commit comments