Skip to content

Commit 88538be

Browse files
committed
fix CI y LEGAL.md
risk_history.ts: loadBaseline ahora ordena por timestamp descendente antes de buscar branch main/master. Fix test que esperaba agencyScore 20 y obtenia 60 por orden de archivos. LEGAL.md: removidas referencias a Sentinel Oracle Core / Oracle session. Usa AI chat mode y sentinel auth remove.
1 parent 5f50139 commit 88538be

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

LEGAL.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Sentinel CLI runs entirely on your local machine. We do not operate servers, col
1919

2020
### 2. Third-Party Data Processing
2121

22-
When you use Sentinel Oracle Core with a third-party AI provider, your prompts and file contents are sent to that provider's API:
22+
When you use Sentinel CLI's AI chat mode with a third-party AI provider, your prompts and file contents are sent to that provider's API:
2323

2424
- **Google Gemini**: Prompts and tool outputs are processed by Google. See [Google Privacy Policy](https://policies.google.com/privacy).
2525
- **Anthropic Claude**: Prompts and tool outputs are processed by Anthropic. See [Anthropic Privacy Policy](https://www.anthropic.com/privacy).
@@ -54,10 +54,10 @@ rm -rf ~/.sentinel
5454
To delete only API keys:
5555

5656
```bash
57-
sentinel oracle auth remove <provider>
57+
sentinel auth remove <provider>
5858
```
5959

60-
or run `/auth remove` inside an Oracle session.
60+
or run `/auth remove` inside an AI chat session.
6161

6262
---
6363

@@ -149,7 +149,7 @@ Sentinel CLI is a local tool and does not provide cloud services. Compliance wit
149149
### Ownership
150150

151151
- **Sentinel CLI code**: Copyright © 2025-2026 Sentinel Security. All rights reserved under the BUSSL-1.1 license.
152-
- **Sentinel and SecuriGit**: "Sentinel", "Sentinel Oracle Core", and "SecuriGit" are trademarks of Sentinel Security.
152+
- **Sentinel and SecuriGit**: "Sentinel" and "SecuriGit" are trademarks of Sentinel Security.
153153
- **Your code**: Sentinel CLI does not claim ownership of any code you scan, analyze, or process with the tool. Your code remains your intellectual property.
154154
- **AI provider output**: Content generated by AI providers is subject to the terms of those providers.
155155

src/core/risk_history.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export function loadHistory(repoPath: string): RiskSnapshot[] {
107107
}
108108

109109
export function loadBaseline(repoPath: string): RiskSnapshot | null {
110-
const history = loadHistory(repoPath);
110+
const history = loadHistory(repoPath).sort((a, b) => b.timestamp.localeCompare(a.timestamp));
111111
return history.find(s => s.branch === 'main' || s.branch === 'master') || null;
112112
}
113113

0 commit comments

Comments
 (0)