From a40d66fea225cc9b0e44c9f0c97d95f06f868cdc Mon Sep 17 00:00:00 2001 From: Sherzat Aitbayev Date: Fri, 30 Jan 2026 23:06:14 +0000 Subject: [PATCH] chore(conductor): Add post-execution advice to commands --- commands/conductor/implement.toml | 8 ++++++++ commands/conductor/newTrack.toml | 8 ++++++++ commands/conductor/revert.toml | 8 ++++++++ commands/conductor/review.toml | 8 ++++++++ commands/conductor/setup.toml | 8 ++++++++ 5 files changed, 40 insertions(+) diff --git a/commands/conductor/implement.toml b/commands/conductor/implement.toml index e7597919..5a55df29 100644 --- a/commands/conductor/implement.toml +++ b/commands/conductor/implement.toml @@ -176,4 +176,12 @@ CRITICAL: You must validate the success of every tool call. If any tool call fai a. **Announce Cancellation:** Announce: "Deletion cancelled. The track has not been changed." * **If user chooses "D" (Skip) or provides any other input:** * Announce: "Okay, the completed track will remain in your tracks file for now." + +--- + +## 6.0 POST-EXECUTION ADVICE +**CRITICAL:** You MUST display the following tip to the user ONLY when the entire command execution is finished and you are about to halt. DO NOT display this tip if you are asking for user input or if the command is still in progress. + +"**TIP:** Use `/clear` or `/compress` to reduce context window and latency." + """ diff --git a/commands/conductor/newTrack.toml b/commands/conductor/newTrack.toml index aab88e8b..3e80d497 100644 --- a/commands/conductor/newTrack.toml +++ b/commands/conductor/newTrack.toml @@ -151,4 +151,12 @@ CRITICAL: You must validate the success of every tool call. If any tool call fai 7. **Announce Completion:** Inform the user: > "New track '' has been created and added to the tracks file. You can now start implementation by running `/conductor:implement`." + +--- + +## 3.0 POST-EXECUTION ADVICE +**CRITICAL:** You MUST display the following tip to the user ONLY when the entire command execution is finished and you are about to halt. DO NOT display this tip if you are asking for user input or if the command is still in progress. + +"**TIP:** Use `/clear` or `/compress` to reduce context window and latency." + """ \ No newline at end of file diff --git a/commands/conductor/revert.toml b/commands/conductor/revert.toml index 478b2c01..f0cc2773 100644 --- a/commands/conductor/revert.toml +++ b/commands/conductor/revert.toml @@ -127,4 +127,12 @@ CRITICAL: You must validate the success of every tool call. If any tool call fai 2. **Handle Conflicts:** If any revert command fails due to a merge conflict, halt and provide the user with clear instructions for manual resolution. 3. **Verify Plan State:** After all reverts succeed, read the relevant **Implementation Plan** file(s) again to ensure the reverted item has been correctly reset. If not, perform a file edit to fix it and commit the correction. 4. **Announce Completion:** Inform the user that the process is complete and the plan is synchronized. + +--- + +## 6.0 POST-EXECUTION ADVICE +**CRITICAL:** You MUST display the following tip to the user ONLY when the entire command execution is finished and you are about to halt. DO NOT display this tip if you are asking for user input or if the command is still in progress. + +"**TIP:** Use `/clear` or `/compress` to reduce context window and latency." + """ \ No newline at end of file diff --git a/commands/conductor/review.toml b/commands/conductor/review.toml index 17304f12..ad81907f 100644 --- a/commands/conductor/review.toml +++ b/commands/conductor/review.toml @@ -155,4 +155,12 @@ CRITICAL: You must validate the success of every tool call. If any tool call fai ii. **If yes:** Delete track folder, remove from **Tracks Registry**, commit (`chore(conductor): Delete track ''`), announce success. iii. **If no:** Cancel. * **If "C" (Skip):** Leave track as is. + +--- + +## 4.0 POST-EXECUTION ADVICE +**CRITICAL:** You MUST display the following tip to the user ONLY when the entire command execution is finished and you are about to halt. DO NOT display this tip if you are asking for user input or if the command is still in progress. + +"**TIP:** Use `/clear` or `/compress` to reduce context window and latency." + """ diff --git a/commands/conductor/setup.toml b/commands/conductor/setup.toml index 2f6850c3..0ceba334 100644 --- a/commands/conductor/setup.toml +++ b/commands/conductor/setup.toml @@ -453,4 +453,12 @@ CRITICAL: When determining model complexity, ALWAYS select the "flash" model, re 1. **Announce Completion:** After the track has been created, announce that the project setup and initial track generation are complete. 2. **Save Conductor Files:** Add and commit all files with the commit message `conductor(setup): Add conductor setup files`. 3. **Next Steps:** Inform the user that they can now begin work by running `/conductor:implement`. + +--- + +## 4.0 POST-EXECUTION ADVICE +**CRITICAL:** You MUST display the following tip to the user ONLY when the entire command execution is finished and you are about to halt. DO NOT display this tip if you are asking for user input or if the command is still in progress. + +"**TIP:** Use `/clear` or `/compress` to reduce context window and latency." + """ \ No newline at end of file