← Back to brief

reference postcard ledger

memory · reference_postcard_ledger.md

What it does

Closes the postcard prospecting loop in three directions:

1. Backwards — mines email + transcripts for postcards that ALREADY went out, so the system knows exactly who has been mailed
2. Sideways — syncs SoT (master workbook Lead Details tab) ↔ HubSpot on postcard send-history (single source of truth)
3. Forwards — produces a ready-to-email Excel file of the next mailing round + composes the handoff email to Jasmine + Rachel

Files

Cron

0 10 1 — Mondays at 10am MDT. After Joseph's standing 11:30 Rachel 1:1 and after the morning brief; gives Joseph midweek window to review the file before sending to Jasmine for print.

Plus: SkyRun QB can trigger postcard-ledger on demand any time.

SoT ledger columns (added to Lead Details tab)

ColumnTypePurpose
POSTCARD ROUNDScomma-separated YYYY-MM-DDappend-only history of every postcard send
LAST POSTCARDYYYY-MM-DDmost-recent send (computed)
POSTCARD COUNTinttotal send count (computed)
NEXT ROUND ELIGIBLEboolcomputed during build_next_round
Added rightmost; doesn't break any column-index-dependent skill.

Next-round criteria (defaults; configurable via skill args)

Outputs every fire

Hard rules (per Office toolchain + DNC + drafting standards)

Manual operation

bash

Status — what's the ledger know right now?

python3 "$HOME/Library/Application Support/SkyRun/postcard_ledger.py" status

Ingest manually (events.json with confirmed sends)

python3 "$HOME/Library/Application Support/SkyRun/postcard_ledger.py" ingest --events /path/to/events.json

Build next round

python3 "$HOME/Library/Application Support/SkyRun/postcard_ledger.py" build_next_round --cap 75 --min-score 50 --cooldown-days 60

Differs from postcard-updater (existing skill)

The two skills are complementary; both can run without conflict.

Tuning notes

After 4 weekly rounds:

Phase 2 (when adam-bd activates first market)

Same pattern scaffolds into ~/.claude/scheduled-tasks/adam-bd-postcard-ledger/ with operator-namespaced paths and per-market workbook references. Bootstrap-package skills-skeleton/_DISABLED/ gets a postcard-ledger template.

Origin

Built 2026-04-27 in response to Joseph's framing: "the system to know and understand by way of mining data from email tracks with jasmine and rachel and any other person involved in that conversation in addition to an additional scan for any other correspondence related to postcards. SoT and hubspot should always be in sync and while keeping up with what leads have been sent postcards, that list should be consistently be getting updated with new postcard recipients in a file that I can easily send to Jasmine and Rachel for the next round of sends." — built immediately, closes Gap A from the prospecting-loop walkthrough.