Signal Briefing
An AI-enriched intelligence briefing pipeline that pulls from a mix of public sources, filters the noise, and renders a focused scannable report.
At a glance
- Problem
- A busy executive has no time to sift the daily firehose of news feeds, regulatory filings, official rulemaking documents and contract data.
- My role
- I designed, built and run it as a scheduled Python pipeline, working in Claude Code.
- Result
- A proof of concept for a hypothetical executive: on a schedule it delivers a scannable briefing by email and on the web, and flags any source that was slow or broken.
- Harbor Goods' quarterly refresh landed nine days faster than the category norm, pulling forward a signal we'd otherwise have seen next session.
- Larkspur Labs' margin-compression story has now been corroborated by a second independent source. Promote out of the watchlist.
- Altitude Outfitters swapped their primary supplier from Northwind to Kepler Supply, reshaping category-wide lead times.
- Community mentions of the new category-B format climbed from three last session to eleven, early but non-trivial.
- review Confirm Harbor Goods refresh with a second-source check.
A faster-than-usual refresh reshapes near-term pricing and triggers the reprice playbook, so a second-source confirmation is the first ask.
Source · Trade Wire · Session 0421
- decide Greenlight the Larkspur Labs deep-dive before the Friday sync.
Second corroborating source promotes this signal above the threshold for a coverage decision. Leaving it until Monday costs a session.
Source · Market Notes · Session 0421
- review Flag the Northwind → Kepler Supply swap to supply leads.
Lead-time shift cascades through three downstream categories where we hold positions. Supply-chain leads should see this today.
Source · Supplier Wire · Session 0420
- monitor Watch the category-B mention cluster for one more session.
Mention volume is up meaningfully session-over-session but still below the action-item threshold; one more session tells us if it's structural.
Source · Forum Digest · Session 0421
- Faster refreshes across the category: Three peers shipped refreshes inside a 72-hour window, historically unusual outside a launch cycle.
- Supplier-side consolidation: Kepler Supply is absorbing a larger share of upstream orders, reshaping concentration risk for every mid-market brand in the category.
- Format experimentation picking up: Mentions of the new category-B format are climbing outside the usual peer set, suggesting a new entrant is testing.
Kepler Supply confirmed three new supply agreements with mid-market brands this session, extending a multi-week run of wins. The new deals cover category inventory through the end of the fiscal year.
With Kepler absorbing a larger share of mid-market orders, lead-time risk is concentrating on a single supplier, worth flagging to supply-chain leads ahead of the next planning cycle.
Market data shows a category-wide softening in unit pricing this session, coinciding with the rolling inventory refresh window. Early read is that the drop is window-specific rather than a structural shift.
Temporary pricing softness may open a short window for opportunistic inventory builds. A quick read from the trading desk would pay for itself.
Altitude Outfitters reported unit velocity meaningfully above their own forecast for the current window. The beat is attributed primarily to a new distribution channel rather than underlying demand.
The distribution-channel lift is reproducible; it's the kind of structural advantage worth benchmarking against before the next planning cycle.
Mention volume for the new category-B format climbed session-over-session across monitored community forums. Pattern is early but non-trivial.
illustrative content · invented companies
An animated story of Signal Briefing: a firehose of items from public sources is funnelled down to a handful for a hypothetical executive, tested by replaying recorded days against a golden file, watched by a watchdog, and delivered by email on a schedule.
At a glance
- Problem
- A busy executive has no time to sift the daily firehose of news feeds, regulatory filings, official rulemaking documents and contract data.
- My role
- I designed, built and run it as a scheduled Python pipeline, working in Claude Code.
- Result
- A proof of concept for a hypothetical executive: on a schedule it delivers a scannable briefing by email and on the web, and flags any source that was slow or broken.
Under the hood, for the technical folks
I built this as a scheduled Python pipeline, working in Claude Code. A fetcher layer handles several public data sources: regulatory filings, official rulemaking documents, contract data, news feeds, and public social/community posts. Each fetcher returns a typed envelope with the same shape so the downstream stages don’t need to care where an item came from.
The deduplication layer is backed by SQLite in write-ahead-log mode with a rolling time window. Production runs share a dedup namespace so a later run never re-delivers items an earlier run already sent. Test runs use a separate namespace so the simulation harness never contaminates production state, and the whole dedup database is backed up daily with rolling retention; every backup is integrity-checked on the way out, so a corrupted file gets deleted rather than silently kept.
The enrichment layer asks Claude to write a short summary of each kept item, categorize it, and extract the “so what.” Three synthesis blocks render at the top of every run: an at-a-glance overview, a callout for items that need immediate attention, and a set of daily themes. A separate weekly mode runs on Sunday and synthesizes the past seven daily archives into a digest structured around action signals and weekly themes rather than item-by-item summaries.
Two renderers (a responsive HTML email and a standalone web view) share a common data shape so the content stays in sync across formats. A simulation harness can replay a multi-day run against recorded fixtures with golden-file regression checks, so shape changes are visible in a diff before they ship. The whole pipeline runs on a self-hosted container with a watchdog that distinguishes a late run from a quiet failure: per-source fetch errors, empty results, and degraded output each get their own alert tag. The same code runs identically on macOS and Windows, with platform-specific handling for Chrome path detection, line endings, and file encoding so dev work can move between machines without surprise.
Technical highlights:
- A consistent typed envelope for items from every source, so downstream stages are source-agnostic
- SQLite with WAL mode for concurrent reads during a run, with a
prod|/test|key split so production state is never polluted by simulation - Rolling-window deduplication keyed on content-stable hashes so small text changes don’t re-deliver the same item
- Per-run diagnostics written directly into the rendered output: token counts, fallback counts, per-source fetch stats, and a degraded-source banner
- A template-driven enrichment layer so prompts are versioned, reviewable, and easy to diff
- Two renderers (email and web) with a shared data shape so content stays in sync across formats
- A simulation harness with recorded fixtures and golden-file regression, so the pipeline can be tested end-to-end without hitting any live API or burning any tokens
- Scheduled deployment on a self-hosted container with watchdog tags that distinguish empty runs, per-source fetch errors, and degraded output. A quiet briefing never reads as “all good”
- Daily backups of the dedup database with rolling retention, each one integrity-checked as it’s written, and a backup that fails the check is thrown away rather than trusted
- A weekly digest mode that aggregates seven days of archived runs into a Sunday-only synthesis, on its own schedule and rendering
- The same rendered output whether I run it on the Mac or the Windows box, with Chrome path detection, line endings and file encoding each handled per platform
What I wanted
Senior leaders don’t have time to sift the daily firehose of news, regulatory updates, contract activity and public filings, yet those inputs shape the decisions they make next week. I wanted to test whether AI could reliably bring back the handful of items that matter each day, and the decisions that might follow from them: a tool an executive could lean on, not a slide about one.
How I got it
The calls to Claude produced decent summaries from the first run. The hard part was the engineering around the model: deciding an item was already delivered, handling a slow source, testing a multi-day run without hitting live services. A briefing that’s sometimes wrong is worse than none, because the executive just stops trusting it, so most of the work went into those reliability layers.
Later rounds widened what “reliable” means. The watchdog went from “tell me if a run is late” to “tell me which source failed, which run came back empty, which one shipped without all its parts”. A backup that fails its integrity check is deleted rather than kept, because a backup you can’t restore from is just a file. And a replay harness reruns recorded days against new code and diffs the output against a golden file, so I see exactly what shifted before it ships, without burning tokens.
What it does
On a schedule, the pipeline pulls from a handful of public sources, drops anything it has already delivered, asks Claude to summarize and categorize the rest, and renders a scannable report, readable as an email or on a web page. The top of each run surfaces the items most worth an executive’s time and calls out anything to act on today. If a source was slow or broken, a banner says which one, so a quiet briefing never silently means “you missed something.”
Once a week, on Sunday, it rolls the past seven briefings into a digest that looks for second-order patterns: a name that showed up in three different filings, a topic hinted at twice before it was announced.
Why it matters to me
It was a proof of concept for a hypothetical executive: could AI be an always-on chief of staff that watches the firehose, brings back what matters and is honest about what it isn’t sure of? That’s why the project kept coming back to trust. Nobody spot-checks every summary, so the tool has to earn confidence on its own, by handling its bad days visibly and never quietly dropping a source.
What I learned
The lesson I’d carry into the next pipeline is about changing it safely. Something that runs on a schedule against live sources is awkward to improve: every real run spends tokens, and a mistake lands in the inbox. The replay harness is what let me keep changing this one anyway, and the separate test namespace kept those experiments out of what production had already delivered.
If I built another pipeline like this, the replay would come first: a way to rerun recorded days against the new code and see exactly what changed.
This project taught me that useful AI products depend a lot more on reliability and state management than on the prompt itself. The model handles the summarizing; everything around it is what makes the result trustworthy.