Skip to content

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

fix: address post-merge review findings on #766 and #791 (#811)

Matt Van Horndd69abe66911
diff --git a/skills/last30days/scripts/lib/dripstack.py b/skills/last30days/scripts/lib/dripstack.py
index 08cd69ee..c5df7c7e 100644
--- a/skills/last30days/scripts/lib/dripstack.py
+++ b/skills/last30days/scripts/lib/dripstack.py
@@ -170,6 +170,7 @@ def parse_dripstack_response(
"engagement": {},
"relevance": relevance,
"why_relevant": why_relevant,
+ "body": body,
"snippet": snippet_text[:400],
"metadata": {
"publication_slug": pub_slug,
diff --git a/skills/last30days/scripts/lib/normalize.py b/skills/last30days/scripts/lib/normalize.py
index eae50176..62e64a8f 100644
--- a/skills/last30days/scripts/lib/normalize.py
+++ b/skills/last30days/scripts/lib/normalize.py
@@ -234,7 +234,7 @@ def _normalize_dripstack(
item_id=str(item.get("id") or f"DS{index + 1}"),
source=source,
title=str(item.get("title") or ""),
- body=str(item.get("snippet") or "") or str(item.get("title") or ""),
+ body=str(item.get("body") or "") or str(item.get("snippet") or "") or str(item.get("title") or ""),
url=str(item.get("url") or ""),
author=str(item.get("author") or "") or None,
container=str(meta.get("publication_slug") or "") or None,
diff --git a/skills/last30days/scripts/lib/prescriptions.py b/skills/last30days/scripts/lib/prescriptions.py
index 319dd828..713a411d 100644
--- a/skills/last30days/scripts/lib/prescriptions.py
+++ b/skills/last30days/scripts/lib/prescriptions.py
@@ -214,7 +214,7 @@ REGISTRY: Dict[Tuple[str, str], Prescription] = dict((
"service that can see your logged-in Xiaohongshu browser session; "
"set XIAOHONGSHU_API_BASE only when it runs on a custom host/port"
),
- fix_cli="XIAOHONGSHU_API_BASE=http://localhost:18060",
+ fix_cli="XIAOHONGSHU_API_BASE=http://your-host:18060 # only for a custom host; leave unset to auto-probe localhost and host.docker.internal",
anchor="api-keys-env",
),
))
diff --git a/tests/test_dripstack.py b/tests/test_dripstack.py
index fc4e0660..fdd03f86 100644
--- a/tests/test_dripstack.py
+++ b/tests/test_dripstack.py
@@ -94,3 +94,15 @@ def test_parse_handles_missing_fields_conservatively():
assert item["title"] == "DripStack result 1"
assert item["url"] == ""
assert item["relevance"] == 0.5
+
+
+def test_parse_emits_body_and_normalizer_prefers_it():
+ parsed = dripstack.parse_dripstack_response([_api_item()], query="nvidia")
+
+ assert parsed[0]["body"] == "Capital, offtake and datacenters."
+
+ from lib import normalize
+ normalized = normalize._normalize_dripstack(
+ "dripstack", parsed[0], 0, "2026-06-12", "2026-07-12"
+ )
+ assert normalized.body == "Capital, offtake and datacenters."