凡自治之物 · LGD 治理学 · 创造术家族 | 评测协议:skill-quality-gate(外部公开评测门禁文档)
English
When to use
- Model output shows severe hallucination, factual error or logic collapse; evidence must be frozen immediately.
- Autonomous AI action causes production anomalies (file tampering, data leak, service hang).
- Retrospective key review info must be turned into a compliant JSONL ledger for audit traceability.
Usage
- One-click log:
python ai_incident_log.py --record, with--severity critical/high/mediumand model version. - Query/summary:
--listfor history;--reportfor a structured summary. - Ensure Python env and the main script (and cache dir) exist.
Flow
- Locate anomaly: identify the trigger moment in logs/monitoring.
- Fill fields: timestamp, severity, model, action description.
- Run script:
--recordmode writes a standardized JSONL entry. - Verify:
--listconfirms the record; check timestamp and fields. - Report:
--reportgenerates a one-click summary for team sync.
Evidence & safety
- Evidence: TBD. Version: 1.0.1. Security: no independent scan (TBD).
中文
何时用
- 当检测到 AI 模型生成内容出现严重幻觉、事实错误或逻辑崩坏,需即时固化事故证据时;
- 当因 AI 自主决策引发的误操作(如文件篡改/数据泄露/服务挂起)导致生产环境异常时;
- 当需要快速沉淀关键复盘信息,将交互过程中的错误节点转化为合规 JSONL 台账用于审计追溯时。
用法
- 一键入账记录:通过命令行执行
python ai_incident_log.py --record,支持传入--severity critical/high/medium及模型版本等自定义参数; - 台账查询与汇总:调用
ai_incident_log.py --list查看所有历史事故清单,或使用--report一键生成结构化汇总报告; - 环境校验提示:执行前请确保 Python 环境已配置好,并确认项目根目录下存在主脚本文件。
流程
- 异常定位:在日志或监控中识别 AI 失控、幻觉或操作错误的触发时刻;
- 信息填充:依据实际情况填写时间戳、严重度等级、涉事模型及动作描述等关键要素;
- 脚本执行:在终端运行主脚本,选择
--record模式生成标准化的 JSONL 入库文件; - 结果核对:调用
--list接口确认数据已落库,检查时间戳与字段完整性是否匹配; - 报告产出:若需向团队同步,再次运行
--report参数获取一键汇总的分析文档。
证据与安全声明
- 证据:TBD(暂无评测/徽章链接;产生后在此更新实际链接)
- 版本:1.0.1
- 安全:未做独立安全扫描(TBD),结论待补;补全前不作推荐背书。
