---
name: sentinel-daily-report-5e9b9bad67cb
description: Use when generating or publishing Project Sentinel midday or close reports and report quality must be checked before AI narration or publishing.
---

# Sentinel Daily Report

## 目标

为 `midday` / `close` 日报提供统一的质量门禁、结构化证据输出和降级策略，避免在数据不完整或证据不足时直接生成自由叙事报告。

## 质量门禁

生成日报前必须检查：

- 是否交易日
- `context_date` 是否为当日
- 是否有持仓数据
- 指数/广度是否存在
- 是否有消息证据

门禁结果：

- `normal`: 正常生成结构化报告 + AI 解释
- `degraded`: 仅发结构化快报，允许无 AI 解释
- `blocked`: 终止日报生成

## degraded 策略

当以下情况出现时进入 `degraded`：

- 数据不是当日
- 新闻证据不足
- AI 输出覆盖率不足
- AI 调用失败但结构化证据仍可用

`degraded` 模式必须：

- 明确标注 `quality_status = degraded`
- 展示数据时间
- 展示来源标签
- 使用规则引擎操作建议，不让模型自由决定信号

## 报告内容要求

日报至少包含：

- 市场概况
- 每只持仓的 `signal`
- 确定性 `operation`
- `tech_evidence`
- `news_evidence`
- `source_labels`
- `data_timestamp`

## 验证命令

```bash
../../.venv/bin/python -m pytest -q tests/test_report_quality.py tests/test_structured_report.py tests/test_analysis_service_quality_flow.py tests/test_report_rendering_quality.py tests/test_project_skill_files.py
../../.venv/bin/python -m pytest -q tests
../../.venv/bin/python -m src.main --mode midday --replay --dry-run
```

## 发布规则

- `blocked`: 不发布
- `degraded`: 允许发布，但标题和正文必须明确说明是结构化快报
- `normal`: 正常发布


---
Source attribution: sunny-kobe
Original project: https://github.com/sunny-kobe/ai_sentiney/blob/3f30de8e0b6645c9df0a2e7764b6ca523c4689b7/skills/sentinel-daily-report/SKILL.md
License: MIT
License information: https://opensource.org/license/mit
Original upstream instructions; downloaded from Dave AI.

## Upstream license notice

MIT License

Copyright (c) 2024 Sentinel Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.



# Dave AI resource metadata

Creator / publisher: sunny-kobe
Original project: https://github.com/sunny-kobe/ai_sentiney/blob/3f30de8e0b6645c9df0a2e7764b6ca523c4689b7/skills/sentinel-daily-report/SKILL.md
Attribution basis: Source repository record

Fields of work: Data & Analytics, Product Management
Roles: Data Analyst, Market Research Analyst, Product Manager
Specialties: API
Tools: Pytest
Country applicability: Country not specified
Classification basis: Source catalog labels
Instruction SHA-256: 9c85c63815e67da57b7c78c48239e3ca524a64507115d077740ca8d91cf370d1
