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
chore(release): bump version to 3.27.0 (#1236)
github-actions[bot]44597357ffe1
diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.jsonindex 1c0e3cf7..42006e40 100644--- a/.claude-plugin/marketplace.json+++ b/.claude-plugin/marketplace.json@@ -11,7 +11,7 @@{"name": "last30days","description": "Research any topic across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, GitHub, and 5+ more sources. AI agent scores by upvotes, likes, and real money - not editors.",- "version": "3.26.0",+ "version": "3.27.0","author": {"name": "Matt Van Horn","url": "https://github.com/mvanhorn"diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex c27ac7e1..8169ee3a 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "last30days",- "version": "3.26.0",+ "version": "3.27.0","description": "Research any topic across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, GitHub, and 5+ more sources. AI agent scores by upvotes, likes, and real money - not editors.","author": {"name": "Matt Van Horn",diff --git a/.codex-plugin/plugin.json b/.codex-plugin/plugin.jsonindex 85c0b1e3..c60f6768 100644--- a/.codex-plugin/plugin.json+++ b/.codex-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "last30days",- "version": "3.26.0",+ "version": "3.27.0","description": "Research any topic across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, GitHub, and the web.","author": {"name": "Matt Van Horn",diff --git a/.grok-plugin/marketplace.json b/.grok-plugin/marketplace.jsonindex 82b61423..9aa1ccae 100644--- a/.grok-plugin/marketplace.json+++ b/.grok-plugin/marketplace.json@@ -9,7 +9,7 @@{"name": "last30days","description": "Research any topic across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, GitHub, and 5+ more sources. AI agent scores by upvotes, likes, and real money - not editors.",- "version": "3.26.0",+ "version": "3.27.0","category": "productivity","source": {"source": "url",diff --git a/.grok-plugin/plugin.json b/.grok-plugin/plugin.jsonindex 352b4f44..fa0f201a 100644--- a/.grok-plugin/plugin.json+++ b/.grok-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "last30days",- "version": "3.26.0",+ "version": "3.27.0","description": "Research any topic across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, GitHub, and 5+ more sources. AI agent scores by upvotes, likes, and real money - not editors.","author": {"name": "Matt Van Horn",diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 054597b9..6414a9e9 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -9,6 +9,72 @@ This project uses [towncrier](https://towncrier.readthedocs.io/). Upcoming notes<!-- towncrier release notes start -->+## [3.27.0] - 2026-10-08++### Security++- Route `github.py` and `transcribe.py` through `http.open_request` so their bearer tokens are also dropped on cross-origin redirects; both built their own Request and called `urllib.request.urlopen` directly, bypassing the handler added for #1062. ([#1062](https://github.com/mvanhorn/last30days-skill/issues/1062))+- Restricted Grok X research to an agent profile with no local tools or default tool injection, while retaining hosted X search. Only the audited Grok 1.0.46 stable build (2765805b9442) runs; other builds fail before credentials are staged. Search topics now enter the prompt as single-line JSON string literals, so quotes, backslashes, newlines, and invisible Unicode cannot break the prompt's framing. The model can still misinterpret a topic or report inaccurate results; escaping does not make model output trustworthy. ([#1161](https://github.com/mvanhorn/last30days-skill/issues/1161))+- Prevented private corpus titles from appearing in published library briefs, indexes, and feeds. Daily briefing archives now retain headline provenance; library headlines use public findings from daily and weekly archives or a generic headline when provenance is unavailable. Original titles remain available locally.+- Require explicit consent before reading browser cookies through Chrome debugging sessions. Setup now saves acceptance or refusal, and a saved refusal blocks native browser and CDP reads on subsequent runs without storing cookie values.++### Added++- Document previously-undocumented engine flags in SKILL.md; add CLI-flag and engine-sync contract tests.++### Changed++- Load last30days instructions by research stage and optional mode, keeping the skill entry point short and preserving onboarding, output, citation, and permission requirements. Remove conflicting recommendation and comparison recipes and align plan guidance with the existing engine contract. ([#1230](https://github.com/mvanhorn/last30days-skill/issues/1230))+- On Grok Bot, X now works out of the box: the bot fetches X through its built-in X tools first, with no plugin, key, or X API credits needed, then falls back to the X for Grok Bot connector and the official X API keys. Busy topics also get a popular pass, one relevance-sorted page for each of 10 equal slices of the window (5 on `--quick`), so the month's most-engaged posts surface, and the footer reads "via Grok Bot X". Host-fetched X results (`--x-posts`) can now fill the same topic budget as the engine's own two X fetches (24 posts at default depth, up from 12).++### Fixed++- `.env` lines written with the shell's `export` prefix (`export KEY=value`) now set `KEY`; before, they created a key literally named `export KEY` and the setting was silently ignored. The setup wizard also treats an `export KEY=...` line as the key being set, so it no longer appends a second copy. ([#930](https://github.com/mvanhorn/last30days-skill/issues/930))+- Hacker News stories now get their top comments attached again: the pipeline calls `hackernews.enrich_top_stories` after parsing search results, so HN items no longer reach normalization with empty `top_comments`. ([#1168](https://github.com/mvanhorn/last30days-skill/issues/1168))+- SKILL.md now consistently documents the `--plan` tmpfile form (`--plan "$QUERY_PLAN_FILE"`) in the pre-run checklist and post-run self-check, matching LAW 7; the inline `--plan 'QUERY_PLAN_JSON'` form no longer appears in those spots. ([#1196](https://github.com/mvanhorn/last30days-skill/issues/1196))+- SKILL.md's privacy list now notes the TikTok legacy fallback: when `SCRAPECREATORS_API_KEY` is unset, `APIFY_API_TOKEN` is sent to ScrapeCreators. ([#1197](https://github.com/mvanhorn/last30days-skill/issues/1197))+- Reject YouTube SSH host aliases beginning with a dash while preserving valid aliases and SSH option termination.++ The manual engine comparison tool now uses the canonical engine path, counts nested entity reports, reports command failures separately from source errors, and exits unsuccessfully for failed or partial comparisons, including failures retained only in source status. ([#1226](https://github.com/mvanhorn/last30days-skill/issues/1226))+- A failed X handle lane is no longer reported as "the subject posted nothing". The bird and xquik FROM/ABOUT lanes signalled a per-handle failure by returning no items, and the pipeline hardcoded the auth flag to `False` for both backends, so a missing `node`, a bird-search timeout, or an unpaid xquik key produced an empty lane with no recorded outcome — indistinguishable from genuine silence. Both adapters now report the reason, the pipeline records it, and the lane's auth message names the backend that actually failed.+- Bound MCP output-pipe draining after engine shutdown so detached helpers cannot delay timeout responses indefinitely. Canceled and timed-out requests now report their context error even when the engine's signal handler exits successfully, and requests canceled before startup do not launch the engine.+- Bound X searches, source waits, and discovery enrichment with shared deadlines. Cancelled enrichment stops later supplemental searches, X retries, and pipeline provider phases; completed evidence survives source timeouts as partial results. Bird searches that complete empty before the budget blocks optional retries retain their no-results status and show a partial-coverage warning. In-flight subprocesses retain their bounded timeouts. Raised the MCP subprocess timeout to 600 seconds (10 minutes) to accommodate deep enrichment; `LAST30DAYS_MCP_TIMEOUT` overrides it. The longer cap also lets a hung subprocess occupy an MCP slot longer.+- Browser cookie detection now requires the complete login pair before accepting a source, so a logged-out session can no longer shadow the browser where you are actually logged in.+- Discovery enrichment now hands each sub-run worker its own config copy, so one topic's financial-topic flag can no longer overwrite another's mid-run.+- Doctor source probes and Reddit comment enrichment now stop stalled HTTP reads within their operation budgets and reap the transport workers. Reddit keeps comments that completed in time, and a zero enrichment budget starts no requests.++ GET worker launch failures no longer leave unknown API-spend records for requests that were never delivered.++ Doctor preserves completed Reddit HTTP 429 responses as unverified when the remaining probe budget cannot fit a retry.+- Fixed browser selections being lost after consented setup, including Chromium and services signed in through different browsers, so later research can reuse their sessions without saving cookie values.+ Both onboarding flows now explain future browser reads before consent, possible repeated macOS Keychain prompts, and how to disable native browser and CDP access.+- Fixed the runtime preflight failing with "requires Python 3.12+" when `/last30days` is invoked in Claude Code with a multi-word topic: positional parameters in the `SKILL.md` preflight are now written as `${1}` / `$(2)`, which Claude Code's `$<digit>` argument substitution leaves alone.+- Fixed watchlist daily budgets to accumulate provider-reported OpenRouter and Perplexity USD charges, preserve spending after failed or timed-out runs, and stop subsequent topics when the budget is exhausted or paid usage has unknown cost.+- Fixed watchlist topic removal to preserve findings and run history shared with other topics. Topic lists, finding queries, trend counts, and briefings now include shared findings without double-counting repeated sightings, using each topic's first sighting for reporting windows.+- HTML export and optional publishing commands now locate the engine through the skill's established `SKILL_DIR`, including installation paths containing spaces.+- Honor configured memory directories in skill research, library, and topic-queue commands, preserve explicit empty values, fall through unresolved host placeholders to lower-priority configuration, and reuse the resolved directory throughout discovery. Only claim a saved artifact when the engine emitted its path.+- Honor the research end date in Bird X searches, including query retries, author timelines, and mentions, so newer posts cannot crowd out historical results.+- Honor the research plan's source selection for supplemental X handle searches and host-fetched X posts, preventing excluded X sources from returning evidence or making extra backend requests.+- Include the research persistence module in MCP bundles so enabling `LAST30DAYS_STORE` saves findings without failing before results are returned.+- Keep slash-containing research topics such as `CI/CD`, repository names, and URLs intact instead of launching unintended competitor comparisons. Preserve supported comparison forms, including `React/Vue/Svelte`, and slashes inside explicitly compared entities.+- MCP research tool now separates the topic from engine flags and no longer saves a report after an explicit decline.+- On POSIX systems, MCP timeouts now terminate descendant processes (X search, YouTube/transcript, Digg helpers) instead of leaving them orphaned and running after the engine is killed. Per-source timeouts also stop helpers whose parent exits before them.+- Paid Reddit search preserves the requested date range at every research depth, including historical windows.+- Preserve discovery sweep coverage warnings through saved nomination bundles, resumed research, and final reports, including empty results. Older nomination bundles continue to load.+- Preserve existing HTML briefs across repeated or concurrent exports, and publish a new local artifact only after rendering succeeds.+- Preserve job-board roles through author diversity filtering and calculate hiring signals from the complete accepted board, so ranking and display limits do not hide strategic roles or understate company size.+- Prevent competitor research from inheriting the main topic's resolved context when the competitor has no context of its own.+- Prevent concurrent MCP server startups from replacing a complete engine cache with a partial extraction. Each process now stages its own files, bounds publication-lock waits to five seconds, and safely reclaims staging files left by terminated extractors.+- Respect host, tool, and user citation requirements in research summaries while retaining the default footer and saved research appendix where compatible.+- Saving research preserves an existing watchlist topic's custom queries and schedule.+- Search-quality evaluations now reuse cached judgments only when the judge model and complete prompt match, so changed results, topics, or grading instructions receive fresh scores. Older caches are refreshed before reuse.+- The `serper` web backend no longer discards every recent result. Google renders a relative date ("2 hours ago", "1 day ago") for fresh results, which the date parser did not understand, so the in-range check dropped them — the newer the result, the more likely it was thrown away. On a one-day research window the web lane came back empty every time, reported as `Web: 0 items (no results)` rather than as a failure. Relative dates now resolve against the query date, which is what the label states an age relative to, so a `--as-of` search of a past window keeps the results that belong to it. A sub-day label is subtracted from the clock rather than rounded up to the current date, so shortly after midnight "23 hours ago" still names yesterday, and an age too large to represent reads as an unparseable date instead of aborting the rest of the results. The `brave` and `exa` backends were unaffected, since they return ISO timestamps.+- The changelog guard now compares files and lockstep versions from the same merge base resolved at job time. This avoids attributing base-branch releases to a pull request when its event contains an older base SHA or its branch has not yet incorporated the latest release.+- The fun judge now reads normalized comment excerpts and their vote counts from YouTube, TikTok, and Instagram, while preserving legacy comment bodies and comment insights.+- Tightened source failure classification: 429/5xx status matching no longer false-positives on embedded digits, the stream exception path keeps the most specific failure (auth over rate-limit), X URLs keep path/query case when deduping, and an unconfigured X backend reads as skipped rather than failed.+- `XAI_BASE_URL` and `OPENROUTER_BASE_URL` now also redirect the X search (`x_search`) and the OpenRouter Sonar fallback, not only the planner and rerank client, so a gateway or proxy sees every request that carries those keys. `--preflight` now lists `OPENROUTER_BASE_URL` among the active endpoint overrides.++## [3.26.0] - 2026-10-01### Securitydiff --git a/changelog.d/+argv-substitution-preflight.fixed.md b/changelog.d/+argv-substitution-preflight.fixed.mddeleted file mode 100644index 793fb229..00000000--- a/changelog.d/+argv-substitution-preflight.fixed.md+++ /dev/null@@ -1 +0,0 @@-Fixed the runtime preflight failing with "requires Python 3.12+" when `/last30days` is invoked in Claude Code with a multi-word topic: positional parameters in the `SKILL.md` preflight are now written as `${1}` / `$(2)`, which Claude Code's `$<digit>` argument substitution leaves alone.diff --git a/changelog.d/+base-url-x-search-sonar.fixed.md b/changelog.d/+base-url-x-search-sonar.fixed.mddeleted file mode 100644index e1e06e51..00000000--- a/changelog.d/+base-url-x-search-sonar.fixed.md+++ /dev/null@@ -1 +0,0 @@-`XAI_BASE_URL` and `OPENROUTER_BASE_URL` now also redirect the X search (`x_search`) and the OpenRouter Sonar fallback, not only the planner and rerank client, so a gateway or proxy sees every request that carries those keys. `--preflight` now lists `OPENROUTER_BASE_URL` among the active endpoint overrides.diff --git a/changelog.d/+changelog-guard-stale-base.fixed.md b/changelog.d/+changelog-guard-stale-base.fixed.mddeleted file mode 100644index 3331d7b0..00000000--- a/changelog.d/+changelog-guard-stale-base.fixed.md+++ /dev/null@@ -1 +0,0 @@-The changelog guard now compares files and lockstep versions from the same merge base resolved at job time. This avoids attributing base-branch releases to a pull request when its event contains an older base SHA or its branch has not yet incorporated the latest release.diff --git a/changelog.d/+cookie-partial-pairs.fixed.md b/changelog.d/+cookie-partial-pairs.fixed.mddeleted file mode 100644index a5806025..00000000--- a/changelog.d/+cookie-partial-pairs.fixed.md+++ /dev/null@@ -1 +0,0 @@-Browser cookie detection now requires the complete login pair before accepting a source, so a logged-out session can no longer shadow the browser where you are actually logged in.diff --git a/changelog.d/+cr-001-public-brief-privacy.security.md b/changelog.d/+cr-001-public-brief-privacy.security.mddeleted file mode 100644index d4d25a9a..00000000--- a/changelog.d/+cr-001-public-brief-privacy.security.md+++ /dev/null@@ -1 +0,0 @@-Prevented private corpus titles from appearing in published library briefs, indexes, and feeds. Daily briefing archives now retain headline provenance; library headlines use public findings from daily and weekly archives or a generic headline when provenance is unavailable. Original titles remain available locally.diff --git a/changelog.d/+cr-002-shared-topic-findings.fixed.md b/changelog.d/+cr-002-shared-topic-findings.fixed.mddeleted file mode 100644index da6095cd..00000000--- a/changelog.d/+cr-002-shared-topic-findings.fixed.md+++ /dev/null@@ -1 +0,0 @@-Fixed watchlist topic removal to preserve findings and run history shared with other topics. Topic lists, finding queries, trend counts, and briefings now include shared findings without double-counting repeated sightings, using each topic's first sighting for reporting windows.diff --git a/changelog.d/+cr-003-browser-cookie-consent.security.md b/changelog.d/+cr-003-browser-cookie-consent.security.mddeleted file mode 100644index 765a5ecf..00000000--- a/changelog.d/+cr-003-browser-cookie-consent.security.md+++ /dev/null@@ -1 +0,0 @@-Require explicit consent before reading browser cookies through Chrome debugging sessions. Setup now saves acceptance or refusal, and a saved refusal blocks native browser and CDP reads on subsequent runs without storing cookie values.diff --git a/changelog.d/+cr-004-chromium-setup-auth.fixed.md b/changelog.d/+cr-004-chromium-setup-auth.fixed.mddeleted file mode 100644index 47376e6d..00000000--- a/changelog.d/+cr-004-chromium-setup-auth.fixed.md+++ /dev/null@@ -1,2 +0,0 @@-Fixed browser selections being lost after consented setup, including Chromium and services signed in through different browsers, so later research can reuse their sessions without saving cookie values.-Both onboarding flows now explain future browser reads before consent, possible repeated macOS Keychain prompts, and how to disable native browser and CDP access.diff --git a/changelog.d/+cr-005-supplemental-source-selection.fixed.md b/changelog.d/+cr-005-supplemental-source-selection.fixed.mddeleted file mode 100644index 88a7ef78..00000000--- a/changelog.d/+cr-005-supplemental-source-selection.fixed.md+++ /dev/null@@ -1 +0,0 @@-Honor the research plan's source selection for supplemental X handle searches and host-fetched X posts, preventing excluded X sources from returning evidence or making extra backend requests.diff --git a/changelog.d/+cr-006-comparison-intent.fixed.md b/changelog.d/+cr-006-comparison-intent.fixed.mddeleted file mode 100644index a24777c6..00000000--- a/changelog.d/+cr-006-comparison-intent.fixed.md+++ /dev/null@@ -1 +0,0 @@-Keep slash-containing research topics such as `CI/CD`, repository names, and URLs intact instead of launching unintended competitor comparisons. Preserve supported comparison forms, including `React/Vue/Svelte`, and slashes inside explicitly compared entities.diff --git a/changelog.d/+cr-007-mcp-store-bundle.fixed.md b/changelog.d/+cr-007-mcp-store-bundle.fixed.mddeleted file mode 100644index c4e213fe..00000000--- a/changelog.d/+cr-007-mcp-store-bundle.fixed.md+++ /dev/null@@ -1 +0,0 @@-Include the research persistence module in MCP bundles so enabling `LAST30DAYS_STORE` saves findings without failing before results are returned.diff --git a/changelog.d/+cr-008-jobs-author-cap.fixed.md b/changelog.d/+cr-008-jobs-author-cap.fixed.mddeleted file mode 100644index 91ad90d4..00000000--- a/changelog.d/+cr-008-jobs-author-cap.fixed.md+++ /dev/null@@ -1 +0,0 @@-Preserve job-board roles through author diversity filtering and calculate hiring signals from the complete accepted board, so ranking and display limits do not hide strategic roles or understate company size.diff --git a/changelog.d/+cr-009-watchlist-cost-accounting.fixed.md b/changelog.d/+cr-009-watchlist-cost-accounting.fixed.mddeleted file mode 100644index fd1b2cfe..00000000--- a/changelog.d/+cr-009-watchlist-cost-accounting.fixed.md+++ /dev/null@@ -1 +0,0 @@-Fixed watchlist daily budgets to accumulate provider-reported OpenRouter and Perplexity USD charges, preserve spending after failed or timed-out runs, and stop subsequent topics when the budget is exhausted or paid usage has unknown cost.diff --git a/changelog.d/+cr-010-mcp-cache-race.fixed.md b/changelog.d/+cr-010-mcp-cache-race.fixed.mddeleted file mode 100644index d5b8c992..00000000--- a/changelog.d/+cr-010-mcp-cache-race.fixed.md+++ /dev/null@@ -1 +0,0 @@-Prevent concurrent MCP server startups from replacing a complete engine cache with a partial extraction. Each process now stages its own files, bounds publication-lock waits to five seconds, and safely reclaims staging files left by terminated extractors.diff --git a/changelog.d/+cr-011-watchlist-config.fixed.md b/changelog.d/+cr-011-watchlist-config.fixed.mddeleted file mode 100644index aaee20b7..00000000--- a/changelog.d/+cr-011-watchlist-config.fixed.md+++ /dev/null@@ -1 +0,0 @@-Saving research preserves an existing watchlist topic's custom queries and schedule.diff --git a/changelog.d/+cr-012-mcp-timeout-pipes.fixed.md b/changelog.d/+cr-012-mcp-timeout-pipes.fixed.mddeleted file mode 100644index c336f8ae..00000000--- a/changelog.d/+cr-012-mcp-timeout-pipes.fixed.md+++ /dev/null@@ -1 +0,0 @@-Bound MCP output-pipe draining after engine shutdown so detached helpers cannot delay timeout responses indefinitely. Canceled and timed-out requests now report their context error even when the engine's signal handler exits successfully, and requests canceled before startup do not launch the engine.diff --git a/changelog.d/+cr-013-reddit-date-window.fixed.md b/changelog.d/+cr-013-reddit-date-window.fixed.mddeleted file mode 100644index e522791e..00000000--- a/changelog.d/+cr-013-reddit-date-window.fixed.md+++ /dev/null@@ -1 +0,0 @@-Paid Reddit search preserves the requested date range at every research depth, including historical windows.diff --git a/changelog.d/+cr-014-bird-end-date.fixed.md b/changelog.d/+cr-014-bird-end-date.fixed.mddeleted file mode 100644index fc7bcdd7..00000000--- a/changelog.d/+cr-014-bird-end-date.fixed.md+++ /dev/null@@ -1 +0,0 @@-Honor the research end date in Bird X searches, including query retries, author timelines, and mentions, so newer posts cannot crowd out historical results.diff --git a/changelog.d/+cr-015-skill-memory-directory.fixed.md b/changelog.d/+cr-015-skill-memory-directory.fixed.mddeleted file mode 100644index 8c47f04a..00000000--- a/changelog.d/+cr-015-skill-memory-directory.fixed.md+++ /dev/null@@ -1 +0,0 @@-Honor configured memory directories in skill research, library, and topic-queue commands, preserve explicit empty values, fall through unresolved host placeholders to lower-priority configuration, and reuse the resolved directory throughout discovery. Only claim a saved artifact when the engine emitted its path.diff --git a/changelog.d/+cr-016-normalized-comment-evidence.fixed.md b/changelog.d/+cr-016-normalized-comment-evidence.fixed.mddeleted file mode 100644index ccf4ca22..00000000--- a/changelog.d/+cr-016-normalized-comment-evidence.fixed.md+++ /dev/null@@ -1 +0,0 @@-The fun judge now reads normalized comment excerpts and their vote counts from YouTube, TikTok, and Instagram, while preserving legacy comment bodies and comment insights.diff --git a/changelog.d/+cr-017-evaluation-cache-inputs.fixed.md b/changelog.d/+cr-017-evaluation-cache-inputs.fixed.mddeleted file mode 100644index 76129155..00000000--- a/changelog.d/+cr-017-evaluation-cache-inputs.fixed.md+++ /dev/null@@ -1 +0,0 @@-Search-quality evaluations now reuse cached judgments only when the judge model and complete prompt match, so changed results, topics, or grading instructions receive fresh scores. Older caches are refreshed before reuse.diff --git a/changelog.d/+cr-018-instruction-priority.fixed.md b/changelog.d/+cr-018-instruction-priority.fixed.mddeleted file mode 100644index a5397ad8..00000000--- a/changelog.d/+cr-018-instruction-priority.fixed.md+++ /dev/null@@ -1 +0,0 @@-Respect host, tool, and user citation requirements in research summaries while retaining the default footer and saved research appendix where compatible.diff --git a/changelog.d/+cr-019-html-engine-path.fixed.md b/changelog.d/+cr-019-html-engine-path.fixed.mddeleted file mode 100644index f64ac5e5..00000000--- a/changelog.d/+cr-019-html-engine-path.fixed.md+++ /dev/null@@ -1 +0,0 @@-HTML export and optional publishing commands now locate the engine through the skill's established `SKILL_DIR`, including installation paths containing spaces.diff --git a/changelog.d/+cr-020-html-output-collisions.fixed.md b/changelog.d/+cr-020-html-output-collisions.fixed.mddeleted file mode 100644index 0696c3e9..00000000--- a/changelog.d/+cr-020-html-output-collisions.fixed.md+++ /dev/null@@ -1 +0,0 @@-Preserve existing HTML briefs across repeated or concurrent exports, and publish a new local artifact only after rendering succeeds.diff --git a/changelog.d/+discovery-config-isolation.fixed.md b/changelog.d/+discovery-config-isolation.fixed.mddeleted file mode 100644index 9e5cd859..00000000--- a/changelog.d/+discovery-config-isolation.fixed.md+++ /dev/null@@ -1 +0,0 @@-Discovery enrichment now hands each sub-run worker its own config copy, so one topic's financial-topic flag can no longer overwrite another's mid-run.diff --git a/changelog.d/+discovery-protocol-receipts.fixed.md b/changelog.d/+discovery-protocol-receipts.fixed.mddeleted file mode 100644index 4cf4d847..00000000--- a/changelog.d/+discovery-protocol-receipts.fixed.md+++ /dev/null@@ -1 +0,0 @@-Preserve discovery sweep coverage warnings through saved nomination bundles, resumed research, and final reports, including empty results. Older nomination bundles continue to load.diff --git a/changelog.d/+failure-classifiers.fixed.md b/changelog.d/+failure-classifiers.fixed.mddeleted file mode 100644index 6e5d7459..00000000--- a/changelog.d/+failure-classifiers.fixed.md+++ /dev/null@@ -1 +0,0 @@-Tightened source failure classification: 429/5xx status matching no longer false-positives on embedded digits, the stream exception path keeps the most specific failure (auth over rate-limit), X URLs keep path/query case when deduping, and an unconfigured X backend reads as skipped rather than failed.diff --git a/changelog.d/+grok-bot-native-x.changed.md b/changelog.d/+grok-bot-native-x.changed.mddeleted file mode 100644index cd82c2e3..00000000--- a/changelog.d/+grok-bot-native-x.changed.md+++ /dev/null@@ -1 +0,0 @@-On Grok Bot, X now works out of the box: the bot fetches X through its built-in X tools first, with no plugin, key, or X API credits needed, then falls back to the X for Grok Bot connector and the official X API keys. Busy topics also get a popular pass, one relevance-sorted page for each of 10 equal slices of the window (5 on `--quick`), so the month's most-engaged posts surface, and the footer reads "via Grok Bot X". Host-fetched X results (`--x-posts`) can now fill the same topic budget as the engine's own two X fetches (24 posts at default depth, up from 12).diff --git a/changelog.d/+mcp-arg-plumbing.fixed.md b/changelog.d/+mcp-arg-plumbing.fixed.mddeleted file mode 100644index 106b2588..00000000--- a/changelog.d/+mcp-arg-plumbing.fixed.md+++ /dev/null@@ -1 +0,0 @@-MCP research tool now separates the topic from engine flags and no longer saves a report after an explicit decline.diff --git a/changelog.d/+mcp-orphan-cleanup.fixed.md b/changelog.d/+mcp-orphan-cleanup.fixed.mddeleted file mode 100644index 5906a0b8..00000000--- a/changelog.d/+mcp-orphan-cleanup.fixed.md+++ /dev/null@@ -1 +0,0 @@-On POSIX systems, MCP timeouts now terminate descendant processes (X search, YouTube/transcript, Digg helpers) instead of leaving them orphaned and running after the engine is killed. Per-source timeouts also stop helpers whose parent exits before them.diff --git a/changelog.d/+serper-relative-dates.fixed.md b/changelog.d/+serper-relative-dates.fixed.mddeleted file mode 100644index edb9bde5..00000000--- a/changelog.d/+serper-relative-dates.fixed.md+++ /dev/null@@ -1 +0,0 @@-The `serper` web backend no longer discards every recent result. Google renders a relative date ("2 hours ago", "1 day ago") for fresh results, which the date parser did not understand, so the in-range check dropped them — the newer the result, the more likely it was thrown away. On a one-day research window the web lane came back empty every time, reported as `Web: 0 items (no results)` rather than as a failure. Relative dates now resolve against the query date, which is what the label states an age relative to, so a `--as-of` search of a past window keeps the results that belong to it. A sub-day label is subtracted from the clock rather than rounded up to the current date, so shortly after midnight "23 hours ago" still names yesterday, and an age too large to represent reads as an unparseable date instead of aborting the rest of the results. The `brave` and `exa` backends were unaffected, since they return ISO timestamps.diff --git a/changelog.d/+skill-flag-docs.added.md b/changelog.d/+skill-flag-docs.added.mddeleted file mode 100644index a6f5997c..00000000--- a/changelog.d/+skill-flag-docs.added.md+++ /dev/null@@ -1 +0,0 @@-Document previously-undocumented engine flags in SKILL.md; add CLI-flag and engine-sync contract tests.diff --git a/changelog.d/+test-audit-deadlines.fixed.md b/changelog.d/+test-audit-deadlines.fixed.mddeleted file mode 100644index fdc9a890..00000000--- a/changelog.d/+test-audit-deadlines.fixed.md+++ /dev/null@@ -1,5 +0,0 @@-Doctor source probes and Reddit comment enrichment now stop stalled HTTP reads within their operation budgets and reap the transport workers. Reddit keeps comments that completed in time, and a zero enrichment budget starts no requests.--GET worker launch failures no longer leave unknown API-spend records for requests that were never delivered.--Doctor preserves completed Reddit HTTP 429 responses as unverified when the remaining probe budget cannot fit a retry.diff --git a/changelog.d/+test-audit-peer-context.fixed.md b/changelog.d/+test-audit-peer-context.fixed.mddeleted file mode 100644index f649b577..00000000--- a/changelog.d/+test-audit-peer-context.fixed.md+++ /dev/null@@ -1 +0,0 @@-Prevent competitor research from inheriting the main topic's resolved context when the competitor has no context of its own.diff --git a/changelog.d/+timeout-architecture.fixed.md b/changelog.d/+timeout-architecture.fixed.mddeleted file mode 100644index 0330996f..00000000--- a/changelog.d/+timeout-architecture.fixed.md+++ /dev/null@@ -1 +0,0 @@-Bound X searches, source waits, and discovery enrichment with shared deadlines. Cancelled enrichment stops later supplemental searches, X retries, and pipeline provider phases; completed evidence survives source timeouts as partial results. Bird searches that complete empty before the budget blocks optional retries retain their no-results status and show a partial-coverage warning. In-flight subprocesses retain their bounded timeouts. Raised the MCP subprocess timeout to 600 seconds (10 minutes) to accommodate deep enrichment; `LAST30DAYS_MCP_TIMEOUT` overrides it. The longer cap also lets a hung subprocess occupy an MCP slot longer.diff --git a/changelog.d/+x-handle-lane-failure-channel.fixed.md b/changelog.d/+x-handle-lane-failure-channel.fixed.mddeleted file mode 100644index 83892b2f..00000000--- a/changelog.d/+x-handle-lane-failure-channel.fixed.md+++ /dev/null@@ -1 +0,0 @@-A failed X handle lane is no longer reported as "the subject posted nothing". The bird and xquik FROM/ABOUT lanes signalled a per-handle failure by returning no items, and the pipeline hardcoded the auth flag to `False` for both backends, so a missing `node`, a bird-search timeout, or an unpaid xquik key produced an empty lane with no recorded outcome — indistinguishable from genuine silence. Both adapters now report the reason, the pipeline records it, and the lane's auth message names the backend that actually failed.diff --git a/changelog.d/1062.security.md b/changelog.d/1062.security.mddeleted file mode 100644index a6d2d13c..00000000--- a/changelog.d/1062.security.md+++ /dev/null@@ -1 +0,0 @@-Route `github.py` and `transcribe.py` through `http.open_request` so their bearer tokens are also dropped on cross-origin redirects; both built their own Request and called `urllib.request.urlopen` directly, bypassing the handler added for #1062.diff --git a/changelog.d/1161.security.md b/changelog.d/1161.security.mddeleted file mode 100644index 9fda8441..00000000--- a/changelog.d/1161.security.md+++ /dev/null@@ -1 +0,0 @@-Restricted Grok X research to an agent profile with no local tools or default tool injection, while retaining hosted X search. Only the audited Grok 1.0.46 stable build (2765805b9442) runs; other builds fail before credentials are staged. Search topics now enter the prompt as single-line JSON string literals, so quotes, backslashes, newlines, and invisible Unicode cannot break the prompt's framing. The model can still misinterpret a topic or report inaccurate results; escaping does not make model output trustworthy.diff --git a/changelog.d/1168.fixed.md b/changelog.d/1168.fixed.mddeleted file mode 100644index 6b2427a6..00000000--- a/changelog.d/1168.fixed.md+++ /dev/null@@ -1 +0,0 @@-Hacker News stories now get their top comments attached again: the pipeline calls `hackernews.enrich_top_stories` after parsing search results, so HN items no longer reach normalization with empty `top_comments`.diff --git a/changelog.d/1196.fixed.md b/changelog.d/1196.fixed.mddeleted file mode 100644index 13537978..00000000--- a/changelog.d/1196.fixed.md+++ /dev/null@@ -1 +0,0 @@-SKILL.md now consistently documents the `--plan` tmpfile form (`--plan "$QUERY_PLAN_FILE"`) in the pre-run checklist and post-run self-check, matching LAW 7; the inline `--plan 'QUERY_PLAN_JSON'` form no longer appears in those spots.diff --git a/changelog.d/1197.fixed.md b/changelog.d/1197.fixed.mddeleted file mode 100644index 346a60f5..00000000--- a/changelog.d/1197.fixed.md+++ /dev/null@@ -1 +0,0 @@-SKILL.md's privacy list now notes the TikTok legacy fallback: when `SCRAPECREATORS_API_KEY` is unset, `APIFY_API_TOKEN` is sent to ScrapeCreators.diff --git a/changelog.d/1226.fixed.md b/changelog.d/1226.fixed.mddeleted file mode 100644index 57cc1fcf..00000000--- a/changelog.d/1226.fixed.md+++ /dev/null@@ -1,3 +0,0 @@-Reject YouTube SSH host aliases beginning with a dash while preserving valid aliases and SSH option termination.--The manual engine comparison tool now uses the canonical engine path, counts nested entity reports, reports command failures separately from source errors, and exits unsuccessfully for failed or partial comparisons, including failures retained only in source status.diff --git a/changelog.d/1230.changed.md b/changelog.d/1230.changed.mddeleted file mode 100644index c617aa34..00000000--- a/changelog.d/1230.changed.md+++ /dev/null@@ -1 +0,0 @@-Load last30days instructions by research stage and optional mode, keeping the skill entry point short and preserving onboarding, output, citation, and permission requirements. Remove conflicting recommendation and comparison recipes and align plan guidance with the existing engine contract.diff --git a/changelog.d/930.fixed.md b/changelog.d/930.fixed.mddeleted file mode 100644index ec09a04f..00000000--- a/changelog.d/930.fixed.md+++ /dev/null@@ -1 +0,0 @@-`.env` lines written with the shell's `export` prefix (`export KEY=value`) now set `KEY`; before, they created a key literally named `export KEY` and the setting was silently ignored. The setup wizard also treats an `export KEY=...` line as the key being set, so it no longer appends a second copy.diff --git a/gemini-extension.json b/gemini-extension.jsonindex a3345ede..1062794f 100644--- a/gemini-extension.json+++ b/gemini-extension.json@@ -1,6 +1,6 @@{"name": "last30days-skill",- "version": "3.26.0",+ "version": "3.27.0","description": "Research a topic from the last 30 days across Reddit, X, YouTube, TikTok, Instagram, Hacker News, Polymarket, and the web.","settings": [{diff --git a/mcp/manifest.json b/mcp/manifest.jsonindex 8ecbd9b9..7002dc83 100644--- a/mcp/manifest.json+++ b/mcp/manifest.json@@ -2,7 +2,7 @@"manifest_version": "0.3","name": "last30days-pp-mcp","display_name": "Last30Days",- "version": "3.26.0",+ "version": "3.27.0","description": "Research any topic across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web - last 30 days, scored by upvotes, likes, and real-money prediction-market odds.","author": {"name": "Matt Van Horn",diff --git a/pyproject.toml b/pyproject.tomlindex e6da95bc..c6abfacb 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[project]name = "last30days-skill"-version = "3.26.0"+version = "3.27.0"description = "Multi-source last-30-days research skill"readme = "README.md"requires-python = ">=3.12"diff --git a/skills/last30days/SKILL.md b/skills/last30days/SKILL.mdindex 45b2aed1..10294e28 100644--- a/skills/last30days/SKILL.md+++ b/skills/last30days/SKILL.md@@ -1,6 +1,6 @@---name: last30days-version: "3.26.0"+version: "3.27.0"description: "Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube, TikTok, Hacker News, Polymarket, GitHub, and the web. Includes a doctor health check to diagnose broken or missing sources."argument-hint: 'last30days nvidia earnings reaction | last30days AI video tools | last30days what users want in react'allowed-tools: Bash, Read, Write, AskUserQuestion, WebSearch@@ -69,7 +69,7 @@ metadata:----# last30days v3.26.0: Research Any Topic from the Last 30 Days+# last30days v3.27.0: Research Any Topic from the Last 30 Days## Skill contractdiff --git a/uv.lock b/uv.lockindex bebee5a6..56a13f6e 100644--- a/uv.lock+++ b/uv.lock@@ -130,7 +130,7 @@ wheels = [[[package]]name = "last30days-skill"-version = "3.26.0"+version = "3.27.0"source = { virtual = "." }[package.dev-dependencies]