docs(specs): sync and reorganize tasks.md for 004 and 005 - #340
Conversation
Marks the 12 spec-005 transport-migration tasks done (merged in MostroP2P#111, verified end-to-end) and notes the plan describes pre-refactor file and version names. For spec-004: adds an "open work at a glance" summary pointing at the real backlog (partial file-attachment and dispute-chat wiring tasks), corrects the transport-v2 note's stale claim that peer chat still uses NIP-59 gift wrap (it moved off in MostroP2P#246/MostroP2P#254, same as spec 005), and adds a pointer task for the mnemonic-restore flow that has a contract but no task entry (defers the actual breakdown to epic MostroP2P#142). Closes MostroP2P#122
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 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 |
There was a problem hiding this comment.
Reviewed current head 978d76d7e85b4a76d2de7ba88118389dc28bdef8.
Blocking documentation issues
This PR claims to synchronize the task plans with reality, but the new “Open work at a glance” omits a major existing gap: T010 remains marked [x] even though rust/src/db/indexeddb.rs still returns IndexedDB not yet implemented for orders, trades, relays, identity, and queued messages. The task text says the IndexedDB backend must support all 11 entities, so marking it complete and claiming that almost everything through T145 is done is materially inaccurate. Either mark T010 as partial/not done and include it in the open-work summary, or update the task wording/status to match the actual supported scope.
Also, the new historical transport note correctly says peer/dispute chat moved off gift wrap, but the corresponding historical T011 still says it was completed by leaving gift wrap untouched. If this file is intended as a truthful current-status record, annotate that task as superseded (as done in the 005 file) rather than leaving a completed task whose acceptance text is now false.
These are correctness blockers for a PR whose stated purpose is syncing the task documents. No CI checks are configured for this docs-only PR.
Summary
Two docs chores from #122, both covering
specs/*/tasks.mdfiles that had drifted from reality.specs/005-transport-v2-migration/tasks.md
All 12 tasks were still
[ ]even though the transport migration merged in #111 and was verified end-to-end. Marked all 12 done, and added a status note at the top: the plan is now a historical record, not a map of the current code. Verified against current code, it's been superseded further than the issue assumed — mostro-core is now 0.14.1 (past the 0.13.1 target), gift_wrap.rs no longer exists (wrap_mostro_message/unwrap_mostro_message now live in rust/src/nostr/transport.rs), and T011's "leave gift wrap on peer/dispute chat untouched" no longer holds, since that chat also moved off gift wrap entirely in #246/#254.specs/004-mostro-p2p-client/tasks.md
Three changes:
Docs-only change, no code touched.
Closes #122
Test plan