AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
This project uses towncrier. Upcoming notes live in changelog.d/; do not edit this file in feature PRs.
[3.30.0] - 2026-10-22
Fixed
- Hosted runs now search installed lanes such as Digg even when the host's plan leaves them out, and stop printing "0 clusters" for sources that were never searched. Entity runs resolve the subject's X handle more reliably:
--official-sitereads the handle from the brand's homepage links with no API key, the runbook restricts X searches with the search tool's domain filter, and a hosted entity run that plans X now exits 2 until it passes--x-handleor--no-x-handle="<reason>".
[3.29.0] - 2026-10-22
Security
- Add a "Data handling" section to README in all 7 languages disclosing that reranking sends topics and content snippets to the configured reasoning provider when a key is set. Document
LAST30DAYS_STOREretention, save-directory overrides, and how to purge a database and its WAL sidecars after stopping all users. Log the npm package name to stderr before eachnpxinstall, preserving machine-readable stdout. These disclosure changes do not add a rerank-disable option, automatic expiry, or a new installation-consent gate. (#663)
Added
LAST30DAYS_YOUTUBE_BACKEND=yt-dlpkeeps YouTube on yt-dlp only, with the keyless retry budget, whileSCRAPECREATORS_API_KEYkeeps serving other sources.LAST30DAYS_YT_TRANSCRIPT_FAST_ATTEMPTSsets how many keyed yt-dlp transcript attempts run before the paid fallback (default 1). (#1316)
Fixed
- Instagram keyword search falls back to a bounded Google-indexed reel search and fetches post details when the primary reels search returns no results. Recovery and enrichment share the source deadline, preserve completed results as partial coverage, and stop starting requests after timeout or cancellation. (#1020)
- Instagram nudge now distinguishes HTTP errors ("Bonus source failed: Instagram") from zero-result runs ("Bonus source unavailable: Instagram") instead of labelling both as "silent". (#1289)
- Updated the README source tables in all seven languages to include the engine's optional and local sources, with activation requirements. Replaced stale release and test counts with maintained references, and corrected source prerequisites in CONFIGURATION.md. (#1303)
- YouTube transcripts now request uploaded subtitles alongside auto captions, so videos with manual subtitles and no auto track get a free yt-dlp transcript instead of falling through to a paid ScrapeCreators rescue. (#1313)
- yt-dlp now asks for each caption language's original-speech track first (
en-orig,en,...), so auto-dubbed videos whose plain track returns HTTP 429 keep a free transcript. The ScrapeCreators fallback sends plain language codes. (#1314) - A YouTube lane still running after the research budget ran out no longer spends ScrapeCreators credits on search, transcripts, or comments, and an interpreter-shutdown error is no longer treated as an empty yt-dlp result. The ScrapeCreators YouTube search also stops buying transcripts once it reaches the depth's target. (#1315)
- Digg results work again with digg-pp-cli 2026.10.1, which rebuilt search after Digg removed its search API. last30days now searches Digg's AI and Tech sections, keeps an empty answer from a freshly synced copy as "no matches" instead of an error, and marks Digg partial in the brief, with the
digg-pp-cli sync --topics ai,techcommand to run, when the CLI searched only its newest stories. - Handle discovery no longer treats short fragments of a topic word (for example "go" for "Google Gemini") as the topic's subject, now recognizes handles spelled from a name's prefixes (for example "steipete" for "Peter Steinberger"), and no longer gives first-party status to accounts named after query scaffolding words like "review" or "news".
- Keyless Reddit discovery no longer collapses to 1-point stubs when shreddit is blocked: the arctic-shift supplement now slices the research window with
after/beforeand keeps the highest-scored sampled posts, restoring real engagement numbers (a 30-day window on the test topic went from 6pts to ~3,000pts). Slice requests rotate across subreddits so a slow first subreddit cannot consume the entire discovery budget, and successful partial results survive failed slices or an expired deadline. - Search-query cleanup now strips "how do you use", "how can I use", "how do you" and "how can I" openers, so "how do you use Cursor" searches for "cursor" instead of "do you cursor".
- The deferred X relevance floor now runs before the per-source evidence view is finalized, so the report's X items and X source status count reflect the same post-floor evidence set that ranking sees.
[3.28.1] - 2026-10-20
Added
- Add
YOUTUBE_PROXY(aliasYT_PROXY) env var: when set, passes--proxy <url>to all yt-dlp invocations inyoutube_yt.py(search_youtubeandfetch_transcript), routing only yt-dlp traffic through the proxy. Useful in regions where YouTube is blocked. Documented in CONFIGURATION.md under "YouTube proxy". (#158)
Fixed
- Render the engine footer as a fenced text block so Markdown does not turn
---into horizontal rules. (#706) - GitHub searches skip qualifier-only topics with malformed or nested wrappers instead of sending punctuation-only queries. Topics containing real search text keep their existing punctuation. (#969)
- Authenticated Bluesky searches now send RFC3339 date-time bounds, preventing valid date windows from being rejected as malformed requests. (#984)
- Remove "LAW N" framing from model-visible render output: the SYNTHESIS CONTRACT, EVIDENCE FOR SYNTHESIS envelope, and DEGRADED RUN WARNING now use plain descriptive guidance instead of numbered law references. (#1082)
- The MCP launcher now finds and verifies Python 3.12+ interpreters on PATH when the default python3 is too old. Set LAST30DAYS_PYTHON to select a specific interpreter; invalid explicit choices report an error instead of silently falling back. (#1140)
- xAI: change the default model from
grok-4-1-fast, which xAI no longer lists, togrok-4.20-0309-non-reasoning. The same default (XAI_DEFAULT) drives the xAI X search backend and the xAI planner and rerank models whenLAST30DAYS_REASONING_PROVIDER=xai, unlessLAST30DAYS_X_MODELorLAST30DAYS_PLANNER_MODEL/LAST30DAYS_RERANK_MODELpin another model.CONFIGURATION.mdnow documentsLAST30DAYS_X_MODELnext toXAI_API_KEY. (#1186) - Reddit comment parsing now matches shreddit attribute names case-insensitively, so markup that carries
thingidinstead ofthingIdno longer yields zero comments. (#1256) - Digg now reports an error instead of "no results" when
digg-pp-clifalls back to its local store after a failed live search (last30days never runsdigg-pp-cli sync, so the fallback store is always empty). (#1281) - Hacker News top comments now follow the thread's display order from the official HN item API instead of Algolia's oldest-first order, so quoted comments are the ones HN ranks highest. If that lookup fails, comments keep the previous order and the Hacker News source is not marked degraded. (#1285)
- GitHub keyword searches now stop at the research window end, so an
--as-ofrun no longer spends its result slots on issues created after the window and then drops them. - GitHub person mode (
--github-user) now counts PRs created inside the research window only, so an--as-ofrun no longer reports every PR up to today, and its velocity summary names the real window length instead of always saying 30 days. - Live-edit setup guidance now preserves the installed skill as a backup before replacing its real directory with a working-tree symlink, so development edits reach the active skill.
- Sources named in
--searchare no longer dropped by intent routing at default and deep depth (for example, Polymarket on a topic classified as a concept or how-to). - YouTube no longer keeps videos published after the end of an
--as-ofwindow, so a historical report cannot cite later videos or spend its transcript budget on them. Cached and concurrent searches use the complete date window, including its inclusive end date. - arXiv no longer returns papers published after the end of an
--as-ofwindow, and its one-year recency cutoff is now measured from that end date, so historical reports keep in-window papers instead of citing later ones. - dev.to now finds articles for research windows that end before today. It pages back through newer results within a 45-second budget, keeps only articles inside the window, and includes the whole first day of every window.
[3.28.0] - 2026-10-11
Security
- Cached research reports and the GitHub sign-in handle are now written with owner-only permissions on macOS and Linux. Hosted research through
LAST30DAYS_API_BASEnow requires HTTPS, except for loopback addresses.
Added
- Added a security policy (
SECURITY.md) that explains how to report vulnerabilities privately through GitHub security advisories and documents what the skill sends over the network, which credentials and browser cookies it reads, what it installs, and what it stores locally. (#565) - Added dev.to as a free, keyless source. When you research a software or developer topic, the skill infers dev.to tags and adds dev.to articles ranked by reactions and comments, with top comments from the leading articles. It stays off for other topics, and
INCLUDE_SOURCES=devtoturns it on for every run.
Fixed
- A host-supplied query plan now searches only the sources it names: company topics no longer get an unrequested jobs lane added to it. A plan that names jobs keeps jobs on any topic, and hiring-signals mode with a host plan runs the jobs lane instead of failing with "No available planned sources remain".
- A multi-subquery run now fetches each identical TikTok, Instagram, YouTube, and X search once instead of once per subquery, and the thin-source retry reuses a clean result instead of repeating the request. Polymarket and Digg no longer run the same search twice when the thin-source retry's simplified query matches the planner's. Failed fetches are not reused, so the retry still makes a real second attempt.
- Corrected the configuration reference to describe ScrapeCreators' GitHub device-code signup, TikTok and Instagram availability with a ScrapeCreators key, and the DuckDuckGo → Startpage → optional SearXNG search fallback. Removed the unsupported Apify fallback claim and documented YouTube SSH routing, including its prerequisites and limits.
- Fixed
--github-repoproject mode silently dropping the pinned repo when its newest GitHub release is older than the research window (Ghostty's newest release object is a 2022 nightly). The repo snapshot is now dated to the window end unless that release falls inside the window, so the live star count reaches the report and Source Coverage no longer shows "GitHub: 0 items (no results)" after the engine logged a project-mode result. A snapshot dated this way ranks on neutral freshness (the 10-90 scale midpoint) instead of maximum freshness, so the pinned repo card no longer sorts to #1 in every report; a repo whose newest release is inside the window keeps normal freshness. - Fixed first-run setup to find signed-in Opera sessions on macOS when you approve browser-cookie access, before trying Firefox and Safari.
- Fixed the engine footer printing "15 storys" for Hacker News; it now reads "15 stories" (and "1 story"). Footer nouns ending in a consonant followed by "y" now pluralize to "ies".
- Hacker News comment quotes now link to the comment itself (or the HN discussion page when the comment id is missing) instead of the story's article URL.
- Hacker News: when the same article was submitted to HN more than once, the engine merged the submissions and showed one story's id with another story's comment count and comments. Each HN submission now keeps its own points, comment count, discussion link, and comments, and a ranked card's evidence text comes from the same submission whose numbers it shows; submissions of the same article still cluster together.
- Ranking without an LLM reranker now weighs real engagement: a 380-point Hacker News story no longer ranks below 3-point stories just because they are newer. Relevance is still judged by word overlap with the topic, so a well-upvoted post whose title barely matches can still rank below weaker posts that repeat the topic words. Engagement is scored on an absolute per-platform scale instead of within each search's own results, freshness is counted once, the low-score cliff applies only to LLM-scored results, and first-party posts are lifted only when they are on topic (or the handle is the topic itself). The "All Items" list now shows real scores instead of 0 or 1. GitHub repo cards no longer count lifetime stars as engagement or take first-party credit, and YouTube, TikTok, and Instagram engagement is scored on a view scale so a few-hundred-view video no longer rates like a well-upvoted thread.
- Recent-topic reports no longer include years-old YouTube videos when nothing on YouTube falls inside the date window; the YouTube section now comes back empty instead of padding the report with off-topic back-catalog videos. Evergreen and how-to topics still fall back to older videos when recent ones are scarce.
[3.27.3] - 2026-10-11
No significant changes.
[3.27.2] - 2026-10-09
Security
- Provider endpoint overrides (
OPENAI_BASE_URL,XAI_BASE_URL,OPENROUTER_BASE_URL) now reject remote cleartexthttp://targets and use the vendor endpoint instead. Rejection warnings omit the configured URL so embedded credentials cannot leak to stderr. Loopbackhttp://overrides still work for local gateways (LiteLLM, Ollama, SSH tunnels) and bypass configured HTTP proxies so the bearer token stays on the local connection.--preflightalready listed all three override keys; it now marks rejected values as ignored rather than active and reports only the variable names.
Added
- Agent JSON exports now include token usage from the full planner and rerank run for Gemini, OpenAI, xAI, and OpenRouter. Usage is
nullwhen a provider omits token counts or a request has unknown usage, so callers do not mistake missing data for zero cost. (#1137)
Changed
- Under a detected agent host (Claude Code, Codex,
LAST30DAYS_HOST, orLAST30DAYS_HOST_AGENT=1), a research run without--plannow stops with exit 2 and a LAW 7 message before any retrieval or internal-planner spend, instead of silently planning with an engine-side provider.--mock,--hiring-signals,--auto-resolve, comparison runs and non-research commands are exempt, andLAST30DAYS_ALLOW_ENGINE_PLAN=1restores engine planning for headless runs under an agent. Outside an agent host, a failed internal planner (for example HTTP 402) now also prints the LAW 7 reminder. (#1178)
Fixed
- Added regression tests for issue #817: Arabic-script (and other non-Latin) topics no longer risk UnicodeEncodeError on TikTok and Instagram (ScrapeCreators) searches. Tests lock in the existing percent-encoding fix in
http.request()and cover the TikTok and Instagram search paths end-to-end. (#817) - Fixed Windows Bird/X timeouts that left Node shim descendants running after the shim or intermediate processes exited. (#823)
- Brave, Exa, and Serper web results with unknown dates now survive the research pipeline when the provider bounds the requested window. Parallel applies a provider start-date filter and keeps undated results for current-window searches. Unknown dates remain labeled as such. (#928)
- Fixed Reddit discovery reporting blocked or cardless r/all listings as no results instead of a degraded source. (#940)
- Backfill thin YouTube search results from ScrapeCreators when a key is set, retain yt-dlp videos and transcripts, and surface backfill and failure details. Set
LAST30DAYS_YT_SC_MIN_ITEMS=0for empty-only fallback. (#977) - The ScrapeCreators YouTube transcript fallback now requests up to three distinct preferred caption languages in order (
LAST30DAYS_YT_SUB_LANGS, defaulten,es,pt). It skips empty tracks and limits total fallback time to 30 seconds per video. (#1169) - X search through
xurlno longer fails with "xurl: search failed" when a topic contains a bareand/or: the topic is sanitized into plain keywords (operators, negation, grouping and quotes removed, capped at 512 characters) before it reaches the X API, and an X "Invalid Request" rejection is now reported as "xurl: X rejected the query (invalid request)". (#1177) - X search failures attributed to the xAI backend now point to its credentials, billing, rate limit, or timeout remedy instead of browser login or an unrelated X API bearer. (#1186)
- Setup and research runs now explain when browser-data permission denial prevents X cookie authentication. Doctor shows the last setup denial without reading browser cookies and points to manual cookies or key-backed X access. (#1193)
- A failed yt-dlp YouTube search (network error, bot check, broken install) is now reported as a YouTube failure in Source Coverage instead of as "no results".
- Reports no longer end with a trailing
Sources:list. Host web searches now run in a subagent, so the main agent never receives the web-search tool's "include sources" reminder. Web pages are cited inline and counted in the closing "I have all the links" line. The engine's end-of-output text no longer claims to override tool contracts. - The research runbook passes literal topics containing apostrophes or backticks correctly on macOS Bash 3.2, while retaining zsh compatibility and preventing shell expansion.
[3.27.1] - 2026-10-08
Fixed
- On Grok Bot, the month's most-engaged on-topic X posts now reach the report: a host-fetched X stream holds half its slots for its most-engaged posts that name the topic, so the popular pass's big posts no longer lose to fresher low-engagement ones, and off-topic viral posts never take those slots. The footer's X line now names its source ("via Grok Bot X" or "via X connector"), and the Grok Bot X recipe gives discovered authors only topic-word lanes and uses the engine's UTC date for the window.
[3.27.0] - 2026-10-08
Security
- Route
github.pyandtranscribe.pythroughhttp.open_requestso their bearer tokens are also dropped on cross-origin redirects; both built their own Request and calledurllib.request.urlopendirectly, bypassing the handler added for #1062. (#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)
- 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)
- 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
.envlines written with the shell'sexportprefix (export KEY=value) now setKEY; before, they created a key literally namedexport KEYand the setting was silently ignored. The setup wizard also treats anexport KEY=...line as the key being set, so it no longer appends a second copy. (#930)Hacker News stories now get their top comments attached again: the pipeline calls
hackernews.enrich_top_storiesafter parsing search results, so HN items no longer reach normalization with emptytop_comments. (#1168)SKILL.md now consistently documents the
--plantmpfile 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)SKILL.md's privacy list now notes the TikTok legacy fallback: when
SCRAPECREATORS_API_KEYis unset,APIFY_API_TOKENis sent to ScrapeCreators. (#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)
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
Falsefor both backends, so a missingnode, 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_TIMEOUToverrides 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
/last30daysis invoked in Claude Code with a multi-word topic: positional parameters in theSKILL.mdpreflight 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_STOREsaves 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, includingReact/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
serperweb 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 asWeb: 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-ofsearch 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. Thebraveandexabackends 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_URLandOPENROUTER_BASE_URLnow 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.--preflightnow listsOPENROUTER_BASE_URLamong the active endpoint overrides.
[3.26.0] - 2026-10-01
Security
--save-suffixis sanitized to a path-safe token so traversal fragments cannot escape the save directory (including discover-mode saves). (#736)
Removed
- Keyless Reddit discovery no longer uses Reddit RSS feeds, which Reddit shuts off on 2026-11-13.
Added
- Keyless Reddit discovery now uses Reddit's own site search, alongside subreddit listings, arctic-shift, and shreddit comments, so Reddit keeps working with no API key after the RSS shutdown.
- New
--perplexity-search-type fast|webflag andLAST30DAYS_PERPLEXITY_SEARCH_TYPEsetting choose the search type for direct Perplexity Search API and Agentweb_searchrequests. They do not enable the Perplexity source and need a directPERPLEXITY_API_KEY. Thanks to @sk-holmes (#1184). - The local MCP server can now use an explicit
LAST30DAYS_PYTHONinterpreter and a default-deny, consent-gatedLAST30DAYS_MCP_ALLOW_BROWSER_COOKIESswitch, enabling reproducible Windows Claude Desktop deployments without weakening the existing cookie-access default.
Changed
- With
SCRAPECREATORS_API_KEYset, Reddit now spends ScrapeCreators credits to backfill search whenever the free path returns fewer than 5 items, instead of only when it returns nothing. A run makes at most one ScrapeCreators Reddit backfill per distinct query, date window, and subreddit set, and each backfill is several API calls (searches plus comment fetches, roughly 10 at default depth). SetLAST30DAYS_REDDIT_SC_MIN_ITEMS=0to restore the old backfill-only-when-empty behavior.
Fixed
--perplexity-search-typeno longer moves hosted-backend runs to local research when no directPERPLEXITY_API_KEYis configured, and an invalidLAST30DAYS_PERPLEXITY_SEARCH_TYPEvalue no longer blocks OpenRouter Sonar searches. (#1188)- Reading an HTTP error response body now counts against the caller's deadline instead of stalling past it, and debug logs redact request API keys, including keys a provider echoes back in an error body. Thanks to @sk-holmes (#1184).
[3.25.0] - 2026-09-18
Security
- Scraped titles can no longer forge the engine's own block sentinels. Titles are the full post body on X, TikTok, Instagram and LinkedIn and kept their internal newlines, so a short post could close the EVIDENCE FOR SYNTHESIS envelope early and open a block shaped like the PASS-THROUGH FOOTER, which LAW 5 tells the host model to relay verbatim. Titles are now collapsed to one line, and the sentinel markers are defanged in titles, in snippet/comment evidence, and in private-corpus titles, filenames and snippets — every path that renders inside the synthesis envelope. (#1053)
- Safari cookie extraction now matches the cookie host exactly or as a true subdomain, so a session cookie stored for an unrelated host such as
x.com.evil.tldis no longer picked up forx.com. - Scraped content can no longer close the
<untrusted_content>fence that wraps it. A post title carrying the literal closing tag previously ended the block early, placing the rest of that title outside the fence in both the rerank judge prompt and the--discoverhost digest — the latter being the engine stdout that becomes the host agent's tool result. --record-fixturesno longer writes live credentials to disk. Fixture redaction is driven by key name, and the recognized set omittedpassword,accessJwt, andrefreshJwt— so a Bluesky session exchange recorded the app password from the request body and both session JWTs from the response in cleartext, in a file created world-readable. The key set now covers those names, recorded files are created0600, and env-derived secret values are scrubbed from responses on this path as they already were for source records.
Removed
- The Claude Code and Grok plugin no longer installs a SessionStart hook. Welcome, source status, and the ScrapeCreators tip run only when
/last30daysis invoked (SKILL.md Step 0).--preflightremains as an opt-in permission inspector and MCP JSON contract; it is not a required first-run step.LAST30DAYS_QUIETis gone with the hook. The engine still createsLAST30DAYS_MEMORY_DIRon first save.
Added
Meta Ads source — a new opt-in research lane that surfaces what a brand is paying to say this month, alongside what everyone else is saying about it. It resolves the brand's advertiser page in the Meta Ad Library, pulls the creatives that launched inside your 30-day window, and reads back the ad copy, launch date, placements, call to action, landing product, any promo code, and the spoken transcript of the newest video ads. The 📣 footer line names the advertiser page it resolved, so a wrong-company match is visible rather than silent, and reports how much the brand is still running from before the window.
Paid message only, never audience reaction: Meta publishes reach and spend for political ads alone, so commercial creatives carry no engagement numbers.
Off by default and never inferred from topic shape. Turn it on per run with
--search meta_adsor durably withINCLUDE_SOURCES=meta_ads; it needsSCRAPECREATORS_API_KEY. A default-depth run spends at most 7 of the 10,000 free calls. Use--meta-ads-page=<page_id>when a brand advertises under product-line page names, andLAST30DAYS_META_ADS_COUNTRYfor a non-US Ad Library.
Fixed
- ScrapeCreators GitHub device flow:
fetch_api_keyno longer collapses HTTP 5xx from/v1/github/device/profileinto the already-linked "Authorized but failed to fetch API key" path. Server errors surface asreason: upstream_errorwith a distinct message (after bounded retries and a truncated body in the detail), and SKILL.md routes those failures to web signup/retry instead of "your GitHub is probably already linked." (#882) - Entity-miss demotion no longer goes inert on long topics without a distinctive named entity. Intent modifiers are stripped only as trailing suffixes, and generic-headed topics use stronger trailing anchors while broad words such as "code", "review", and "work" cannot ground a result by themselves. (#887)
- The LinkedIn source now honors the requested date window instead of always querying a hardcoded
last-monthbucket, walks the response cursor instead of stopping after the first ~10 posts, and treats the endpoint's 404 as an empty result rather than an error, since 404 is how this API signals that a query matched no posts. Because results inside a bucket are relevance-ranked rather than recency-ranked, the search queries both the narrow and the covering bucket and unions them. A bucket that fails after another succeeded now returnspartial: Truewith the first error rather than reading as a complete, low-volume result. (#939) - Adapter-valid arXiv papers are no longer dropped by the report date window during normalization. (#946)
- GitHub search qualifiers wrapped in parentheses, quotes, or brackets (
(created:>2025-03-20),"created:>2025-03-20") are now stripped from topics before the query is built, matching the plain-qualifier behavior. Previously a wrappedcreated:survived into the search, collided with the adapter's owncreated:>{from_date}window (GitHub honors the first), and the source silently reported zero results. Leftover empty wrapper pairs are removed too, so a wrapped qualifier-only topic still degrades to the no-search error instead of emitting stray characters. (#952) - Empty or qualifier-only GitHub topics now report no-results instead of marking the source as failed. (#953)
- GitHub qualifier-only rejections now truncate the topic in error detail and logs so a long planner query cannot spam stderr, the error envelope, and doctor hints on every subquery. (#954)
--diagnoseand doctor no longer report xurl as unauthenticated when credentials live in the current~/.xurl/auth.ymldirectory layout; the legacy flat~/.xurlfile is still recognized. (#978)- Instagram creator reels now unwrap ScrapeCreators
mediaenvelopes before parsing, preserving their metadata and date filtering. (#1017) - Grok X backend now requests
--output-format jsonand parses the JSON array Grok CLI 1.0.5 actually emits, so searches no longer die as "no items parsed".--json-schemais still not passed. (#1051) - A config value left as an unsubstituted
${user_config.*}extension template is now treated as unset.doctorandpermission_preflightreport it as an unsubstituted template instead of a healthy credential, and backends fall back rather than sending the placeholder upstream. Previously the placeholder read as configured, so the diagnostics cleared a setup that could not work and the failure surfaced as a vendor auth error. (#1081) (#1081) - A comparison run whose main topic fails now exits with an error instead of silently promoting a competitor to be the report's subject.
run_competitor_fanoutdrops a failed sub-run, and the render treats the first surviving entry as the subject, so a main topic that raised while two or more peers succeeded produced a complete-looking comparison headed by a peer, saved under that peer's slug, with the requested topic unmentioned. Entities that were dropped are also recorded as a report warning, so a narrower comparison than requested is visible rather than silent. - Add
mcp/manifest.jsonto the lockstep version set so the.mcpbmanifest is bumped by release prep and guarded against drift in feature PRs. - Audio transcription posts the skill's canonical User-Agent instead of Python-urllib, so Groq's Cloudflare edge no longer 403s the request with error 1010.
- Reddit ranking no longer crashes with a
math domain errorwhen a downvoted post has a negative score; such posts now receive the minimum engagement bonus. - The Grok CLI's stdout is now decoded as UTF-8 instead of the OS locale codec. On Windows (cp1252), an emoji or smart quote in an X post's text crashed the decode inside
subprocess.run, which surfaced as "no items parsed" from thegrokX backend rather than a real error. - Trailing
# commentannotations on unquoted.envvalues (the shape shown inCONFIGURATION.md) are now stripped instead of being stored as part of the value;#inside quotes or glued to the value stays literal. HERMES_SETUP.mdnow documents the working Hermes install path: thehermes skills install … --forcecommand is blocked by Hermes's install-time scanner (adangerousverdict that--forcecannot override), so the guide usesgit clone+cpinto the skills directory instead, and the update steps match.OPENAI_BASE_URL,XAI_BASE_URL, andOPENROUTER_BASE_URLnow accept an API root (https://host/v1) in addition to a full endpoint URL. Values copied from a provider's setup guide previously POSTed to the API root and failed.doctorno longer reports a rate-limited source as an outage. A probe refused with HTTP 429 is retried once and, if still refused, shown as unverified instead ofNOT WORKING. Reddit was the visible case: a burst of keyless probes draws a 429 while the research lane, which retries with backoff, serves the same query fine. HTTP 403 still counts as a hard failure.verify_v3.pynow runs the unit stage with pytest, so pytest-style test files (previously skipped byunittest discover) are verified.
[3.24.0] - 2026-09-09
Added
- New
xapiX backend: the official X API v2 with an app-onlyX_BEARER_TOKEN, trying full-archive search first and falling back to recent search (about the last seven days, reported as "window truncated to 7 days"), serving the topic lane and the from/mention/related handle lanes; it is the first rung on Grok Bot and opt-in elsewhere (LAST30DAYS_X_BACKEND=xapi). New--x-posts <path>flag ingests alast30days-x-posts/1envelope of posts the hosting model fetched through its X connector (per-entityx_postsin--competitors-plan), andLAST30DAYS_X_HOST_LANE=1marks X as available for planning while a connector is in the session. Newsetup --store-key <NAME>persists one credential from stdin without echoing it. Newpayment-requiredsource outcome, exported under agent JSON schema1.3.
Changed
- On a Grok Bot host (
LAST30DAYS_HOST=grok-bot) X search now runs through the bot's X connector first, with the official X API (X_BEARER_TOKEN) and xAI's licensed X search (XAI_API_KEY) as backups; onboarding, doctor, and repair hints there name only those paths. Credit-exhaustion responses from any source (HTTP 402 or an explicit "insufficient credits" message) now classify as thepayment-requiredoutcome instead oferrororauth-failed, andLAST30DAYS_STRICT_EXITtreats it as degraded (exit3).
[3.23.1] - 2026-09-08
Security
- Drop Authorization, x-api-key, x-csrf-token, and x-subscription-token when urllib follows a 3xx that changes scheme or host (stdlib otherwise copies them). (#1062)
- Require an absolute path for automatically discovered MCP Python interpreters, including when Go's built-in relative-path protection is explicitly disabled. Explicit interpreter overrides retain their existing behavior. (#1109)
- Keychain setup and listing now check existence without requesting plaintext passwords, and count existing entries by exit status. Selectively retains the safe presence-check changes from #1061; the existing credential writer is unchanged and its command-line exposure remains a separate follow-up.
Fixed
- Operator-supplied
--plannow keeps each subquery'ssourcesinstead of silently replacing them with the full available list. Unavailable-only subqueries are visibly skipped; if none remain, the run fails before retrieval with configuration guidance. Engine-internal LLM plans retain their fallback and expansion behavior. (#1073) - SessionStart hook must use the bare ${CLAUDE_PLUGIN_ROOT} form so Claude Code's
missing-plugin-root guard can match it. A default of
.resolves relative to the session cwd and can execute a decoy check-config.sh from the user's project. (#1074) - Grok Bot / Cursor agent chat is now a hidden-link citation host: LAW 8 detects it via
CURSOR_AGENT(alongsideCLAUDECODEfor Claude Code) and inline-links every cited r/sub, u/name comment author, @handle, GitHub repo, and creator with URLs copied verbatim from the engine evidence. Codex, Gemini CLI, and raw CLI keep the plain-label regime, so no URL soup returns. (#1095) - Documented that the SessionStart config hook ships only with the Claude Code plugin install; on npx and other hookless installs there is no hook and the engine creates the memory directory itself on first save. (#1100)
- Posts fetched via
--ig-creatorsor TikTok--creatorsnow reach the report: named creator accounts count as first-party provenance in the relevance prune, scoped to each flag's own platform so a same-name account elsewhere still faces the floor, and prune drops are logged per stream with the dropped count and floor. (#1101) - Corrected the stated LAW count in the SKILL.md formatting-authority note to match the eleven LAWs defined below it. (#1102)
- Use Bluesky refresh tokens to recover expired search sessions before falling back to a new login, while keeping unauthorized retries bounded. (#1065)
[3.23.0] - 2026-09-01
Added
- On Linux and Mac mini hosts (and any host that sets
AGENTCOOKIE=on), X search can now hand Bird a completeauth_token+ct0pair from two additional sources: theagentcookiesidecar CLI and a live signed-in Chrome/Chromium session read over the DevTools Protocol (Network.getAllCookies). The first complete pair wins, cookies are never written to the.envor logged, and a Node--inspectendpoint is never mistaken for Chrome. A MacBook is unchanged — it uses only the existing browser-cookie extract unlessAGENTCOOKIE=on. The X backend chain and grok's pin-only status are unchanged frommain.
Fixed
- Stop listing SCRAPECREATORS_API_KEY as an X backend; the engine has no ScrapeCreators X path (
_X_BACKEND_ORDERis bird/xai/xurl/xquik). (#942) - Keep YouTube videos that already had transcripts fetched when the hard date window would otherwise empty the source (#1043). Search already kept out-of-window results when fewer than 3 were recent. (#1043)
tests/test_footer_nudge_suppression.py::test_bare_run_emits_web_promofailed on macOS for contributors with alast30days-BRAVE_API_KEYKeychain item, while passing in Linux CI. The test sealed two credential sources — it stripped the paid web keys fromos.environand setLAST30DAYS_CONFIG_DIR=""— but macOS Keychain is a third, independent source, soBRAVE_API_KEYwas still resolved,native_web_backendwas set,_missing_sources_for_promo()returnedNone, and the assertedBRAVE_API_KEYnudge was never printed._load_keychain()gains aLAST30DAYS_SKIP_KEYCHAINopt-out (process-environment only, since it gates a source consulted while the config is assembled), and the test now sets it. Engine behaviour is unchanged when the switch is unset. (#1050)- Pass
player_client=androidto yt-dlp (overridable viaLAST30DAYS_YT_PLAYER_CLIENT) so search, transcripts, and comments can clear the web bot-gate without spending ScrapeCreators credits. (#1052) - The vendored X-search subprocess no longer receives a copy of the full environment:
bird_xnow passes only the variables the client actually reads (runtime vars, X session cookies,BIRD_*flags, injected credentials), so unrelated ambient API keys and tokens cannot reach scan-excluded vendored code (#1063). (#1063) - Windows Firefox
FROM_BROWSERX auth no longer dies on a UTF-16profiles.ini(UnicodeDecodeErrorused to skip the fallback and kill the only keyless X route). (#1067) - Declining or skipping X/browser-cookie access now continues the requested research with available sources, and reports X only as an optional omission after useful results.
[3.22.0] - 2026-08-31
Added
- Telegram public channel source: opt-in via
--telegram-sources=handle1,handle2orTELEGRAM_SOURCES+INCLUDE_SOURCES=telegram. Named public channels only (no keyword discovery); fetches recent posts via ScrapeCreators API and scores by views, reactions, and topic relevance. (#990) - Add an explicit
--web-backend=parallel-mcpoption for anonymous hosted Parallel web search. - Reddit threads with the most upvotes and comments now keep their place: each Reddit stream holds slots for its top three on-topic threads by engagement before per-stream truncation, and the fused candidate pool reserves slots (quick 2, default 3, deep 4) for the highest-engagement entity-grounded Reddit candidates. A 16K-upvote thread with weak title overlap was previously cut behind one-upvote posts. Topics whose primary entity starts with a generic word ("ai", "new") require the higher 0.25 relevance floor for these slots.
Changed
- Keyless Reddit comment enrichment now covers 4 / 8 / 12 threads per subquery at quick / default / deep depth (was 3 / 5 / 8) and keeps up to 12 top comments per thread (was 10), now that repeat fetches are memoized and paced.
- The emoji-tree footer no longer appends
⚠ partial after N items: HTTP 429 ... (run doctor for fixes)outcome text to any source line; source lines carry counts and engagement only.--emit=compactstdout also drops theSome sources failed/Some sources returned partial resultswarning lines and the## Source Errorsblock. The model-facing## Partial Coveragenote stays, and the saved raw file,--emit=json, anddoctor --postmortemkeep fullsource_status,warnings, anderrors_by_source.
Fixed
- Keyless Reddit comment-enrichment slots now go to the most-commented threads within each entity-priority tier, so a high-discussion thread no longer misses
## Top Community Commentscoverage while near-empty threads consume the scarce slots. (#906) - Keyless Reddit now paces unauthenticated reddit.com requests at 1 req/sec (configurable via
LAST30DAYS_REDDIT_KEYLESS_RATE) and retries a 429'd RSS or listing sub-request once, so routine runs no longer drop those lanes aspartialHTTP 429. (#985) - A source that delivered items but lost some sub-requests (a swallowed 429 or 403 on one lane) now records
okwith a detail line such as3 sub-requests rate-limited (HTTP 429)instead ofpartial;doctor --postmortemshows that detail on the Succeeded line. Adapter-declared leg failures (for example a Perplexitybothrun whose agent leg failed) still brand the source partial. - Fusion and report finalize now identify a thread by its normalized URL, not its per-stream item id. When the same Reddit thread arrives from two subquery streams (both labelled
R1), the candidate keeps the copy that carriestop_comments,comment_insights, and the verified counts instead of discarding it as a duplicate, anditems_by_sourceholds one entry per thread. This is what silently emptied## Top Community Commentson multi-subquery runs. - Keyless Reddit GETs are memoized for the life of one command, and concurrent requesters for the same URL share the in-flight fetch. Subreddit listing partials, listing RSS feeds, arctic supplements, and shreddit comment pages were fetched once per subquery (four times on a typical run) because the Reddit lane is dispatched with the raw topic every time; a four-subquery run now issues roughly 50 reddit.com requests instead of ~184, which is what kept tripping the anonymous rate limit.
- Keyless Reddit RSS and listing fetches now size their per-future timeouts from the shared bucket's queue depth instead of a fixed 20 seconds. At 1 req/s with four subquery streams sharing the bucket, the fixed timeout expired while a fetch was still waiting for its token and the feed was silently dropped.
- Keyless Reddit comment scraping now drops bot authors (RemindMeBot, AutoModerator,
WikiTextBot-style camelCase names, and-bot/_botsuffixed accounts), so a "I will be messaging you in 3 days" reply can no longer occupy a Top Community Comments slot. Ordinary usernames ending in a lowercase "bot" (Talbot, abbot) are unaffected. Cherry-picked from #1034 (rebase of #907). - Rate-limit retries are bounded: a
Retry-After/x-ratelimit-resetwait is capped at 60 seconds and an epoch-style reset (GitHub) is converted to a delta, so a 429 can no longer park a worker or the main thread for minutes. The keyless Reddit memo elects one new owner when an in-flight fetch fails instead of letting every waiter refetch, its gate wait and the comment-enrichment budget account for the shared bucket's queue, the Reddit pool reservation survives a small pool crowded by many sources, stream keepers respect--max-per-source, a source whose swallowed sub-requests all 429ed is not retried against the same host and is reported as rate-limited rather thanno-resultswhen filtering leaves it empty. - Reddit 429 backoff now honours
x-ratelimit-reset, not justRetry-After. Reddit's anonymous search/RSS endpoints reply to a 429 withx-ratelimit-reset: 42and noRetry-After, so the retry fell through to exponential backoff (3s, 5s, 9s) — every step shorter than the window Reddit actually requires. Each retry re-429'd, the budget drained, and Reddit was reported as a dead source when it was only being asked too early. Bothhttp.fetch_urlandreddit_publicnow read either header through the newhttp.retry_delay_from_headershelper. - Sources that return items are no longer branded
auth-failed/partialwhen a swallowed lane-level HTTP failure (e.g. Reddit shreddit partials 403-ing on datacenter egress) is captured by the pipeline sink. The transport-failure outcome still surfaces when nothing was delivered, sodoctorprescriptions are unaffected. ## Top Community Commentsand## Best Takesnow draw from every cluster that clears the relevance floor, not only the eight clusters shown in## Ranked Evidence Clusters, so a top-voted comment on a lower-ranked thread still reaches the brief.
[3.21.1] - 2026-08-18
Changed
- Direct Perplexity keys now use the Agent API for controlled synthesis and explicit Deep Research. Controlled synthesis forces grounded web search and supports explicit Anthropic Agent models with a bounded output budget, while Deep Research starts at most one paid background run per command and preserves safe polling and incomplete-run receipts. Existing OpenRouter-only installs keep the synchronous Sonar and Sonar Deep Research fallbacks.
[3.21.0] - 2026-08-14
Changed
- X backend priority changed: bird (browser cookies) is now first in the auto chain, ahead of xai/xurl/xquik. Cookies beat XAI_API_KEY when both are present. Grok CLI is demoted to opt-in only: a leftover
~/.grok/auth.jsonno longer steals the X lane. PinLAST30DAYS_X_BACKEND=grokto enable it explicitly.
[3.20.0] - 2026-08-14
Added
- X search now judges corpus on-topic ratio and retries once with a wider AND query when the initial results are mostly off-topic (e.g., phrase-quoted "Rome Italy" returning AS Roma sports accounts). Multi-word search queries use unquoted AND as the primary variant instead of phrase-quoting. Handles extracted from entity_extract are now filtered for the from: lane based on whether their already-retrieved posts are on-topic (≥2 on-topic hits and ≥50% ratio), not just frequency. Extracted handles that qualify for the from: lane AND the topic into the query (
from:handle Rome) to prevent off-topic timelines from filling the X budget. Explicit --x-handle and --x-related handles always get the from: lane without ANDing the topic. Source status reflects off-topic floods as a warning artifact, not a failure. First-party floor immunity remains conservative (explicit handles only, not promoted commentators).
Fixed
- Amazon review enrichment now starts at search time instead of after all other sources finish, ensuring multi-source runs have a useful budget (up to 180s) rather than leftover crumbs. Previously, a run that spent 269s on retrieval would leave only 11s for reviews, causing all Bright Data pulls to time out. Budgets below 90s now skip the lane entirely instead of firing doomed short pulls that spend credits without returning reviews.
- Grok session expiry is now detected locally by parsing
expires_atfrom~/.grok/auth.json. Doctor reports expired sessions as degraded (not ok) with the expiry timestamp and a hint to rungrok login --device-authif refresh fails. Research-time availability still attempts grok when credentials exist (expired access_token does not prove the refresh_token is dead). When the Grok CLI returns "Not signed in" orinvalid_grantmid-run, the pipeline now reportsauth-failedwith a proper fix hint instead of a generic PARTIAL outcome, and falls back to the next X backend.
[3.19.0] - 2026-08-14
Security
- Source URLs containing unsafe schemes or Markdown delimiters are now rendered as inert escaped text instead of raw Markdown. (#886)
- SessionStart
check-config.shnow rejects non-identifier.envkeys beforeprintf -v(blocking array-subscript command substitution) and loads.claude/last30days.envonly whenLAST30DAYS_TRUST_PROJECT_CONFIGis set in the process environment or global config, matchinglib/env.py.
Added
Amazon buyer signals — a new opt-in
amazonsource, backed by the Bright Data CLI. On shopping-intent topics it pulls discovered products with live ratings and prices, plus a capped sample of recent written reviews woven in as buyer voice.The signal it exists for is drift: an all-time rating from thousands of ratings set against the average of only the reviews inside the last 30 days. When those disagree, something changed this month, and the review text says what. The emoji footer names each product and the direction it moved —
📦 Amazon: 3 products │ Chill Max XL 4.4★→3.8★ ↓, Deluxe Bag 4.7★→5.0★, BLUEY Set 4.8★ new— rather than reporting inventory counts.Off by default and dual-gated: the
brightdataCLI must be on PATH and logged in, and the run must ask for the source (--search ...,amazonorINCLUDE_SOURCES=amazon). It never auto-fires from inferred intent. Use--amazon-querywhen the product keyword differs from the topic — a person topic searches their company's product line, not their name.LAST30DAYS_AMAZON_DOMAINselects a non-US marketplace.Billing is one credit per request against a 5,000/month free tier, so a typical run costs 4 credits regardless of how many reviews come back.
Reddit keyless discovery now falls back to the arctic-shift archive when the shreddit listing partials return nothing — hosts on datacenter egress (where Reddit 403s
/svc/shreddit) keep scored Reddit discovery, score backfill, and discover-mode listings instead of reportingauth-failed.X search now works with no X credential at all. Install the Grok CLI (
curl -fsSL https://x.ai/cli/install.sh | bash, thengrok login) and last30days reaches X with no X account, no browser cookies, and noXAI_API_KEY— on any host, including Claude Code, Codex, Cursor and GrokBot. It sits ahead of the browser-cookie path by default; pinLAST30DAYS_X_BACKEND=birdto keep cookies. Covers three lanes for a person or company topic: posts by the subject, posts @-mentioning them, and posts naming them in plain text (which is most of the discussion, and which a mention-only search misses).
Fixed
- Source URLs in the saved raw report and internal evidence output now render as clickable markdown links instead of plain text. (#886)
- Hacker News comments no longer vanish from every per-source path. HN comments arrive as
{author, text, points}while downstream readers key onscore/excerpt, and_normalize_hackernewsstored them raw, sorender._top_comments_listfiltered(c.get("score") or 0) >= 5against a key that was never present and rejected the entire source. HN comments are now remapped like the YouTube and TikTok ones, and the HN floor is 0 because the Algolia API returnspoints: nullfor every comment child, which makes any positive threshold unmeetable. A comment with no vote signal renders without a fabricated "(0 points)". (#889) - Polymarket topics spelled out in full ("artificial general intelligence") now match markets titled in shorthand ("AGI by 2030?"). Previously the topic filter and the relevance floor both compared full words against an acronym, so every on-topic market was dropped and the run reported zero results — indistinguishable from the source genuinely having none. (#891)
- Reddit HTTP 429/403 on the keyless lanes is no longer reported as a clean
no-results: the failure now survives the worker-thread hop into the run outcome, sosource_statuscarriesrate-limited/auth-failedwith the status indetailanddoctor --postmortemlists Reddit under Failed instead of "No failures on the last run."doctor --probenow checks the RSS endpoint the engine actually uses (the old/r/all/hot.jsonprobe is permanently 403 keyless) and counts a 403/429 there as blocked rather than reachable. UnderLAST30DAYS_STRICT_EXITa blocked Reddit run now exits 3 instead of 0. (#899) - On Windows, the setup wizard's npx-based installs (Digg, arXiv, Techmeme) always failed silently because
shutil.which("npx")resolvesPATHEXTbutsubprocess.rungiven the bare string"npx"does not. Windows users also got macOS-only Homebrew guidance when yt-dlp was missing. Both are fixed: the resolved npx path is now passed through, and Windows getspip install yt-dlpguidance instead. (#904) --web-backend=keylessis now accepted by the CLI, matching whatCONFIGURATION.mdalready documented. The keyless web-search floor was already fully supported internally; only the argument parser rejected the value. (#905)- arXiv no longer returns zero results for natural-language multi-word topics. The exact-phrase quoted query now retries unquoted once when it matches nothing, instead of silently dropping arXiv from the report. (#908)
- Truth Social search no longer fails with a Cloudflare-triggered HTTP 403 on every request. Requests now send browser-like headers, the same fix already applied to Reddit. (#909)
--emit=compact --save-dirruns now save the complete debug artifact (all clusters plus every per-source item, with the emoji footer citing the actual written path) instead of the compact stdout render, which had made most collected evidence unrecoverable from the raw file. (#923)- The GitHub source no longer reports zero results when the planner writes search qualifiers into the topic (e.g.
open source AI stars:>1000 created:>2025-03-20).search_githubappends its owncreated:>{from_date}window, and twocreated:qualifiers collide: GitHub honors the first and ignores the appended window, so out-of-window items are fetched and then dropped wholesale by the local date filter, surfacing as a silentno-results. Qualifiers are now stripped from the topic before the query is built (including comma/semicolon-glued forms and quoted values such aslabel:"bug fix"), topic terms glued after a qualifier value are preserved, and a qualifier-only topic reports an explicit error instead of searching the whole site. (#949) - The GitHub source no longer returns zero results once a credential is available. GitHub rejects authenticated
/search/issuesrequests that carry neitheris:issuenoris:pull-requestwith HTTP 422, while anonymous requests are still accepted without one — so the source worked until a user rangh auth loginor setGITHUB_TOKEN, then failed silently whiledoctorstill reported it healthy. Authenticated searches now run both qualifier-scoped queries and merge them, deduped by item id and re-sorted by reaction count, which keeps issues and pull requests in the same result set; appending a single qualifier would have dropped roughly 87% of matches on a typical topic. The unauthenticated path is unchanged. When one partition fails but the other returns items, the surviving items are now kept and the source is reported as partial rather than silently claiming success — full-failure (both partitions return nothing) is still a clear failure. (#967) - Out-of-window evidence no longer leads the ranked output. Items whose dates fall outside the run's window were flagged
[date:low]but ranked normally, so a 2025-10 video took the #1 cluster in a 2026-07 brief and a 2025-12 one took #5. Candidates whose every dated item is out of window are now demoted in both the fusion sort and_final_score, so they still appear as evidence but never above in-window material; items with no date at all are untouched, since an unknown date is a coverage gap rather than a stale item. The freshness verdict ("only N of M dated items are from the last 7 days") also reaches the pass-through footer instead of only the report body. - X runs on a person or company no longer discard the subject's own posts. A post almost never contains its own author's name, so lexical relevance scored it at zero and the retrieval floor pruned it — a run for "Peter Steinberger steipete" fetched 8 posts by him and reported none of them. Fixed across the chain: planner scaffolding words no longer count as topic signal, posts by a handle the run is searching are exempt from the floor, auto-discovered handles now reach the first-party protections (previously only
--x-handledid), quoted proper-noun phrases survive into the provider query instead of degrading into a token conjunction, and the subject of the topic gets a higher per-author cap than incidental accounts. When no real handle can be identified at all, the X floor is skipped rather than pruning against lexical name tokens. The thin-source retry path defers the X floor the same way Phase 1 does, so a subject-authored post recovered on retry is not discarded before handle resolution. --github-userno longer returns unrelated repos for people whose PR search comes back empty or is unavailable. Person mode now falls back to the selected user's public GitHub events and returns only in-windowPushEventactivity attributed to that actor, instead of treating repository-levelpushed_atas proof that the selected user pushed. A pinned--github-userthat still yields nothing is recorded asno-resultsinstead of passing silently.
[3.18.4] - 2026-07-28
Fixed
- Tag release workflow YAML now parses on every main push; merge commits can mint
vX.Y.Ztags again. (#880) - YouTube yt-dlp search under comparison-mode fan-out no longer self-throttles into 120s timeouts: concurrent yt-dlp invocations are process-wide capped, identical searches are deduped within a run, and a search timeout is recorded as
timeoutrather thanno-results.LAST30DAYS_YT_SEARCH_TIMEOUTconfigures the search deadline.
[3.18.3] - 2026-07-25
Fixed
- Top Community Comments ranking blends thread relevance with vote strength and applies the relevance floor only when enough on-topic candidates exist. (#701)
- Chromium cookie extraction now searches every browser profile for a matching cookie set, and reuses the Keychain/AES key across profiles in one scan. (#725)
- Synthesis contract is echoed at the top of the evidence envelope so hosts that truncate stdout still see the "synthesize, don't dump" directive. (#727)
store_findingsno longer raisesTypeErrorwhen a re-sighted finding carriesengagement_score: None. (#796)- Explicit --plan payloads with an invalid schema now exit with a field-specific error instead of silently running a deterministic plan. (#841)
- Company-topic runs no longer auto-add the
jobssource when an explicit--search/requested_sourcesfilter is set;--hiring-signalsstill forces jobs. (#842) - Report footer path now matches the collision-safe path actually reserved by save_output. (#850)
- YouTube ScrapeCreators transcript rescue is logged instead of being masked as a hard failure. (#851)
- Polymarket domain-sweep topics no longer drop every market after noise-word stripping removes terms like "ai". (#859)
- Reddit fetch windows now track the requested date range so short
--daysruns no longer pull a depth-default month and discard everything outside the window. (#860)
[3.18.2] - 2026-07-25
Added
- Release preparation now builds CHANGELOG.md from changelog.d fragments via towncrier and bumps every plugin/marketplace lockstep version surface through an automated Prepare release workflow (no more shared Unreleased edits).
Fixed
--trustpilot-domain(and plan-leveltrustpilot_domain) now auto-activates the opt-in Trustpilot source for the run instead of silently no-oping whenINCLUDE_SOURCES/--searchomit it. (#873)- Scraped evidence text can no longer inject structural
##markdown headings into the EVIDENCE FOR SYNTHESIS block — continuation lines stay indented and leading ATX markers are escaped. (#874)
[3.18.1] - 2026-07-24
Fixed
- General reports no longer promote unanchored fallback entity misses, zero-score clusters, or comments attached only to rejected evidence into synthesis. (#863)
- YouTube transcript fetches now reuse a completed VTT left on disk when yt-dlp times out, honor
.envvalues for caption languages, and allow keyed runs to tune the 12-second fast-fail timeout. (#864) - Comparison / vs-mode no longer silently drops entities beyond 4. Entity ceiling is now
COMPETITORS_MAX + 1(7), truncation warns on stderr naming dropped entities, and--competitors-planimplies competitor mode so a vs-topic + plan keeps all named peers (plan remains targeting-only; discover-N via bare--competitorsis unchanged) (#868, #870). - Docs now match Reddit ScrapeCreators search backup semantics: empty-only by default (not "when public Reddit is unavailable" / rate-limited).
CONFIGURATION.mddocumentsLAST30DAYS_REDDIT_SC_MIN_ITEMS;SKILL.mdSecurity, Manual setup, NUX, and the Reddit backend pin describe the real empty-path / thinness-floor / SC-primary knobs. NUX Step 4/5 no longer claim SC Reddit comment enrichment orpublic + ScrapeCreatorsmerge on the default free path (comments stay keyless via shreddit) (#867, #869). - X search via xurl pins app-only bearer auth so OAuth1-signed multi-word queries no longer 401. (#855)
- Bird X retries normalize cleanly and empty result sets stay empty instead of erroring. (#840)
[3.18.0] - 2026-07-21
Changed
- Discovery is now a three-command host-judged protocol (SKILL.md LAW 11: "YOU ARE THE JUDGE"):
--discover --nominate-onlywrites a nominations bundle and a fenced judging digest, the hosting model writes a judgments file (short names, junk flags, worthiness) and later an angles file, and--discover --judgments <file>/--discover --finalize [--angles <file>]complete the run. No API key is ever needed for host-judged trending. (#856) - Discovery protocol runs enrich at the normal-research tier (default depth, 4 workers,
LAST30DAYS_ENRICH_BUDGET_SECONDSdefault 450s) instead of the 240s quick sweep; one-shot--discoverkeeps the quick tier unchanged. (#856) - Displayed discovery ranks now descend by the card's velocity score, and survivors sharing evidence (same top comment or 2+ shared URLs) fold into the higher-velocity story. (#856)
Removed
- The engine-side discovery LLM judge (
lib/discovery_judge.pyand all reasoning-provider resolution in the discovery path). One-shot cron runs use deterministic heuristic names, velocity-only order, and no angles, with one loud stderr note pointing at the host-judged protocol. Keyed one-shot users lose provider naming/angles by design - the protocol replaces them. (#856)
[3.17.0] - 2026-07-21
Added
- Discovery trend cards now lead with short judged topic names: a stage-1 LLM judge gives each nominated cluster a 2-6 word searchable name (with a deterministic fallback namer), replacing raw post titles as card headings, and blends a 0-100 content-worthiness score into the ranking. (#852)
- Junk-shape gate in discovery: help-me / beginner / personal-musing post shapes flagged by the judge (or the deterministic classifier at the seed-source floor) lose the single-source ranking bypass and need cross-source corroboration to rank. (#852)
- Stage-2 angle pass: every discovery trend card carries engine-owned
**Podcast angle:**and**X article angle:**lines, so the brief doubles as a content-pipeline worksheet. (#852) - Persistent discovery topic queue:
--discoverruns record surfaced topics in research.db (on by default;LAST30DAYS_DISCOVERY_QUEUE=offopts out,--mocknever writes,--save-dirscopes the store), re-surfaced or covered topics get a**Pipeline:**annotation on their card, andqueue list/queue cover "<name>"manage the queue from the CLI. (#852) - Discovery JSON export schema 1.1: per-topic
podcast_angle/x_article_angleplus the queue fieldspreviously_surfaced_count,last_surfaced, andcoveredjoin the discovery export contract; every existing key is preserved. (#852)
[3.16.0] - 2026-07-15
Added
- YouTube comments now fetch free via yt-dlp first; ScrapeCreators is a failure-only fallback, dropping the paid-key requirement for comment enrichment. (#827)
GITHUB_TOKENis registered end-to-end (.env, keychain, setup scripts, doctor) so the GitHub source stops rate-limiting keyed users. (#793)- Opt-in overridable per-source result caps for high-volume topics; defaults unchanged when unset. (#717)
OPENROUTER_BASE_URLoverride, mirroring the existing OPENAI/XAI base-URL knobs. (#703)LAST30DAYS_MCP_TIMEOUTaccepts bare integer seconds as documented, not just Go duration strings. (#765)
Fixed
- Keyless web search now works on hosts where DuckDuckGo anomaly-blocks the egress IP (a 202 challenge page with no results — common on datacenter/VPS IPs). Added Startpage as a second keyless rung (DuckDuckGo → Startpage → configured SearXNG), so the web floor still returns results there. Also hardened
_strip_htmlto drop<style>/<script>contents so inline CSS can't leak into a title or snippet. - Web/grounding results are no longer discarded when one of them is a reddit.com URL whose enrichment fetch fails. Reddit enrichment is a best-effort secondary fetch; its HTTP failures (e.g. a 403 on a datacenter IP) were being attributed to the whole web source, which then reported "0 items — HTTP 403" despite having retrieved good results. Its failures are now isolated from the source's outcome.
- Very long topic names no longer crash
save_output(ENAMETOOLONG): slugify truncates at 180 chars with a stable hash suffix so distinct topics stay distinct. (#786) - Quick depth honors the plan's explicit sources instead of trimming them away. (#664)
- X search on Windows/Node 24: valid Bird CLI JSON on stdout is trusted even when the process exits non-zero. (#813)
- 17
.get(key, 0)sites are now None-safe, fixing sort/math crashes on stored data with null fields. (#822) - Non-ASCII characters in URLs are percent-encoded component-wise before urllib, fixing the latin-1 encode crash. (#822, supersedes #821)
LAST30DAYS_DEBUGis registered and resolved lazily; fixes thehttp.DEBUGAttributeError in xai_x. (#770)DEGRADED_TRANSCRIPT_THRESHOLDset in .env is picked up. (#807)- One bad video no longer marks the whole ScrapeCreators transcript source failed. (#830)
- Chromium cookie temp copies keep 0600 permissions for their whole lifetime. (#764)
- Thin-source retries forward pinned subreddits/hashtags/creators instead of retrying generically. (#795)
[3.15.0] - 2026-07-14
Added
doctoris now a four-state audit instead of a flat config prediction: every source is grouped into WORKING (verified this run, last run, or keyless-always-on), TURNED ON - UNVERIFIED (configured/opted-in but no run evidence), NOT WORKING (configured but failing, or the last run errored), or COULD BE ON (an available capability not yet configured). Each source renders on its own labeled line, so GitHub (and every other source) is no longer buried in a cluster.doctor --postmortem: reads the last run'slast-report.json(any age, labeled) and reports, per source, what actually happened - Failed / Partial / Succeeded / Skipped with details and fix hints - so "what broke on that run?" is answerable after the fact.doctor --probe: a bounded live test that verifies WORKING instead of guessing. It also auto-fires when there is no fresh run. Each source is probed concurrently under a per-source deadline (LAST30DAYS_DOCTOR_PROBE_TIMEOUT, default 10s) so a slow source can never hang the command. Scope is free HTTP endpoints + keyless CLIs only; credit-gated sources (X, TikTok, Instagram, Threads, …) are never live-probed and stay UNVERIFIED.doctornow surfaces CLI health: sources needing a downloaded binary (yt-dlp,digg-pp-cli,techmeme-pp-cli,arxiv-pp-cli,trustpilot-pp-cli, optionalgh) carry an inline[CLI: name ✓]marker and a dedicated CLI-health block, visibly distinct from keyless sources.doctornow audits techmeme, arXiv, and trustpilot (they run in research but were previously absent from the health surface), and surfaces backup lanes (Reddit ScrapeCreators backfill, YouTube SC transcript/search backstop used when yt-dlp is rate-limited, X cookie-vs-XAI_API_KEYdual path) and comment lanes (youtube/tiktok/instagram) as indented sub-lines.doctor --jsongainsaudit_state,cli,backups,comments, andrun_outcomeper source plus a top-levelmode, all additive - every existing key is preserved.
Fixed
doctorno longer reports Threads as Ready when it will not run: SC-gated opt-in sources now honorINCLUDE_SOURCES(mirrors the correct LinkedIn gating), so Threads shows COULD BE ON until opted in. TikTok/Instagram stay on-by-default.
[3.14.0] - 2026-07-12
Added
- Global trending: bare
--discover(no domain) sweeps every river feed's own hot list (r/all, Hacker News front page, Digg) with no keyword gate -/last30days trendingnow works. (#816) - Discovery is now two-stage: a listing sweep nominates candidate topics, then each nomination gets a full research pass (Reddit with comments, X, YouTube, Techmeme, arXiv, HN, Polymarket, web) before ranking - Techmeme and arXiv reach discovery for the first time, and every trend card can carry a verbatim community-voice quote with attribution plus a cross-source corroboration badge.
--discover-shallowskips the research passes for a faster, thinner sweep. (#816) - Discovery confidence floor: every topic must clear cross-source confirmation or a genuinely strong single-source spike; when nothing clears, the run reports an honest "Nothing solid this window" (JSON
outcome: nothing-solidwith the closestweak_signalnamed) instead of ranking noise. The discovery JSON contract gainsoutcome,weak_signal, and per-topictop_comment/corroboration_count. (#816)
Fixed
- Discovery no longer emits ranked junk on quiet or over-broad domains (the "sports" sweep that returned five 1-like tweets): sub-floor evidence never ranks. (#816)
- An explicit
--searchsource boundary now holds through discovery's research passes, not just the listing sweep;--discover-shallowwithout--discovererrors instead of silently running a full research pass; enrichment stragglers can no longer keep the process alive past the wall-clock budget. (#816)
[3.13.1] - 2026-07-12
Added
- Doctor
libraryline: reports how many saved research briefs the local library holds (cheap glob, never a full parse), so the report's "From your library" block is explained on the health surface. The block itself now carries a one-line explainer with theLAST30DAYS_LIBRARY_CONTEXT=offopt-out. (#815)
Fixed
- Doctor no longer reports X as
Offwhen the bird CLI plus browser-cookie consent serve X fine at runtime: the cookie-backed path now reads Ready, with an honest note that the session is verified only at run time andXAI_API_KEYis the key-backed alternative. (#815) - Doctor's YouTube note no longer reads as broken when yt-dlp is healthy: it affirms search + transcripts work, scopes the transcription key to caption-free videos, and correctly attributes comment text to ScrapeCreators (key +
youtube_commentsopt-in) with an actionable fix line - never to yt-dlp. (#815) - Doctor's Web line on Claude Code now says host-native web search is active instead of
degraded ... keyless, and names the host rather than an env var the user never set. Messaging only; engine web behavior unchanged. (#815) - The report footer no longer prints
no resultslines for zero-item sources; failure signal stays in the Source Coverage / Partial Coverage evidence blocks, and theRaw results saved toline still renders when every source is empty. (#815)
[3.13.0] - 2026-07-12
Added
- Xiaohongshu (RED) documented as a first-class requested-only source, with auto-detection of a logged-in local browser-session service: last30days probes
http://localhost:18060thenhttp://host.docker.internal:18060when the source is opted in;XIAOHONGSHU_API_BASEremains the explicit override. Zero probing and zero behavior change for users who have not opted in. (#766, thanks @yuzhiyang1) - DripStack as an opt-in source: premium financial newsletter and analyst-writeup search (free public API, no key), complementing StockTwits retail sentiment and Polymarket odds with professional analyst signal. Ships default-off; requests route through the shared HTTP layer and honor the 30-day window. (#791, thanks @zimoo354)
- Persistent opt-in for both new sources via
INCLUDE_SOURCES=xiaohongshu/INCLUDE_SOURCES=dripstackin.env, matching the LinkedIn/Perplexity pattern; per-run--searchstill works. (#812)
Fixed
- Whitespace in comma-separated
INCLUDE_SOURCESvalues no longer silently breaks any source's persisted opt-in. (#812) - DripStack article bodies (subtitle/lede) now reach ranking and synthesis instead of only the capped snippet; the Xiaohongshu doctor prescription no longer recommends an env pin that disables auto-probing. (#811)
- Release hygiene: SKILL.md body header and uv.lock are regenerated with the version bump (both were missed in the 3.12.0 cut and hotfixed on main).
[3.12.0] - 2026-07-12
Added
- Typed per-run source outcomes: every run records what actually happened per source (
ok,no-results,partial,rate-limited,auth-failed,unreachable,timeout,schema-drift,skipped-unconfigured,error) insource_status, with doctor-aligned states and fix hints - silence is never mistaken for coverage. (#797) - Versioned agent JSON export profile:
--emit=json --json-profile=agentreturns a stable machine contract (schema_version1.2) withsource_status, clusters, ranked results with joinablecandidate_id, and freshness verdicts;--json-profile=rawkeeps the legacy dump byte-identical. (#798, #810) - Research-quality eval harness: recorded-fixture regression suite scoring runs on citation grounding, recency compliance, cluster coherence, coverage, and determinism against per-fixture floors, in CI. (#799)
--drill: re-research one cluster of the cached report in depth without a full re-run. (#800)--discover: topic-less trending sweeps over listing feeds with velocity-ranked story clusters and ready-to-run research commands. (#801)library feed: renders every saved brief into a browsable HTML library with a topic-grouped index and a subscribable Atom feed; hand-written pages are preserved with backups. (#802)library search: SQLite FTS5 full-text search across saved briefs and store sightings, plus a passive "From your library" section when new runs overlap past research; scoped--save-dirlibraries stay fully isolated from the shared store. (#803)--registeraudience templates:exec,dev, andcreatorpresets reshape section order and budgets for the reader;eli5is unified into the same mechanism. (#804)--verify-freshness: typed per-claim act-time verdicts (current/stale/contradicted/unsupported) with point re-fetch of Polymarket lines, GitHub stars, and StockTwits sentiment, inline or post-hoc over the cached report; closes the recency-promise audit gap. (#805, closes #769)--corpus: register local directories as a private, offline, deterministic source; matching notes rank alongside social evidence under a LOCAL ONLY badge and are excluded from hosted publishing and agent JSON by default. (#808)- Native Grok Build (xAI) plugin and marketplace lane:
.grok-plugin/plugin.json+.grok-plugin/marketplace.jsonsogrok plugin install mvanhorn/last30days-skillandgrok plugin marketplace add mvanhorn/last30days-skillwork as first-class install paths. The self-hosted catalog uses a bare Git URL source (tracks HEAD); submitting to the officialxai-org/plugin-marketplaceremains a post-merge SHA-pinned outbound PR documented inAGENTS.md.
Fixed
- Session-start hook no longer deadlocks under Homebrew bash 5.3: removed every heredoc from
check-config.sh(bash 5.3 can block forever inheredoc_writeinside command substitution). (#809) - Trustpilot transient-error retries keep their domain parameters. (#794)
- Hosted same-day saves no longer overwrite earlier reports, and
save_outputnever silently overwrites date-stamped files. (#784, #785) .envreads as UTF-8 (with BOM tolerance and locale fallback) on Windows. (#780, #715)FUN_LEVELandLAST30DAYS_REPORT_CACHE_TTL_SECONDSare registered inenv.pyso.envvalues are no longer silently ignored; doctor detectsGITHUB_TOKENfrom the process environment. (#708, #732, #782)- File descriptors close promptly across the engine (
open()wrapped inwith). (#775)
[3.11.0] - 2026-07-05
Added
last30days doctor: a unified health command that aggregates every source's probe state into a single grouped report with copy-pasteable fix prescriptions. Layered design: dependency probes (missing/broken/timeout detection), backend-chain descriptors (predict-then-report, never a network call), a centralized prescription registry shared by doctor and quality nudges, and an aggregator with grouped rendering. Replaces the fragmented health knowledge previously spread across--diagnose,--preflight,lib/health.py, and post-run nudges. (#753)
Fixed
- Techmeme:
searchresults are now windowed to each record's own ISO date instead of stamping every record with today's date, so years-old archive headlines can no longer surface as current news. Dated in-window records take result-cap slots first; undated records (oldtechmeme-pp-clibinary or upstream markup change) degrade gracefully with a logged upgrade hint. The sync machinery is removed becausesearchnever read the local cache. (#752) - LinkedIn now renders in the emoji-tree footer (👔 with likes/comments), the
## Statsengagement summary, and with the correct "LinkedIn" label. Previously LinkedIn items were counted in## Statsbut silently dropped from the footer because_FOOTER_SOURCES,ENGAGEMENT_DISPLAY, andSOURCE_LABELSall omitted the source - an 8-item LinkedIn run looked like the source never ran. (#758)
[3.10.0] - 2026-07-04
Added
- Instagram comments as a first-class ScrapeCreators source:
instagram.enrich_with_commentsfetches top comments viaGET /v2/instagram/post/comments(ranked bycomment_like_count), gated bySCRAPECREATORS_API_KEY+instagram_commentsinINCLUDE_SOURCES. Full vote-weighting parity with YouTube/TikTok - a dedicated_instagram_engagementgives IG posts the same top-comment ranking carve-out, and IG comments render with a "likes" label. (#751) - Comments are now on by default: the first-run Step 5 Recommended tier enables top comments for TikTok, Instagram, and YouTube (
INCLUDE_SOURCES=tiktok,instagram,youtube_comments,tiktok_comments,instagram_comments); the Everything tier adds Threads + Pinterest. Comments were previously an opt-in "Everything" feature. (#751)
Changed
- The cross-platform "Top Community Comments" list now selects round-robin by within-platform rank (every platform's #1, then #2, then #3) instead of a global vote-magnitude sort, so the top-3-of-each-platform outranks the 4th-of-any and each platform's #1 is guaranteed a slot - a viral platform can no longer sweep the list. The list also drops the per-platform absolute vote floor so a less-watched video's high-signal low-vote comment still surfaces (the per-candidate card keeps its floor). (#751)
Fixed
- First-run wizard: the welcome pitch is embedded directly in the setup modal (the only always-visible surface) instead of a separate
--welcomemessage that Claude Code folds behind "ctrl+o to expand"; the cookie-consent and ScrapeCreators-offer copy now name every installed CLI (yt-dlp, Digg, arXiv, Techmeme) and describe the key's real reach (auto Reddit enrichment + YouTube search backstop), with the GitHub device code auto-copied to the clipboard. (#750)
[3.9.4] - 2026-07-04
Fixed
- First-run wizard: the welcome message and the ScrapeCreators GitHub device code are now engine-driven instead of model-authored, because a real cold run showed the model skipping the welcome and never surfacing the device code no matter how forceful the SKILL.md prose. The welcome is printed by a new
last30days.py --welcomecommand that Step 1 relays verbatim (single source of truth; it can't be skipped or drift), and the GitHub device flow is split intosetup --github-start(submits, copies the code to the clipboard, prints it to stdout, opens the browser, returns immediately) andsetup --github-poll(waits for authorization and persists the key). The one-shotsetup --githubstill chains both. The code now always appears in the command output, and the "on your clipboard" claim is only made when the copy actually succeeded. (#748)
[3.9.3] - 2026-07-04
Added
- Optional remote research API backend (env-driven). When both
LAST30DAYS_API_KEYandLAST30DAYS_API_BASEare set in the process environment (never read from.env), a search runs through the configured remote endpoint (submit -> poll with stderr progress -> render) instead of local sources; with either unset, behavior is byte-identical to local-only. Opt-in and inert by default (no built-in endpoint); the key is confined to theAuthorizationheader and never logged or persisted. Handles the clarify gate and 401/402/429 paths. (#747)
Fixed
- First-run wizard: the welcome message is now mandated before the setup modal (it was being skipped), the Auto-setup option lists every installed CLI (yt-dlp, Digg, arXiv, Techmeme, not just two), and the ScrapeCreators GitHub signup reliably surfaces the device code with an "it's on your clipboard, just paste" hint as a required step instead of leaving the user staring at a spinner. (#746)
- ScrapeCreators GitHub signup: an already-linked account whose
.envis cold no longer fails with the misleading "GitHub auth didn't complete." TheAuthorized but failed to fetch API keycase now gets an honest branch (auth worked; the account is likely already linked -- get your key from scrapecreators.com and paste it), andfetch_api_keylogs the/profileresponse field names (never values) so a full auto-fetch can follow. (#746)
[3.9.2] - 2026-07-03
Fixed
- Trustpilot source returned 0 items on company topics: the engine passed raw topic names to a domain-keyed CLI (
info ThriftBooks-> HTTP 404) and parallel subqueries raced concurrent Chrome WAF-cookie harvests. Company names now resolve to their Trustpilot review-page domain via the CLI's search (per-topic cache; name-match mandatory, ambiguous cases fall back rather than misattributing another company's reviews), a new--trustpilot-domainflag pins the domain explicitly (verbatim, bypasses the brand-shape gate, per-entitytrustpilot_domainin--competitors-plan), the WAF session warms once per 240s window behind a lock at first fetch, Trustpilot is capped to one fetch per run and excluded from the thin-source retry, and headless--auto-resolvefills a verified domain hint. SKILL.md Step 0.5d documents the resolution flow. (#745)
[3.9.1] - 2026-07-03
Fixed
- First-run setup wizard: the browser-cookie scan now tries Chrome/Chromium first (Keychain, no Full Disk Access) before Safari, so macOS users logged into X in Chrome authenticate in ~2s instead of hitting the Safari Full Disk Access dead-end. The winning browser is pinned for later runs only when it is Firefox/Safari, so Chrome never re-triggers the Keychain prompt. Consent copy leads with Chrome and the one-time "Always Allow" cue. (#744)
- ScrapeCreators GitHub signup now surfaces the device code immediately (emitted to stdout so a backgrounded caller shows it at once, instead of a spinner until the process exits), validates the
XXXX-XXXXcode shape before copying/labeling it, short-circuits an already-registered account without a fresh device dance, and masks the API key on every status (not just success). Removed the false "GitHub CLI ~2 seconds, no browser" promise. (#744) - ScrapeCreators source opt-in is now two real tiers. The Step 5 choices were previously identical — a key auto-ran TikTok, Instagram, Threads, and YouTube comments regardless of
INCLUDE_SOURCES, and Pinterest's opt-in silently ignored a persistedINCLUDE_SOURCES. Threads, YouTube comments, and Pinterest are now genuineINCLUDE_SOURCESopt-ins: Recommended = TikTok + Instagram + the rate-limit backups; Everything = also Threads, Pinterest, and YouTube/TikTok/Instagram comments. "ScrapeCreators backups" is now defined inline (keeps Reddit/YouTube working at rate limits). (#744)
[3.9.0] - 2026-07-03
Added
- StockTwits as a source, gated to ticker/crypto topics only. Surfaces a retail sentiment ratio (self-reported Bullish/Bearish tags) and message volume on a resolved symbol. Inert on non-financial topics: an unambiguous finance-vocabulary gate (cashtags, "stock", "earnings", "dividend", "crypto", named coins) keeps it from injecting stock chatter into general runs, and it degrades to an empty lane if the public API fails without touching other sources. (#658, thanks @wtiwana)
- LinkedIn as a source via ScrapeCreators, surfacing articles as high-signal results with date-range filtering, gated behind
INCLUDE_SOURCES. (#702) - arXiv and Techmeme sources (default-on) plus Trustpilot (opt-in). (#709)
Fixed
- Runtime preflight now auto-provisions a uv-managed CPython 3.12 on hosts that have
uvbut no system Python 3.12+ (most agent sandboxes), instead of hard-failing the version gate. The install is bounded by a 30s HTTP timeout, matches an existing managed>=3.12interpreter before downloading, and announces the one-time ~28MB download on stderr rather than installing silently; hosts withoutuvstill get the original clear error. Setup invocations now honorLAST30DAYS_PYTHONso first-run setup works on the same hosts. (#738, thanks @buntysomroy; setup-interpreter fix adapted from #699 by @SeanGearin) - Setup wizard summary now displays the install status of the arXiv/Techmeme pp_sources CLIs, so users can see whether they landed on PATH. (#741, thanks @23241a6749)
--diagnose/--preflightno longer falsely reports X as unreachable when X auth comes fromFROM_BROWSERbrowser cookies. These modes run inplan_onlyand skip cookie extraction for privacy (no Keychain access), so X was dropped fromavailable_sourceseven though a real run authenticates fine. A new side-effect-freeenv.x_pending_browser_authpredicate now reports X as available-pending-browser-auth (and surfaces anx_pending_browser_authflag in--diagnose) by keying only on the already-resolved browser list — no cookie is read. Covers every configured browser, including Chrome. (#692; first reported and fixed by @23241a6749 in #700)
Internal
- Tightened Hermes
.skillignoreregression coverage: the test now fails if an ignored path is deleted without updating the ignore list, or if a runtime-contract file is accidentally ignored. (#739, thanks @SyntaxSawdust)
[3.8.3] - 2026-06-25
Added
- Free Reddit gets dedicated-subreddit lanes: entity-home subs (e.g. r/Kanye for "Kanye West", via the new
--dedicated-subredditsflag) are pulled in full from top+hot+new listings and exempt from the relevance floor, since the whole sub is the topic. Fixes the over-aggressive floor that dropped on-topic posts whose titles lacked the entity name. reddit_arcticresolves upvote counts for threads found only via RSS search (which carries no score) using the free, keyless arctic-shift archive — batched, paced, cached, and graceful-degrading. Reddit now gets headlines-with-points and best-comments-with-points entirely for free, at parity with ScrapeCreators.LAST30DAYS_REDDIT_SC_MIN_ITEMS(default 0 = unchanged empty-only behavior): set above 0 to let the ScrapeCreators backup backfill a thin free Reddit run instead of sitting idle. Backfilled items merge deduped by post id.
Removed
- The permanently-403
search.jsonTier 0 is gone from the keyless Reddit path; discovery is RSS breadth + shreddit listing partials (real scores) + the dedicated-sub lanes, with no wasted 403 calls.
[3.8.2] - 2026-06-25
Added
- Advisory Semgrep SAST scan runs on every push/PR as part of the Security workflow, catching source-level security bugs using Semgrep CE community rules (#563)
- Scheduled OSV-Scanner vulnerability-drift workflow scans repository lockfiles weekly and uploads SARIF results to GitHub code scanning, catching newly disclosed CVEs in the dependency tree even between PRs (#571)
LAST30DAYS_REDDIT_BACKEND=scrapecreatorsmakes ScrapeCreators the primary Reddit backend with the public path as fallback. Users with a ScrapeCreators key who were getting shallow public data will now get full nested comment trees by setting this flag (#589)- MCP Go tests (
mcp/) now run in CI on every push/PR alongside the Python test suite, so MCP server regressions are caught before merge (#621) - PR dependency review gate blocks merges that introduce new vulnerable dependencies (#551)
Changed
- Citations are now renderer-aware (LAW 8). On hidden-link hosts (Claude Code) every citation stays an inline
[name](url)link as before; on visible-URL hosts (Codex, Cursor, Gemini CLI, raw CLI) citations render as plain source labels so the narrative no longer turns intolabel (https://...)URL soup. The host is detected deterministically from theCLAUDECODEenvironment variable, and full URLs remain reachable through the engine footer and the saved raw file.
Fixed
- The query-plan invocation guidance now warns against wrapping the heredoc in
bash -lc '...'/zsh -lc '...', whose single quotes terminate at the first apostrophe in a ranking string and abort the engine run withunmatched "on Codex. The quoted<<'PLAN_EOF'heredoc is already apostrophe-safe; the-lcwrapper was the hazard. - Firefox profile detection on Linux now checks
$XDG_CONFIG_HOME/mozilla/firefox(or its default~/.config/mozilla/firefox) in addition to~/.mozilla/firefox, fixing cookie extraction on distros that honour the XDG Base Directory Specification (#667)
[3.8.1] - 2026-06-22
Added
- Restored the v3.0.0 first-run NUX wizard (Claude Code Modal Flow). Step 0 now restores the original guided,
AskUserQuestion-driven onboarding that eroded over time: a welcome message, an Auto/Manual/Skip setup modal, a cookie-consent modal, the ScrapeCreators signup offer, a TikTok/InstagramINCLUDE_SOURCESopt-in, and a first-topic picker. It is gated to hosts with modals; hosts without (OpenClaw, Codex, Cursor, Gemini CLI) get the equivalent Non-Modal Prose Flow. Digg is threaded into the install messaging alongside yt-dlp everywhere it appears, the ScrapeCreators credit count is10,000 free calls, and the flow is locked against re-erosion bytests/test_onboarding_contract.py. Builds on the consent-driven foundation from #659/#660. Original wizard captured atdocs/reference/old-nux-wizard-v3.0.0.md. - Consent-driven first-run onboarding. Step 0 now drives an in-chat consent flow instead of a silent
setuprun: the model asks before reading browser cookies (decline runs withFROM_BROWSER=off— still installs yt-dlp + Digg), surfaces the macOS Full Disk Access fix when a cookie read is permission-denied, and offers the ScrapeCreators GitHub signup on every first run. A successfulsetup --githubnow persistsSCRAPECREATORS_API_KEYautomatically (setup_wizard.write_api_key, 0o600) and masks the key in stdout so the secret never lands in the host model's captured output. Follows the first-run gate fix (#659).
Fixed
- First-run setup no longer runs silently. The prior Step 0 told the model to run
setupand "follow the wizard's prompts end-to-end", but the wizard has no prompts — so onboarding extracted cookies, installed tools, and wroteSETUP_COMPLETEwith zero interaction and never offered the ScrapeCreators signup. Reproduced 2026-06-22 (Fredy Montero, fresh macOS).
[3.8.0] - 2026-06-21
Added
- Single X source with backend failover. X is now one source backed by an ordered chain of interchangeable backends (xai, bird, xurl, xquik) with runtime failover, rather than separate sources. The key-based xquik backend reaches parity with bird, gaining the X-quality ranking and FROM/ABOUT handle lanes, so hosts that cannot supply browser cookies (OpenClaw, CI/cron, headless harnesses) get real X coverage from an xquik key alone. Handle lanes run via the first handle-capable backend in the chain even when a non-capable backend (xai/xurl) is primary. (#622)
[3.7.1] - 2026-06-21
Fixed
- GitHub repo stars are no longer mislabeled as "reactions" in the report footer. Repo cards use a distinct
starsengagement key, velocity cards usemerged_prs, and genuine issue/PR reaction counts keep their ownreactionskey. (#645, closes #642) - Hacker News returned zero stories on every run: the Algolia query sent
points>2, which the HN index no longer accepts as a filterable attribute, so every request 400'd. Dropped the server-sidepointsfilter; low-engagement demotion still happens at parse time. (#639) - Polymarket surfaced off-topic markets and rendered a mangled footer. The relevance filter was fed the per-subquery string instead of the stable topic, and market labels were truncated mid-article into fragments like "an Anthropic Claude model score at: an 19%". Now filters on the stable topic and cleans the labels. (#640)
[3.7.0] - 2026-06-20
Added
- Direct Perplexity API support. When
PERPLEXITY_API_KEYis set it is preferred over OpenRouter for the Perplexity source, unlocking first-party Search API results and async Deep Research. AddsLAST30DAYS_PERPLEXITY_MODE=sonar|search|bothplus model, search-context, domain/language/country, recency, and reasoning-effort knobs. OpenRouter stays the Sonar compatibility fallback when no direct key is set. Async Deep Research preserves request id, status, idempotency key, poll count, lifecycle timestamps, and failure metadata in raw artifacts. (#629, by @sk-holmes)
Changed
check-config.shnow parses env files in pure bash (nosed/tr), which also fixes the YouTube-availability hint breaking in minimal environments that lack those tools. (#629)
[3.6.1] - 2026-06-20
Added
- ScrapeCreators transcript fallback. When
SCRAPECREATORS_API_KEYis set, YouTube transcripts fall back to the ScrapeCreators transcript endpoint after the keyless yt-dlp cascade fails (fetched server-side, so no 429 / cookies / PO tokens). yt-dlp stays primary and a credit is only spent on a genuine failure, never on success and never on a video proven to have no captions. With a key, yt-dlp also fails over fast (one short-timeout attempt) so a 429 hands off to ScrapeCreators in roughly 17s instead of roughly 90s. (#637, idea from #595) - YouTube comments default-on. Comment enrichment now activates whenever a ScrapeCreators key is present (bounded to the top ~3 videos by engagement, ~3 credits per run) instead of requiring
INCLUDE_SOURCES=youtube_comments. Suppress withEXCLUDE_SOURCES=youtube_comments. TikTok/Instagram comments remainINCLUDE_SOURCESopt-ins. (#637)
Fixed
- Salvage partial YouTube transcripts on non-zero yt-dlp exit. With the default
en,es,ptlanguages an English video wroteen.vttthen 429'd ones/pt, and the already-written transcript was discarded and retried back into the rate limit. Any VTT on disk is now read before the failure is classified, which fixes the dominant0/N transcriptscase. (#636) - Windows transcript crash on subprocess timeout. Guarded the SIGKILL escalation path in
run_with_timeoutagainstos.killpg/os.getpgidraisingAttributeErroron Windows (they are POSIX-only), mirroring the primary path's guard. (#638, reported in #588)
[3.6.0] - 2026-06-18
Added
- First-party X posts are no longer buried. A post authored by one of the run's resolved handles (
--x-handle,--x-related, the GitHub user) is now treated as first-class evidence: it is exempt from the entity-miss demotion (a post never repeats its own author's name, so the body-text grounding check used to zero out the subject's own highest-signal posts) and gets a small authorship credit. Third-party collision-noise suppression is unchanged. - Engagement rescue for on-topic X posts. A high-engagement X post that is first-party or entity-grounded gets a
final_scorefloor scaled by its engagement percentile within the run's X pool, so a viral on-topic post can't sit at ~0. Off-topic name-collision posts are explicitly excluded. - First-party interaction signal. A first-party post directed at another account (a reply / leading @mention) is floated into the visible band regardless of like-count and tagged
interaction:→@handlein the EVIDENCE block, so the synthesis reads it as a relationship signal rather than low-engagement noise. New LAW 10 in SKILL.md teaches the model to surface first-party posts and read the interaction tag.
Changed
- The X FROM lane (the subject's own timeline) now pulls up to 8 posts per handle (was 3); the about/related lanes stay modest.
Fixed
- Secrets
.envand its parent config directory are now auto-tightened to0o600/0o700after creation, andcheck-config.sh'scheck_permsnow auto-fixes loose permissions withchmod 600instead of warning only (#573)
[3.5.0] - 2026-06-18
Added
- X surfaces tweets FROM and ABOUT a person, both engagement-weighted. The handle search now pulls the person's real timeline (
from:handle since:, topic used for ranking only — never AND'd into the query, which previously matched only tweets where they wrote their own name and returned ~0), and a new mention lane (@handle since:) surfaces what others say to/about them, excluding their own tweets and deduping against the FROM lane (#610). ## Top Community Commentsblock. The engine now surfaces vote-ranked community comments across all candidates (not just the top-cluster representatives), per-platform-normalized, into the EVIDENCE-for-synthesis block, so the funniest/sharpest crowd reactions reach the synthesizing model even when no LLM fun-scorer is available. Paired with a new SKILL.md LAW 9 that requires weaving ≥2 verbatim attributed comments, copying URLs verbatim, and never narrating the tooling in the deliverable (#608).
Fixed
--diagnosehonesty. X status now reflects a real 1-tweet probe (downgrades from green when X is effectively dead; fail-open on a transient timeout) and reports the true auth lane (browser / env / keychain) instead of a hardcodedenv AUTH_TOKEN. Handle/mention searches log query + result count on success, not only on failure (#609).- X column de-pollution. The last-chance keyword retry no longer collapses a multi-word subquery to a bare generic token (e.g.
compound); it keeps an entity anchor (#607). - Mandatory person-aware subquery disambiguation. Collision-prone person names (Kevin Rose vs Kevin Warsh, Lan Xuezhao vs Lanzhou) must anchor every subquery with the resolved company/role/domain context (#611).
[3.4.0] - 2026-06-18
Added
Crowd-vote weighting in the fun judge (Best Takes). The fun judge now factors how many upvotes/likes each top comment earned. Comment vote counts are fed into the LLM prompt (as traction, not funniness), and Best-Takes selection ranks by an effective score —
fun_scoreplus a bounded, per-platform-normalized, relevance-confidence-scaled crowd nudge — so genuinely funny, crowd-loved, on-topic comments surface while off-topic virality and high-voted-but-unfunny rants are excluded.FUN_LEVEL=mediumstays the default and applies the signal as a meaningful factor (#592).Digg added to first-run setup. The free, keyless
digg-pp-cliis now auto-installed during the first-run wizard (best-effort via the Printing Press installer, with a recommend-only fallback), so the already-built Digg AI-news source activates automatically for new users instead of silently never appearing (#590).LAST30DAYS_YOUTUBE_SSH_HOSTtranscript routing — yt-dlp transcript fetch runs on the remote SSH host via a mktemp + cat pipeline (#422).Browser-cookie auth for X/Twitter now covers the full Chromium family on macOS - Brave, Microsoft Edge, Vivaldi, Opera, Arc, and Chromium - alongside the existing Chrome, Firefox, and Safari. They all share Chrome's v10 AES-128-CBC decryption, differing only in profile path and Keychain service name, so they run through one shared decryption core. The profile finder probes both the modern
Default/Network/Cookieslayout (Chromium >= 96) and the legacy flatDefault/Cookies, and Chrome now resolves through that same finder so it picks up the modern layout too. SetFROM_BROWSER=autoto try every browser, orFROM_BROWSER=<name>(e.g.brave,edge,arc) to target one. Verified end-to-end on real Brave and Edge installs (#572).First-party positioning research + pitch-vs-pulse synthesis (company / product / service topics). A new mandatory research step captures each entity's current stated positioning from first-party sources (homepage, docs, pricing) rather than from memory. The fetched pitch grounds
What it isdescriptions (entities described as they pitch themselves today), helps reject unrelated brand-name noise, and feeds an evidence-triggered prose beat: when the month's conversation directly supports a specific claim, cuts against one, or is squarely about the pitched ground, the synthesis says so anchored to the top thread — and stays silent when the pulse is orthogonal to the pitch, because a manufactured connection is worse than omission. Claims are tested at matched altitude (specific claims against specific threads; broad taglines are never graded against individual items), and statements stay windowed to the 30 days — no trend verdicts. Scoped to entities with an identifiable first party: people are always excluded (even founders whose companies qualify), as are events, abstract concepts, and ownerless topics like Bitcoin; the beat requires positioning fetched during the run, never from memory.
Changed
- Updated "Unlock X" promo message to mention Chrome/macOS support and Windows Firefox-only limitation instead of generic "Firefox or Safari" (#387)
Fixed
- SSH routing failures no longer present as "0 results" —
search_youtubesurfaces non-zero SSH exit codes as an expliciterrorfield (#422). extract_browser_credentials()silently ignored Brave even though the lower-levelcookie_extractlayer already supported it:FROM_BROWSER=bravefell back to Firefox/Safari andFROM_BROWSER=autonever tried Brave. The env wiring now passes Brave - and the rest of the Chromium family - through to the extractor (#572).- Chromium cookie extraction now fetches the macOS Keychain key lazily - only when an encrypted cookie actually needs decrypting. Previously the key was fetched as soon as the cookie DB existed, so
FROM_BROWSER=autocould trigger a Keychain prompt for every installed Chromium browser. Now only the browser that actually holds the requested cookie prompts (#572). - YouTube transcript budget prioritises recent videos (by a combination of views and recency) instead of views alone, preventing transcript slots from being consumed by old high-view-count videos that would be discarded by strict_recent freshness pruning (#531)
- YouTube items with successfully extracted transcripts are no longer pruned by title-only relevance scoring; the transcript content proves substantive topical coverage even when the video title has low lexical overlap with the query (#468)
- First-run setup wizard in SKILL.md now references the existing Python setup wizard (
last30days.py setup) instead of the missingnux-wizard.mdfile, so first-run setup actually runs on new installs. (#574) check-config.shno longer exits 1 on the ScrapeCreators-configured path when no prior run exists (emptyLAST_RUN_LINE) — swapped&&guard for anifblock that always exits cleanly (#463)check-config.shno longer exits 1 when a.envvalue contains an unbalanced quote — replacedxargs(which interprets quotes) withsedfor whitespace trimming inload_env_vars(#506)- X/Twitter
.envtemplate now includesCT0alongsideAUTH_TOKENin the example skeleton (CONFIGURATION.md), and the just-in-time unlock wizard offers AUTH_TOKEN/CT0 cookie entry (#396) check-config.shno longer counts X as an active source when onlyAUTH_TOKENis set withoutCT0— both cookies are now required to credit X in the source count (#396)- Firefox cookie extraction now falls back to scanning non-default profiles when the default profile has no matching X cookies, fixing multi-profile setups where login lives on a non-default profile (#498)
subproc.pyrun_with_timeout()now guardsos.killpg/os.getpgidwithhasattr, preventing an uncaughtAttributeErrorcrash when a subprocess times out on Windows where these functions don't exist (#527)- Entity-grounding rerank demotion now keys on the head token of the primary entity instead of requiring the full multi-word phrase as a contiguous substring. A high-engagement on-entity item (e.g. a 323-pt HN thread titled "Stripe is friendly to 'friendly fraud'") is no longer demoted to score 0 on a
Stripe paymentsquery just because it lacks the trailing search-hint word. The intended demotion still fires for items that never name the brand at all. The keyless Reddit comment-enrichment slot selection (_slot_priority), which mirrors this signal, was updated to the same head-token grounding so the two paths stay consistent. --plan/--competitors-planfile reads now specifyencoding="utf-8"and catchUnicodeDecodeError, preventing crashes on non-ASCII content like accented entity names on Windows (cp1252).check_perms()incheck-config.shnow skips the POSIX 600-permission check on MSYS/MinGW/Cygwin wherestatruns in noacl mode.skill_meta.pyread_skill_version()now passesencoding="utf-8"so SKILL.md emoji doesn't break version detection on Windows. (#549)
[3.3.2] - 2026-06-06
Fixed
- YouTube transcript extraction now falls back through
en,es,pt(configurable viaLAST30DAYS_YT_SUB_LANGS) instead of English-only, so non-English videos with auto-captions in any of those three languages now contribute transcripts to the brief (#469) - Keyless Reddit comment enrichment now spends its limited slots on entity-matching posts first (mirroring rerank's entity-miss demotion signal) instead of raw upvote order, so off-topic high-upvote threads from broad subreddits no longer consume the comment budget only to be demoted afterward (#484)
[3.3.1] - 2026-05-30
Fixed
- Removed the redundant
commands/last30days.mdwrapper so the plugin exposes only the skill (#461). Previously the plugin shipped both a command wrapper and the skill under the same name, so/last30surfaced twolast30daysentries with two different descriptions. The skill already carries its ownargument-hint, so the/last30days <topic>picker UX is unchanged. - Corrected the README install note that claimed Claude Code dedupes the slash command across install methods; it does not, so having both the marketplace plugin and the
npx skillscopy active shows two entries.
[3.3.0] - 2026-05-17
A week-long shipping cycle: ~75 PRs merged plus 7 community fixes salvaged through PR triage. Big themes: install story modernized for the multi-harness world (Claude Code, Codex, Cursor, Gemini CLI, Copilot, Windsurf, and 50+ Agent Skills hosts), new emit and source modes, and a substantial reliability sweep across Reddit, X, Windows, YouTube, and the planner.
Added
Emit modes and sources
--emit=htmlfor shareable, print-friendly HTML research briefs (#332).- Digg AI 1000 source, auto-enabled when
digg-pp-cliis on PATH (#370). Surfaces curated story clusters from the AI 1000 leaderboard and pulls attributable X-post quotes into the brief.
Configuration knobs
EXCLUDE_SOURCESenv var — the inverse ofINCLUDE_SOURCES, honored in source count and pipeline filter (#399).LAST30DAYS_YOUTUBE_SSH_HOST— opt-in SSH routing foryt-dlpthrough a residential-IP host, for users on datacenter VPS hit by YouTube's bot-wall (#376). Host validated against^[a-zA-Z0-9._-]+$to reject SSH option-injection. Transcript path unchanged (uses HTTP fallback).- macOS Keychain as a credential source — reads from the system keychain when env vars and config files aren't set (#407).
- Configuration enablement: env-var defaults and source-resilience patterns across the config layer (#344).
Pipeline and storage
- Reddit URL auto-enrichment from web search via the public JSON API (#366).
- Per-run finding sightings recorded in the SQLite store (#373).
- Brave browser support for X/Twitter cookie extraction (#320).
Tests and CI
- Full pytest suite restored to CI; 13 rotted tests repaired (#416).
greptile.jsonadded withtriggerOnUpdates+statusCheck(#418).- Advisory security workflow (#368).
- Parallel grounding backend test coverage (#355).
Docs
- New
CONFIGURATION.mdwith README pointers (#339). docs/solutions/learning capture for release-time consistency-test cascades (#413) and the eval-not-in-CI design decision (#417).
Changed
Install story modernized
npx skills addis now the canonical install path for every harness (#405). README and SKILL.md flipped to recommendnpx skills add . -g -yover per-harness manual instructions. Surfaces Gemini CLI, Copilot, Windsurf, and 50+ other Agent Skills hosts that the install pattern reaches.- README dropped the Gemini CLI native-extension install path (now covered by
npx skills add). hooks.jsonmade polyglot for Gemini CLI + Claude Code compatibility (#318).
Skill semantics and multi-harness reframe
AGENTS.mdis now canonical;CLAUDE.mdpoints at it (#410). Reframes the project as a multi-harness Agent Skills package rather than a Claude-Code-specific tool.- SKILL.md path resolution rewritten: STEP 0 narrows to a Claude-Code-marketplaces-only stale-clone guard; Step 1 walks a single
SKILL_DIRsubstitution pattern (#400, #409). Removes ~80 lines of bash and fixes a real spec-vs-engine divergence where the previous resolver could pick a different install than the SKILL.md the model loaded from. - SKILL.md version regex consolidated into
lib/skill_meta.py(#412). --plan/--competitors-planinvocation templates switched from inline single-quoted JSON to heredoc-written tmpfiles (#404, fixes #403). Apostrophes in resolved context strings ("McDonald's", "people's choice") no longer break shell parsing.POSTS_PER_CLUSTERraised 3→5 and render-side display limit 2→3 to match the per-source enrichment caps used by Reddit, HN, YouTube, TikTok, and GitHub. The previous caps routinely truncated cluster context.- Digg AI 1000 renamed to "Digg" in user-facing output (#372) — footer line, source label, inline-quote suffix, why_relevant, container attribution. Internal references retain the upstream product name.
- GitHub repo resolution canonicalized for ambiguous product comparisons (#302).
Dependencies and tooling
- Dropped
requestsruntime dependency. All providers route through stdliburllibvia thelib/httpwrapper (#393). - Migrated to
gemini-3.1-flash-liteGA model (#378). - Aligned Codex/Claude plugin manifests + added Codex
AGENTS.md(#321). - pytest dev dep bumped 9.0.2 → 9.0.3 (#414).
Removed
- BREAKING for Codex native-plugin users:
.codex-plugin/plugin.jsonand the matching SKILL_ROOT resolver branch in SKILL.md Step 1 (#400). Codex users should install vianpx skills add mvanhorn/last30days-skillor copy the skill to~/.codex/skills/last30days/. skills/last30days/scripts/sync.sh— maintainer dev-deploy script (#405). Replaced bynpx skills add . -g -y(live-symlink into every detected harness's skill dir — better than sync.sh's copy model since edits propagate live). Hermes useshermes skills install mvanhorn/last30days-skill --force; OpenClaw usesclawhub install last30days-official.- Orphaned
SPEC.mdandTASKS.md(#419).
Fixed
lstrip("r/")mangled subreddits starting withr(r/robotics→obotics,r/ruby→uby); replaced withremoveprefix("r/")at 4 sites (Alex Key, salvaged from #288).- Browser-like User-Agent +
Accept-Language/Accept-Encoding/Connectionheaders + gzip decompression to fixurllib403s on Reddit's public JSON endpoint (Franco Carballar, salvaged from #199). - HTTP 402 re-raised across all three ScrapeCreators paths (
_global_search,_subreddit_search,fetch_post_comments) so the OpenAI/public-JSON fallback chain triggers when credits are exhausted (Jonathan Oppenheim, salvaged from #170).
Authentication and credentials
- Restored multi-key rotation for
SCRAPECREATORS_API_KEYaccidentally dropped in v3.0.6 (Eric Oberhofer, salvaged from #287). Comma-separated keys round-robin viarandom.choiceper run.
Windows compatibility
os.killpgin_cleanup_children()guarded withhasattr(os, "killpg"), falls back toos.kill(SIGTERM)(gujishh, salvaged from #226).- POSIX-style secret-permission warning skipped on Windows (#357).
- Render uses forward slashes in save-path footer for Windows (#338).
xAI / X / xurl
parse_x_responsenow raiseshttp.HTTPErroron empty output, missing JSON, or decode failure — surfaces inerrors_by_sourceinstead of silently returning an empty result list (Kaustav Mishra, salvaged from #155).xurltreatsPermissionErrorfrom PATH lookup as unavailable (#322).
YouTube
- SC YouTube + multi-token HN searches unblocked (#388).
- Transcript-fetch ratio surfaced + degraded-run nudge for stale
yt-dlp(#340).
bird_x / HTTP
- Subprocess retry on non-JSON stdout to handle X anti-bot HTML interstitials (#383).
- HTTP retry budget expanded + exponential backoff on DNS resolution failure (#382).
- Parallel AI search aligned with current API schema (#341).
- Parallel web backend routed through grounding (#354).
Planner and sources
xquikregistered inSOURCE_CAPABILITIES(#336, fixes #319).- Honor explicit optional source requests (#356).
- ScrapeCreators source-gating aligned between code and docs (#415).
- OpenClaw works without ScrapeCreators key (#392, by @thinkun).
Render, version display, hosting paths
- Hardcoded
v3.0.0in render replaced with dynamic_skill_version()(#365). - Comparison HTML artifacts saved correctly (#389).
OPENROUTER_DEFAULTmodel ID corrected (#323).- OpenClaw poll-timing initialized once (#358).
- Prefer sandboxed Safari cookie path (#343).
- Preserve clean mode for last-run state (#334).
- Replaced hardcoded
/Users/mvanhorn/...paths intest-v1-vs-v2.shwith portable env-var overrides (Dave Morin, salvaged from #297).
Hooks
check-config.shpath-quoting fix for paths with spaces (#337).- Replaced unsafe
evalwithdeclareincheck-config.sh(#364).
Sync and version metadata
sync.shpointed at this repo's plugin cache, not the private repo's (#402).- Sync cache target bumped to 3.2.1 to match SKILL.md (#397).
- ScrapeCreators free-tier credit count corrected to 100 in docs (#369, fixes #367).
- Gemini extension version synced (#349).
- Various stale path/link fixes (#345, #346, #347, #348, #351).
Contributors
First-time contributors whose fixes shipped in this release (most via PR triage salvage — fix re-applied directly to main with co-author credit when path migration made the original branch un-rebaseable):
- Dave Morin — portable test-harness paths
- Alex Key —
removeprefix("r/")for subreddit names - Eric Oberhofer — multi-key rotation restored
- gujishh — Windows process cleanup
- Franco Carballar — Reddit browser-like headers
- Jonathan Oppenheim — Reddit 402 fallback chain
- Kaustav Mishra — xAI error surfacing
- @thinkun (#363) — OpenClaw ScrapeCreators-key-optional fix
Full PR list at github.com/mvanhorn/last30days-skill/releases/tag/v3.3.0.
[3.2.0] - 2026-05-09
Added
- Add
--emit=htmlfor shareable, print-friendly HTML research briefs. - Digg AI 1000 source (auto-enabled when
digg-pp-cliis on PATH). Surfaces curated story clusters from the AI 1000 leaderboard and pulls attributable X-post quotes into the brief as[@handle](xUrl) via Digg AI 1000: ...lines. Footer line:⛏️ Digg AI 1000: N clusters │ K posts │ M authors. No X auth required for the inline quotes since they flow through Digg's read-only endpoints.
[3.1.1] - 2026-04-24
Fixed
- Codex plugin layout. Move the canonical runtime payload under
skills/last30days/and update Codex/Claude plugin metadata and tests for the relocated engine path. - Claude Code cache resolution. Resolve Claude plugin installs to
skills/last30days/scripts/last30days.pyafter the plugin-layout restructure.
[3.1.0] - 2026-04-22
Consolidates the 3.0.10 to 3.0.14 dev cycle (commenter handles, --competitors, per-entity Step 0.55, vs-mode N passes, comparison title attribution) and republishes the OpenClaw bundle, which had been frozen on ClawHub at 3.0.0-open since April 8.
Added
- OpenClaw republish.
clawhub install last30days-officialnow resolves to3.1.0-open, matching current main. Closes #307, #195, #236. The ClawHub bundle had shipped a brokenenv.py get_config()and stale SKILL.md path references since April; both are fixed at source on main and the republish carries the fixes to installers.
Fixed
- Claude Code plugin manifest path-escape. The
.claude-plugin/plugin.jsonskillskey was removed in commit93fbed2but never shipped in a tagged release. Installing via/plugin install last30days-skillcould hit/doctor'sPath escapes plugin directory: ./ (skills)error. This release ships the fix. Closes #306. - Broken README link. The README's "source of truth" link pointed at root
SKILL.md, which is no longer maintained after the plugin-layout restructure. Fixed to point atskills/last30days/SKILL.md.
Dev cycle journal (3.0.10 - 3.0.14, not separately tagged)
Individual changelog entries for 3.0.10 through 3.0.14 below document the incremental work consolidated into this release.
[3.0.14] - 2026-04-22
Changed
- Comparison-mode title attribution. The synthesis title for vs-mode and
--competitorsoutputs changes fromWhat the Community Says (Last 30 Days)toWhat the Community Says (/Last30Days). Surfaces the slash-command identity instead of restating the date range. Three SKILL.md occurrences updated; pure documentation change.
[3.0.13] - 2026-04-22
Changed
- vs mode runs N full passes in parallel, one per entity. Architectural revert of the 3-pass → 1-pass latency optimization from an earlier version.
/last30days "OpenAI vs Anthropic vs xAI"now runs three fullpipeline.run()calls in parallel via the same fanout--competitorsuses, producing three*-raw.mdsave files plus a merged comparison output. Each entity gets its own Step 0.55-grade targeting, own primary X handle weight, own subreddit scoping — apples-to-apples depth instead of the one-pool merged retrieval the single-pass path produced. Parallel execution keeps wall clock ≈ single pass. --competitorsis now a SKILL.md-level shortcut for vs-mode with auto-discovery. The hosting reasoning model (Claude Code, Codex, Hermes, Gemini, any agent with WebSearch) performs discovery and Step 0.55 per entity via its own WebSearch tool, then invokes the engine with a vs-topic and--competitors-planJSON. The engine flag remains for headless/cron use with BRAVE/EXA/SERPER/PARALLEL/OPENROUTER keys (engine-internalauto_resolvestays as fallback).- LAW 7-style stderr for
--competitorswith no backend now leads with the hosting-model path (WebSearch + Step 0.55 +--competitors-plan) instead ofBRAVE_API_KEY. API-key framing moved to a secondary "headless" section.
Added
--competitors-planJSON flag for per-entity Step 0.55 targeting. Schema:{entity_name: {x_handle?, x_related?, subreddits?, github_user?, github_repos?, context?}}. Accepts inline JSON or a file path (matches--plan). When present for an entity, skips engine-internalauto_resolveand uses the provided values; missing fields fall back toauto_resolve(if backend) or planner defaults. Case-insensitive entity matching. Thesubrun_kwargs_forhelper is the single source of truth for per-entity kwargs — no closure-default fallthrough from main scope.- Per-entity save files when
--save-diris set on a vs-mode or--competitorsrun. Each entity's sub-run produces its own{slug}-raw.mdwith a single-row Resolved Entities block — matches historical vs-mode behavior (N passes → N save files). --polymarket-keywords "kw1,kw2"to filter Polymarket matches for ambiguous single-token topics (e.g., "Warriors" →nba,gsw,golden-statekills Glasgow Warriors rugby and Honor of Kings Rogue Warriors noise).
Fixed
- BRAVE/SERPER footer nudge suppressed when
--planor--competitors-planis present. The nudge told Claude Code users to set an API key when they already have WebSearch via the hosting model. Nudge still fires for true headless runs (no--plan, no backend) where the advice is correct. - Override-leak regression testing. 3.0.12 already fixed the main-topic
--subreddits/--x-handle/--github-*from leaking into peer sub-runs via explicit per-entity kwargs scrubbing. This release adds a 4-test regression suite (test_competitor_subrun_isolation.py) locking in the invariant.
[3.0.12] - 2026-04-22
Fixed
- Per-entity Step 0.55 resolution for competitor sub-runs. In 3.0.11, only the main topic got X handle / subreddit / GitHub resolution; competitor sub-runs ran with planner defaults and produced visibly thinner evidence (Reddit 403 fallbacks, single-word queries). Each competitor sub-run now calls
resolve.auto_resolve()insidefanout.run_competitor_fanoutwhen a web backend is available, mirroring the main topic's pre-flight resolution. Per-entity X handle, subreddit list, GitHub user/repos, and news context are threaded into each sub-run'spipeline.run()call. Deep-copied config per sub-run prevents_auto_resolve_contextcross-leak. Surfaces in a new## Resolved Entitiesoutput block so the resolution coverage is visible without reading stderr. - LAW 7 false-positive on internal fan-out sub-runs. Each competitor sub-run was emitting the
[Planner] No --plan passed... YOU ARE the plannerstderr warning. LAW 7 targets the hosting-reasoning-model path, not engine-internal fan-out. Newinternal_subrun=Truekeyword onplanner.plan_queryandpipeline.runsuppresses the warning for sub-runs only; the default path is unchanged. - Marketplace-stale SKILL.md trap. Added a STEP 0 canonical-path self-check at the top of SKILL.md. Two of three 2026-04-22 test runs loaded SKILL.md from
plugins/marketplaces/last30days-skill/(Claude-Code-managed git clone pinned to origin/main, lagging the versioned cache), then ran--helpagainst the same stale path, did not see--competitors, and fell back to a manual comparison plan. The STEP 0 block forces any reader to verify they loaded fromplugins/cache/last30days-skill/last30days/{VERSION}/SKILL.mdand re-read from the versioned cache if not.
Changed
- Default
--competitorscount is now 2 (3-way total: original + 2 peers). Previously 3.--competitors=Nstill customizes (range 1..6). Matches the feature description's canonical example (Kanye vs Drake vs Kendrick).
Added
## Resolved Entitiesblock inrender_comparison_multioutput. Shows per-entity X handle, subreddits, GitHub user/repos, and truncated context for every entity in the comparison. Block is omitted entirely when no entity has a resolved payload (mock mode, no backend).
[3.0.11] - 2026-04-22
Added
--competitorsflag for auto-discovered comparison fan-out. Pass--competitorson a single-entity topic and the engine discovers 2-6 peer entities via web search, then runs the full pipeline on each in parallel and emits one N-way comparison.last30days Kanye West --competitorsresolves Drake, Kendrick Lamar, and one more peer.last30days OpenAI --competitorsresolves Anthropic, xAI, Google Gemini.--competitors=Ncontrols count,--competitors-list="A,B,C"skips discovery and uses the explicit list. Discovery mirrors theauto_resolvepattern (Brave / Exa / Serper / Parallel) with deterministic text extraction - no internal LLM call. Sub-runs inherit the main--quick/--deep/--days, run in aThreadPoolExecutor, and degrade gracefully when at least 2 entities survive. Output reuses the existing 9-axis## Head-to-Headscaffold.
[3.0.10] - 2026-04-21
Added
- Commenter handles on evidence lines. Top-comment rendering now includes the commenter's handle -
u/authorfor Reddit,@handlefor TikTok/YouTube/Instagram/Bluesky/X/Threads. The enrichment adapters already capturedauthor; the render layer just was not using it. Evidence lines change from- Comment (6822 upvotes): Finally, John Appleto- u/Cyrisaurus (6822 upvotes): Finally, John Apple. Person-level citations make synthesis-side inline markdown links per LAW 8 much more natural. Both the compact and full render paths are covered.
Fixed
- TikTok author preference.
_fetch_post_commentsinscripts/lib/tiktok.pypreferreduser.nicknameoveruser.unique_id, so the engine captured display names ("Moosa Noormahomed") instead of @handles ("moosanoormahomed"). Flipped to preferunique_id. Nickname still wins as a fallback whenunique_idis missing. Display names can contain emoji, spaces, and non-Latin characters that do not round-trip to a profile URL; the @handle is the stable identifier. - Single plugin payload layout. The canonical runtime moved to
skills/last30days/for both Claude Code and Codex plugin loading. Root-levelSKILL.md,scripts/,agents/, andassets/are no longer maintained as duplicate copies.
Behavior fallback
- When an author is empty,
[deleted], or[removed], the render falls back to the legacyComment (...)shape - nou/or@prefix with an empty handle is ever emitted.
3.0.9 - 2026-04-18 - The Self-Debug Release
Highlights
v3.0.9 adds the engine-side Class 1 keyword-trap refuse-gate ("birthday gift for 40 year old" now gets a clarifying question, not 5 minutes of junk), promotes TikTok and YouTube top comments to the same first-class rendering Reddit's got, lands Hermes AI Agent as a first-class deploy target, and moves the SKILL.md formatting contract from line 1094 to the top of the file.
"The Self-Debug Release" refers to how the fixes in 3.0.6-3.0.9 were written: 5 separate Opus 4.7 instances each debugged their own failed outputs. Three converged on "SKILL.md is too big and the LAWs are too deep." Two converged on "the engine should refuse demographic-shopping queries." I shipped exactly what they said. Validation: 5/5 canonical compliance.
Added
- Engine Class 1 keyword-trap refuse-gate (
scripts/lib/preflight.py, new). Pattern-matches demographic-shopping queries at main() front-door. Exit code 2 with structured REFUSE message. Escape hatch:LAST30DAYS_SKIP_PREFLIGHT=1. 29 tests intests/test_preflight.py. - TikTok + YouTube top comments rendered with same
💬 Top commentprominence as Reddit's. Shipped in #260; enrichment fixed in #265. - Hermes AI Agent as a deploy target - thanks @stephenmcconnachie (#228).
scripts/sync.shdetects~/.hermes/skills/researchand deploys automatically. - Multi-key SCRAPECREATORS_API_KEY rotation - thanks @zaydiscold (#268). Set
SCRAPECREATORS_API_KEY_1,_2, etc. Engine rotates on rate-limit. - Offline quality evaluation fixture - thanks @j-sperling (#233).
eval_topics.jsonlets contributors run quality regressions without burning live API credits. - END-OF-CANONICAL-OUTPUT boundary in
render_compact(). Engine now emits an explicit pass-through instruction so re-synthesis requires actively ignoring a visible boundary. - LAW 1 verbatim-pattern override. LAW 1 now quotes the exact WebSearch tool-result reminder ("CRITICAL REQUIREMENT: MUST include Sources: section") and declares it OVERRIDDEN inside last30days output.
Changed
- SKILL.md restructure. VOICE CONTRACT LAWs and BADGE MANDATORY block moved from line 1094 to lines 75-150. Grounded in 3 separate Opus 4.7 self-debugs.
- Engine emits the badge as stdout.
🌐 last30days v3.0.9 · synced YYYY-MM-DDis the first line of every compact emit. Pass-through is now the default-correct behavior. - Reddit client HTTP consolidation - thanks @iliaal (#207). Migrated to
http.get(params=...)helper. - ScrapeCreators header consolidation - thanks @iliaal (#209).
_sc_headersrefactored intohttp.scrapecreators_headers. - Simpler Hermes sync.
scripts/sync.shHermes branch now always uses main SKILL.md (previously had a.hermes-plugin/SKILL.mdfallback that created a wrong-file-capture hazard).
Fixed
- Peter Steinberger trailing Sources leak. 2026-04-18 validation failure where the model appended a TechCrunch / TED / Fortune / Wikipedia Sources list after the invitation. Now structurally prevented at three layers: engine emits the canonical body, LAW 1 quotes the exact WebSearch reminder, closing boundary names the anti-pattern.
- Wrong-file SKILL.md capture. Deleted
.agents/skills/last30days/SKILL.md(1382 lines, April 13 snapshot) and.hermes-plugin/SKILL.md(269 lines). One SKILL.md per plugin now, at the plugin root. - GitHub date parsing garbage - thanks @iliaal (#208).
_parse_datenow rejects invalid input cleanly. - Windows Bird X stability - thanks @Chelebii (#227).
- Linux
check_permsfalse-warn - thanks @george231224 (#216). Uses GNU stat first. - UTF-8 saved output - thanks @Gujiassh (#225).
- Version metadata alignment - thanks @Gujiassh (#217) and @shalomma (#229).
--daysalias backcompat - thanks @BryanTegomoh (#230).INCLUDE_SOURCESenv default - thanks @hnshah (#223).- Bird X all-None engagement - thanks @j-sperling (#234).
Contributors
@j-sperling, @stephenmcconnachie, @zaydiscold, @iliaal, @Chelebii, @Gujiassh, @hnshah, @george231224, @shalomma, @BryanTegomoh for PRs since v3.0.0. @uppinote20, @zerone0x, @thinkun, @thomasmktong, @fanispoulinakisai-boop, @pejmanjohn, @zl190, @Jah-yee, @dannyshmueli, @Cody-Coyote for issues and PRs that shaped the v3 roadmap.
Recovery
/plugin update last30days
/reload-plugins
Verify: cat ~/.claude/plugins/cache/last30days-skill/last30days/*/.claude-plugin/plugin.json | grep version returns "version": "3.0.9".
Smoke test: /last30days birthday gift for 40 year old should ask a clarifying question before running.
[3.0.5] - 2026-04-15
Added
/last30daysslash command for plugin users. Newcommands/last30days.mdregisters a Claude Code slash command. Users type/last30days <topic>and Claude Code's autocomplete prefix-matches it to the canonical/last30days:last30daysform (the same way/ce:planresolves to/compound-engineering:ce-plan). The command delegates to the existinglast30daysskill body — no skill behavior changes.
Removed
skills/last30days-nux/— byte-identical duplicate of rootSKILL.mdthat created confusing/last30days:last30days-nuxautocomplete entries via Claude Code's plugin namespacing. The rootSKILL.mdremains the canonical skill source.
Recovery
/plugin update last30days
/reload-plugins
Then type /last30days <topic> to invoke the skill via slash command. Natural-language invocation ("search the last 30 days for X") continues to work unchanged.
[3.0.4] - 2026-04-15
Fixed
- Cleared
/doctorpath-escape error on Claude Code v2.1.109+..claude-plugin/plugin.jsonpreviously declared"skills": ["./"]. That value shipped unchanged from v2.1.0 through v3.0.3 and worked on older Claude Code, but current versions reject./withPath escapes plugin directory: ./ (skills). The"skills"key is now omitted entirely, matching the pattern used by every other plugin in the Claude Code marketplace ecosystem. Claude Code auto-discoversskills/*/SKILL.mdwhen the key is absent.
Recovery
If /doctor reports a path-escape error for last30days, run /plugin update last30days then /reload-plugins. If errors persist, uninstall and reinstall the plugin.
[3.0.3] - 2026-04-15
Fixed
- Restored
skills/and.claude-plugin/to the plugin install tarball. v3.0.1 added.gitattributesrules that excluded both directories fromgit archiveoutput to shrink the claude.ai.skillbundle. Claude Code's/plugin installfetches the same archive, so users installing v3.0.1 or v3.0.2 received a tarball with no plugin manifest and no skill files.git archive v3.0.0contained 8 files under those paths;v3.0.1andv3.0.2contained 0. This release reverts those.gitattributeslines. - Reverted
plugin.json"skills"field to["./"]. v3.0.2 changed this to["skills"]based on a misdiagnosis — the manifest change had no effect because the manifest wasn't in the tarball at all. The historical["./"]value shipped in every release from v2.1.0 through v3.0.0 without issues and is restored here.
Recovery
Users on v3.0.1 or v3.0.2: run /plugin update last30days then /reload-plugins. If autoUpdate is enabled, the next session start will pull v3.0.3 automatically. Users on cached v3.0.0 or earlier installs were unaffected.
Notes
- The claude.ai
.skillbundle built byscripts/build-skill.shstill works — the archive grew from 89 to 97 files, well under the 200-file cap. - claude.ai-specific exclusions (avoiding duplicate
SKILL.mdfiles in the bundle) should move intoscripts/build-skill.shrather than.gitattributesin a future release, since.gitattributescannot distinguish between the two distribution channels.
[3.0.2] - 2026-04-15
Fixed
/last30daysslash command now registers on Claude Code v2.1.105+..claude-plugin/plugin.jsondeclared"skills": ["./"], which newer Claude Code rejects withPath escapes plugin directory: ./ (skills). The skill silently failed to register, so/last30days <query>returned "Unknown command" even though/plugin listshowed the plugin as installed. Fix:"skills": ["skills"]so the loader scans the real skill subdirectory.- Version drift between manifests.
.claude-plugin/marketplace.jsonwas pinned to3.0.0while.claude-plugin/plugin.jsonadvertised3.0.1. The/pluginresolver used the marketplace version and could install stale cached metadata alongside the correct build. Both manifests now agree on3.0.2.
Recovery
If /last30days stopped working for you, run /plugin update last30days then /reload-plugins. If /doctor still reports errors, uninstall and reinstall the plugin from the marketplace.
[3.0.1] - 2026-04-14
Fixed
- Skill upload packaging -
scripts/build-skill.shproduces a claude.ai-upload-ready.skillfile that fits under the 200-file cap. Previously, zipping the repo hit 406 files and the "Upload skill" UI rejected it outright. - SKILL.md description length - trimmed from 228 to 167 chars (Anthropic caps descriptions at 200).
Removed
- Unused root
vendor/directory (215 files from an accidental commit in PR #48 - the real vendored X client lives atscripts/lib/vendor/bird-search/). - Legacy top-level
plans/directory (superseded bydocs/plans/; both plans described work that was already shipped in v3).
Added
.gitattributeswithexport-ignoreentries sogit archivedrops tests, docs, fixtures, assets, historical manifests, and internal skill subdirs. Mirrors Anthropic's canonicalpackage_skill.pyexclusions.scripts/build-skill.sh- one-command path to producedist/last30days.skillwith a single top-levellast30days/folder, defensive=200file check, and dirty-tree refusal.README.mdsection documenting the claude.ai skill upload workflow.
[3.0.0] - 2026-04-11
Highlights
Intelligent search, fun judge, cross-source cluster merging, single-pass comparisons, and OpenClaw as a first-class citizen. The v3 engine doesn't just search for your topic -- it figures out where to search before the search begins. Engine architecture by @j-sperling.
Added
- Intelligent pre-research -- Resolves X handles, subreddits, TikTok hashtags, and YouTube channels via a new Python brain before any API calls fire. Bidirectional: person to company, product to founder.
- Fun judge / Best Takes -- Second parallel LLM judge scores humor, cleverness, and virality. Surfaces the best reactions in a dedicated output section.
- Cross-source cluster merging -- Entity-based overlap detection merges the same story across Reddit, X, YouTube into one cluster instead of three separate items.
- Single-pass comparisons -- "X vs Y" runs one pass with entity-aware subqueries instead of three serial passes. 3 minutes instead of 12+.
- GitHub as a source -- Stars, reactions, and comments from repos and issues.
- OpenClaw first-class citizen -- Auto-resolve for engine-side pre-research. Device auth for frictionless ScrapeCreators signup.
- Per-author cap -- Max 3 items per author prevents single-voice dominance.
- Entity disambiguation -- Synthesis trusts resolved handles over keyword matches.
- Perplexity Sonar Pro as additive source -- AI-synthesized research with citations via OpenRouter. Opt-in via
INCLUDE_SOURCES=perplexity. Returns structured narratives that complement social data. - Perplexity Deep Research --
--deep-researchflag for exhaustive 50+ citation reports (~$0.90/query). Premium opt-in for serious investigation. - OpenRouter as reasoning provider -- One OPENROUTER_API_KEY powers planning, reranking, and Perplexity search. Auto-detected after Gemini/OpenAI/xAI.
- Parallel AI grounding backend --
--web-backend parallelor auto-detected via PARALLEL_API_KEY. - Grounding in planner -- Grounding source properly registered in SOURCE_CAPABILITIES instead of force-injected.
Changed
- YouTube transcript candidate pool widened 3x past music videos to reach talk/review content with captions
- Reddit comment enrichment sorted by total engagement (upvotes + comments), not just upvotes
- Polymarket display shows % odds only; dollar volumes removed
- 852 tests passing
Fixed
- Marketplace validation: duplicate
name: last30dayscollision inskills/last30days/SKILL.mdcaused strict validators to reject the plugin. Resolved by renaming the internal v3 architecture spec tolast30days-v3-specwithuser-invocable: false. Fixed in #214 (reported by @Cody-Coyote in #204). - Stale README link to the deleted
skills/last30days-v3/path from the v3 directory rename. Fixed in #214. - OpenAI Codex CLI discoverability: added
.agents/skills/last30days/SKILL.mdas a real file (Codex's loader skips symlinked files) plus.codex-plugin/plugin.jsonas the namespace marker. The skill now registers aslast30days:last30dayswhen Codex runs in a checkout of the repo. Fixed in #219 (inspired by @Jah-yee in #153 and @dannyshmueli on X).
Contributors
- @j-sperling -- v3 engine architecture, Python pre-research brain
- @hnshah -- Watchlist features
- @Cody-Coyote -- Marketplace validation bug report (#204)
- @Jah-yee -- Codex CLI integration inspiration (#153)
[2.9.4] - 2026-03-06
Changed
- Move save into Python script via
--save-dirflag - raw research data saved during the existing script Bash call, zero extra tool calls after invitation - Remove entire "Save Research to Documents" section from SKILL.md (~45 lines removed)
- No more
📎footer, no Bash heredoc, no(No output), no multi-minute cogitation after research
[2.9.3] - 2026-03-06
Fixed
- Critical: Switch save from
run_in_backgroundto foreground Bash - background callbacks caused model to re-engage, hallucinate fake user messages, and generate unsolicited multi-paragraph responses - Save uses foreground
cat >heredoc (executes sub-second, no callback, no delayed notification)
[2.9.2] - 2026-03-06
Fixed
- Save research silently using background Bash heredoc instead of Write tool (eliminates "Wrote N lines..." clutter)
- Suppress follow-up text after background save completes (no more "Research briefing saved..." noise)
- Add
📎footer line for save path instead of verbose confirmation
2.9.1 - 2026-03-05
Highlights
Auto-save research briefings to the default memory directory as topic-named .md files. Every run now builds a personal research library automatically - no more manual copy-paste.
Added
- Auto-save complete research briefings (synthesis, stats, follow-up suggestions) to the default memory directory after every run
- Kebab-case filename generation from topic (e.g., "Claude Code skills" ->
claude-code-skills.md) - Duplicate topic handling: appends date suffix instead of overwriting (e.g.,
claude-code-skills-2026-03-05.md) - Agent mode (
--agent) also saves research files - Brief confirmation after save with the saved file path
Credits
- @devin_explores -- Inspired this feature by sharing their workflow of saving every last30days run into organized .md files (PR #51)
2.9.0 - 2026-03-05
Highlights
ScrapeCreators Reddit as the default backend (one SCRAPECREATORS_API_KEY covers Reddit + TikTok + Instagram), smart subreddit discovery with relevance-weighted scoring, and top comments elevated with 10% scoring weight and prominent display.
Added
- ScrapeCreators Reddit backend (
scripts/lib/reddit.py) — keyword search, subreddit discovery, comment enrichment, all viaapi.scrapecreators.com - Smart subreddit discovery with relevance-weighted scoring: frequency × recency × topic-word match, replacing pure frequency count
UTILITY_SUBSblocklist to filter noise subreddits (r/tipofmytongue, r/whatisthisthing, etc.) from discovery results- Top comment scoring: 10% weight in engagement formula via
log1p(top_comment_score) - Top comment rendering:
💬 Top commentlines with upvote counts in compact and full report output - Comment excerpt length increased from 300 → 400 chars;
comment_insightslimit raised from 7 → 10
Changed
primaryEnvswitched fromOPENAI_API_KEYtoSCRAPECREATORS_API_KEY— one key now powers Reddit, TikTok, and Instagram- Reddit engagement scoring formula:
0.55/0.40/0.05(score/comments/ratio) →0.50/0.35/0.05/0.10(score/comments/ratio/top-comment) - SKILL.md synthesis instructions updated to emphasize quoting top comments
Fixed
- Utility subreddit noise in discovery (e.g., r/tipofmytongue appearing for unrelated topics)
- Reddit search no longer requires
OPENAI_API_KEY— ScrapeCreators API handles search directly
2.8.0 - 2026-03-04
Highlights
Instagram Reels as the 8th signal source, TikTok migrated from Apify to ScrapeCreators API, and SKILL.md quality improvements. One API key (SCRAPECREATORS_API_KEY) now covers both TikTok and Instagram.
Added
- Instagram Reels as 8th research source via ScrapeCreators API — keyword search, engagement metrics (views, likes, comments), spoken-word transcript extraction (
scripts/lib/instagram.py) InstagramItemdataclass, normalization, scoring (45% relevance / 25% recency / 30% engagement), deduplication, cross-source linking, and rendering- Instagram in SKILL.md: stats template (
📸 Instagram:), citation priority, item format description, output footer - URL-to-name extraction examples in SKILL.md for cleaner web source display
--search=instagramflag support
Changed
- TikTok backend migrated from Apify to ScrapeCreators API (
api.scrapecreators.com) APIFY_API_TOKENreplaced bySCRAPECREATORS_API_KEYin config- SKILL.md version bumped to v2.8
- WebSearch citation instruction strengthened to prevent trailing Sources: blocks
- Security section updated: Apify → ScrapeCreators references
Fixed
- Web stats line showing full URLs instead of plain domain names
- Trailing "Sources:" block appearing after skill invitation (WebSearch tool mandate conflict)
- Instagram/TikTok not running in web-only mode when
--search=instagramused without Reddit/X $ARGUMENTSquoting in SKILL.md for correct flag forwarding
2.1.0 - 2026-02-15
Highlights
Three headline features: watchlists for always-on bots, YouTube transcripts as a 4th source, and Codex CLI compatibility. Plus bundled X search with no external CLI needed.
Added
- Open-class skill with watchlists, briefings, and history modes (SQLite-backed, FTS5 full-text search, WAL mode) (
feat(open)) - YouTube as a 4th research source via yt-dlp -- search, view counts, and auto-generated transcript extraction (
feat: Add YouTube) - OpenAI Codex CLI compatibility -- install to
~/.agents/skills/last30days, invoke with$last30days(feat: Add Codex CLI) - Bundled X search -- vendored subset of Bird's Twitter GraphQL client (MIT, originally by @steipete), no external CLI needed (
v2.1: Bundle Bird X search) - Native web search backends: Parallel AI, Brave Search, OpenRouter/Perplexity Sonar Pro (
feat(engine)) --diagnoseflag for checking available sources and authentication status--storeflag for SQLite accumulation (open variant)- Conversational first-run experience (NUX) with dynamic source status (
feat(nux))
Changed
- Smarter query construction -- strips noise words, auto-retries with shorter queries when X returns 0 results
- Two-phase search architecture -- Phase 1 discovers entities (@handles, r/subreddits), Phase 2 drills into them
- Reddit JSON enrichment -- real upvotes, comments, and upvote ratio from reddit.com/.json endpoint
- Engagement-weighted scoring: relevance 45%, recency 25%, engagement 30% (log1p dampening)
- Model auto-selection with 7-day cache and fallback chain (gpt-4.1 -> gpt-4o -> gpt-4o-mini)
--days=Nconfigurable lookback flag (thanks @jonthebeef, #18)- Model fallback for unverified orgs (thanks @levineam, #16)
- Marketplace plugin support via
.claude-plugin/plugin.json(inspired by @galligan, #1)
Fixed
- YouTube timeout increased to 90s, Reddit 429 rate limit fail-fast
- YouTube soft date filter -- keeps evergreen content instead of filtering to 0 results
- Eager import crash in
__init__.pythat broke Codex environments - Reddit future timeout (same pattern as YouTube timeout bug)
- Process cleanup on timeout/kill -- tracks child PIDs for clean shutdown
- Windows Unicode fix for cp1252 emoji crash (thanks @JosephOIbrahim, #17)
- X search returning 0 results on popular topics due to over-specific queries
New Contributors
- @JosephOIbrahim -- Windows Unicode fix (#17)
- @levineam -- Model fallback for unverified orgs (#16)
- @jonthebeef --
--days=Nconfigurable lookback (#18)
Credits
1.0.0 - 2026-01-15
Initial public release. Reddit + X search via OpenAI Responses API and xAI API.