Update localization files and add documentation for выписки fixes
Gitea Actions CI / detect (push) Successful in 3s
Gitea Actions CI / Compose & nginx validation (push) Failing after 5s
Gitea Actions CI / Frontend (lint / type / test / build) (push) Successful in 50s
Gitea Actions CI / Backend (lint / type / test / build) (push) Successful in 1m34s

- Updated timestamps and AST hashes for English and Russian localization files.
- Modified timestamps and AST hashes for ImportDetailPage and ImportsPage components.
- Updated test file timestamps and AST hash for import-confirm.test.tsx.
- Added new documentation file for выписки fixes with relevant metadata.
This commit is contained in:
k1nq
2026-09-25 16:55:06 +05:00
parent 3e0177896b
commit 39974f3e5d
12 changed files with 3785 additions and 1773 deletions
+46 -66
View File
@@ -1,16 +1,16 @@
# Graph Report - finance (2026-09-23)
# Graph Report - finance (2026-09-24)
## Corpus Check
- 191 files · ~92,817 words
- 192 files · ~93,257 words
- Verdict: corpus is large enough that graph structure adds value.
## Summary
- 1708 nodes · 5406 edges · 102 communities (78 shown, 15 thin omitted)
- 1709 nodes · 5408 edges · 99 communities (74 shown, 15 thin omitted)
- Extraction: 98% EXTRACTED · 2% INFERRED · 0% AMBIGUOUS · INFERRED: 96 edges (avg confidence: 0.93)
- Token cost: 0 input · 0 output
## Graph Freshness
- Built from commit: `970fe9da`
- Built from commit: `3e017789`
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
- Run `graphify update .` after code changes (no API cost).
@@ -23,7 +23,7 @@
- alfa_xlsx.py
- system-account-picker.test.tsx
- types.ts
- LoginPage.tsx
- router.tsx
- ledger/router.py
- @testing-library/jest-dom
- compilerOptions
@@ -35,7 +35,7 @@
- useOperations.ts
- OperationsPage.tsx
- analytics/service.py
- apiErrors.ts
- fields.tsx
- test_adapter_contracts.py
- BudgetPage.tsx
- client.ts
@@ -43,7 +43,7 @@
- Docker Compose Development Stack
- Financial Space
- scripts
- router.tsx
- import-polling.test.tsx
- General Pool
- TestBaseContract
- Per-File Envelope Encryption
@@ -60,10 +60,10 @@
- i18n-parity.test.ts
- Expected Income
- api
- AccountsPage.tsx
- ReviewQueuePage.tsx
- category-manager.test.tsx
- graphify
- index.ts
- BudgetBlockers.tsx
- typescript-eslint
- Ближайший край: накопления, категории и блокировки бюджета
- RocketbankDebitPdfAdapter
@@ -80,7 +80,6 @@
- import-hold-resolution.test.tsx
- budgeting/service.py
- TestAlfaDebitContract
- AppLayout.tsx
- 20260922_0003_savings_system.py
- jsdom
- savings-convert-revert.test.tsx
@@ -99,15 +98,12 @@
- get_or_create_period
- 20260923_0005_optional_hold_reason.py
- typescript
- useAuth.ts
- test_review_queue_batch.py
- @vitejs/plugin-react
- useImports.ts
- describeApiError
- ImportDetailPage.tsx
- app_error_handler
- review-queue-save.test.tsx
- detect_adapter
- review-queue-month.test.tsx
## God Nodes (most connected - your core abstractions)
1. `Session` - 221 edges
@@ -141,7 +137,7 @@
- **Financial Space Tenancy Boundary** — context_financial_space, context_membership, docs_adr_0001_financial_space_ownership_and_rls_defense_in_depth_authorization, docs_adr_0001_financial_space_ownership_and_rls_transaction_local_rls, docs_adr_0001_financial_space_ownership_and_rls_cross_space_integrity [EXTRACTED 1.00]
- **Safe Statement Import Flow** — context_statement_import, context_parse_run, context_source_record, docs_adr_0003_versioned_statement_imports_immutable_statement_document, docs_adr_0003_versioned_statement_imports_conservative_deduplication, docs_adr_0003_versioned_statement_imports_atomic_confirm_revert [EXTRACTED 1.00]
## Communities (102 total, 15 thin omitted)
## Communities (99 total, 15 thin omitted)
### Community 0 - "imports/router.py"
Cohesion: 0.15
@@ -168,16 +164,16 @@ Cohesion: 0.15
Nodes (26): AlfaDebitXlsxAdapter, _AlfaHeaderMeta, AlfaXlsxAdapterBase, _cell_str(), _debit_find_header(), _debit_header_metadata(), _debit_header_value(), _debit_norm() (+18 more)
### Community 6 - "system-account-picker.test.tsx"
Cohesion: 0.12
Nodes (13): Account, AdjustBalanceResult, BudgetCategory, Operation, adjustBalanceMock, listMock, budgetCategoriesMock, listAccountsMock (+5 more)
Cohesion: 0.11
Nodes (13): BudgetCategory, Page, budgetCategoriesMock, listAccountsMock, listOperationsMock, categoriesMock, importsListMock, importSummary (+5 more)
### Community 7 - "types.ts"
Cohesion: 0.07
Nodes (38): AcceptInvitePayload, AccountStatus, AccountType, BalanceItem, BalancesReport, BudgetStatus, BudgetWarning, CashFlowMonth (+30 more)
Cohesion: 0.06
Nodes (42): AcceptInvitePayload, AccountStatus, AccountType, AdjustBalancePayload, BalanceItem, BalancesReport, BudgetStatus, BudgetSummary (+34 more)
### Community 8 - "LoginPage.tsx"
Cohesion: 0.21
Nodes (11): AcceptInvitePage, LoginPage, RequireAuth(), AuthLayout(), AuthLayoutProps, TextField(), useMe(), AcceptInvitePage() (+3 more)
### Community 8 - "router.tsx"
Cohesion: 0.06
Nodes (56): isApiError(), App(), queryClient, AcceptInvitePage, AccountsPage, AnalyticsPage, AppRoutes(), BudgetPage (+48 more)
### Community 9 - "ledger/router.py"
Cohesion: 0.15
@@ -188,8 +184,8 @@ Cohesion: 0.07
Nodes (28): compilerOptions, baseUrl, esModuleInterop, forceConsistentCasingInFileNames, isolatedModules, jsx, lib, module (+20 more)
### Community 12 - "AnalyticsPage.tsx"
Cohesion: 0.13
Nodes (24): PlanFactBars(), PlanFactBarsProps, PlanFactRow, MonthSwitcher(), MonthSwitcherProps, useAnalyticsBalances(), useAnalyticsCashFlow(), useAnalyticsCategorySpend() (+16 more)
Cohesion: 0.14
Nodes (22): PlanFactBars(), PlanFactBarsProps, PlanFactRow, MonthSwitcher(), MonthSwitcherProps, useAnalyticsBalances(), useAnalyticsCashFlow(), useAnalyticsCategorySpend() (+14 more)
### Community 13 - "mcc.py"
Cohesion: 0.14
@@ -212,24 +208,24 @@ Cohesion: 0.15
Nodes (17): invalidationRoots, queryKeys, SESSION_ROOT, sessionInvalidationRoot, SPACE_ROOT, spaceInvalidationRoot, CategorizeBatchPayload, CreateOperationPayload (+9 more)
### Community 18 - "OperationsPage.tsx"
Cohesion: 0.11
Nodes (42): AdjustBalancePayload, CreateAccountPayload, isSystemAccount(), Locale, useAccounts(), useActiveAccounts(), useAdjustBalance(), useArchiveAccount() (+34 more)
Cohesion: 0.13
Nodes (42): Account, isSystemAccount(), useAccounts(), useActiveAccounts(), useAdjustBalance(), useArchiveAccount(), useCreateAccount(), useUserAccounts() (+34 more)
### Community 19 - "analytics/service.py"
Cohesion: 0.20
Nodes (18): balances(), cash_flow(), category_spend(), plan_fact(), Context, date, Db, get (+10 more)
### Community 20 - "apiErrors.ts"
Cohesion: 0.33
Nodes (6): isApiError(), App(), queryClient, AppRoutes(), apiErrorCode(), container
### Community 20 - "fields.tsx"
Cohesion: 0.21
Nodes (11): FieldChrome, InputProps, MoneyField(), MoneyFieldProps, SelectField(), SelectFieldProps, SelectProps, TextareaField() (+3 more)
### Community 21 - "test_adapter_contracts.py"
Cohesion: 0.13
Nodes (21): AlfaCreditXlsxAdapter, account_fingerprint(), amount_to_kopecks(), _mask_digits(), money_to_kopecks(), Parse statement money strings like '-1 234,56 RUR', '+ 500.00 ₽', '12 345'.…, SourceRow, StatementDraft (+13 more)
### Community 22 - "BudgetPage.tsx"
Cohesion: 0.17
Nodes (28): CreatableCategoryKind, CategoryManagerModal(), CREATE_KINDS, CreateCategoryForm(), MccCodesModal(), parseMccCodes(), RenameModal(), useBudgetCategories() (+20 more)
Cohesion: 0.12
Nodes (37): CreatableCategoryKind, CreateCategoryPayload, ExpectedIncomePayload, PatchCategoryDefinitionPayload, CategoryManagerModal(), CREATE_KINDS, CreateCategoryForm(), MccCodesModal() (+29 more)
### Community 23 - "client.ts"
Cohesion: 0.26
@@ -251,9 +247,9 @@ Nodes (12): Credit Reserve, Financial Account, Financial Space, Membership, User
Cohesion: 0.22
Nodes (9): scripts, api:generate, build, dev, lint, preview, test, test:watch (+1 more)
### Community 28 - "router.tsx"
Cohesion: 0.15
Nodes (11): AccountsPage, AnalyticsPage, BudgetPage, ImportDetailPage, ImportsPage, NotFoundPage, OperationsPage, OverviewPage (+3 more)
### Community 28 - "import-polling.test.tsx"
Cohesion: 0.31
Nodes (7): ImportStatus, ACTIVE_STATUSES, IMPORT_POLL_MS, importListPollInterval(), importPollInterval(), isTerminalImportStatus(), getImport
### Community 29 - "General Pool"
Cohesion: 0.29
@@ -308,12 +304,12 @@ Cohesion: 0.67
Nodes (3): TestClient, test_invite_login_and_authenticated_space(), test_openapi_contains_critical_paths()
### Community 44 - "api"
Cohesion: 0.14
Nodes (14): api, User, createMock, listMock, DESKTOP_NAV, meMock, MOBILE_NAV, user (+6 more)
Cohesion: 0.11
Nodes (17): api, AdjustBalanceResult, User, adjustBalanceMock, listMock, createMock, listMock, DESKTOP_NAV (+9 more)
### Community 45 - "AccountsPage.tsx"
Cohesion: 0.10
Nodes (37): Badge(), BadgeTone, Button(), ButtonProps, Variant, ConfirmDialog(), ConfirmDialogProps, EmptyState() (+29 more)
### Community 45 - "ReviewQueuePage.tsx"
Cohesion: 0.11
Nodes (22): Locale, Operation, NotFoundPage, Badge(), BadgeTone, EmptyState(), EmptyStateProps, ErrorState() (+14 more)
### Community 46 - "category-manager.test.tsx"
Cohesion: 0.14
@@ -323,9 +319,9 @@ Nodes (12): CategoryDefinition, categoriesMock, createCategoryMock, definitions,
Cohesion: 0.17
Nodes (11): command, enabled, timeout, type, mcp, graphify, plugin, $schema (+3 more)
### Community 48 - "index.ts"
Cohesion: 0.22
Nodes (10): BudgetBlocker, blockerCta(), blockerText(), BudgetBlockers(), BudgetBlockersProps, Cta, createI18n(), detectLocale() (+2 more)
### Community 48 - "BudgetBlockers.tsx"
Cohesion: 0.43
Nodes (6): BudgetBlocker, blockerCta(), blockerText(), BudgetBlockers(), BudgetBlockersProps, Cta
### Community 50 - "Ближайший край: накопления, категории и блокировки бюджета"
Cohesion: 0.10
@@ -367,10 +363,6 @@ Nodes (50): BudgetPeriod, Calendar month budget period in the space timezone (mo
Cohesion: 0.18
Nodes (3): alfa_workbook_bytes(), synthetic_alfa_rows(), TestAlfaDebitContract
### Community 70 - "AppLayout.tsx"
Cohesion: 0.19
Nodes (10): AppLayout(), MOBILE_NAV_ITEMS, MOBILE_NAV_ROUTES, NAV_ICONS, NAV_ITEMS, NavIconName, LangSwitcher(), useLogout() (+2 more)
### Community 71 - "20260922_0003_savings_system.py"
Cohesion: 0.32
Nodes (11): _check_constraints(), downgrade(), _has_column(), _has_row(), _has_unique_constraint(), _normalized_sqltext(), Savings system resources, adjustments and reversible conversions., Swap a check constraint for a new value list, dialect-safely. Fresh databases… (+3 more)
@@ -400,8 +392,8 @@ Cohesion: 0.50
Nodes (8): bootstrap(), TestClient, HTTP contract for category definitions, system protections and CSRF., test_adjust_and_savings_conversion_http_contracts(), test_categories_expose_and_update_multiple_mcc_codes(), test_category_lifecycle_create_rename_archive_restore(), test_openapi_contains_new_contracts(), test_space_has_protected_savings_pair()
### Community 81 - "budget-plan.test.tsx"
Cohesion: 0.15
Nodes (11): BudgetSummary, ExpectedIncome, categories, categoriesMock, month, summary, summaryMock, updatePlanMock (+3 more)
Cohesion: 0.29
Nodes (6): categories, categoriesMock, month, summary, summaryMock, updatePlanMock
### Community 83 - "exports/service.py"
Cohesion: 0.07
@@ -423,21 +415,13 @@ Nodes (27): compute_period_state(), create_category(), get_or_create_period(), D
Cohesion: 0.83
Nodes (3): downgrade(), _reason_constraint_name(), upgrade()
### Community 90 - "useAuth.ts"
Cohesion: 0.36
Nodes (8): ResetPasswordPage, useAcceptInvite(), useConfirmPasswordReset(), useLogin(), useRequestPasswordReset(), useSessionMutation(), ResetPasswordPage(), ResetValues
### Community 91 - "test_review_queue_batch.py"
Cohesion: 0.60
Nodes (10): bootstrap(), category_ids(), create_account(), create_expense(), operations_by_id(), TestClient, test_batch_assigns_picked_categories_and_moves_leftovers_to_others(), test_batch_is_atomic_when_one_category_is_unknown() (+2 more)
### Community 93 - "useImports.ts"
Cohesion: 0.13
Nodes (24): ImportStatus, ToastApi, ToastContext, ToastItem, ToastKind, ToastProvider(), useToast(), useConfirmImport() (+16 more)
### Community 94 - "describeApiError"
Cohesion: 0.44
Nodes (8): useCancelDeletion(), useRequestDeletion(), useRequestExport(), useSpaceDeletion(), describeApiError(), DeletionForm(), DeletionFormValues, SettingsPage()
### Community 93 - "ImportDetailPage.tsx"
Cohesion: 0.19
Nodes (19): ToastApi, ToastContext, ToastItem, ToastKind, ToastProvider(), useToast(), useConfirmImport(), useImport() (+11 more)
### Community 95 - "app_error_handler"
Cohesion: 0.32
@@ -451,24 +435,20 @@ Nodes (6): categories, categoriesMock, categorizeBatchMock, categorizeMock, impo
Cohesion: 0.29
Nodes (4): Protocol, StatementAdapter, detect_adapter(), Workbook
### Community 101 - "review-queue-month.test.tsx"
Cohesion: 0.33
Nodes (5): Page, categoriesMock, importsListMock, importSummary, operationsListMock
## Knowledge Gaps
- **270 isolated node(s):** `$schema`, `file:///home/k1nq/repos/finance/.kilo/plugins/graphify.js`, `type`, `/home/k1nq/.local/bin/graphify-mcp`, `/home/k1nq/repos/finance/graphify-out/graph.json` (+265 more)
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 477 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 478 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
- **15 thin communities (<3 nodes) omitted from report** — run `graphify query` to explore isolated nodes.
## Suggested Questions
_Questions this graph is uniquely positioned to answer:_
- **Why does `Session` connect `Session` to `Base`, `main.py`, `budgeting/service.py`, `test_import_savings.py`, `20260922_0003_savings_system.py`, `dependencies.py`, `mcc.py`, `ledger/service.py`, `analytics/service.py`, `exports/service.py`, `identity/service.py`, `test_import_holds.py`, `get_or_create_period`, `imports/service.py`?**
_High betweenness centrality (0.071) - this node is a cross-community bridge._
_High betweenness centrality (0.069) - this node is a cross-community bridge._
- **Why does `AppError` connect `Session` to `imports/router.py`, `main.py`, `budgeting/service.py`, `alfa_xlsx.py`, `TestRocketbankDebitContract`, `test_import_savings.py`, `get_settings`, `dependencies.py`, `ledger/service.py`, `exports/service.py`, `RocketbankDebitPdfAdapter`, `identity/service.py`, `test_adapter_contracts.py`, `get_or_create_period`, `imports/service.py`, `test_import_holds.py`, `TestOzonDebitContract`, `app_error_handler`?**
_High betweenness centrality (0.047) - this node is a cross-community bridge._
- **Why does `get_settings()` connect `get_settings` to `imports/router.py`, `Base`, `main.py`, `alfa_xlsx.py`, `dependencies.py`, `exports/service.py`, `RocketbankDebitPdfAdapter`, `identity/service.py`, `test_import_holds.py`, `imports/service.py`?**
_High betweenness centrality (0.019) - this node is a cross-community bridge._
_High betweenness centrality (0.018) - this node is a cross-community bridge._
- **Are the 4 inferred relationships involving `Session` (e.g. with `upgrade()` and `upgrade()`) actually correct?**
_`Session` has 4 INFERRED edges - model-reasoned connections that need verification._
- **Are the 42 inferred relationships involving `AppError` (e.g. with `request_export()` and `login()`) actually correct?**