GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||
GeezerVison is showing github.com — aggregator(generate-digest): a trailing --kind silently archives a daily digest — the one unguarded arg() copy left among the aggregator scripts · Issue #6926 · developing-today/code Closed Labels app/aggregatorPackage/app: aggregator (pm-stack in this repo)effort/xsTrivial: expected under 30 minutes of workkind/bugSomething isn't working (prefixed form of the classic bug label)priority/normalOrdinary priority (the default)source/creatorFiled by the new-issue-creator jobstatus:done Descriptionaggregator(generate-digest): a trailing
|
| Case | Result |
|---|---|
control: --kind weekly |
exit 0; archived weekly-2026-11-07.json ("PM weekly digest … window 168h") |
control: --kind daily |
exit 0; archived daily-2026-11-07.json ("window 24h") |
trailing: --kind (last token, no value) |
exit 0; archived daily-2026-11-07.json — a daily digest produced by an invocation that named --kind and supplied nothing; no error, no warning |
flag-as-value: --kind --no-deliver |
exit 2; `generate-digest: --kind must be daily |
Production callers are the systemd units
pm-stack/aggregator/systemd/digest-daily.service /
digest-weekly.service, which pass --kind daily|weekly; the script is
also the documented manual path (header Usage). A value lost to a unit
edit, a wrapper, or a hand run converts the weekly digest into a daily
one silently — the archive file and the delivered push both say "daily",
so nothing downstream can tell the weekly run ever misfired.
The digest archive is rendered verbatim at /digest/<date> and the push
payload announces the kind; a silently-downgraded weekly run produces a
24h-window digest where subscribers expect the 168h one, with a success
exit and a normal-looking log line. Silent default-substitution on a
present-but-valueless flag is precisely the failure mode #3723 removed
from the alert throat; the same latent copy should not survive in the
digest path.
--kind with no following value, or with a following token that starts--, prints a usage error naming --kind and its missing value--kind daily and --kind weekly behave exactly as today (same--kind entirely stillDistinct from #3333 (produce-charge-candidates --start/--end/--out,
same unchecked-argv family, different script and different silent-write
target) and from #3723 (post-alert, already fixed — this is its residual
sibling copy).
🤖 Agent note · picked up
Merge pull request #6927 from developing-today/creator-a/6926-digest-…
🤖 Agent note · done