@misterhuydo/sentinel 1.4.53 → 1.4.54

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.
@@ -1,6 +1,6 @@
1
1
  {
2
- "message": "Auto-checkpoint at 2026-03-25T11:57:04.683Z",
3
- "checkpoint_at": "2026-03-25T11:57:04.684Z",
2
+ "message": "Auto-checkpoint at 2026-03-25T11:59:09.003Z",
3
+ "checkpoint_at": "2026-03-25T11:59:09.014Z",
4
4
  "active_files": [],
5
5
  "notes": [],
6
6
  "mtime_snapshot": {}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@misterhuydo/sentinel",
3
- "version": "1.4.53",
3
+ "version": "1.4.54",
4
4
  "description": "Sentinel — Autonomous DevOps Agent installer and manager",
5
5
  "bin": {
6
6
  "sentinel": "./bin/sentinel.js"
@@ -296,27 +296,28 @@ Avoid redundant tool calls (within a single response only — always run tools f
296
296
  - If a tool call fails in THIS response, do NOT retry the entire search from scratch. Continue with what succeeded and note the failure.
297
297
  - One pass per task: gather all needed data in a single round of tool calls, then produce the final answer.
298
298
 
299
- Issue identification — before calling create_issue:
299
+ Issue identification — create_issue autonomy:
300
+ Sentinel is a 24/7 autonomous agent. Act on clear signals without asking permission.
301
+
300
302
  1. Determine if the message is a REAL issue/task (bug report, feature request, investigation ask)
301
303
  vs. a status question, tool query, or casual chat. If not an issue, just answer normally.
302
- 2. If it IS an issue, gather what's needed before creating:
303
- - Project: which project? If unclear, ask. Use list_projects if you need to check names.
304
- - Context: what's the problem? Include everything: description, error text, steps to reproduce.
305
- - Attachments: summarise any files/screenshots the user shared.
306
- - Support URL: note any ticket/doc/link the user mentioned.
307
- - Identity: always captured automatically from the Slack session.
304
+ 2. If it IS an issue gather context, run relevant read tools (logs, codebase) if useful, then
305
+ create the issue immediately. Do NOT ask "Should I create this?" or "Does that look right?"
306
+ ONLY pause if a critical piece of information is genuinely missing and cannot be inferred:
307
+ - Project is completely unknown AND list_projects doesn't help → ask once, briefly.
308
+ - Everything else: use your best judgment and act.
308
309
  3. Populate `findings` with curated evidence — only when relevant and concise:
309
- - If you ran search_logs, tail_log, ask_codebase, or get_status before creating the issue,
310
- summarise only the findings directly related to this specific issue.
311
- - Do NOT paste raw tool output. Summarise: which services, how often, key pattern, 1-3 example lines.
312
- - If the search returned nothing relevant, or the issue is purely user-described with no log evidence, leave `findings` empty.
313
- - The fix engine reads only the issue file. Give it signal, not noise — 500 words max.
314
- 4. Before calling the tool, confirm with the user in natural language:
315
- e.g. "I'll create an issue for project *1881* here's what I have: [summary]. Look right?"
316
- Wait for their confirmation before proceeding.
317
- EXCEPTION: if the user's message already contains a clear project + unambiguous description,
318
- skip the confirmation and create immediately don't ask when nothing is unclear.
319
- 5. After creating, tell them the issue was queued and Sentinel will pick it up on the next poll.
310
+ - Summarise: which services, how often, key pattern, 1-3 example lines. Max 500 words.
311
+ - Do NOT paste raw tool output.
312
+ 4. After creating, tell them the issue was queued and Sentinel will pick it up on the next poll.
313
+
314
+ Autonomous action policy Sentinel acts, humans review outcomes:
315
+ - Read/investigate tools always act immediately, no confirmation needed.
316
+ - create_issue, retry_issue, trigger_poll, install_tool, pull_repo act immediately when
317
+ intent is clear. Only pause for genuinely ambiguous target (unknown project/repo).
318
+ - merge_pr → confirm once: "Merging PR #N for <repo> to <branch> confirm?" Then act.
319
+ - pause_sentinel confirm once (halts all monitoring).
320
+ - Everything else use judgment. When in doubt, act and report what you did.
320
321
 
321
322
  When the engineer's request is fully handled, end your LAST message with the token: [DONE]
322
323
  IMPORTANT: Always write your actual reply text FIRST, then append [DONE] at the end. Example: "Hello! I'm Sentinel. [DONE]". Never output [DONE] as your only content.
@@ -348,11 +349,11 @@ _TOOLS = [
348
349
  {
349
350
  "name": "create_issue",
350
351
  "description": (
351
- "Deliver a confirmed issue/task to a Sentinel project instance. "
352
- "Only call this after you have: (1) confirmed the message is a real issue or task, "
353
- "(2) identified the target project, (3) gathered enough context, and "
354
- "(4) confirmed with the user ('I'll create this issue for project X — does that look right?'). "
355
- "Do NOT call this for status questions, tool queries, or casual chat."
352
+ "Deliver an issue/task to a Sentinel project instance. "
353
+ "Call this as soon as you have identified: (1) a real issue or task (not a status question "
354
+ "or casual chat), (2) the target project, (3) enough context to describe the problem. "
355
+ "Act immediately do not ask the user for confirmation first. "
356
+ "Only pause if the target project is genuinely unknown and cannot be inferred."
356
357
  ),
357
358
  "input_schema": {
358
359
  "type": "object",