Skip to content

Releases

FactPack 0.3.0: guards that check what a number describes

Choose a tag to compare

@Horace-Maxwell Horace-Maxwell released this 04 Dec 01:41

The guards were rebuilt so that "checked against its sources" covers more of what a sentence says. On 8 production days they caught 92.2% of 1,933 errors planted into published sentences (0.2.2: 29.6%) and would cut 4.1% of published sentences (0.2.2: 3.1%). Method, per-error results and limits: eval/README.en.md.

  • Numbers agree on kind and currency, not only value. 48% no longer matches a bare 48, 2 percentage points no longer matches 2%, $1.2bn no longer matches ¥1.2bn. Chinese numerals (十二亿, 三成, 两倍) and English number words are read.
  • A number must be about the same thing. If the sentence ties it to a metric, a direction or a known company, the source must not tie it to a different one; casualty counts need the source to give that number for the same thing.
  • Names are checked: Latin-script names and well-known Chinese names (英伟达 = Nvidia) must appear in the source.
  • Quotes are matched word for word (one slip per twelve words), and the named speaker must appear in the source.
  • factpack check says why a sentence failed (reasons, unsupported_names).
  • New factpack eval guards: cuts on published cards and planted errors caught, by error type.

Still not caught: a reversed cause, a number the source uses elsewhere without saying what it is, and most company swaps when the source doesn't say whose number it is.

uv tool upgrade factpack

FactPack 0.2.2

Choose a tag to compare

@Horace-Maxwell Horace-Maxwell released this 01 Dec 21:11
  • Google News links resolve again when Google rate-limits. Decoding a Google News link (fetch.resolve_google_news) now reads the news.google.com/rss/articles/… page first, then news.google.com/articles/…. Google often answers the second with HTTP 429, which left those sources as Google News redirects in the brief.
uv tool upgrade factpack

FactPack 0.2.1

Choose a tag to compare

@Horace-Maxwell Horace-Maxwell released this 01 Dec 20:54

A patch release from moving a real deployment onto FactPack.

  • Per-source fetch options. A source can set its own user_agent, and fetcher: curl to be fetched with the curl binary. The two CISA feeds use it: they reject Python's TLS handshake, so 0.2.0 got HTTP 403 for them.
  • A local RSSHub is no longer held to fetch.per_host. It is capped by the local concurrency (6) instead of 2.
  • Links in chat messages drop tracking parameters (utm_*, fbclid, ...). Scheme, host and path stay as published.
  • Google News decoding uses fetch.user_agent.
  • deploy/macos:
    • after delivery, a failed step (evolve, archive, reports) is retried on the next two calls without repeating the ones that worked;
    • evolve's state is committed when the instance is a subdirectory of a git repo;
    • new opt-in FACTPACK_UPDATE=release moves the checkout to the newest release tag once a day after delivery, never backwards or over local changes, and goes back if the new version fails to start.
uv tool upgrade factpack

Full list: CHANGELOG.md.

FactPack 0.2.0: the daily run recovers by itself

Choose a tag to compare

@Horace-Maxwell Horace-Maxwell released this 01 Dec 20:31

The daily run recovers by itself

Before, a run missed after the last fixed time slot was never retried. A network that came back at noon, or a Mac that restarted with nobody logged in, meant no brief that day.

Now a scheduler calls factpack run every 5 minutes. Each call asks one question, "is today's brief delivered?", and takes the next step if not: build, hold until delivery.send_at, or send. A call with nothing to do returns in about a second, so the first call after the machine and the network are back finishes the day.

  • Backoff by kind of failure: network, sources, model account, configuration, delivery.
  • One alert at a time: one when the brief is overdue, one when the day is given up (schedule.give_up_at). Never one per retry.
  • Late editions say so: a brief that goes out more than 30 minutes late says so at the top, with the reason: "⏰ 2h 15m late today (network outage)".
  • Stuck runs are stopped: a run stuck past schedule.max_run_min is stopped by the next call.
  • Optional outside check: monitoring.heartbeat_url (Healthchecks.io-compatible) tells you when no brief went out, even if the machine is off.
uv tool install factpack
factpack schedule install   # macOS: launchd agent; Linux: systemd user timer (Persistent=true)
factpack doctor             # scheduler, sleep, restart after power loss, FileVault vs automatic login, disk, network, key, channels

Keys can go in <instance>/.env (chmod 600), so the scheduled job holds no secrets. Guide: docs/deployment.md.

Also in 0.2.0

  • Delivery to Feishu/Lark, WeCom (企业微信) and DingTalk group bots, with optional signing. Messages are split to each bot's size limit.
  • Run without a server on GitHub Actions: fork the repo, add your secrets, and the brief arrives every morning. Three catch-up runs cover late or dropped schedules. Guide: docs/github-actions.md (中文).
  • factpack send-test sends one test message to every enabled channel.
  • More settings from the environment: FACTPACK_DELIVERY, FACTPACK_LANGUAGE, FACTPACK_TIMEZONE, FACTPACK_RSSHUB_URL, FACTPACK_SEND_AT and FACTPACK_PREPARE_AT.

Full list: CHANGELOG.md.

FactPack 0.1.0

Choose a tag to compare

@Horace-Maxwell Horace-Maxwell released this 01 Dec 02:30

FactPack 0.1.0

Your personal daily news briefing agent: it reads ~400 sources overnight and sends one short brief to Discord, Telegram or WhatsApp each morning, with links to every source.

Try it in two seconds, offline, no API key

uvx factpack demo

Or open the live demo in your browser. Install with uv tool install factpack or pipx install factpack.

In this release

  • The daily brief: clustering, LLM triage and editor-in-chief, quotas and dedup enforced in code, card writers, cover and closing take. Delivery to Discord, Telegram and WhatsApp, a Markdown edition, an RSS feed and a git archive.
  • 627 cataloged sources (~408 on by default, ~485 with a self-hosted RSSHub) that maintain themselves.
  • Fact guards: numbers are checked against the cited articles by value, quotes must be traceable, links and markup are stripped from model output.
  • factpack check: the same guards for any AI-written text, with --json output for agents and CI.
  • An agent skill for Claude Code, Codex and other Agent Skills hosts.
  • Output in Simplified Chinese (production) and English (preview).
  • Frozen daily inputs, replay and an evaluation harness; the published baseline is in eval/BASELINE.en.md.

Docs in English, 简体中文, 日本語, 한국어, Español, Français, Deutsch and Português (Brasil).