M2 tracking: stand-ups, review, retro #50

Closed
opened 2026-11-11 20:21:19 +00:00 by chris-kreidl · 13 comments
chris-kreidl commented 2026-11-11 20:21:19 +00:00 (Migrated from github.com)

🤖 Claude: Milestone goal: A daily refresh takes minutes: incremental SEC updates, batched prices, and resumable jobs with progress.

Stories: #12 (5) #13 (3) #14 (2) #15 (5): 15 points

Cadence: no fixed dates. Work happens as time allows; one story in progress at a time.

Stand-ups: a comment here (done / next / blockers) when a story starts and when its PR opens. Each PR's Definition of Done has a checkbox for it (#49).

Review and retrospective (went well / didn't / one change) are posted here when the milestone reaches 100%, followed by a tag and GitHub release.

🤖 **Claude:** **Milestone goal:** A daily refresh takes minutes: incremental SEC updates, batched prices, and resumable jobs with progress. **Stories:** #12 (5) #13 (3) #14 (2) #15 (5): 15 points **Cadence:** no fixed dates. Work happens as time allows; one story in progress at a time. **Stand-ups:** a comment here (done / next / blockers) when a story starts and when its PR opens. Each PR's Definition of Done has a checkbox for it (#49). **Review and retrospective** (went well / didn't / one change) are posted here when the milestone reaches 100%, followed by a tag and GitHub release.
chris-kreidl commented 2026-11-11 20:24:51 +00:00 (Migrated from github.com)

🤖 Claude: Backlog refinement: proposed acceptance criteria are posted on #12, #13, #14 and #15, each with open questions for Chris.

Suggested order: #14 → #13 → #12 → #15

  • #13 can't ship before #14. Batched quotes have no sector, and since #45 an unknown sector excludes a company.
  • #15 goes last, so it resumes the final versions of the refresh and enrich steps.

Once the questions are answered, I'll move the agreed criteria into each issue's body.

🤖 **Claude:** **Backlog refinement:** proposed acceptance criteria are posted on #12, #13, #14 and #15, each with open questions for Chris. **Suggested order: #14 → #13 → #12 → #15** - #13 can't ship before #14. Batched quotes have no sector, and since #45 an unknown sector excludes a company. - #15 goes last, so it resumes the final versions of the refresh and enrich steps. Once the questions are answered, I'll move the agreed criteria into each issue's body.
chris-kreidl commented 2026-11-11 20:54:13 +00:00 (Migrated from github.com)

I agree on the order and have listed 13 as being blocked by 14.

I agree on the order and have listed 13 as being blocked by 14.
chris-kreidl commented 2026-11-12 01:14:07 +00:00 (Migrated from github.com)

🤖 Claude: Stand-up

  • Done: refined #14 (Cache sector and industry). Acceptance criteria are final: cache keyed by CIK, 90-day refresh.
  • Next: #14 on branch 14-sector-cache, tests first.
  • Blockers: none. PR #49 (M1 retro: PR template stand-up box) is awaiting review.
🤖 **Claude:** **Stand-up** - **Done:** refined #14 (Cache sector and industry). Acceptance criteria are final: cache keyed by CIK, 90-day refresh. - **Next:** #14 on branch `14-sector-cache`, tests first. - **Blockers:** none. PR #49 (M1 retro: PR template stand-up box) is awaiting review.
chris-kreidl commented 2026-11-12 02:27:59 +00:00 (Migrated from github.com)

🤖 Claude: Stand-up

  • Done: #14 (Cache sector and industry) is ready for review in PR #52. On real data, the second run made 0 profile lookups (the first made 1,591).
  • Next: #13 (Batched Yahoo quotes), once #52 is merged.
  • Blockers: none. Observation: Yahoo stopped returning market caps for 7 tickers between runs, so those companies dropped out of the ranking (details in #52).
🤖 **Claude:** **Stand-up** - **Done:** #14 (Cache sector and industry) is ready for review in PR #52. On real data, the second run made 0 profile lookups (the first made 1,591). - **Next:** #13 (Batched Yahoo quotes), once #52 is merged. - **Blockers:** none. Observation: Yahoo stopped returning market caps for 7 tickers between runs, so those companies dropped out of the ranking (details in #52).
chris-kreidl commented 2026-11-12 13:16:34 +00:00 (Migrated from github.com)

🤖 Claude: Stand-up: starting #13 (Batched Yahoo quotes)

  • Done: #14 (sector cache) merged.
  • Next: #13. Prices and market caps from batched quote() calls of up to 100 symbols. Sectors still come from #14's cache, with a profile lookup only on a miss. Following the revised criteria on #13. Q1 (moving the sector criterion to #14) was settled when #14 shipped. Q2 is still open, so I'm keeping 5 minutes as the bound.
  • Blockers: none. Parity and timing on real data have to be checked locally.
🤖 **Claude:** **Stand-up: starting #13 (Batched Yahoo quotes)** - **Done:** #14 (sector cache) merged. - **Next:** #13. Prices and market caps from batched `quote()` calls of up to 100 symbols. Sectors still come from #14's cache, with a profile lookup only on a miss. Following the revised criteria on #13. Q1 (moving the sector criterion to #14) was settled when #14 shipped. Q2 is still open, so I'm keeping 5 minutes as the bound. - **Blockers:** none. Parity and timing on real data have to be checked locally.
chris-kreidl commented 2026-11-12 13:20:02 +00:00 (Migrated from github.com)

🤖 Claude: Stand-up: #13 ready for review

  • Done: PR #53. Prices now come from 16 batched quote() calls, and enrich takes 17 s instead of ~28 min. On real data the same companies are priced as before, with the same sectors.
  • Next: waiting for your review of #53.
  • Blockers: none. One finding for you: Yahoo's market cap for WAT and SUPN jumped overnight (same on both endpoints). Details are in the PR. Your call whether it needs an issue.
🤖 **Claude:** **Stand-up: #13 ready for review** - **Done:** PR #53. Prices now come from 16 batched `quote()` calls, and enrich takes 17 s instead of ~28 min. On real data the same companies are priced as before, with the same sectors. - **Next:** waiting for your review of #53. - **Blockers:** none. One finding for you: Yahoo's market cap for WAT and SUPN jumped overnight (same on both endpoints). Details are in the PR. Your call whether it needs an issue.
chris-kreidl commented 2026-11-12 13:38:24 +00:00 (Migrated from github.com)

🤖 Claude: Stand-up: starting #12

  • Done: #13 merged (PR #53).
  • Next: #12, incremental SEC refresh from the EDGAR daily index. Acceptance criteria accepted: 30-day gap limit, state in SQLite, 5 requests/second.
  • Blockers: none.
🤖 **Claude:** **Stand-up: starting #12** - **Done:** #13 merged (PR #53). - **Next:** #12, incremental SEC refresh from the EDGAR daily index. Acceptance criteria accepted: 30-day gap limit, state in SQLite, 5 requests/second. - **Blockers:** none.
chris-kreidl commented 2026-11-12 13:54:54 +00:00 (Migrated from github.com)

🤖 Claude: Stand-up: #12 ready for review

  • Done: PR #54. Refresh reads SEC's daily form index and re-downloads only companies that filed a 10-K. On real data, a refresh one day after a full one took 2 s (7 10-Ks), versus 138 s for the bulk zip. analyze and rank results are identical to a --full run.
  • Next: waiting for your review of #54.
  • Blockers: none. One question for you in the PR: 10-Ks that never reach SEC's API are dropped after 30 days.
🤖 **Claude:** **Stand-up: #12 ready for review** - **Done:** PR #54. Refresh reads SEC's daily form index and re-downloads only companies that filed a 10-K. On real data, a refresh one day after a full one took 2 s (7 10-Ks), versus 138 s for the bulk zip. `analyze` and `rank` results are identical to a `--full` run. - **Next:** waiting for your review of #54. - **Blockers:** none. One question for you in the PR: 10-Ks that never reach SEC's API are dropped after 30 days.
chris-kreidl commented 2026-11-12 16:28:14 +00:00 (Migrated from github.com)

🤖 Claude: Stand-up: starting #15 (Resumable job runner)

  • Done: #12 merged (PR #54).
  • Next: #15, a jobs table with progress, detection of interrupted runs, resume for refresh and enrich, and one run per step at a time. Criteria accepted, with two decisions: keep all job history, and don't resume analyze. Chris added one criterion: an interrupted run can also be started over from the beginning. SEC's bulk zip supports Range requests (206 with an ETag), so the bulk download can resume.
  • Blockers: none.
🤖 **Claude:** **Stand-up: starting #15 (Resumable job runner)** - **Done:** #12 merged (PR #54). - **Next:** #15, a `jobs` table with progress, detection of interrupted runs, resume for refresh and enrich, and one run per step at a time. Criteria accepted, with two decisions: keep all job history, and don't resume analyze. Chris added one criterion: an interrupted run can also be started over from the beginning. SEC's bulk zip supports Range requests (206 with an ETag), so the bulk download can resume. - **Blockers:** none.
chris-kreidl commented 2026-11-12 16:41:57 +00:00 (Migrated from github.com)

🤖 Claude: Stand-up: #15 ready for review

  • Done: PR #55. Every step run is recorded in jobs, with one run per step at a time. Interrupted refresh and enrich runs resume; --restart or "Start over" starts them from the beginning. On real data, enrich killed at batch 8 of 16 re-priced only the remaining 693 tickers, and the bulk download killed at 283 MB resumed at 290 MB with a Range request.
  • Next: waiting for your review of #55. That's the last story in M2, so the milestone review and retro come next.
  • Blockers: none. Two questions for you in the PR: should failed runs (not just interrupted ones) resume, and should resumed quotes have an age limit? I also fixed a bug found in the demo: Ctrl-C during a progress bar never stopped the CLI.
🤖 **Claude:** **Stand-up: #15 ready for review** - **Done:** PR #55. Every step run is recorded in `jobs`, with one run per step at a time. Interrupted refresh and enrich runs resume; `--restart` or "Start over" starts them from the beginning. On real data, enrich killed at batch 8 of 16 re-priced only the remaining 693 tickers, and the bulk download killed at 283 MB resumed at 290 MB with a Range request. - **Next:** waiting for your review of #55. That's the last story in M2, so the milestone review and retro come next. - **Blockers:** none. Two questions for you in the PR: should failed runs (not just interrupted ones) resume, and should resumed quotes have an age limit? I also fixed a bug found in the demo: Ctrl-C during a progress bar never stopped the CLI.
chris-kreidl commented 2026-11-12 18:06:02 +00:00 (Migrated from github.com)

🤖 Claude: M2 review and retrospective

Review

Goal: a daily refresh takes minutes: incremental SEC updates, batched prices, and resumable jobs with progress.

Met. All 4 stories (#12–#15) closed in 4 PRs (#52–#55), between Nov 11 (backlog refinement) and Nov 12. Today bun run pipeline runs every step end to end in about 1 minute:

Step Before M2 After M2
refresh (normal day) ~138 s bulk zip ~2 s, daily index (#12)
enrich ~28–35 min ~17 s, 16 batched quotes + sector cache (#13, #14)
interrupted run starts over resumes: enrich at the next batch, the bulk zip at the byte it reached (#15)
  • Plan vs. actual: 4 stories planned, 4 delivered, no scope added. Real data turned up two bugs during #15. Both were fixed in the PR, since the criteria needed them: Ctrl-C never stopped the CLI during a progress bar (present since #48), and a database from before #15 crashed the CLI.
  • Ready for M3: the jobs table is what #18 ("Start jobs from the UI with live progress") reads.
  • Decisions still open (asked in PRs, not answered yet):
    1. #54: a 10-K that never appears in SEC's API is dropped after 30 days. Keep that?
    2. #55: should a failed run resume too, not only an interrupted one?
    3. #55: should a resumed enrich have an age limit on reused quotes?

Went well

  • Last retro's change worked. With the stand-up checkbox in the Definition of Done, every story got a start and a ready-for-review stand-up on #50. In M1, stand-ups had stopped by Nov 6.
  • Refining the backlog before starting paid off. Criteria and questions were on all four issues before any code. Chris's ordering (#14 before #13) meant #13 built on the sector cache instead of reworking it. Chris added a criterion to #15 at the start, not at review.
  • Fast steps made real-data checks cheap. Every M2 PR ticked "runs on real data" with evidence. In M1, I left that box to Chris twice because the runs were too slow.
  • Real data still finds what tests don't. Both #15 bugs showed up only in the real-data demo.

Didn't go well

  • Product questions get asked in PRs, then merged unanswered. The three decisions above sat in PR descriptions, so merging implicitly accepted my default. That isn't the "product decisions go to Chris" the workflow intends.
  • Interactive and signal paths have no tests. The Ctrl-C bug lived through all of M2 because no test sends a signal or drives the menu. I checked the menu hints and the resume prompt by hand, in a pseudo-terminal.
  • My #15 tests assumed a fresh database. Each test called ensureSchema first, so none covered upgrading an existing database. There's a test for that now. The broader lesson: any schema change needs a test that starts from the previous schema.

One change

An open product question in a PR becomes its own issue (label question, on the board) before the PR's ready-for-review stand-up. The PR links it. Merging then no longer decides it silently, and it stays visible on the board until Chris answers. I'll file the three questions above that way if you agree.

Backlog candidate (not a process change): a CLI test that runs cli.ts in a pseudo-terminal, to cover the menu, the resume prompt, and Ctrl-C.

Next

Once you've added your notes: close #50, tag v0.2.0 with a GitHub release, then M3 (#51).

Chris: add your own went well / didn't / change below.

🤖 Generated with Claude Code

🤖 **Claude:** **M2 review and retrospective** ### Review **Goal:** a daily refresh takes minutes: incremental SEC updates, batched prices, and resumable jobs with progress. **Met.** All 4 stories (#12–#15) closed in 4 PRs (#52–#55), between Nov 11 (backlog refinement) and Nov 12. Today `bun run pipeline` runs every step end to end in **about 1 minute**: | Step | Before M2 | After M2 | |---|---|---| | refresh (normal day) | ~138 s bulk zip | ~2 s, daily index (#12) | | enrich | ~28–35 min | ~17 s, 16 batched quotes + sector cache (#13, #14) | | interrupted run | starts over | resumes: enrich at the next batch, the bulk zip at the byte it reached (#15) | - **Plan vs. actual:** 4 stories planned, 4 delivered, no scope added. Real data turned up two bugs during #15. Both were fixed in the PR, since the criteria needed them: Ctrl-C never stopped the CLI during a progress bar (present since #48), and a database from before #15 crashed the CLI. - **Ready for M3:** the `jobs` table is what #18 ("Start jobs from the UI with live progress") reads. - **Decisions still open** (asked in PRs, not answered yet): 1. #54: a 10-K that never appears in SEC's API is dropped after 30 days. Keep that? 2. #55: should a *failed* run resume too, not only an interrupted one? 3. #55: should a resumed enrich have an age limit on reused quotes? ### Went well - **Last retro's change worked.** With the stand-up checkbox in the Definition of Done, every story got a start and a ready-for-review stand-up on #50. In M1, stand-ups had stopped by Nov 6. - **Refining the backlog before starting paid off.** Criteria and questions were on all four issues before any code. Chris's ordering (#14 before #13) meant #13 built on the sector cache instead of reworking it. Chris added a criterion to #15 at the start, not at review. - **Fast steps made real-data checks cheap.** Every M2 PR ticked "runs on real data" with evidence. In M1, I left that box to Chris twice because the runs were too slow. - **Real data still finds what tests don't.** Both #15 bugs showed up only in the real-data demo. ### Didn't go well - **Product questions get asked in PRs, then merged unanswered.** The three decisions above sat in PR descriptions, so merging implicitly accepted my default. That isn't the "product decisions go to Chris" the workflow intends. - **Interactive and signal paths have no tests.** The Ctrl-C bug lived through all of M2 because no test sends a signal or drives the menu. I checked the menu hints and the resume prompt by hand, in a pseudo-terminal. - **My #15 tests assumed a fresh database.** Each test called `ensureSchema` first, so none covered upgrading an existing database. There's a test for that now. The broader lesson: any schema change needs a test that starts from the previous schema. ### One change **An open product question in a PR becomes its own issue (label `question`, on the board) before the PR's ready-for-review stand-up.** The PR links it. Merging then no longer decides it silently, and it stays visible on the board until Chris answers. I'll file the three questions above that way if you agree. Backlog candidate (not a process change): a CLI test that runs `cli.ts` in a pseudo-terminal, to cover the menu, the resume prompt, and Ctrl-C. ### Next Once you've added your notes: close #50, tag `v0.2.0` with a GitHub release, then M3 (#51). Chris: add your own went well / didn't / change below. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chris-kreidl commented 2026-11-13 13:41:22 +00:00 (Migrated from github.com)

🤖 Claude: Open M2 decisions: answered

  1. #54, a 10-K that never appears in SEC's API: keep it as it is. It's dropped after 30 days and listed once as expired.
  2. #55, should a failed run resume: yes, for refresh. Filed as #56 (backlog).
  3. #55, an age limit on reused quotes: no age limit. Enrich stops resuming and starts over after an interruption, so prices always come from a single run. It takes about 17 s, and sector lookups stay cached. Filed as #57 (backlog). This replaces the enrich part of #15's resume criterion.
🤖 **Claude:** **Open M2 decisions: answered** 1. **#54, a 10-K that never appears in SEC's API:** keep it as it is. It's dropped after 30 days and listed once as expired. 2. **#55, should a failed run resume:** yes, for refresh. Filed as #56 (backlog). 3. **#55, an age limit on reused quotes:** no age limit. Enrich stops resuming and starts over after an interruption, so prices always come from a single run. It takes about 17 s, and sector lookups stay cached. Filed as #57 (backlog). This replaces the enrich part of #15's resume criterion.
chris-kreidl commented 2026-11-13 13:51:06 +00:00 (Migrated from github.com)

🤖 Claude: M2 retro wrapped up: the three open decisions are answered (see above), the new rule is merged in #59, and the follow-ups are in the backlog as #56, #57 and #58. No further notes from Chris. Tagging v0.2.0 next.

🤖 **Claude:** M2 retro wrapped up: the three open decisions are answered (see above), the new rule is merged in #59, and the follow-ups are in the backlog as #56, #57 and #58. No further notes from Chris. Tagging `v0.2.0` next.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ckreidl/screener#50
No description provided.