Skip to content

feat(cli): update CALM model version and add CLI instructions#1815

Merged
rocketstack-matt merged 1 commit intofinos:mainfrom
rocketstack-matt:cli-updates
Nov 18, 2025
Merged

feat(cli): update CALM model version and add CLI instructions#1815
rocketstack-matt merged 1 commit intofinos:mainfrom
rocketstack-matt:cli-updates

Conversation

@rocketstack-matt
Copy link
Member

Description

  • Add a new prompt file giving explicit instructions on the CLI
  • Update the CLI to include the new prompt file

Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📚 Documentation update
  • 🎨 Code style/formatting changes
  • ♻️ Refactoring (no functional changes)
  • ⚡ Performance improvements
  • ✅ Test additions or updates
  • 🔧 Chore (maintenance, dependencies, CI, etc.)

Affected Components

  • CLI (cli/)
  • Shared (shared/)
  • CALM Widgets (calm-widgets/)
  • CALM Hub (calm-hub/)
  • CALM Hub UI (calm-hub-ui/)
  • Documentation (docs/)
  • VS Code Extension (calm-plugins/vscode/)
  • Dependencies
  • CI/CD
  • CALM AI

Commit Message Format ✅

Testing

  • I have tested my changes locally
  • I have added/updated unit tests
  • All existing tests pass

Checklist

  • My commits follow the conventional commit format
  • I have updated documentation if necessary
  • I have added tests for my changes (if applicable)
  • My changes follow the project's coding standards

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds CLI documentation to the CALM AI assistant tools and updates the AI model version. The new calm-cli-instructions.md file provides comprehensive documentation of all CLI commands for AI assistants to reference when helping users work with CALM.

  • Adds calm-cli-instructions.md with detailed CLI command documentation
  • Integrates the new prompt file into the CLI build and chatmode configuration
  • Updates the AI model from "Claude Sonnet 4" to "Claude Sonnet 4.5"

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
calm-ai/tools/calm-cli-instructions.md New file documenting all CALM CLI commands with usage examples and flags
cli/src/command-helpers/ai-tools.ts Adds the new CLI instructions file to the list of tool prompts copied during setup
calm-ai/README.md Updates the tools list to include the new CLI instructions file (alphabetically sorted)
calm-ai/CALM.chatmode.md Updates model version to Claude Sonnet 4.5 and adds CLI instructions to the prompt files list
Comments suppressed due to low confidence (1)

calm-ai/CALM.chatmode.md:48

  • [nitpick] The prompt files list is not in alphabetical order. For consistency with the alphabetically sorted list in calm-ai/README.md, consider reordering this list alphabetically. The current order places calm-cli-instructions.md after architecture-creation.md, but then the remaining files don't follow alphabetical order.
    - `.github/chatmodes/calm-prompts/architecture-creation.md`
    - `.github/chatmodes/calm-prompts/calm-cli-instructions.md`
    - `.github/chatmodes/calm-prompts/node-creation.md`
    - `.github/chatmodes/calm-prompts/relationship-creation.md`
    - `.github/chatmodes/calm-prompts/interface-creation.md`
    - `.github/chatmodes/calm-prompts/metadata-creation.md`
    - `.github/chatmodes/calm-prompts/control-creation.md`
    - `.github/chatmodes/calm-prompts/flow-creation.md`
    - `.github/chatmodes/calm-prompts/pattern-creation.md`
    - `.github/chatmodes/calm-prompts/documentation-creation.md`

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +145 to +146
'documentation-creation.md',
'calm-cli-instructions.md'
Copy link

Copilot AI Nov 18, 2025

Choose a reason for hiding this comment

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

[nitpick] The new file calm-cli-instructions.md is added at the end of the list, but for consistency with the alphabetically sorted list in calm-ai/README.md, consider placing it after architecture-creation.md (line 137) to maintain alphabetical order across all locations where these files are referenced.

Copilot uses AI. Check for mistakes.
@@ -0,0 +1,133 @@
# CALM CLI Instructions
Copy link
Member

@LeighFinegold LeighFinegold Nov 18, 2025

Choose a reason for hiding this comment

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

Definitely useful to have this off hand as part of ai instructions.

Not for this issue. Be interesting if there is any tooling whereby we can define this once and not have to duplicate across the various documentation website, cli readme.md etc.

Unless copilot chat can somehow read the results of the cli --help command as part of initial instructions

@rocketstack-matt rocketstack-matt merged commit 04dde6c into finos:main Nov 18, 2025
17 of 18 checks passed
@rocketstack-matt rocketstack-matt deleted the cli-updates branch November 18, 2025 16:27
pmerrison pushed a commit to pmerrison/architecture-as-code that referenced this pull request Nov 20, 2025
feat(cli): update CALM model version and add CLI instructions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants