feat: atomic extract-and-connect + stale PR monitor + response audit #4
1 changed files with 5 additions and 0 deletions
|
|
@ -145,6 +145,11 @@ class KBIndex:
|
||||||
# Add proposer name as alias for decision records
|
# Add proposer name as alias for decision records
|
||||||
if proposer:
|
if proposer:
|
||||||
aliases.add(proposer.lower())
|
aliases.add(proposer.lower())
|
||||||
|
# Add parent_entity as alias (Ganymede: MetaDAO queries should surface its decisions)
|
||||||
|
parent = fm.get("parent_entity", "")
|
||||||
|
if parent:
|
||||||
|
parent_slug = parent.strip("[]").lower()
|
||||||
|
aliases.add(parent_slug)
|
||||||
|
|
||||||
# Mine body for ticker mentions ($XXXX and standalone ALL-CAPS tokens)
|
# Mine body for ticker mentions ($XXXX and standalone ALL-CAPS tokens)
|
||||||
dollar_tickers = re.findall(r"\$([A-Z]{2,10})", body[:2000])
|
dollar_tickers = re.findall(r"\$([A-Z]{2,10})", body[:2000])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue