← Back to Pull requests

feat(news-rss): add news-rss #2511

Closed
unknown closed this pull request without merging on Dec 02, 2026 07:43 UTC
View on GitHub
unknown unknown commented on Dec 02, 2026 02:40 UTC
Author

news-rss

Keyless mainstream news, multi-outlet corroboration, and full-text OPML RSS search in one fast terminal CLI.

API: news-rss | Category: media-and-entertainment | Press version: 4.36.1
Spec: spec.yaml
Required env: none

Publication Path

New print

CLI Shape

$ news-rss-pp-cli --help
Keyless mainstream news and RSS aggregator combining Google News RSS, Bing News RSS, and curated/user OPML feeds with anti-spam guardrails and local SQLite FTS5 search.

Highlights (not in the official API docs):
  • corroborate   Count independent non-syndicated outlets covering a topic or claim and emit a deterministic corroboration verdict.
  • sweep   Run multiple news queries concurrently and return one globally deduplicated, domain-capped research payload.
  • timeline   Reconstruct a chronological daily or weekly story arc with volume counts and spike detection.
  • watch   Save recurring topic, domain, or pack beats in SQLite and return only newly arrived stories since the previous check.
  • read   Render stored full-text Substack and engineering RSS bodies cleanly in the terminal and extract cited outbound links.
  • overlap   Find stories echoed across multiple subscribed feeds or crossing from niche packs into mainstream front-page clusters.
  • audit   Audit subscribed OPML and pack feeds for sync errors, staleness, firehose volume, and unread noise.

Agent mode: add --agent to any command for JSON output + non-interactive mode.
Health check: run 'news-rss-pp-cli doctor' to verify connectivity.
See README.md or the bundled SKILL.md for recipes.

Usage:
  news-rss-pp-cli [command]

