Meeting title: Teams topic first, else from the transcript; never from shots

One shot copied a shared AWS page title into meeting_title; it became the
report title and the docs search query, pulling off-topic Confluence pages
into the summaries. Shots no longer emit the meta title; report/docs ignore
old "video" metas and fall back to the LLM title from the transcript topics
(docs then searches with transcript-derived queries only).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Stefano Zini
2026-11-02 16:46:57 +01:00
co-authored by Claude Opus 5.5
parent bc16b01232
commit edb8ee3731
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ def _twg(*args, timeout=120):
def _run(name):
if not os.path.exists(TWG): raise FileNotFoundError("twg not found")
d = db.out_dir(name)
meta = [json.loads(e["text"]) for e in db.events(name, "meta")]
meta = [json.loads(e["text"]) for e in db.events(name, "meta") if e["who_key"] != "video"] # Teams topic only, never a shot guess
title = (meta[-1].get("title") or "") if meta else ""
shots = json.loads((d / "shots.json").read_text(encoding="utf-8")) if (d / "shots.json").exists() else []
gl = json.loads((d / "glossary.json").read_text(encoding="utf-8")) if (d / "glossary.json").exists() else []