修改
This commit is contained in:
@@ -6128,6 +6128,9 @@ def _build_pipeline_items(
|
||||
# amber pill ("等待人工确认") instead of the spinning blue "IN PROGRESS"
|
||||
# used for actual running steps.
|
||||
gate_status = 'waiting' if raw_status == 'running' else raw_status
|
||||
# Structured fields for the gate body — agent should prefer these so
|
||||
# the UI can render labeled rows (现状 / 提议 / 请选). `reason` is kept
|
||||
# as a free-text fallback for entries that haven't been migrated.
|
||||
gate_items.append({
|
||||
'type': 'gate',
|
||||
'key': gate_key,
|
||||
@@ -6138,6 +6141,9 @@ def _build_pipeline_items(
|
||||
'description': meta_g['description'],
|
||||
'status': gate_status,
|
||||
'reason': entry.get('reason'),
|
||||
'summary': entry.get('summary'),
|
||||
'proposal': entry.get('proposal'),
|
||||
'ask': entry.get('ask'),
|
||||
'_order_key': (run_index, 99, gate_position_index.get(gate_key, 0)),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user