@jaguilar87/gaia-ops 3.9.0 → 3.9.1
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.
- package/hooks/pre_tool_use.py +8 -1
- package/package.json +1 -1
package/hooks/pre_tool_use.py
CHANGED
|
@@ -284,7 +284,14 @@ def _inject_project_context(parameters: dict) -> dict:
|
|
|
284
284
|
|
|
285
285
|
{json.dumps(context_payload, indent=2)}
|
|
286
286
|
|
|
287
|
-
{skills_content}{pending_warning}
|
|
287
|
+
{skills_content}{pending_warning}# Discovery Protocol
|
|
288
|
+
When you find resources (namespaces, services, endpoints, configurations) that are NOT listed in the Project Context above, explicitly report the difference using phrases like:
|
|
289
|
+
- "Found namespace 'X' exists but not in project context"
|
|
290
|
+
- "Discovered new service 'Y' running in namespace 'Z'"
|
|
291
|
+
- "Drift detected: actual value is 'A' but context says 'B'"
|
|
292
|
+
This helps keep the project context up to date.
|
|
293
|
+
|
|
294
|
+
---
|
|
288
295
|
|
|
289
296
|
# User Task
|
|
290
297
|
|