Skip to content

Conversation

@sestinj
Copy link
Contributor

@sestinj sestinj commented Aug 23, 2025

Description

System prompt for plan mode so it doesn't try to edit


Summary by cubic

Add plan mode guidance to the CLI system prompt so the agent plans and investigates without modifying files. Also adds tests and updates the local build script.

  • New Features

    • System prompt includes plan mode instructions: read-only tools; do not write/delete/create files.
    • constructSystemMessage accepts an optional mode and falls back to modeService.getCurrentMode().
    • Tests cover plan mode presence/absence and interactions with headless and JSON output modes.
  • Dependencies

    • build:local-deps now runs npm install and build for config-types, config-yaml, fetch, and openai-adapters.

@sestinj sestinj requested a review from a team as a code owner August 23, 2025 19:20
@sestinj sestinj requested review from RomneyDa and removed request for a team August 23, 2025 19:20
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Aug 23, 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 3 files

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Aug 23, 2025
@sestinj sestinj merged commit cfafdf8 into main Aug 23, 2025
55 checks passed
@sestinj sestinj deleted the plan-mode-sys-prompt branch August 23, 2025 19:51
@github-project-automation github-project-automation bot moved this from Todo to Done in Issues and PRs Aug 23, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Aug 23, 2025
@github-actions github-actions bot added the tier 2 Important feature that adds new capabilities to the platform or improves critical user journeys label Aug 23, 2025
@sestinj
Copy link
Contributor Author

sestinj commented Aug 24, 2025

🎉 This PR is included in version 1.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor Author

sestinj commented Aug 25, 2025

🎉 This PR is included in version 1.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

released size:L This PR changes 100-499 lines, ignoring generated files. tier 2 Important feature that adds new capabilities to the platform or improves critical user journeys

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants