zrb 1.9.15__py3-none-any.whl → 1.9.16__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
zrb/config/llm_config.py CHANGED
@@ -81,13 +81,25 @@ _DEFAULT_SPECIAL_INSTRUCTION_PROMPT = (
81
81
  "3. **Verify:** Check that the file/directory now exists (or doesn't) in "
82
82
  "its expected state.\n\n"
83
83
  "**Code & Software Development:**\n"
84
- "1. **Understand:** Use tools to analyze the codebase, dependencies, "
85
- "and existing patterns.\n"
86
- "2. **Plan:** For non-trivial changes, formulate a plan.\n"
87
- "3. **Implement:** Make the changes, strictly adhering to project "
88
- "conventions.\n"
89
- "4. **Verify:** Run all relevant tests, linters, and build commands to "
90
- "ensure your changes are correct and meet quality standards.\n\n"
84
+ "1. **CRITICAL: Gather Context First:** Before writing or modifying any code, "
85
+ "you MUST gather context to ensure your changes are idiomatic and correct. "
86
+ "Do not make assumptions. Your primary goal is to fit into the existing "
87
+ "project seamlessly.\n"
88
+ " * **When writing a new test:** You MUST first read the full source "
89
+ "code of the module(s) you are testing. This will inform you about the "
90
+ "actual implementation, such as its logging methods, error handling, and "
91
+ "public APIs.\n"
92
+ " * **When writing new implementation code (e.g., a new function or "
93
+ "class):** You MUST first look for existing tests (e.g., `test_*.py`, "
94
+ "`*.spec.ts`) and related application modules. This helps you understand "
95
+ "the project's conventions and how to write testable code from the start.\n"
96
+ "2. **Plan:** For non-trivial changes, formulate a plan based on the "
97
+ "context you gathered.\n"
98
+ "3. **Implement:** Make the changes, strictly adhering to the patterns and "
99
+ "conventions discovered in step 1.\n"
100
+ "4. **Verify:** Run all relevant tests, linters, and build commands. If a "
101
+ "test fails, analyze the error, read the relevant code again, and attempt "
102
+ "to fix the underlying issue before trying again.\n\n"
91
103
  "**Research & Analysis:**\n"
92
104
  "1. **Clarify:** Understand the core question and the desired output "
93
105
  "format.\n"
@@ -117,8 +129,8 @@ _DEFAULT_SUMMARIZATION_PROMPT = (
117
129
  "2. `## Transcript`\n"
118
130
  " - The Transcript is the assistant's working memory. It MUST "
119
131
  "contain the last few turns of the conversation in full detail.\n"
120
- " - **CRITICAL REQUIREMENT:** The assistant's last response MUST be "
121
- "COPIED VERBATIM into the Transcript. Do not alter it."
132
+ " - **CRITICAL REQUIREMENT:** The assistant's and user's last response "
133
+ "MUST be COPIED VERBATIM into the Transcript. NEVER alter or truncate them for any reason"
122
134
  ).strip()
123
135
 
124
136
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: zrb
3
- Version: 1.9.15
3
+ Version: 1.9.16
4
4
  Summary: Your Automation Powerhouse
5
5
  Home-page: https://github.com/state-alchemists/zrb
6
6
  License: AGPL-3.0-or-later
@@ -218,7 +218,7 @@ zrb/cmd/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
218
218
  zrb/cmd/cmd_result.py,sha256=L8bQJzWCpcYexIxHBNsXj2pT3BtLmWex0iJSMkvimOA,597
219
219
  zrb/cmd/cmd_val.py,sha256=7Doowyg6BK3ISSGBLt-PmlhzaEkBjWWm51cED6fAUOQ,1014
220
220
  zrb/config/config.py,sha256=UpVm_IFD_bSfGS-QJoRo86xV63eGIuIwWICMaUZgR00,15268
221
- zrb/config/llm_config.py,sha256=o9-RjPB50isYjbHGtvrOKnqnQbazml-z8Pbo61ZMHQ4,16497
221
+ zrb/config/llm_config.py,sha256=YxMV_rRY8SU57aq4xlRiMm223yMzfQUzADmqAyoNRTI,17415
222
222
  zrb/config/llm_rate_limitter.py,sha256=0U0qm4qgCWqBjohPdwANNUzLR3joJCFYr6oW6Xpccfo,4436
223
223
  zrb/config/web_auth_config.py,sha256=_PXatQTYh2mX9H3HSYSQKp13zm1RlLyVIoeIr6KYMQ8,6279
224
224
  zrb/content_transformer/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -393,7 +393,7 @@ zrb/util/todo.py,sha256=r9_KYF2-hLKMNjsp6AFK9zivykMrywd-kJ4bCwfdafI,19323
393
393
  zrb/util/todo_model.py,sha256=hhzAX-uFl5rsg7iVX1ULlJOfBtblwQ_ieNUxBWfc-Os,1670
394
394
  zrb/xcom/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
395
395
  zrb/xcom/xcom.py,sha256=o79rxR9wphnShrcIushA0Qt71d_p3ZTxjNf7x9hJB78,1571
396
- zrb-1.9.15.dist-info/METADATA,sha256=lzTFkvtWoHHf1GKQMTWgYRCj02hr9VGHXnY-S5DfpXg,9778
397
- zrb-1.9.15.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
398
- zrb-1.9.15.dist-info/entry_points.txt,sha256=-Pg3ElWPfnaSM-XvXqCxEAa-wfVI6BEgcs386s8C8v8,46
399
- zrb-1.9.15.dist-info/RECORD,,
396
+ zrb-1.9.16.dist-info/METADATA,sha256=mDFOvi0SF15P4y4BKlynOsHZrQJClrZC2dNeTB-Xzz0,9778
397
+ zrb-1.9.16.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
398
+ zrb-1.9.16.dist-info/entry_points.txt,sha256=-Pg3ElWPfnaSM-XvXqCxEAa-wfVI6BEgcs386s8C8v8,46
399
+ zrb-1.9.16.dist-info/RECORD,,
File without changes