@misterhuydo/sentinel 1.0.6 → 1.0.10

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,32 +1,20 @@
1
- # Sentinel master config
2
-
3
- # Schedule
4
- POLL_INTERVAL_SECONDS=120
5
-
6
- # Email reporting
7
- SMTP_HOST=smtp.gmail.com
8
- SMTP_PORT=587
9
- SMTP_USER=sentinel@yourdomain.com
10
- SMTP_PASSWORD=<app-password>
11
- MAILS=huy@yourdomain.com
12
- SEND_HEALTH=disabled
13
- REPORT_INTERVAL_HOURS=1
14
-
15
- # State DB
16
- STATE_DB=./sentinel.db
17
-
18
- # Workspace
19
- WORKSPACE_DIR=./workspace
20
-
21
- # Claude Code binary path
22
- CLAUDE_CODE_BIN=claude
23
-
24
- # GitHub token (required for opening PRs when AUTO_PUBLISH=false)
25
- GITHUB_TOKEN=<github-pat>
26
-
27
- # Fix confidence threshold (0.0 - 1.0); fixes below this are skipped
28
- FIX_CONFIDENCE_THRESHOLD=0.7
29
-
30
- # Rolling log retention window — fetched logs older than this are pruned
31
- # Claude Code reads the full window for context when generating fixes
32
- LOG_RETENTION_HOURS=48
1
+ # Sentinel project config — project-specific settings.
2
+ # Shared settings (SMTP, schedule, etc.) live in the workspace-level sentinel.properties
3
+ # one directory above this project. Values here override workspace defaults.
4
+
5
+ # Who receives fix notifications and health reports for this project
6
+ MAILS=you@yourdomain.com
7
+
8
+ # Health digest — disabled by default; per-fix emails are always sent
9
+ SEND_HEALTH=disabled
10
+ REPORT_INTERVAL_HOURS=1
11
+
12
+ # GitHub token for opening PRs (required when AUTO_PUBLISH=false)
13
+ GITHUB_TOKEN=<github-pat>
14
+
15
+ # State DB and workspace paths (relative to this project dir)
16
+ STATE_DB=./sentinel.db
17
+ WORKSPACE_DIR=./workspace
18
+
19
+ # Claude Code auth — set if using API key, leave blank for OAuth
20
+ # ANTHROPIC_API_KEY=sk-ant-...
@@ -0,0 +1,20 @@
1
+ # Sentinel workspace config — shared across all projects in this workspace.
2
+ # Per-project sentinel.properties can override any of these.
3
+
4
+ # Schedule
5
+ POLL_INTERVAL_SECONDS=120
6
+
7
+ # SMTP — configure once here, all projects share it
8
+ SMTP_HOST=smtp.gmail.com
9
+ SMTP_PORT=587
10
+ SMTP_USER=sentinel@yourdomain.com
11
+ SMTP_PASSWORD=<app-password>
12
+
13
+ # Fix confidence threshold (0.0 - 1.0)
14
+ FIX_CONFIDENCE_THRESHOLD=0.7
15
+
16
+ # Rolling log retention window (hours)
17
+ LOG_RETENTION_HOURS=48
18
+
19
+ # Claude Code binary path
20
+ CLAUDE_CODE_BIN=claude