@misterhuydo/sentinel 1.5.7 → 1.5.8

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,19 +1,18 @@
1
1
  {
2
- "message": "Auto-checkpoint at 2026-04-08T10:32:33.099Z",
3
- "checkpoint_at": "2026-04-08T10:32:33.174Z",
2
+ "message": "Auto-checkpoint at 2026-04-08T10:51:07.409Z",
3
+ "checkpoint_at": "2026-04-08T10:51:07.494Z",
4
4
  "active_files": [
5
5
  "J:\\Projects\\Sentinel\\cli\\bin\\sentinel.js",
6
6
  "J:\\Projects\\Sentinel\\cli\\lib\\test.js",
7
- "J:\\Projects\\Sentinel\\cli\\python\\sentinel\\main.py",
8
7
  "J:\\Projects\\Sentinel\\cli\\python\\sentinel\\cicd_trigger.py"
9
8
  ],
10
9
  "notes": [
11
- "[2026-04-08] git-snapshot: .cairn/session.json | 28 ++++-\n .claude/settings.local.json | 47 ++++++-\n cli/.cairn/.hint-lock | 2 +-\n cli/.cairn/minify-map.json | 14 ++-\n cli/.cairn/session.json | 4 +-\n cli/.cairn/views/62a614_bundle.js | 5 +-\n cli/lib/.cairn/minify-map.json | 6 +\n cli/lib/.cairn/views/fb78ac_upgrade.js | 37 +++++-\n cli/lib/.cairn/views/fc4a1a_add.js | 215 +++++++++++++++++++++++++--------\n 9 files changed, 295 insertions(+), 63 deletions(-) | status: M ../.cairn/session.json\n M ../.claude/settings.local.json\n M .cairn/.hint-lock\n M .cairn/minify-map.json\n M .cairn/session.json\n M .cairn/views/62a614_bundle.js\n M lib/.cairn/minify-map.json\n M lib/.cairn/views/fb78ac_upgrade.js\n M lib/.cairn/views/fc4a1a_add.js\n?? ../.cairn/.cairn-project\n?? ../.cairn/memory/\n?? ../.cairn/minify-map.json\n?? ../.cairn/views/\n?? .cairn/views/23edf4_sentinel_boss.py\n?? .cairn/views/5f5141_main.py\n?? .cairn/views/7802b9_cicd_trigger.py\n?? .cairn/views/ac3df4_repo_task_engine.py\n?? lib/.cairn/views/2a85cc_init.js\n?? lib/.cairn/views/e26996_slack-setup.js\n?? ../scripts/fix_ask_codebase_context.py\n?? ../scripts/fix_ask_codebase_stdin.py\n?? ../scripts/fix_chain_slack.py\n?? ../scripts/fix_fstring.py\n?? ../scripts/fix_knowledge_cache.py\n?? ../scripts/fix_knowledge_cache_staleness.py\n?? ../scripts/fix_merge_confirm.py\n?? ../scripts/fix_permission_messages.py\n?? ../scripts/fix_pr_check_head_detect.py\n?? ../scripts/fix_pr_msg_newlines.py\n?? ../scripts/fix_pr_tracking_boss.py\n?? ../scripts/fix_pr_tracking_db.py\n?? ../scripts/fix_pr_tracking_main.py\n?? ../scripts/fix_project_isolation.py\n?? ../scripts/fix_system_prompt.py\n?? ../scripts/fix_two_bugs.py\n?? ../scripts/patch_chain_release.py"
10
+ "[2026-04-08] git-snapshot: .cairn/session.json | 28 ++++-\n .claude/settings.local.json | 47 ++++++-\n cli/.cairn/.hint-lock | 2 +-\n cli/.cairn/minify-map.json | 14 ++-\n cli/.cairn/session.json | 4 +-\n cli/.cairn/views/62a614_bundle.js | 5 +-\n cli/lib/.cairn/minify-map.json | 6 +\n cli/lib/.cairn/views/fb78ac_upgrade.js | 37 +++++-\n cli/lib/.cairn/views/fc4a1a_add.js | 215 +++++++++++++++++++++++++--------\n 9 files changed, 295 insertions(+), 63 deletions(-) | status: M ../.cairn/session.json\n M ../.claude/settings.local.json\n M .cairn/.hint-lock\n M .cairn/minify-map.json\n M .cairn/session.json\n M .cairn/views/62a614_bundle.js\n M lib/.cairn/minify-map.json\n M lib/.cairn/views/fb78ac_upgrade.js\n M lib/.cairn/views/fc4a1a_add.js\n?? ../.cairn/.cairn-project\n?? ../.cairn/memory/\n?? ../.cairn/minify-map.json\n?? ../.cairn/views/\n?? .cairn/views/23edf4_sentinel_boss.py\n?? .cairn/views/5f5141_main.py\n?? .cairn/views/7802b9_cicd_trigger.py\n?? .cairn/views/ac3df4_repo_task_engine.py\n?? lib/.cairn/views/2a85cc_init.js\n?? lib/.cairn/views/e26996_slack-setup.js\n?? ../scripts/fix_ask_codebase_context.py\n?? ../scripts/fix_ask_codebase_stdin.py\n?? ../scripts/fix_chain_slack.py\n?? ../scripts/fix_fstring.py\n?? ../scripts/fix_knowledge_cache.py\n?? ../scripts/fix_knowledge_cache_staleness.py\n?? ../scripts/fix_merge_confirm.py\n?? ../scripts/fix_permission_messages.py\n?? ../scripts/fix_pr_check_head_detect.py\n?? ../scripts/fix_pr_msg_newlines.py\n?? ../scripts/fix_pr_tracking_boss.py\n?? ../scripts/fix_pr_tracking_db.py\n?? ../scripts/fix_pr_tracking_main.py\n?? ../scripts/fix_project_isolation.py\n?? ../scripts/fix_system_prompt.py\n?? ../scripts/fix_two_bugs.py\n?? ../scripts/patch_chain_release.py",
11
+ "[2026-04-08] git-snapshot: .cairn/session.json | 20 ++-\n .claude/settings.local.json | 47 ++++++-\n cli/.cairn/.hint-lock | 2 +-\n cli/.cairn/minify-map.json | 8 +-\n cli/.cairn/session.json | 22 +++-\n cli/.cairn/views/62a614_bundle.js | 5 +-\n cli/lib/.cairn/minify-map.json | 6 +\n cli/lib/.cairn/views/fb78ac_upgrade.js | 37 +++++-\n cli/lib/.cairn/views/fc4a1a_add.js | 215 +++++++++++++++++++++++++--------\n 9 files changed, 296 insertions(+), 66 deletions(-) | status: M ../.cairn/session.json\n M ../.claude/settings.local.json\n M .cairn/.hint-lock\n M .cairn/minify-map.json\n M .cairn/session.json\n M .cairn/views/62a614_bundle.js\n M lib/.cairn/minify-map.json\n M lib/.cairn/views/fb78ac_upgrade.js\n M lib/.cairn/views/fc4a1a_add.js\n?? ../.cairn/.cairn-project\n?? ../.cairn/memory/\n?? ../.cairn/minify-map.json\n?? ../.cairn/views/\n?? .cairn/views/23edf4_sentinel_boss.py\n?? .cairn/views/7802b9_cicd_trigger.py\n?? .cairn/views/ac3df4_repo_task_engine.py\n?? lib/.cairn/views/2a85cc_init.js\n?? lib/.cairn/views/e26996_slack-setup.js\n?? ../scripts/fix_ask_codebase_context.py\n?? ../scripts/fix_ask_codebase_stdin.py\n?? ../scripts/fix_chain_slack.py\n?? ../scripts/fix_fstring.py\n?? ../scripts/fix_knowledge_cache.py\n?? ../scripts/fix_knowledge_cache_staleness.py\n?? ../scripts/fix_merge_confirm.py\n?? ../scripts/fix_permission_messages.py\n?? ../scripts/fix_pr_check_head_detect.py\n?? ../scripts/fix_pr_msg_newlines.py\n?? ../scripts/fix_pr_tracking_boss.py\n?? ../scripts/fix_pr_tracking_db.py\n?? ../scripts/fix_pr_tracking_main.py\n?? ../scripts/fix_project_isolation.py\n?? ../scripts/fix_system_prompt.py\n?? ../scripts/fix_two_bugs.py\n?? ../scripts/patch_chain_release.py"
12
12
  ],
13
13
  "mtime_snapshot": {
14
14
  "J:\\Projects\\Sentinel\\cli\\bin\\sentinel.js": 1774252515044.4768,
15
15
  "J:\\Projects\\Sentinel\\cli\\lib\\test.js": 1774252437350.0059,
16
- "J:\\Projects\\Sentinel\\cli\\python\\sentinel\\main.py": 1775575790779.8606,
17
16
  "J:\\Projects\\Sentinel\\cli\\python\\sentinel\\cicd_trigger.py": 1774523631399.9514
18
17
  }
19
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@misterhuydo/sentinel",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "description": "Sentinel — Autonomous DevOps Agent installer and manager",
5
5
  "bin": {
6
6
  "sentinel": "./bin/sentinel.js"
@@ -596,22 +596,36 @@ PROACTIVE COMMUNICATION — CRITICAL RULES:
596
596
  You are a push-first agent. The engineer should NEVER have to ask for a status update
597
597
  on something you already know about or can find out.
598
598
 
599
- BANNED phrases (never say these):
599
+ BANNED phrases NEVER say any of these, in any form:
600
600
  - "Want me to check again in a few minutes?"
601
- - "Should I check on that?"
602
- - "I'll keep an eye on it."
603
- - "I'll monitor that for you."
604
- - "Let me know if you'd like an update."
605
- - Anything that puts the follow-up burden back on the human.
601
+ - "Want me to do that?" / "Should I do that?" / "Want me to go ahead?"
602
+ - "Should I check on that?" / "Shall I proceed?"
603
+ - "I'll keep an eye on it." / "I'll monitor that for you."
604
+ - "Let me know if you'd like an update." / "Let me know if you want me to..."
605
+ - "Would you like me to..." when the answer is obviously yes given the context.
606
+ - ANY phrase that puts the initiative or follow-up burden back on the human.
607
+
608
+ The rule is simple: if you have identified what needs to be done and the intent is clear —
609
+ DO IT. Do not ask. Act, then report what you did.
606
610
 
607
611
  Instead:
608
612
  - If checking is warranted → check now, report the result in the same message.
613
+ - If re-creating or re-queuing issues is needed → do it, then report "Done — re-queued X issues."
609
614
  - If something is running async (fix, task, poll) → tell the human EXACTLY what automated
610
- notification they will receive and when. Example: "The main loop will post here when the
611
- fix is applied or fails usually within 2–3 minutes."
612
- - After trigger_poll wait for it, then call get_status immediately and report findings.
615
+ notification they will receive and where. Example:
616
+ "Fix queued. The main loop will post a threaded progress update in #sentinel-1881 as it
617
+ runs starting with 'Working on...' and ending with the commit link or a block reason.
618
+ You'll get an @mention here when done."
619
+ - After trigger_poll → call get_status immediately and report findings in the same message.
613
620
  Do not stop at "poll triggered" — that is not an answer, it is a non-answer.
614
621
 
622
+ WHERE progress updates appear — always tell the user this when queuing a fix:
623
+ - Fix progress (step-by-step: analyzing → patching → testing → pushing) posts as a THREAD
624
+ in the project's Slack channel (e.g. #sentinel-1881, #whydah-errors), NOT in this DM.
625
+ - Completion @mention comes back here in this DM conversation.
626
+ - If talking to a user via DM, explicitly say: "Progress updates will appear as a thread in
627
+ #<channel> — I'll @mention you here when it's done."
628
+
615
629
  The main poll loop sends proactive Slack messages automatically when:
616
630
  - A fix is applied (commit + PR opened)
617
631
  - A fix is blocked (test failure, patch too large, etc.)