Repository navigation
Releases
Herald 0.3.9-beta
Patch beta from the third blind install: agent runbook round 2, embedding threads capped when the
CPU limit is hidden, and quieter, cleaner sources on a fresh install.
Added
embeddings.threadssets the CPU threads of the local embedding model, and the
embeddings: loadinglog line says how many it uses and why: the CPU quota, the CPU affinity,
the cap below, or the setting (#179).
Changed
- An off-hour
run --atcall logs one line (not due: runs at 06:40 America/Sao_Paulo on Mon Tue Wed Thu Fri; nothing to do), sodata/cron.logshows that cron is calling before the
first run. A run without--atis unchanged (#178). - Log times carry their UTC offset and use the briefing's time zone once the config is read
(2026-12-02 01:40:01-03:00), the clock of the run report, instead of the machine's, which is
UTC on most servers (#178). herald init's next-step hint names the command the launcher sets inHERALD_COMMAND, so the
agent runbook's launchers get./herald --dry-runinstead of a bareherald(#178).
Fixed
- With no CPU limit in sight, embedding uses at most 4 threads instead of one per host core. A
limit on a parent cgroup (Docker inside a 2-CPU container, many LXC/OpenVZ VPSes) is invisible
to Herald, and a thread per host core made ranking about 4 times slower: a no-AI run took
10 minutes instead of about 3. On a 12-core host, 1,000 texts take 12.9 s with 4 threads
(10.4 s at best, 12.1 s with ONNX Runtime's default) and, under a hidden 2-CPU limit, 27 s
(21 s at best, 89 s with the default). The agent runbook says how to read the log line and
when to setembeddings.threads(#179). - Agent runbook, round 2 from a third blind install (#178): after the webhook test it stops the
test receiver and turns thewebhookchannel off unless the user has a real receiver (left on,
every later run endedpartial);pkill -f '[h]erald dev sink'can't match the agent's own
shell and is skipped on the Docker path; one "no key yet" branch (the intended provider at
init,noneuntil the key exists, the command to switch back); the head start adds the AI
margin when the measured run had none, with the command to check the first run with the key;
the Docker bridge gateway is explained once for any local service (SMTP relay, ntfy, webhook);
andgrep 'status=' data/cron.logshows each run's status,partialincluded, which still
exits 0. - Without
REDDIT_CLIENT_ID/REDDIT_CLIENT_SECRET, Reddit sources no longer log a "missing
configuration" line each: a run logs one line per plugin and reason (reddit: 6 sources skipped, ...), and the run report lists skipped sources and why underskipped sources (not errors). They still never count towardherald sources health(#180). - GDELT: the robots.txt check of
api.gdeltproject.orgnow takes its own turn in the shared GDELT
request slot. It went out milliseconds before the first API call of a run, two requests inside
GDELT's documented one-per-5-seconds limit, so the first call of every run broke the limit. GDELT
can still answer 429 to busy or shared addresses that stay within it (#180). - A page whose URL carries a date (
/2023/06/16/) more than 2 days before its feed date now
counts from the URL's date, so the window drops it. Valor's feed dates a 2023 live-blog
permalink (.../ao-vivo/2023/06/16/...) to the current day, and it reached a briefing as
today's news (#180). - Reader polls and quizzes no longer reach the briefing: the pre-filter drops a title that asks
the reader's opinion and ends in "?" (in the six README languages), aQuiz:title and a
/quiz/path. A Folha reader poll ("Para você, quais medidas devem ser tomadas ...?") had made
a top headline of a no-AI briefing (#180).
Herald 0.3.8-beta
Patch beta: performance: a run without AI on a small VPS goes from about half an hour to about
four minutes, with progress logs per stage.
Added
- The log shows progress: each stage logs its start and its end with counts and duration
(fetch: 316 sources…fetch: 6,943 items in 55.0s), and fetch, embedding, scoring and
enrichment logdone/totalat least every 30 seconds, so a long run no longer looks hung
(#170).
Fixed
- A no-AI run over a few hundred sources (316 sources, ~6,900 items) takes 4 minutes on 2 vCPUs
instead of 31, uses 5 CPU-minutes instead of 58, and peaks at 0.8 GB of memory instead of
1.2 GB. Embedding every item is almost all of that time: ONNX Runtime now gets only as many
threads as the process may use (in adocker --cpus 2container it started one per host core,
and they spent most of the run waiting on each other), texts go in batches of 8 of similar
length instead of 64 mixed ones, and a text shared by syndicated copies is embedded once. A
replayed fetch gives the same candidates, stories and selection. Getting started and
Scheduling state the time and memory to expect (#170). - The Hugging Face Hub's "set a HF_TOKEN" hint no longer appears when the embedding model
downloads: the model is public and needs no token (#170).
Herald 0.3.7-beta
Patch beta: fixes from two blind installs of the agent runbook: email setup, DST-safe scheduling
with run --at, runbook and output polish.
Added
herald run --at HH:MM [--days 1-5]for an hourly cron entry: it runs the briefing only in the
hour that starts atHH:MMinconfig.json'stimezone, on those weekdays there (cron
syntax), and otherwise exits 0 at once. Cron reads the machine's zone (UTC on most servers,
and Debian/Ubuntu cron has noCRON_TZ), so a fixed line drifted by an hour across daylight
saving and counted weekdays in the server's zone;docs/scheduling.mdnow schedules
10 * * * * ... herald run --at 06:10 --days 1-5(#169).- The run report's first line says how long the run took (
took 12m 05s), to size the
schedule's head start from a measured run (#169). - The run report (and so the run's output and
data/cron.log) has a delivery line per channel,
delivered email 1, webhook 2, ordelivered nothing (dry run)(#171). herald config set provider NAMEsetsHERALD_AI_PROVIDERin.envalone, likeinitdoes
but without touching the categories: the runbook switches tononewhile the user's AI key is
still to come, and back once it is set (#171).- The reference guides in Brazilian Portuguese at https://herald.day/pt/docs/, translated file
for file indocs/pt-BR/(the sources report stays English), with a language menu and
hreflang alternates on every docs page; the Portuguese site pages andREADME.pt-BR.mdlink
to them. A test keeps the translation in step withdocs/: the same guides, headings and code
blocks, and links that resolve. They shipped in 0.3.6 without an entry here (#155). - Every docs guide is also served as Markdown next to its page,
/docs/<page>.md(and
/pt/docs/<page>.md), linked from the page asrel="alternate" type="text/markdown", for
agents and tools that read Markdown better than HTML (#171).
Changed
herald runsprints one readable line per run (local start time, duration, status, anddry runorrun);herald runs --jsonkeeps the JSON lines, now withdry_run(#171).herald initnames.envas you see it (.envin your Herald folder, not the container's
/app/.env), and its hint says thatherald --dry-runcalls the AI provider and spends tokens,
withHERALD_AI_PROVIDER=none herald --dry-runas the free check (#171).- With provider
none, a story's summary is cut at a word with an ellipsis instead of mid-word
(#171). - The agent runbook, from the blind installs: an empty locale means English with an offer to
switch; without Docker, uv is the first choice (installed for the user only, called as
~/.local/bin/uvuntil a new shell), with the latest beta release checked out and
uv sync --no-dev --extra embed, and the launcher runsuv run --no-sync; a webhook test
recipe withherald dev sinkthat works on both paths without the agent reading.env; the
uninstall removes running Herald containers before the image, cleans the uv cache, and removes
uv if the agent installed it; it notes which checks exit 1 on an expected empty answer, that
region groups include the region's sports category, and thatnoneoutput is untranslated
feed text.herald dev sinkflushes each line, so its log shows events as they arrive (#171). - Email works with an SMTP server without login:
config.example.jsonreads
"username": "${SMTP_USER:-}"and"password": "${SMTP_PASSWORD:-}", and Herald logs in only
when the user is set. To keep your login working, keep both variables set in.env; a
config.jsoncopied from an older example still requires them.SMTP_FROMships empty in
.env.example, so a check that it has a value means you set it (#168). herald notify previewchecks the settings a send needs, resolved, before it builds anything:
a missing emailfrom, SMTP host or half-set login is-> failed:(exit code 1), like the
send would be, instead ofok. A channel that worked ends with-> ok: N requests built, not sentinstead of the made-up vendor answer, such asdelivered(#168, #171).
Fixed
- A delivery that reaches nobody is no longer a silent success:
herald notify sendprints
-> warning: no active <lang> subscribers (herald subscribers add <address> --lang <lang> --confirmed)and exits with code 1, and the run report lists it underwarnings:. The agent
runbook adds the owner's address as a confirmed subscriber, lets the agent set the email
block'ssmtp_port,starttlsandssl, and marksSMTP_USER,SMTP_PASSWORDand
HERALD_UNSUBSCRIBE_URLas optional (without the endpoint the unsubscribe link is amailto:)
(#168). - The agent runbook asks the briefing's time zone instead of copying the machine's (UTC on most
servers, which dated briefings a day ahead), recommending the machine's only when it isn't
UTC; schedules with the hourlyrun --atentry; and sets the head start from the measured
tooktime of the dry run or first run plus a margin, instead of a fixed 15 minutes (#169).
Herald 0.3.6-beta
Patch beta: install with an AI agent, plus the install friction fixes found while building it.
Added
- Install with an AI agent: paste one line into Claude Code, Codex, Gemini CLI or any coding
agent with shell access, and it follows the runbook at https://herald.day/install.md. It asks
for the briefing language, AI provider, categories, channels and schedule one question at a
time, sets up Docker or uv with a smallheraldlauncher, has you type the keys into.env
yourself (never in the chat), checks everything at no cost, and waits for your OK before the
first real run or send. The guide is indocs/install-with-an-agent.md, the get-started page
and the READMEs show the prompt, and/llms.txtpoints agents to the runbook and the docs. A
test parses everyheraldcommand in the runbook with the real CLI (#160). herald config set languages|channels|timezone VALUE...sets the briefing languages
(output.languages, the first oneoutput.primary, and the samelanguageson every
channel), the channels that are on (the listednotifierstypes; the others go off,none
turns all off) and the time zone (an IANA name). Values are checked before anything is saved,
and the raw JSON is edited likeherald categoriesdoes, so${VAR}references and key order
survive. The agent runbook uses it instead of hand-editingconfig.json(#164).
Fixed
- The Docker image runs as any uid, so
docker run --user "$(id -u):$(id -g)"keeps a mounted
config.json,.envanddata/owned by you with noHOMEoverride: the commands run
straight from the image's virtualenv (no uv cache to create) andHOMEis/tmp. The
README and getting-starteddocker runlines pass--user, and the runbook's launcher drops
-e HOME=/tmp(#162). - When the container can't write a mounted file,
herald initandherald categoriesprint
one line naming it and the--user "$(id -u):$(id -g)"fix instead of aPermissionError
traceback (#162). - The GitHub Actions daily run passes every variable of
.env.examplefrom the secret of the
same name, so it works with every API-key provider (HERALD_AI_PROVIDERand the model
variables included) and every channel but email, whose subscriber list Actions doesn't keep.
Before, the OpenRouter and OpenCode keys and the Resend, Teams, Google Chat, WhatsApp, Matrix,
ntfy and Pushover secrets never reached the run..env.examplegainsREDDIT_CLIENT_IDand
REDDIT_CLIENT_SECRET, which the workflow already passed; a test keeps the two in sync, and
docs/scheduling.mdlists the secrets. The agent runbook offers Actions for those providers
and channels (#163).
Herald 0.3.5-beta
Patch beta: CLI fixes found while checking the published image, plus the Reddit token fix.
Added
herald --versionprints the installed version from the package metadata. The release
checklist's image check starts with it (#154).
Fixed
- The Reddit source requests its OAuth token inside the fetch concurrency limit, like every
other source request, so under full load it waits for a slot instead of timing out (#133). herald sources validateno longer crashes when a catalog file or the report is read-only,
as in the published Docker image: it checks and logs every source, prints
results not saved to <file>and exits 0 (#151).herald sources validate --onlyaccepts a comma-separated list as well as a repeated flag,
and stops with an error naming any id that is not in the catalog (exit 2) before fetching
anything, instead of silently validating nothing (#152).herald initandherald categoriessay when the profiles folder is missing or has no
categories, with the resolved path and theprofiles.dirkey, instead of asking you to
choose at least one category (#153).
Herald 0.3.4-beta
Patch beta: connector fixes found while proving each channel end to end before launch, and the
reference docs on herald.day.
Added
- The project site tells the IndexNow search engines (Bing, Yandex, Seznam, Naver...) which
pages changed on every deploy, so they pick up updates without waiting for a recrawl. The key
lives in theINDEXNOW_KEYrepository variable; forks without it skip the ping (#134). - The reference documentation is published at https://herald.day/docs/: every guide in
docs/
rendered to a page with the site's look, a sidebar of all guides, a table of contents, heading
anchors that match GitHub's, previous/next links and an "Edit on GitHub" link. No JavaScript
besides the copy button. The site's section menu links it in every language (#137). - Every vendor channel's requests are checked against its contract on a long 60-story,
six-language briefing (tests/test_connector_contracts.py), andscripts/e2e-local.shnow
checks email parts and headers per language, the Matrix HTML body, the ntfy click link, the
failed-run alert and the refusal of a wrong webhook credential (#146).
Fixed
- Email over SMTP sends
List-Unsubscribeas literal URIs. Long headers were folded into
RFC 2047 encoded-words, which RFC 2369 parsers do not decode, so mail clients could hide the
one-click unsubscribe button (#139). - Long briefings no longer get clipped by Gmail. Over a 100,000-byte budget the email HTML
shows as many whole sections as fit, a localized truncation note and, with the static site
on, a link to the full page; the plain-text part keeps everything (#140). - Slack and Discord wait out a 429 (
Retry-After, capped at 60 s) and resend the same message,
up to three tries, instead of cutting a long briefing short. Discord never parses mentions,
so third-party text cannot ping anyone (#141). - Each page of herald.day, in each language, now shares its own 1200 × 630 Open Graph card,
with its headline in its language and a localized alt text that describes it, instead of one
English 1280 × 640 card for all.scripts/og-cards.shregenerates them (#135).
Herald 0.3.3-beta
Patch beta: large runs no longer run out of HTTP connections, and calendars and delivery no
longer depend on the source fetch.
Added
- The project site is ready for search and sharing: a title and description per page and
language, Twitter card tags, JSON-LD structured data,robots.txt, asitemap.xmlwith
hreflang alternates, a favicon set withsite.webmanifest, and a404.htmlin all six
languages (#127).
Changed
- The project site moved to its own domain, https://herald.day. The old
felipebossolani.github.io/heraldaddress redirects there (#125).
Fixed
- Large runs (~1300 sources) no longer use up the HTTP connection pool. Fetching is bounded by
the newsources.rate_limit.max_concurrency(default 64), which also sizes the pool, so
requests no longer fail withPoolTimeout. A source's timeout starts only once it is
fetching (#123). - Calendars and notifiers use their own HTTP client, so a heavy fetch can no longer make the
Upcoming section or delivery fail (#123). - Calendar, enrichment and source failures log the exception type (for example
PoolTimeout:), not an empty message (#123).
Herald 0.3.2-beta
Patch beta: validating sources no longer rewrites the catalog files.
Fixed
herald sources validate(andsources health --apply) save results in place: comments, key
order and quoting insources/*.yamlare kept and only the changed validator fields are
rewritten. A note is replaced only when the status changes or the entry has none, pinned
entries keep their status, note andpinnedflag, and pinned sources that validateokagain
are listed for review instead of being unpinned (#117).
Herald 0.3.1-beta
Patch beta: the site language switcher becomes a menu, more official feeds and calendar
coverage for central banks and statistics offices.
Added
ine_ptcalendar provider: Portuguese CPI, GDP, employment and trade-turnover release dates
from INE Portugal's official iCalendar (#109).central_bankscalendar idsecb(covers the euro-area national central banks),cbi
(Iceland),nbu(Ukraine) andbccr(Costa Rica) (#114).- Official feeds found on re-probe for Norges Bank, the Czech National Bank, Statistics Poland,
the Hungarian statistics office (KSH), INE Portugal and Statistics Iceland (#109, #114).
Changed
- Remaining statistics offices checked for a machine-readable release calendar (INE Chile, DANE,
INEI, GUS, KSH, INS; Destatis and Istat rechecked); results documented in
docs/configuration.md(#109). - Site: the language switcher is a native disclosure menu at every width: a globe, the current
language (code on narrow screens, full name on wide ones) and a menu listing every language by
name and code, with no script (#113).
Herald 0.3.0-beta
Third beta (epic #70): briefings in six languages, sources read in any language, and coverage of
every country in Latin America and Europe plus Canada and Oceania. The catalog grows to about
2,230 sources (about 1,240 fetched with every category on) and 40 categories in nine regions plus
topics.
Breaking changes
herald historyand the MCP toolherald_history_searchreturntexts
({language: {headline, summary}}) instead ofheadline_pt/headline_en/summary_pt/
summary_en. The history database is migrated in place on first open; back updata/before
upgrading (#99).- The failed-run alert (and the webhook
run.failedtitle) is written in each channel's first
language instead of English (#99). digest.profile_orderis nowdigest.section_order. The old key is still read as a deprecated
alias and logs a one-time warning; rename it inconfig.json(#79).
Added
- Briefings in Spanish, French, Italian and German (
output.languages:es,fr,it,
de), alongside pt-BR and English, which stay the default. Labels, dates, categories,
regions, the site, email, push and bot replies are translated; unknown language codes are
rejected; the run report shows the enrichment calls per story (#58). - Canada region (
canada, shortcutca):ca-politicsandca-economy, with English and
French sources insources/canada.yaml, including the Bank of Canada, Statistics Canada and
government releases (#62). - Oceania region (
oceania):oceania-politics,oceania-economy, with Australian national and
state press, RBA, ASX news, New Zealand press and government releases, and Pacific outlets from
Fiji, Samoa, Tonga and Solomon Islands (sources/oceania.yaml); Australian and New Zealand
entries ofsources/apac.yamlalso feed it (#63). - Sources: every South American country, in
sources/latam-south.yamlrouted to thelatam-*
categories (Venezuela, Ecuador, Bolivia, Paraguay, Guyana, Suriname, plus more outlets from
Argentina, Chile, Colombia, Peru and Uruguay) (#60). - Mexico, Central America and the Caribbean sources in
sources/latam-central.yaml,
routed to thelatam-*profiles: more Mexican outlets, plus Guatemala, Belize, Honduras,
El Salvador, Nicaragua, Costa Rica, Panama, Cuba, the Dominican Republic, Puerto Rico,
Jamaica, Haiti and Trinidad and Tobago (#61). - Sources:
sources/europe-fr-it.yamlcovers France, Belgium, Luxembourg, Switzerland, Monaco,
Italy, Malta, San Marino and the Vatican in the local languages, with central banks, statistics
offices and government releases, routed to theeu-*profiles (#64). - Germany, Austria, Liechtenstein and Netherlands coverage in
sources/europe-de-nl.yaml:
national and regional press in German and Dutch, tech press, the Bundesbank, DNB, CBS, FMA
Austria, WIFO and government releases, routed to theeu-*profiles (#65). - Source coverage for Spain, Portugal, Andorra, Ireland and the United Kingdom in
sources/europe-iberia-uk.yaml: regional and national press, Catalan-language outlets,
ONS, the FCA, HM Treasury, GOV.UK and the Portuguese government, routed to the
eu-*profiles (#66). - Nordic and Baltic coverage:
sources/europe-nordic-baltic.yamlwith national press in the
local languages, English editions, central banks and statistics offices of Denmark, Sweden,
Norway, Finland, Iceland, Estonia, Latvia and Lithuania, routed to theeu-*profiles (#67). - Central and Eastern Europe coverage:
sources/europe-central-east.yamlwith national press,
business outlets, central banks and statistics offices of Poland, Czechia, Slovakia, Hungary,
Romania, Bulgaria, Slovenia, Croatia, Ukraine and Moldova, plus independent Belarusian outlets
in exile, routed to theeu-*profiles (#68). - Western Balkans, Greece and Cyprus sources in
sources/europe-southeast.yaml, routed to the
eu-*profiles (#69). - Sports coverage for Latin America, Canada, Australia and New Zealand and every European
country, plus tennis, cycling and motorsport, insources/sports-world.yaml, with the new
latam-sportsandoceania-sportscategories; Canadian outlets go tous-sports(#87). - Regional tech and startup press in
sources/tech-regional.yaml: European national tech
press in local languages, Latin American, Canadian, Australian and New Zealand tech and startup
outlets, routed toglobal-tech-ai,startups-vc,latam-techandapac-tech, with
Australian and New Zealand startup press also inoceania-economy(#89). - Calendars:
central_banks(rate decisions of Banxico, BCCh, BanRep, BCRP, Bank of Canada,
RBA, RBNZ, Bank of England, Riksbank, Norges Bank, SNB, NBP, CNB, MNB and BNR from
calendars.central_bank_dates, linked to each bank's official calendar) andons(UK CPI,
GDP, labour market and retail sales release dates from the official ONS API) (#88). - Calendars:
statcan,ine_esandczso(CPI, GDP, labour market and retail release dates
from the official Statistics Canada JSON schedule and the INE Spain and CZSO iCalendar feeds),
off by default; offices with no machine-readable calendar are listed in
docs/configuration.md(#101). - READMEs in Spanish (
README.es.md), French (README.fr.md), Italian (README.it.md) and
German (README.de.md), linked from the language switcher of every README (#80, #81, #82,
#83). - Project site in Spanish, French, Italian and German (
site/es/,site/fr/,site/it/,
site/de/), a six-language switcher and hreflang alternates on every page, localized copy
buttons, and the 0.3 features (six briefing languages, sources in any language, Canada and
Oceania) on the home and how-it-works pages (#84). - Site: a copy button on every code block.
Changed
- Sources in any language: profile
keyword_languageskeeps English/Portuguese keywords from
down-ranking items in other languages, translated headlines that share names or numbers
cluster across languages, and the scoring prompt judges content, not language (#59). - The
latam-*andeu-*profile rubrics name every covered country (all of Latin America and
the Caribbean, all of Europe) and judge a story from a small country by its reach, so it scores
on regional impact, markets, elections or central-bank moves without lowering the bar (#94). - The history store keeps the headline and summary of every output language (
texts_json) and
searches across all of them; old stories stay searchable after the migration (#99). - The
herald notify preview --samplebriefing is written in all six output languages (#99). - Site: the language switcher shows short codes (EN PT ES FR IT DE) on one line below 60rem and
full names on wider screens; screen readers always hear the full name (#103). - GitHub Actions moved off the deprecated Node.js 20 runtime:
checkoutv7,cachev6,
upload-artifactv7,configure-pagesv6,upload-pages-artifactv5,deploy-pagesv5,
setup-uvv10.4.0 and the Docker actions (setup-buildxv4,loginv4,metadatav6,
build-pushv7) (#56). docs/sources-report.mdregenerated for the new catalog; headline figures updated in the
READMEs, docs and site (#85).
Fixed
- The history store opens cleanly when another process migrated it first (#99).
- Catalog hygiene in the new source files: YAML aliases expanded, duplicate entries and
unverified 403 feed URLs dropped, a clashing source id renamed, andoceania-sportsplaced in
the Oceania region. - Site: code blocks use the standard copy icon instead of a text button.