Skip to content

Conversation

@frankvegastudio
Copy link

@frankvegastudio frankvegastudio commented Oct 20, 2025

Applies all diffs from PR #8351 including escaped backticks, tightened chat instructions, expanded agent principles, and corrected plan-mode guidance.

Description

[ What changed? Feel free to be brief. ]

AI Code Review

  • Team members only: AI review runs automatically when PR is opened or marked ready for review
  • Team members can also trigger a review by commenting @continue-review

Checklist

  • [] I've read the contributing guide
  • [] The relevant docs, if any, have been updated or created
  • [] The relevant tests, if any, have been updated or created

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

Sync system messages with MCP and CI/GitHub workflows to make Chat, Agent, and Plan modes clearer and safer. Escapes backticks in code block examples and tightens guidance to reduce noise and avoid unintended writes.

  • Refactors
    • Escaped backticks in code block examples to prevent formatting issues.
    • Chat mode: keep answers brief; suggest the Apply Button or switching to Agent for file changes.
    • Agent and Plan modes: prefer MCP tools and CI/GitHub checks, show minimal patches, follow Conventional Commits, avoid duplicate branches/PRs, keep YAML stable; Plan stays read-only with short steps and codeblocks only for suggested patches.

Applies all diffs from PR continuedev#8351 including escaped backticks, tightened chat instructions, expanded agent principles, and corrected plan-mode guidance.
@frankvegastudio frankvegastudio requested a review from a team as a code owner October 20, 2025 19:53
@frankvegastudio frankvegastudio requested review from RomneyDa and removed request for a team October 20, 2025 19:53
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. labels Oct 20, 2025
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a 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".

Comment on lines 6 to +8
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'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P0 Badge Fix invalid escaping in code block example string

The updated CODEBLOCK_FORMATTING_INSTRUCTIONS template literal now contains the substring '\\\\`\`python src/main.py'. Because the backticks are no longer escaped (`) this sequence is parsed as an unterminated template literal, triggering a SyntaxError: Invalid or unexpected tokenwhen TypeScript/JavaScript parses the file. The previous version compiled correctly. This breaks the build and must be reverted to escaped backticks (e.g.````) so the file remains valid.

Useful? React with 👍 / 👎.

@github-project-automation github-project-automation bot moved this from Todo to Done in Issues and PRs Oct 20, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Oct 20, 2025
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size:M This PR changes 30-99 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant