Skip to content

Conversation

@eranco74
Copy link
Collaborator

@eranco74 eranco74 commented Jul 20, 2025

Key improvements:

  • Enhanced Proactivity: The agent is now better instructed to anticipate user needs and guide them through the installation process more effectively.
  • Persistent Memory: The agent will now more reliably remember and use all provided information, including the Cluster ID, without re-asking.
  • Action-Oriented Affirmations: "Yes" responses to proposed actions will now explicitly trigger those actions and advance the workflow, preventing conversational loops.
  • Proactive ID Usage: The agent is instructed to automatically supply known identifiers for tool calls, streamlining interactions.

Summary by CodeRabbit

  • Documentation
    • Updated system guidance to focus specifically on the OpenShift Assisted Installer.
    • Enhanced memory and context retention instructions for more efficient, non-redundant interactions.
    • Added detailed, step-by-step workflow guidance for the Assisted Installer process, including proactive suggestions and troubleshooting steps.

@coderabbitai
Copy link

coderabbitai bot commented Jul 20, 2025

Walkthrough

The system prompt configuration was updated to focus specifically on the OpenShift Assisted Installer, with expanded instructions for memory retention, proactive workflow guidance, and stepwise assistant behavior throughout the installation process. No code or exported entity changes were made; all modifications are limited to the prompt text.

Changes

File(s) Change Summary
config/systemprompt.txt Expanded to focus on OpenShift Assisted Installer, added detailed memory/context rules, a checklist metaphor for parameters, and a new proactive workflow guidance section outlining stepwise assistant behavior during the installer process. No code or API changes.

Possibly related PRs


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

‼️ IMPORTANT
Auto-reply has been disabled for this repository in the CodeRabbit settings. The CodeRabbit bot will not respond to your replies unless it is explicitly tagged.

  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@eranco74
Copy link
Collaborator Author

/hold
Need to evaluate the cost of this change

@eranco74
Copy link
Collaborator Author

eranco74 commented Jul 20, 2025

Enter your query (or type 'exit' to quit): let's create a cluster
Updated conversation ID: 9b236191-a3cd-459e-b82b-65e053a79351
conversation_id: 9b236191-a3cd-459e-b82b-65e053a79351
response: 'Okay, let''s create a new OpenShift cluster. I need a few details to get
  started. What name do you want to give the cluster? Also, what OpenShift version
  do you want to install? What will be the base domain for the cluster? Finally, do
  you want to create a single-node cluster?

  '
Enter your query (or type 'exit' to quit): name is eran
Updated conversation ID: 9b236191-a3cd-459e-b82b-65e053a79351
conversation_id: 9b236191-a3cd-459e-b82b-65e053a79351
response: 'OK, the cluster name is `eran`. What OpenShift version do you want to install?
  What will be the base domain for the cluster? Do you want to create a single-node
  cluster?

  '
Enter your query (or type 'exit' to quit): version is 4.19.2 base domain is redhat.com
Updated conversation ID: 9b236191-a3cd-459e-b82b-65e053a79351
conversation_id: 9b236191-a3cd-459e-b82b-65e053a79351
response: 'OK, the cluster name is `eran`, the OpenShift version is `4.19.2`, and
  the base domain is `redhat.com`. Do you want to create a single-node cluster?

  '
Enter your query (or type 'exit' to quit): yes it's a single node
Updated conversation ID: 9b236191-a3cd-459e-b82b-65e053a79351
conversation_id: 9b236191-a3cd-459e-b82b-65e053a79351
response: 'Okay, I have all the information needed to create the cluster.


  Cluster Name: eran

  OpenShift Version: 4.19.2

  Base Domain: redhat.com

  Single Node Cluster: Yes


  Do you want me to proceed with creating the cluster?

  '
Enter your query (or type 'exit' to quit): yes
Updated conversation ID: 9b236191-a3cd-459e-b82b-65e053a79351
conversation_id: 9b236191-a3cd-459e-b82b-65e053a79351
response: 'Great! The cluster "eran" has been created with ID `3ad5c02c-9d06-429b-930a-aee553234b74`.


  The next step is to download the Discovery ISO. Would you like me to provide the
  ISO download URL?

  '
Enter your query (or type 'exit' to quit): yes
Updated conversation ID: 9b236191-a3cd-459e-b82b-65e053a79351
conversation_id: 9b236191-a3cd-459e-b82b-65e053a79351
response: 'OK. Here is the ISO download URL:


  `https://api.openshift.com/api/assisted-images/bytoken/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3NTMwMjk0MTQsInN1YiI6ImI2ODMwZDljLTk4MzYtNDcyOS1iODc5LTJlYjU5OGVhY2JmZSJ9.7BS2rGF2hQkxxGJAsfexZ8tkznvqcYlDcC7DX6tZCkA/4.19/x86_64/minimal.iso`


  After downloading the ISO, you''ll need to boot your host with it. Once the host
  is discovered, I can help you monitor its status and configure the cluster.


  Since this is a single-node cluster, you don''t need to set API and Ingress VIPs.


  After the host is discovered and its installation is complete, I can provide you
  with the kubeconfig file and the kubeadmin password.


  Do you want to monitor the cluster events?

  '
