Queue: API agent B — Lane S (staging, low risk), sprint 2 (from 25 Oct)¶
Rule §24 (27 Oct): never ask Atul in chat; raise for-atul files, and write full https links (never "#176" or relative paths). Check open for-atul issues first; comment there if the request already exists.
Instructions: docs/agents/projects/api-lane-s-instructions.md (revised 24 Oct). After each step write runs/S<n>.md in MMDEP relay (docs/relay/api-lane-s/), then continue.
| Step | Do | Inputs | Output | Check | Then |
|---|---|---|---|---|---|
| S1 | MR clean-up: classify every open MR in api (23) and mm-crons (22) as merge, close or lane:prod; act on merge and close | collector latest.md | runs/S1.md table; at most 5 open per repo |
collector WIP flag clears | — |
| S2 | Staging data load from cleansed production data, per MMDEP docs/design/api-mmcron/stgapi/LLD-staging-isolation-and-load.md (items 1–8): first record the isolation proof (read-only: database names and users in stgapi's effective configuration, SHOW GRANTS for both staging users; no secret values) in runs/S2.md; then write the plan, then do step 1 (one scheme through /save-nav on stgapi) |
relay row 19 Oct, stgapi runbook, design stgapi/overall.md §4 (TD-051, TD-052) | plan + first load evidence | collector: stgapi /api/schemes returns more than 1 record | further load steps as ready issues |
| S3 | Fix stgapi /api/index/nav (404) and /api/nfos/active (500) |
collector API checks | MRs on api-phase1-development | collector rows 200 | harness: tests for both routes |
| S4 | OpenAPI draft for catalogue and NAV routes, generated from code where possible | api repo | docs/openapi.yaml |
Sonnet contract tests read it | contract tests per route |
| S5 | MM-Cron logging and the direct-database-access inventory (who writes funds_nav and the catalogue tables) | mm-crons repo | docs/inventory/direct-db-access.md |
every writer listed with path | feeds P2 root cause |
| S6 | MM-Cron registry and AMFI fund details: fill owp/mm-crons/registry/amcs.yaml (51 AMCs, AUM rank, URLs from #64 or UNKNOWN, format family; adapter LLD item 8); TER and AUM come from AMFI, not factsheets (TD-054); then create the adapter issues for AMC ranks 2–15 (item 13) |
adapter LLD, data-source register S1–S12, #64 | registry PR in MMDEP; 14 GitLab issues | registry check green |
harness builds the adapters |