spec: finalize wealth-ledger SDD migration
Specs security / security (push) Successful in 8s
Specs verify / verify (push) Successful in 11s

This commit was merged in pull request #26.
This commit is contained in:
2026-10-09 21:14:22 +03:00
committed by ksv741
parent 90edab6e33
commit 329d66e767
97 changed files with 3444 additions and 244 deletions
@@ -0,0 +1,18 @@
sequenceDiagram
participant Scheduler
participant DB as Durable reservation/status
participant TB as T-Bank and public sources
participant Store as Local resource store
participant API as Resource GET
Scheduler->>DB: Reserve current connection walk
alt Due and no walk running
DB-->>Scheduler: Attempt with connection revision
Scheduler->>TB: Refresh membership, portfolios, mutable operations, events
Scheduler->>Store: Publish each complete successful result for the same revision
Scheduler->>DB: Settle succeeded, partial, or failed with safe failed sections
else Not due or an attempt is running
DB-->>Scheduler: No work
end
API->>Store: Read persisted result and attempt status
Store-->>API: Last confirmed data and metadata
@@ -0,0 +1,13 @@
sequenceDiagram
actor User
participant UI as Frontend
participant API as Backend resource GET
participant DB as Local store
participant TB as T-Bank
User->>UI: Open screen or retry HTTP read
UI->>API: GET resource
API->>DB: Authorize current connection and read saved result/status
DB-->>API: data, resource state, last hourly attempt
API-->>UI: 200 { data, meta } or boundary Problem Details
Note over API,TB: No T-Bank call and no personal sync work from GET or retry