Enter your query (or type 'exit' to quit): what is the cluster status
Updated conversation ID: 9b236191-a3cd-459e-b82b-65e053a79351
conversation_id: 9b236191-a3cd-459e-b82b-65e053a79351
response: 'The cluster status is insufficient. Cluster is not ready for install.

  '

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (5)
config/systemprompt.txt (5)

1-1: Consistently capitalize “OpenShift”.

Line 1 uses “Openshift” (lower-case “s”). Elsewhere the document uses the canonical “OpenShift”. Unify the product name to avoid brand inconsistency.

-You are Openshift Lightspeed Intelligent Assistant
+You are OpenShift Lightspeed Intelligent Assistant

6-8: Numbering jumps from 2 → 4; insert the missing “3.”

The ordered list under “Memory and Context Retention” skips the number 3, which can confuse readers and automatic parsers.

-2.  **Internal Checklist Mentality:** …
-4.  **No Redundancy:** …
+2.  **Internal Checklist Mentality:** …
+3.  **No Redundancy:** …
+4.  **Unambiguous Action Triggering on Affirmation ("Yes") & Progression:** …

(NOTE: increment subsequent numbers accordingly.)


9-11: Heading 5 now duplicates content after renumbering.

After shifting numbers, the current item 5 becomes redundant with the new item 4. Consider merging or deleting to keep the list concise.


45-45: Remove duplicated word “the”.

Minor typo hurts readability.

-    * Proactively offer to provide the the ISO download URL.
+    * Proactively offer to provide the ISO download URL.

75-82: Trailing list lacks terminating period consistency.

Some bullets end with periods, others don’t (e.g., lines 75–82). Pick one style (period or no-period) and apply consistently for professional polish.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2975e60 and 7b83934.

📒 Files selected for processing (1)
  • config/systemprompt.txt (2 hunks)

Key improvements:
* Enhanced Proactivity: The agent is now better instructed to anticipate user needs and guide them through the installation process more effectively.
* Persistent Memory: The agent will now more reliably remember and use **all provided information**, including the **Cluster ID**, without re-asking.
* Action-Oriented Affirmations: "Yes" responses to proposed actions will now explicitly trigger those actions and advance the workflow, preventing conversational loops.
* Proactive ID Usage: The agent is instructed to automatically supply known identifiers for tool calls, streamlining interactions.

Signed-off-by: Eran Cohen <[email protected]>
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (3)
config/systemprompt.txt (3)

3-4: Fix the broken bold-markdown delimiter

The sentence opens bold twice but closes it only once, so everything after “to” is rendered as normal text instead of bold. Move the closing ** to the end of the sentence:

-**Your highest priority during this entire interaction is to **maintain precise awareness of the current stage of the OpenShift Assisted Installer workflow and to never ask for information the user has already provided or that is irrelevant to the current phase.**
+**Your highest priority during this entire interaction is to maintain precise awareness of the current stage of the OpenShift Assisted Installer workflow and to never ask for information the user has already provided or that is irrelevant to the current phase.**

10-16: Remove the duplicated “unambiguous action triggering” guideline

Bullet #3 and bullet #5 convey the same rule, creating noise and risking contradictory edits later. Consolidate them into a single bullet:

-3.  **UNAMBIGUOUS ACTION TRIGGERING ON AFFIRMATION ("YES") & PROGRESSION (STAGE-SPECIFIC):** This is paramount.
-    * When you propose a specific action or a next step that requires user confirmation, a user's **"yes" response (or similar affirmation)** is an **IMMEDIATE, UNCONDITIONAL COMMAND TO PERFORM THAT *SPECIFIC PROPOSED ACTION*** and advance the workflow.
-    * Upon receiving "yes" to a proposed action, you **MUST NOT** re-summarize past information or re-ask questions. You **MUST immediately proceed to execute *only the proposed action*** (or acknowledge its completion) and transition to the next logical workflow stage.
-...
-5.  **Unambiguous Action Triggering on Affirmation ("Yes") & Progression:** This is paramount.
-    * When you propose an action or a next step that requires user confirmation (e.g., "Do you want me to proceed with creating the cluster?", "Would you like me to provide the ISO download URL?"), a user's **"yes" response (or similar affirmation)** is an **immediate, unconditional command to perform that action and advance the workflow.**
+3.  **UNAMBIGUOUS ACTION TRIGGERING ON AFFIRMATION ("YES") & PROGRESSION (STAGE-SPECIFIC):**  
+    * When you propose an action that needs confirmation, the user's **"yes"** (or similar) is an **immediate, unconditional command to execute exactly that action and move to the next workflow stage.**  
+    * After “yes”, do **not** re-summarize prior info or re-ask questions—just perform the action and advance.

35-35: Consistent product spelling

“Openshift” → “OpenShift” to match Red Hat branding used elsewhere in the prompt.

-You are Openshift Lightspeed Intelligent Assistant. 
+You are OpenShift Lightspeed Intelligent Assistant. 
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7b83934 and 070a8d6.

📒 Files selected for processing (1)
  • config/systemprompt.txt (2 hunks)

@omertuc omertuc merged commit 20ba798 into rh-ecosystem-edge:main Jul 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants