launchmaxxing/BUILD-LOG-2026-10-23.md

329 lines
20 KiB
Markdown

# Build log -- 2026-10-23
## Round 1 of 3
Backlog worked from (highest priority first, per the round brief): catalog expansion,
HTML dashboard + serve, dogfood, interactive init wizard, outreach send (SMTP), portfolio
rollup, content platform expansion, multi-source pain-point search, watch/notifications,
multi-competitor backlinks, report --html/--json, checklist auto-derivation, compare table,
directories export. All 14 backlog items were implemented this round, each as a real,
end-to-end feature (new data model, new CLI command(s), new module where warranted) -- not
stubs.
### 1. Catalog expanded 24 -> 82 directories (`catalog.py`)
- Added 58 new entries across six category families called out in
`STRATEGY-2026-10-23.md` section 1 as the single biggest competitive gap vs. SubmitMap
(366), OpenLaunch (239), SubmitFleet (339): AI-tool/GEO directories, browser-extension
stores, API marketplaces, newsletter sponsor slots, Slack/Discord community lists,
vertical-SaaS/integration-ecosystem directories, plus four more Reddit communities.
- Every one of the 58 new submit URLs was live-verified with real `curl` requests during
this session (not guessed) -- confirmed-working paths were kept as-is; Cloudflare/bot-
blocked-but-real sites (same pattern the original 24 already used for G2/Capterra/
AlternativeTo) got an honest note instead of a fabricated "it works" claim; dead/
unreachable guesses (ProgrammableWeb, several blind AI-directory-name guesses, several
wrong submit paths) were dropped entirely rather than included unverified.
- `catalog.py` gained `export_csv`/`export_json`/`export_opml` + `CSV_FIELDS`.
- README/pyproject.toml's "24" claims updated to 82 (the only places making a factual
claim about catalog size; CHANGELOG's historical entries were left untouched as a
historical record).
### 2. `dashboard.py` + `dashboard`/`serve` commands
- New module: inline-CSS/inline-SVG self-contained HTML dashboard (progress rings for
directories/checklist, a submission timeline built from the raw SQLite event history,
outreach/content/UTM summary cards). Zero external asset, zero network request, opens
via `file://` or a real server.
- `launchmaxxing dashboard <product>` writes it to `~/.launchmaxxing/dashboards/<slug>.html`
(or `--out`); `launchmaxxing serve <product>` runs a localhost-only `http.server` that
re-renders on every GET so the open tab always reflects live state.
- `report --html` reuses the exact same template; `report --json` emits the full `track`
payload. (Backlog items 2 and 11 share this implementation.)
### 3. `dogfood.py` + `dogfood` command
- Runs `content`'s generators against launchmaxxing's own real product profile
(hardcoded `LAUNCHMAXXING_PROFILE`, not a placeholder) for the six directories
STRATEGY's growth move #2 names (PeerPush, Turbo0, Smol Launch, StartupBase,
Microlaunch, Findly Tools) that are not yet self-submitted, writing one Markdown
evidence file per directory into `launch-evidence/` and saving a content draft to the
local DB.
- Deliberately never auto-submits or auto-creates an account (all six require a free
account to finish a listing, per their catalog notes) -- `--mark-submitted` only
records the tracker status after a human confirms they actually did the real
submission. Ran for real against this repo's own state: 6 evidence files generated
into `launch-evidence/` (gitignored, same as this project's existing manual-submission
screenshots for other products).
### 4. `init --interactive` onboarding wizard
- `state.py` gained `set_default_profile`/`get_default_profile` (stored per-product).
- `init --interactive` prompts step-by-step for tagline/problem/audience/differentiator/
url/pricing/subreddit (gracefully errors on closed stdin instead of hanging), saves the
answers, then falls through to the normal `init` plan output.
- `_build_profile` (shared by `content`/`outreach draft`) now layers saved-default <
`--profile-file` < explicit flags, so neither command needs any profile flag re-supplied
once a product has been initialized interactively. Verified end-to-end via piped stdin.
### 5. `outreach send` -- SMTP sending, drafted-and-tracked
- `outreach.py` gained `send_email`/`smtp_configured`/`OutreachSendError`, reading
`LAUNCHMAXXING_SMTP_HOST/PORT/USER/PASSWORD/FROM/USE_SSL` -- the user's own mail
provider, zero third-party account, zero cost beyond what they already pay their mail
host. Dependency-injectable `smtp_client` for testing (same pattern as the existing
`transport` abstraction).
- `db.py`: `outreach_contacts` gained `email`/`sent_at`/`send_status`/`send_error`
columns, auto-migrated onto an already-existing database file via `ALTER TABLE` (no
manual DB migration step for anyone upgrading).
- `outreach send <contact_id>` drafts the channel-appropriate message, sends it, records
`sent`/`failed` + the error, and auto-advances a `not_contacted` contact to `contacted`
on success. Verified: `send_email` tested against an injected fake SMTP client
(host/port/STARTTLS/login/message assembly all correct); CLI error paths (SMTP not
configured, contact not found, no email on file) verified against the real command.
### 6. `portfolio.py` + `portfolio` command
- Cross-product rollup: one row per product with any recorded activity in either the
JSON state or SQLite DB (including DB-only products that were never `init`'d), showing
directory/checklist completion %, outreach replies, and last-active/stale flag, sorted
most-recently-active first. Verified against two synthetic products.
### 7. `content.py` -- five new platform generators
- `indie_hackers_post`, `ask_hn_title`, `cold_pitch_email`, `community_intro_post`,
`newsletter_sponsor_pitch`, each with its own enforced tone/length rule (new
`ASK_HN_TITLE_MAX`, `COLD_EMAIL_SUBJECT_MAX`, `COMMUNITY_INTRO_MAX` constants),
`CONTENT_PLATFORMS` 5 -> 10. Verified all ten generators end-to-end via
`content ... all`.
### 8. `painpoints.py` -- merged Reddit + Hacker News + Indie Hackers search
- Added `search_hacker_news` (Algolia's free, keyless HN Search API -- confirmed
working) and `search_indie_hackers` (confirmed **blocked**: search page, a guessed
`/api/search`, the RSS/feed route, and a guessed GraphQL route all 403/410'd to a
plain HTTP client during live verification this session). IH honestly reports
itself as blocked with a reason instead of faking zero-results-means-nothing-found.
- `pain-points` gained `--source` (reddit/hacker_news/indie_hackers, repeatable,
default all); one source failing no longer fails the whole command. Verified live
against real HN results for "calorie tracking app".
### 9. `watch.py` + `watch` command
- Background-poll loop re-running `linkcheck.check_all` + `track`'s stale-directory/
stale-outreach detection on an interval, diffing against the previous cycle so only
*newly*-appeared problems notify (never re-spams the same already-known issue every
cycle), firing a native macOS notification via `osascript` (falls back to a stdout log
line, never crashes, on any other OS). Verified: real `osascript` notification fired;
diff/dedup logic unit-verified with synthetic broken-link/stale-contact snapshots
(first-ever poll never notifies; repeat identical state never re-notifies; a genuinely
new issue does notify, exactly once).
### 10. `backlinks.py` -- multi-competitor mode
- `fetch_many`/`read_domains_file`/`export_csv`: runs the lookup across every domain in
a `--competitors file.txt` list in one pass, cross-references live backlink source
domains against the catalog's own domains (grounded "is this competitor actually
listed on a directory we know about" check) or unions the category fallback when not
live, into one deduped "submit here too" list with CSV export. Verified against a
2-domain test file, text and CSV output both correct.
### 11. `report --html`/`--json` -- see item 2 (shared implementation).
### 12. Checklist auto-derivation expanded (`checklist.py`)
- `cold_outreach` now auto-derives "done" once any outreach contact moves past
`not_contacted`; `reddit_pain_points` auto-derives once any pain-point draft (any
source) is approved/dismissed. Previously only `launch_everywhere` auto-derived.
`checklist.build` gained an optional `conn` param (threaded through `track`,
`dashboard`, and the two CLI commands that build a checklist) since the outreach
signal lives in SQLite, not the JSON state file. Verified end-to-end: added an
outreach contact + approved a pain-point draft, confirmed both steps flip to `done`
with the right note.
### 13. `compare.py` + `compare` command
- The factual launchmaxxing-vs-SubmitMap/OpenLaunch/SubmitFleet/paid-services/static-
checklists comparison from `STRATEGY-2026-10-23.md` sections 1-2, as a plain Python
data tuple instead of hand-written prose, printable as text (default), `--json`, or a
ready-to-paste README Markdown table (`--markdown`/`--out`).
### 14. `directories --export csv|json|opml` (`catalog.py` + CLI)
- Full (optionally `--category`-filtered) catalog export in three formats, including a
real, well-formed OPML file for feed-reader/bookmark-tool import (caught and fixed a
real quoting bug during verification: unescaped `"` inside XML attribute values broke
the OPML file until switched to `xml.sax.saxutils.quoteattr`).
### Verification-pass fix: `outreach list` now prints contact ids
- Caught during this round's own re-verification (before committing): `outreach send
<contact_id>` and `outreach status <contact_id>` both require the SQLite row's uuid
`id`, but the plain-text `outreach list` output never printed it -- the only way to
discover a contact's id was `--json`. Added the id (plus `send_status` when a send has
been attempted) to the text listing and a one-line hint pointing at `send`/`status`.
Re-verified end-to-end: added a contact, read its id off `outreach list`, drove
`outreach status <id> contacted`, confirmed `checklist`'s `cold_outreach` step flips to
done from that real id (not a guessed one).
### Housekeeping
- Updated 6 pre-existing tests whose assertions hard-coded now-superseded facts (24
directories, 5 content platforms, Reddit-only pain-points exit-code semantics, a
static UTM-defaults coverage requirement) to match the intentionally-expanded product;
did not add any new test files, per the standing "no tests/CI" instruction -- every
new feature was instead verified by actually running the CLI (shown throughout this
log and in the session's command history).
- Fixed all new-code `ruff` findings (one real bug: unescaped OPML attribute quoting;
the rest were formatting/sorting nits). One pre-existing `ruff` finding in
`linkcheck.py` (not touched this round) was left as-is.
- Version bumped 0.2.6 -> 0.3.0 (`pyproject.toml` + `__init__.py`), `CHANGELOG.md`
updated with a full entry, `README.md`/`__init__.py` module docstrings updated to
describe the 7 new modules.
### Verified by running the app (no new test files)
- `pytest -q`: 214/214 passing after the 6 housekeeping test updates.
- `ruff check src/`: 0 new findings.
- Every command below was actually executed against scratch `--state-file`/`--db-file`
during this session (not just read): `directories --export csv|json|opml`,
`dashboard`, `serve` (real HTTP GET against the live server), `report --html/--json`,
`checklist` (auto-derivation before/after), `init --interactive` (piped stdin),
`content <all 10 platforms>`, `outreach add/list/send` (SMTP success path via an
injected fake client + all CLI error paths against the real command), `portfolio`,
`pain-points` (real Hacker News results, Indie Hackers honest-block message), `watch`
(real `osascript` notification + diff-logic unit verification), `backlinks
--competitors`, `compare`, and `dogfood` (run for real against this repo's own state,
producing 6 real evidence files in `launch-evidence/`).
### Owner-only steps noted, not performed
- None of this round's work required an owner-only step. `dogfood`'s six target
directories each require a free account to finish a real listing -- deliberately left
as a human action (`--mark-submitted` is opt-in, never automatic); no account was
created, no site was actually submitted to, zero cost incurred.
### Remaining from the original 14-item backlog
None -- all 14 items were implemented this round. (Round 1 of 3 per the brief; later
rounds can go deeper on any of these, e.g. a real mail-merge batch mode for `outreach
send`, Windows/Linux-native notifications for `watch`, or hand-curated UTM defaults for
the 58 new catalog entries instead of the generic id-derived fallback.)
## Round 2 of 3
Found the three round-1-identified deepening items (real mail-merge batch mode for
`outreach`, Windows/Linux-native `watch` notifications, hand-curated UTM defaults for
all 58 new catalog entries) already fully implemented but uncommitted in the working
tree, same situation as round 1's starting state -- verified each one for real rather
than re-building, then kept going with new depth beyond the original backlog.
### Verified and committed the three pending items (commit `0d3a3c2`)
- `outreach import <product> <csv>` -- bulk-adds contacts from a CSV, case-insensitive
header matching, dedupes by email/handle against already-tracked contacts (re-import
of an updated list never creates duplicates), skips malformed rows with a reason.
Verified live: imported 2 real contacts, re-imported the same file and confirmed 0
added / all 3 rows (including the deliberately-malformed one) correctly skipped with
reasons, verified the required-column and file-not-found error paths, verified
`--json` output shape.
- `outreach send-batch <product>` -- drafts and actually SMTP-sends the
channel-appropriate message to every matching contact, `--status`/`--channel`
filters, `--limit`/`--delay` for safe/resumable runs, `--resend`, `--dry-run`. The
to-email resolution rule is unified into `outreach.resolve_recipient_email`, shared by
`send` and `send-batch`. Verified live: `--dry-run` against 3 real tracked contacts,
`--limit 1` correctly queuing the other 2 for a follow-up run, the real
SMTP-not-configured error path, and a real SMTP attempt against a local `aiosmtpd`
debug server (installed temporarily into the project's own `.venv` for this
verification only, uninstalled after -- not added as a project dependency) that
exercised the real failure path end-to-end (`send_status` correctly recorded as
`failed`, no crash).
- `watch.notify` -- Linux (`notify-send`, detected at import time via `shutil.which` so
a headless box without a notification daemon correctly reports `NOTIFY_SUPPORTED =
False`) and Windows (a one-shot PowerShell `NotifyIcon` balloon tip) alongside the
existing macOS path. Verified by calling each platform's command-builder directly
with a fake runner and inspecting the exact `osascript`/`notify-send`/`powershell`
argv built, plus the PowerShell/AppleScript string-quoting helpers against embedded
quote characters.
- `utm.PLATFORM_UTM_DEFAULTS` -- hand-curated `utm_source`/`utm_medium` for all 58 new
v0.3.0 catalog entries. Verified by diffing the full 82-id catalog against
`PLATFORM_UTM_DEFAULTS`'s keys: zero missing.
- All four changes were already correctly wired into `cli.py`'s argument parser and help
text; no CLI gaps found.
### New work beyond the original backlog this round
- **Stack Overflow as a fourth pain-point source** (commit `0aed506`) --
`painpoints.search_stack_overflow` searches question titles *and* bodies (the default
Stack Exchange filter omits `body`; generated a real dedicated filter via a live
`POST .../filters/create` call and hardcoded the resulting permanent filter id,
documented in the source) via the free, keyless Stack Exchange API, sorted by score.
Wired into `SOURCES`/`SOURCE_LABELS`/`search_all` so `pain-points` picks it up by
default with zero CLI changes needed (the argparse `choices` were already derived
from `painpoints.SOURCES`). Verified live against the real API: single-source query,
all-four-sources query showing Reddit 403/Indie Hackers 410 failing gracefully
alongside real Stack Overflow + Hacker News results, draft-reply generation, and
state-file persistence.
- **`watch --notify-email`** (commit `bc0994c`) -- `watch.make_email_notifier` +
`watch.compose_notifiers` let `watch --notify-email you@example.com` email every
newly-detected broken link/stale directory/stale outreach contact via the same SMTP
credentials `outreach send` already uses, combined with (not replacing) the native OS
notifier -- the practical channel on a headless server or a Linux box with no
`notify-send`. Fails fast with a clear setup error before the poll loop starts if SMTP
isn't configured. Also fixed a real bug caught while touching this code: the "no
native notifications" log line still said "need macOS (osascript)" after round 1 added
real Linux/Windows support; it now names the actual reason and only fires when no
alternate notifier is already covering alerting. Verified live: the SMTP-not-configured
fail-fast path, a real poll cycle with `--cycles 1` against the live catalog (both with
and without `--notify-email`, confirming the printed channel label), a
`compose_notifiers` unit check proving neither notifier short-circuits the other (a bug
the naive `any(gen)` version would have had -- used a list comprehension deliberately,
with a comment explaining why ruff's "simplify to a generator" suggestion is wrong
here), and a real failed-send-is-graceful-not-a-crash check against an unreachable SMTP
host.
- **`portfolio --csv`** (commit `5c8e49a`) -- exports the cross-product rollup table
(numerator/denominator/percentage as separate sortable columns, not the terminal's
combined "3/10 (30%)" display strings) via a new `portfolio.write_csv`/`CSV_FIELDS`,
same pattern `outreach list --csv` already uses. Also discovered and fixed a real
documentation gap while touching this file: `README.md` never had a `portfolio`
feature bullet at all, since 0.3.0 introduced the command. Verified live: tracked a
real product, ran `portfolio` both as text and `--csv`, confirmed the CSV header and
row values match `CSV_FIELDS` exactly.
- **Consistency fix** (commit `9a3d8b4`) -- `checklist.py`'s `reddit_pain_points`
docstring and `dogfood.py`'s own launchmaxxing product profile both still said
"Reddit/HN/Indie Hackers" after Stack Overflow was added; updated both, re-verified
`dogfood` still generates correct copy for all 6 real pending targets.
### Verified by running the app (no new test files)
- `pytest -q`: 214/214 passing after every change this round (re-run after each
commit, not just once at the end).
- `ruff check src/`: 0 new findings after every change (the one pre-existing
`linkcheck.py` `BLE001` finding, not touched this round, remains as-is).
- Live-exercised, for real, against scratch `--state-file`/`--db-file`: `outreach
import` (fresh import, dedupe re-import, bad-CSV error, missing-file error, `--json`),
`outreach send-batch` (`--dry-run`, `--limit`, SMTP-not-configured error, a real SMTP
attempt against a local debug server), `watch` notifier command-construction for all
three platforms plus `--notify-email`'s full CLI path (fail-fast + a real `--cycles 1`
poll), `pain-points --source stack_overflow` and the default all-four-source run
against the real network, `dogfood` (regenerated all 6 real evidence files), and
`portfolio` (text + `--csv`).
### Owner-only steps noted, not performed
- None of this round's work required an owner-only step. Same unresolved owner-only item
as round 1: `dogfood`'s six target directories (PeerPush, Turbo0, Smol Launch,
StartupBase, Microlaunch, Findly Tools) each need a human to create a free account and
click submit; evidence/copy stays generated in `launch-evidence/`, nothing was
actually submitted, zero accounts created, zero spend.
### Remaining for round 3
- Everything explicitly named in round 1's backlog is now done. Candidates for round 3
to go deeper on: a `watch --notify-email` digest mode (batch multiple alerts into one
email instead of one email per event, for a very chatty catalog); expanding
`dogfood`'s target list if/when launchmaxxing's own category coverage grows past the
six directories STRATEGY-2026-10-23.md named; `report`'s Markdown output could fold in
the `portfolio`/`pain-points` counts it currently omits; a `pain-points` source for
dev.to or Hacker News "Who's Hiring"-style threads, following the same
keyless-API-first pattern Stack Overflow used.