-
Notifications
You must be signed in to change notification settings - Fork 3.7k
chore(mcp): enhance system messages for MCP and CI automation #8351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
- Added MCP-aware agent rules for Continue and GitHub integration - Streamlined agent mode to prioritize MCP tools (Filesystem, GitHub) - Enforced Conventional Commits, minimal diffs, and CI-first logic - Updated DEFAULT_SYSTEM_MESSAGES_URL to point to frank-vega-studio fork
|
All contributors have signed the CLA ✍️ ✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| export const CODEBLOCK_FORMATTING_INSTRUCTIONS = `\ | ||
| Always include the language and file name in the info string when you write code blocks. | ||
| If you are editing "src/main.py" for example, your code block should start with '\`\`\`python src/main.py' | ||
| If you are editing "src/main.py" for example, your code block should start with '```python src/main.py' | ||
| `; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Escape backticks in codeblock instructions to keep file parsable
The template literal defining CODEBLOCK_FORMATTING_INSTRUCTIONS now includes the example string '```python src/main.py' without escaping the backticks. Inside a template literal, raw backticks terminate the string, so this change makes defaultSystemMessages.ts fail to parse and will break any TypeScript build that touches this file. The previous revision used escaped backticks (\```) to avoid this. Re‑escape the backticks in the example so the source remains valid.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 1 file
|
I have read the CLA Document and I hereby sign the CLA |
- Restored DEFAULT_SYSTEM_MESSAGES_URL to upstream continuedev repo - Escaped triple backticks in CODEBLOCK_FORMATTING_INSTRUCTIONS to keep file parsable - Verified compliance with MCP/CI conventions
- Restored DEFAULT_SYSTEM_MESSAGES_URL to upstream continuedev repo - Escaped triple backticks in CODEBLOCK_FORMATTING_INSTRUCTIONS to keep file parsable - Verified compliance with MCP/CI conventions
Applies all diffs from PR continuedev#8351 including escaped backticks, tightened chat instructions, expanded agent principles, and corrected plan-mode guidance.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 1 file
|
Thanks for the PR but the system message is quite sensitive so we'd prefer to not tweak at this time |
Description
[ What changed? Feel free to be brief. ]
AI Code Review
@continue-reviewChecklist
Screen recording or screenshot
[ When applicable, please include a short screen recording or screenshot - this makes it much easier for us as contributors to review and understand your changes. See this PR as a good example. ]
Tests
[ What tests were added or updated to ensure the changes work as expected? ]
Summary by cubic
Tightened system messages for chat, agent, and plan modes to prioritize MCP tools and CI/GitHub checks, enforce minimal diffs and Conventional Commits, and keep responses concise. Updated DEFAULT_SYSTEM_MESSAGES_URL to the frank-vega-studio raw source.