docs(docs): add Stage 13 audit findings to storage roadmap#2318
Conversation
Add Stage 13 to docs/planning/storage-roadmap.md decomposing post-Stage-12.5 audit findings into 8 actionable PRs. Audit findings: - 2 functional bugs (mobile hubBackup MMKV pass-through post-tombstone; weekly-digest reads dead finyk_storage_v2 blob) - 3 partial gaps (recipes mobile tombstone; finyk LS-only slots; misleading FINYK_SHOW_BALANCE @deprecated tag) - 7 dead-code cleanup candidates (~600 LOC) post-CloudSync v1 sunset - 2 doc-drift items (Initiative 0003 Phase 6 status; ADR-0047 exit-criteria) PR plan (#71 to #79) covers mobile hubBackup fix, weekly-digest SQLite reader swap, recipes mobile tombstone, finyk show_balance SQLite reader, finyk LS-only slots decision, dead syncedKV + SYNC_EVENT + lying OpenAPI cleanup, dead sync-metadata STORAGE_KEYS cleanup, mono_mirror flag retirement, doc-drift refresh. Inline patches: - Stage 8 PR #057k-tombstone note for finyk LS-only follow-ups - Stage 11 PR #057n-tombstone-mobile note for recipes closure - Initiative 0003 Phase 6 status flipped to Done with PR refs - Initiative 0003 Phase 7 added with sunset-routes removal exit-criteria - ADR-0047 amendment with 8-week zero signal OR 2026-08-04 removal date Docs-only PR; no code changes.
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR audits and advances the CloudSync v1 sunset plan, marking Phase 6 server/data cleanup complete and formally introducing Phase 7 with telemetry-based exit-criteria (zero legacy-client metric for 8 weeks or 2026-08-04), detailed removal scope for server handlers and shared schemas, and documented post-removal fallback behavior. ChangesV1 Sunset Phase 7 Definition
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
⏱️ CI Pipeline Duration ReportBased on the last 50 successful runs on the default branch. Overall Pipeline
Trend (last 20 runs): Per-Job Breakdown
|
Summary
Документує post-Stage-12.5 storage-аудит у roadmap як новий Stage 13 — Audit findings & post-migration cleanup (📋 PROPOSED, 0/8). Чисто docs-PR — нуль зміни коду.
Що інтегровано в
docs/planning/storage-roadmap.md:hubBackupMMKV pass-through post-tombstone — silent functional bug); PR Fix Tailwind circular @apply causing Vite build failure #72 (weekly-digest на web+mobile читає мертвийfinyk_storage_v2blob →monthlyBudgetзавждиnull).NUTRITION_SAVED_RECIPESmobile MMKV write — recipes пропустили в#057n-tombstone-mobile); PR refactor(core): split App.jsx into app/ section files #74 (FINYK_SHOW_BALANCESQLite reader — column існує, reader не написаний →@deprecatedtag misleading); PR refactor(nutrition): split NutritionApp.jsx into hooks + section components #75 (finyk LS-only slotsfinyk_excluded_stat_txs+finyk_rec_dismissed— decision pending).syncedKV.ts0 production imports +SYNC_EVENT/SYNC_STATUS_EVENTlistener-only + lying OpenAPI v1 sync schemas — ~300 LOC); PR frontend(block-b/pr1): bundle analyzer (opt-in) + SW NetworkFirst for GET /api #77 (webuseSyncStatus.dirtyCount/queuedCountperpetually 0 + 10 deadSTORAGE_KEYS.{SYNC,MOBILE_SYNC}_*entries); PR test(block-b/pr2): critical unit tests — useCloudSync, finyk/utils, routineStorage (+97 tests) #78 (feature.finyk.sqlite_v2.mono_mirrorflag retire після ≥4-week burn-in).SYNC_MODULESregistry single-entry tombstone (B6);STORAGE_KEYS.FIZRUK_REST_SETTINGSLS-only intent decision (C1);STORAGE_KEYS.FIZRUK_PLANevent-name misuse (C2).Last validated:блок (2026-05-09 → 2026-05-10) з summary аудит-знахідок.Inline patches до існуючих entries:
NUTRITION_SAVED_RECIPESMMKV write пропустили; PR refactor(core): split HubSettingsPage god-file into section components #73 закриває.docs/initiatives/0003-sync-v2-rollout-and-v1-sunset.md:Pending→✅ Done (2026-05-10 audit refresh). Bullets оновлені на реальний стан (web cloudSync 35→2 файли, mobile sync 30→3 dirs, server sunset modules лишились by design, migration 046 droppedmodule_data).Last validated:+Status:оновлено.docs/adr/0047-cloudsync-v1-410-gone.md:sync_v1_legacy_clients_totalPrometheus counter = 0 для 8 consecutive weeks, ORGoverning Skill
Playbook
storage-roadmap.mdself-imposed structure (Stage N → PR subsections → Done criteria → calendar) і Initiative 0003 / ADR amendment conventions.Verification
Additional checks:
Docs and Governance
AGENTS.mdneeded an update — n/a (audit findings, не behavior change).Updated docs:
docs/planning/storage-roadmap.md— Stage 13 розділ + status table + 2 inline patches.docs/initiatives/0003-sync-v2-rollout-and-v1-sunset.md— Phase 6 → Done; Phase 7 додано.docs/adr/0047-cloudsync-v1-410-gone.md— Amendment з exit-criteria.Risk and Rollout
Hard Rule #15
AGENTS.mdbefore coding.--no-verify.Audit-freeze (until 2026-06-02)
Reviewer Notes
finyk_storage_v2blob nikто більше не пише з ери до Stage 4 / PR Фізрук: Почати тренування відкриває журнал і активне ТЗ; шаблон збері… #35–feat(finyk): повний бекап/синк, валідація імпорту, модалки та UAH-під… #39 →monthlyBudgetдля weekly digest завждиnull; cross-module recommendationInsights.budgetRemainingтихо деградована.Link to Devin session: https://app.devin.ai/sessions/0814b0b324364002b6ce2030b2e1dbe7
Requested by: @Skords-01
Summary by cubic
Adds Stage 13 to
docs/planning/storage-roadmap.mdwith eight post‑Stage‑12.5 audit follow‑ups, prioritizing two functional fixes, plus sequencing and done criteria. Updatesdocs/initiatives/0003-sync-v2-rollout-and-v1-sunset.md(Phase 6 → Done, Phase 7 proposed with exit criteria) and amendsdocs/adr/0047-cloudsync-v1-410-gone.mdto set final v1 route removal rules (8‑week zero‑signal or 2026‑08‑04); also links Stage 8 and 11 entries to Stage 13.Written for commit c890333. Summary will update on new commits.
Summary by CodeRabbit