• v0.2.0 b1ce315abb

    chris-kreidl released this 2026-11-13 13:49:49 +00:00 | 5 commits to main since this release

    🤖 Claude: M2: Fast daily refresh. Review and retro: #50.

    A daily bun run pipeline now takes about a minute, end to end.

    What's in it

    • Incremental SEC refresh (#12): refresh reads SEC's daily form index and re-downloads only companies that filed a 10-K, in about 2 s instead of the ~138 s bulk zip. It falls back to the bulk zip on the first run, with --full, or after a gap of more than 30 days. A 10-K not yet in SEC's API is retried for up to 30 days. SEC requests are paced to 5 per second.
    • Batched Yahoo quotes (#13): prices and market caps come from batches of 100 symbols. Enrich takes about 17 s instead of ~28 min.
    • Sector cache (#14): sector profiles are cached by CIK and refreshed after 90 days, so enrich looks one up only on a cache miss.
    • Jobs and resume (#15): every step run is recorded in jobs with status and progress, and only one run of a step can be active at a time. An interrupted refresh or enrich resumes, including the bulk zip at the byte it reached; --restart or "Start over" starts it from the beginning. The CLI menu shows each step's last run.
    • Workflow: product questions raised during a story become question issues before review (#59).

    Known limits

    • A failed run starts over; only interrupted runs resume (#56).
    • A resumed enrich can mix prices from different days; enrich will start over instead (#57).
    • The interactive menu, the resume prompt and Ctrl-C have no automated tests (#58).
    • From M1, still open: possible debt double-count (#43), and stale tickers and prices on rows enrichment skips (#44).

    🤖 Generated with Claude Code

    Downloads