AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
Python ai-promptsai-skillblueskyclaudeclaude-codeclawhubdeep-researchhackernewsinstagramopenclawpolymarketrecencyredditresearchsocial-mediatiktoktrendstwitterweb-searchyoutube
fix: separate GitHub stars/merged_prs from reactions in engagement model (#645)
SAI MOHANEESHe14af82f12ab
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 5aac1252..4b2b4fc6 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0## [Unreleased]+### Fixed++- GitHub repo stars are no longer mislabeled as "reactions" in the report footer. Repo cards now use a distinct `stars` engagement key, velocity cards use `merged_prs`, and genuine issue/PR reaction counts keep their own `reactions` key, so the footer displays the correct label per item type ([#642](https://github.com/mvanhorn/last30days-skill/issues/642))+## [3.7.0] - 2026-06-20### Addeddiff --git a/skills/last30days/scripts/lib/github.py b/skills/last30days/scripts/lib/github.pyindex 6df72656..57a8224c 100644--- a/skills/last30days/scripts/lib/github.py+++ b/skills/last30days/scripts/lib/github.py@@ -628,7 +628,7 @@ def search_github_person("snippet": velocity_text,"relevance": 0.95,"why_relevant": f"GitHub profile: @{username} - {merged_count} PRs merged across {num_repos} repos",- "engagement": {"reactions": merged_count, "comments": total_prs},+ "engagement": {"merged_prs": merged_count, "comments": total_prs},"metadata": {"labels": ["person-profile", "velocity"],"state": "open",@@ -689,7 +689,7 @@ def search_github_person("snippet": "\n".join(snippet_parts),"relevance": min(0.9, 0.6 + math.log1p(stars) / 30 + min(0.15, pr_count / 20)),"why_relevant": f"GitHub contribution: {pr_count} PRs merged to {repo} ({stars_str} stars)",- "engagement": {"reactions": stars, "comments": pr_count},+ "engagement": {"stars": stars, "comments": pr_count},"metadata": {"labels": ["person-profile", "external-repo"],"state": "open",@@ -747,7 +747,7 @@ def search_github_person("snippet": "\n".join(snippet_parts),"relevance": min(0.95, 0.7 + math.log1p(stars) / 25),"why_relevant": f"GitHub own project: {repo_name} ({stars_str} stars)",- "engagement": {"reactions": stars, "comments": open_issues},+ "engagement": {"stars": stars, "comments": open_issues},"metadata": {"labels": ["person-profile", "own-repo"],"state": "open",@@ -867,7 +867,7 @@ def search_github_project("snippet": "\n".join(snippet_parts),"relevance": min(0.95, 0.7 + math.log1p(stars) / 25),"why_relevant": f"GitHub project: {repo} ({stars_str} stars, live)",- "engagement": {"reactions": stars, "comments": open_issues},+ "engagement": {"stars": stars, "comments": open_issues},"metadata": {"labels": ["project-mode"],"state": "open",diff --git a/skills/last30days/scripts/lib/render.py b/skills/last30days/scripts/lib/render.pyindex 969d7434..e80e2fec 100644--- a/skills/last30days/scripts/lib/render.py+++ b/skills/last30days/scripts/lib/render.py@@ -1473,7 +1473,7 @@ _FOOTER_SOURCES: list[tuple[str, str, str, str, list[tuple[str, str]]]] = [("hackernews", "π‘", "HN", "story", [("points", "points"), ("comments", "comments")]),("bluesky", "π¦", "Bluesky", "post", [("likes", "likes"), ("reposts", "reposts")]),("truthsocial", "πΊπΈ", "Truth Social", "post", [("likes", "likes"), ("reposts", "reposts")]),- ("github", "π", "GitHub", "item", [("reactions", "reactions"), ("comments", "comments")]),+ ("github", "π", "GitHub", "item", [("stars", "stars"), ("merged_prs", "merged"), ("reactions", "reactions"), ("comments", "comments")]),("digg", "βοΈ", "Digg", "cluster", [("postCount", "posts"), ("uniqueAuthors", "authors")]),# Jobs must appear so a scoped --hiring-signals run (jobs-only) still emits# the LAW 5 footer; without it the footer was dropped entirely.@@ -1740,7 +1740,7 @@ ENGAGEMENT_DISPLAY: dict[str, list[tuple[str, str]]] = {"bluesky": [("likes", "likes"), ("reposts", "rt"), ("replies", "re")],"truthsocial": [("likes", "likes"), ("reposts", "rt"), ("replies", "re")],"polymarket": [],- "github": [("reactions", "react"), ("comments", "cmt")],+ "github": [("stars", "stars"), ("merged_prs", "merged"), ("reactions", "react"), ("comments", "cmt")],"perplexity": [("citations", "cite")],"digg": [("postCount", "posts"), ("uniqueAuthors", "auth")],}