EventInsert + EventRecord + record_event now carry the subject_type / subject_id columns added by the P1 migration. Ops events populate "segment" / "station" subjects so the timeline can be filtered without parsing event_type strings. Platform SourceCreated / Updated / Deleted attribute themselves to subject_type="source". Adds get_events_*_filtered in core and exposes GET /api/event on ops with event_type / event_type_prefix / subject_type / subject_id query params, closing design doc §14 "event 表能按 ops.* 和 subject_type/subject_id 查到全链路事件". Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| superpowers | ||
| api-feeder.md | ||
| api-ops.md | ||
| 投煤器布料机功能实现方案.md | ||
| 运转系统实现方案.md | ||