fix: ASRX duplication, TKG edges, trace ingest, and add pipeline progress publishing

- ASRX handler no longer stores duplicate 'asr' pre_chunks
- Pre_chunks storage made idempotent (delete-before-insert)
- Rule 1 + trace_ingest changed to query 'asrx' not 'asr'
- Trace chunks removed (dynamic from TKG/Qdrant)
- TKG scroll_face_points fixed: trace_id >= 1 (not == 1)
- TKG AsrxSegmentEntry: start/end -> start_time/end_time (match ASRX JSON)
- Unregister error handling: log instead of silent discard
- Add publish_pipeline_progress calls at each pipeline stage
  (processors, rule1, face_trace, identity_agent, TKG, rule2, completion)
This commit is contained in:
Accusys
2026-07-02 10:43:46 +08:00
parent d791d138f2
commit 3eabd45882
65 changed files with 9477 additions and 3852 deletions
+9 -9
View File
@@ -35,8 +35,8 @@ pub const PROCESSOR_SCHEMAS: &[ProcessorJsonSchema] = &[
required_fields: &[
RequiredField {
path: "frame_count",
field_type: FieldType::PositiveNumber,
allow_empty: false,
field_type: FieldType::Number,
allow_empty: true,
},
RequiredField {
path: "fps",
@@ -45,11 +45,11 @@ pub const PROCESSOR_SCHEMAS: &[ProcessorJsonSchema] = &[
},
RequiredField {
path: "scenes",
field_type: FieldType::NonEmptyArray,
allow_empty: false,
field_type: FieldType::Array,
allow_empty: true,
},
],
min_data_threshold: 1,
min_data_threshold: 0,
},
ProcessorJsonSchema {
processor: ProcessorType::Yolo,
@@ -77,8 +77,8 @@ pub const PROCESSOR_SCHEMAS: &[ProcessorJsonSchema] = &[
required_fields: &[
RequiredField {
path: "frame_count",
field_type: FieldType::PositiveNumber,
allow_empty: false,
field_type: FieldType::Number,
allow_empty: true,
},
RequiredField {
path: "fps",
@@ -98,8 +98,8 @@ pub const PROCESSOR_SCHEMAS: &[ProcessorJsonSchema] = &[
required_fields: &[
RequiredField {
path: "frame_count",
field_type: FieldType::PositiveNumber,
allow_empty: false,
field_type: FieldType::Number,
allow_empty: true,
},
RequiredField {
path: "fps",