Defines how the agent should rank evidence sources when analysing security issues. Higher tiers always override lower tiers. When sources conflict, the highest applicable tier decides.
Deterministic output from local Sentinel tools. This is the most reliable source because it comes from verifiable static analysis, not model inference.
Sources:
sentinel-cli scan— finding list with file, line, severity, type, descriptionsentinel-cli verify-pkg— verdict, findings, file count, scan timesentinel-cli integrity— integrity level, reasons, chain statussentinel-cli memory— historical findings, threat correlationssentinel-cli doctor— vulnerability report, dependency analysissentinel-cli check-classified— pass/fail with matched filessentinel-cli baseline diff— changed files, new threats
Trust: maximum. Do not override with model reasoning.
Facts observable from the local environment that do not require tool execution.
Sources:
- File existence and structure (observed via file system)
- Git status, staged files, commit history
- Environment variables
- Running processes
- Network configuration
Trust: high. These are directly observable and verifiable by the user.
Information retrieved from GitHub that describes actors, repositories, and history.
Sources:
- PR author, description, labels, reviewers
- Repository metadata (visibility, fork status, topics)
- Commit history and authorship
- CI status
Trust: medium. GitHub data is externally sourced and can be manipulated by repository owners. Cross-reference with Tier 1 evidence when possible.
The AI model's own analysis, pattern matching, and conclusions based on its training.
Sources:
- Code reading and analysis
- Vulnerability pattern matching from training
- Best practice recommendations
- General security knowledge
Trust: lowest. The model may hallucinate, miss context, or be misled by prompt injection. Never use model reasoning to override Sentinel evidence.
| Conflict | Resolution |
|---|---|
| Tier 1 contradicts Tier 4 | Tier 1 wins. Report both to user with the conflict noted. |
| Tier 2 contradicts Tier 3 | Tier 2 wins. Local state is more trustworthy than remote metadata. |
| Multiple Tier 1 sources disagree | Report all findings. Escalate to user for manual review. |
| All tiers agree | Report with high confidence. |
| Confidence | Condition |
|---|---|
| Confirmed | Tier 1 evidence with no conflicting higher-tier sources |
| Likely | Tier 2 or Tier 3 evidence, or single Tier 1 source with limited scope |
| Uncertain | Only Tier 4 reasoning available, or Tier 1 returned inconclusive |
| Contradicted | Higher-tier source contradicts lower-tier claim. Report the conflict. |
User asks: is this PR safe?
- Agent runs
gh-pr-diff(Tier 3) to get the diff - Pipes diff into
sentinel-cli scan(Tier 1) — finds hardcoded secret - Agent checks
sentinel-cli memory --threats(Tier 1) — same author has 3 prior threats - Model reads the diff (Tier 4) to explain the finding
Result: Tier 1 + Tier 1 = Confirmed BLOCK. Model narrates the evidence.