Available Commands:
  agent-context  Emit structured JSON describing this CLI for agents
  aggregators    Curated editorial news aggregator RSS feeds (Memeorandum and Mediagazer)
  api            Browse API resource interfaces by raw name
  audit          Audit subscribed OPML and pack feeds for sync errors, staleness, and firehose noise
  bing           Fetch Bing News RSS search results with article descriptions and direct publisher URLs
  completion     Generate the autocompletion script for the specified shell
  corroborate    Count independent non-syndicated outlets covering a topic or claim
  doctor         Check CLI health
  feedback       Record feedback about this CLI (local by default; upstream opt-in)
  feeds          Manage curated OPML packs and custom RSS/Atom feed subscriptions
  geo            Fetch local and regional news headlines for a city, state, or country
  google         Google News RSS public endpoints (primary keyless news source: search with when:Nd, top stories
  help           Help about any command
  inbox          Triage unread synced articles and update read/unread consumption state
  learnings      Inspect or forget the local search_learnings table
  local-data     Erase the API data this CLI keeps on disk
  news           Search mainstream news across Google News RSS, Bing News RSS, and local synced feeds
  overlap        Find stories echoed across multiple subscribed feeds or crossing into mainstream clusters
  playbook       Inspect or amend stored CLI playbooks
  profile        Named sets of flags saved for reuse
  read           Render a stored full-text newsletter or article offline and extract outbound links
  recall         Check prior learnings for a query before running discovery (LLM-fired, pre-discovery)
  search         Offline SQLite FTS5 full-text search across synced newsletters and feeds
  sweep          Run multiple news queries in one globally deduplicated, domain-capped batch
  sync           Sync enabled curated packs, custom OPML feeds, and top clusters into local SQLite FTS5
  teach          Record a query -> resource mapping for future recall (LLM-fired, silent)
  teach-lookup   Install a manual entity-lookup row (kind, canonical, value)
  teach-pattern  Install a manual generalization pattern (query_template, resource_template, entity_kind)
  teach-playbook Record a CLI playbook + free-text notes for a query family
  timeline       Reconstruct a chronological story arc with daily/weekly volume and spike flags
  top            Fetch Google News Top Stories or section topic clusters ranked by independent outlets
  topics         List supported Google News section topics and bundled curated OPML packs
  version        Print version
  watch          Save recurring topic, domain, or pack beats and diff newly arrived stories
  which          Find the command that implements a capability
  workflow       Compound workflows that combine multiple API operations

Flags:
      --agent                    Set agent-friendly output defaults (--json --compact --no-input --no-color)
      --audit-dir string         Aggregate the receipt and index under this audit directory
      --ca-cert string           PEM CA bundle added to the system trust roots
      --client-profile string    Select the tenant-gated client profile (env: PRINTING_PRESS_CLIENT_PROFILE)
      --compact                  Return only key fields (id, name, status, timestamps) for minimal token usage
      --config string            Config file path
      --csv                      Output as CSV (table and array responses)
      --data-source string       Data source for read commands: auto (live with local fallback), live (API only), local (synced data only) (default "auto")
      --deliver string           Route output to a sink: stdout (default), file:<path>, webhook:<url>, spacefast:<name> (live web page)
      --dry-run                  Show request without sending
  -h, --help                     help for news-rss-pp-cli
      --home string              Root directory for config, data, state, and cache files
      --human-friendly           Enable colored output and rich formatting
      --json                     Output as JSON
      --max-age duration         Maximum acceptable age of local-store data before a stderr hint suggests sync; 0 disables (default 30m0s)
      --no-cache                 Bypass response cache
      --no-color                 Disable colored output
      --no-input                 Disable all interactive prompts (for CI/agents)
      --no-learn                 Disable the teach/recall learning loop for this invocation
      --plain                    Output as plain tab-separated text
      --profile string           Apply values from a saved run profile; this does not select a client (see 'news-rss-pp-cli profile list')
      --quiet                    Bare output, one value per line
      --rate-limit float         Max requests per second (0 to disable; default auto — pace to server rate-limit headers) (default auto)
      --receipt                  Write an atomic private run receipt
      --receipt-file string      Override the run receipt destination
      --select string            Comma-separated fields to include in output (e.g. --select body)
      --timeout duration         Request timeout (default 1m0s)
      --tls-server-name string   DNS name to verify when the dialed host does not match the certificate
  -v, --version                  version for news-rss-pp-cli
      --yes                      Skip confirmation prompts (explicit confirmation for scripts)

Use "news-rss-pp-cli [command] --help" for more information about a command.

Novel Commands

| Command | Name | Description |
|---------|------|-------------|
| corroborate | Multi-outlet corroboration scorer | Count independent non-syndicated outlets covering a topic or claim and emit a deterministic corroboration verdict. |
| sweep | Multi-query batch research sweep | Run multiple news queries concurrently and return one globally deduplicated, domain-capped research payload. |
| timeline | Chronological story timeline and velocity | Reconstruct a chronological daily or weekly story arc with volume counts and spike detection. |
| watch | Saved beat watchlists with incremental diff | Save recurring topic, domain, or pack beats in SQLite and return only newly arrived stories since the previous check. |
| read | Offline full-text newsletter reader and link extractor | Render stored full-text Substack and engineering RSS bodies cleanly in the terminal and extract cited outbound links. |
| overlap | Cross-feed and pack-to-mainstream convergence | Find stories echoed across multiple subscribed feeds or crossing from niche packs into mainstream front-page clusters. |
| audit | Feed portfolio health, staleness, and noise audit | Audit subscribed OPML and pack feeds for sync errors, staleness, firehose volume, and unread noise. |

What This CLI Does

Keyless mainstream news, multi-outlet corroboration, and full-text OPML RSS search in one fast terminal CLI.

News RSS unifies Google News RSS, Bing News RSS, editorial news rivers (Memeorandum and Mediagazer), and 6 bundled curated OPML packs or custom OPML feeds with built-in anti-spam guardrails and local SQLite FTS5 caching. Run single queries with news, globally deduplicated multi-query batches with sweep, independent-outlet checks with corroborate, and incremental beat diffs with watch without any API key.

Manuscripts

  • Absorb Manifest

  • Research Brief

  • Novel Features Brainstorm

  • Internal Spec (news-rss-spec.yaml)

  • Acceptance Report

  • Build Log

  • Polish Summary

  • Shipcheck Report

  • Live Output Review Findings

  • Local Code Review Findings

  • Phase 5 Acceptance Marker
  • Validation Results

    | Check | Result |
    |-------|--------|
    | Manifest | PASS |
    | Phase 5 | PASS |
    | go mod tidy | PASS |
    | govulncheck (this CLI only, reachable findings) | PASS |
    | go vet | PASS |
    | go build | PASS |
    | --help | PASS |
    | --version | PASS |
    | Manuscripts | PRESENT |

    Publish Live Gate

    Full live dogfood reran at publish time and passed (194 passed, 0 failed, 0 hollow features). Proof: Phase 5 Acceptance Marker

    Gaps

  • spec_url: Not specified (uses bundled internal spec.yaml covering public Google News RSS, Bing News RSS, Memeorandum, and Mediagazer XML feeds).
  • Diff: 650 lines (+487 / -163) across 8 files Reviewer: mvanhorn Review duration: 303m
    All Vouch review confidence checks passed
    Residual risk 0.25 = Change Risk (0.57) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.57 · 650 lines diff across 8 files
    0.57
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #2511"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 57% (MEDIUM) · Higher = larger blast radius
    57%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 24.7% · Safe to merge
    24.7%