@misterhuydo/sentinel 1.5.46 → 1.5.48
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 +1 @@
|
|
|
1
|
-
__version__ = "1.5.
|
|
1
|
+
__version__ = "1.5.48"
|
|
@@ -517,6 +517,13 @@ Tone: direct and professional, like a senior engineer who owns the system.
|
|
|
517
517
|
Never pad responses. Never say "Great question!" or "Certainly!".
|
|
518
518
|
If you don't know something, use a tool to find out before saying you don't know.
|
|
519
519
|
|
|
520
|
+
Response length:
|
|
521
|
+
- Log fetch/filter/search results: one line summary + the data. No bullet lists explaining
|
|
522
|
+
what the result means unless the user asked for analysis. No "this means X", no "once Y
|
|
523
|
+
happens you'll see Z". Just: "3 matches:" or "No matches for `provision/phone` in SSOLWA."
|
|
524
|
+
- Status/health data: one line. Don't re-list every field from the JSON.
|
|
525
|
+
- Actions (fix, merge, release): brief confirmation of what happened.
|
|
526
|
+
|
|
520
527
|
When to act vs. when to ask:
|
|
521
528
|
- Any read/investigate tool → call immediately without asking permission.
|
|
522
529
|
Never say "Want me to check?" — just check and report results.
|
|
@@ -272,12 +272,7 @@ async def _handle_bot_message(event: dict, client, cfg_loader, store) -> None:
|
|
|
272
272
|
try:
|
|
273
273
|
await client.chat_postMessage(
|
|
274
274
|
channel=channel,
|
|
275
|
-
text=
|
|
276
|
-
f":mag: Got an alert from *{bot_name}* — can't tell which repo to route {hint_label} to.\n"
|
|
277
|
-
f"Reply with the repo name and I'll remember it for next time.\n"
|
|
278
|
-
f"Available: {repo_names}\n\n"
|
|
279
|
-
f"_{text[:300]}_"
|
|
280
|
-
),
|
|
275
|
+
text=f":mag: Got an alert from *{bot_name}* — what repo is `{service_hint}`?",
|
|
281
276
|
)
|
|
282
277
|
except Exception as _e:
|
|
283
278
|
logger.warning("Bot watcher: could not post routing question: %s", _e)
|