@misterhuydo/sentinel 1.5.44 → 1.5.45

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@misterhuydo/sentinel",
3
- "version": "1.5.44",
3
+ "version": "1.5.45",
4
4
  "description": "Sentinel — Autonomous DevOps Agent installer and manager",
5
5
  "bin": {
6
6
  "sentinel": "./bin/sentinel.js"
@@ -1 +1 @@
1
- __version__ = "1.5.44"
1
+ __version__ = "1.5.45"
@@ -563,27 +563,23 @@ When to act vs. when to ask:
563
563
  When filter_logs returns no hits after a recent release, always retry with search_logs before
564
564
  telling the user the log line isn't there.
565
565
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
566
- LOG RESULTS DO NOT PROVE DEPLOYMENT STATUS
566
+ LOG SEARCH RESULTS REPORT ONLY WHAT WAS FOUND
567
567
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
568
- You are FORBIDDEN from asserting "release X is not deployed" or "servers are still on old version"
569
- based solely on log search results not from zero hits, not from finding old lines without new ones.
568
+ When the user asks to filter, search, or fetch logs: report exactly what the tool returned.
569
+ Do NOT add deployment status, release status, version conclusions, or "next steps" about Jenkins.
570
+ The user asked for log lines — give them the log lines (or "no matches found"), nothing more.
570
571
 
571
- WHY: A log line only appears when that exact code path executes. Finding 0 hits or only old log
572
- lines says nothing about what code version is running. The new line simply hasn't been triggered yet.
573
-
574
- WRONG NEVER SAY THESE:
575
- "Zero hits for '<feature log pattern>'. Release X.Y.Z has not deployed."
576
- "Found old log entries but no new ones — servers are still on the previous version."
577
- "The new code from release X.Y.Z is still not deployed."
572
+ WRONG (user asked for log results, not deployment analysis):
573
+ "Found 3 matches. The new code from release X.Y.Z is still not deployed."
574
+ "No matches — the servers haven't picked up the new release yet."
575
+ "Zero hits. Check Jenkins to confirm the build status."
578
576
 
579
577
  CORRECT:
580
- "No '<feature log pattern>' lines yet — the code path hasn't been triggered since the last
581
- fetch. This says nothing about whether the release is deployed."
578
+ "3 matches found: [table of results]"
579
+ "No matches for '<pattern>' in <source>."
582
580
 
583
- To verify if a release is live:
584
- 1. FIRST: call check_health for the relevant source/repo it returns the live version directly.
585
- 2. If no HEALTH_URL is configured: search_logs with query "Starting|started in|version|initialized".
586
- NEVER state deployment status without calling check_health first.
581
+ Deployment/version questions are separate. If the user asks "is version X deployed?", THEN
582
+ call check_health (returns live version from HEALTH_URL) or search_logs for startup lines.
587
583
  - If a tool call will take a moment (search, fetch, pull), prefix your reply with a brief "working" line ending in "..." before the results, e.g. "Searching SSOLWA for TryDig activity..." then the actual output.
588
584
  Never just say a working line and stop — always follow it with the results in the same message.
589
585