Ver código fonte

Changed presentation of prior details

Efren Yevale Varela 3 semanas atrás
pai
commit
28cf3a9836
1 arquivos alterados com 9 adições e 2 exclusões
  1. 9 2
      src/stt_daemon/tui/state.py

+ 9 - 2
src/stt_daemon/tui/state.py

@@ -337,8 +337,15 @@ class ViewState:
 
         brief = self.triage.get("brief")
         if isinstance(brief, str) and brief:
-            lines.append("")
-            lines.extend(brief.splitlines())
+            # Pane-only: the code-owned "Prior Details:" ledger stays in the
+            # brief payload (brief.md/JSONL) but is hidden here to keep the
+            # pane on the volatile narrative.
+            at = brief.find("Prior Details:")
+            if at != -1:
+                brief = brief[:at].rstrip()
+            if brief.strip():
+                lines.append("")
+                lines.extend(brief.splitlines())
 
         if not lines:
             return ["triage: no signals"]