023612ce0a
- Updated timestamps and AST hashes for multiple files in the manifest.json. - Added new test file backend/tests/test_expected_income.py. - Added documentation files: перево́д_между_своими.md and 0002-fixes.md. - Introduced pytest.ini to configure pytest settings, including test paths and warning filters.
460 lines
23 KiB
Markdown
460 lines
23 KiB
Markdown
# Graph Report - finance (2026-09-23)
|
|
|
|
## Corpus Check
|
|
- 190 files · ~91,840 words
|
|
- Verdict: corpus is large enough that graph structure adds value.
|
|
|
|
## Summary
|
|
- 1702 nodes · 5362 edges · 99 communities (74 shown, 16 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`
|
|
- Run `git rev-parse HEAD` and compare to check if the graph is stale.
|
|
- Run `graphify update .` after code changes (no API cost).
|
|
|
|
## Community Hubs (Navigation)
|
|
- Settings
|
|
- budgeting/router.py
|
|
- Base
|
|
- main.py
|
|
- imports/service.py
|
|
- alfa_xlsx.py
|
|
- system-account-picker.test.tsx
|
|
- types.ts
|
|
- router.tsx
|
|
- ledger/router.py
|
|
- @testing-library/jest-dom
|
|
- compilerOptions
|
|
- BudgetPage.tsx
|
|
- mcc.py
|
|
- devDependencies
|
|
- ledger/service.py
|
|
- dependencies
|
|
- useOperations.ts
|
|
- OperationsPage.tsx
|
|
- Session
|
|
- apiErrors.ts
|
|
- UnsupportedStatementLayout
|
|
- ImportDetailPage.tsx
|
|
- client.ts
|
|
- set_space_context
|
|
- Docker Compose Development Stack
|
|
- Financial Space
|
|
- scripts
|
|
- ImportsPage.tsx
|
|
- General Pool
|
|
- test_adapter_contracts.py
|
|
- Per-File Envelope Encryption
|
|
- Operation
|
|
- Versioned Statement Imports
|
|
- Finance Frontend SPA
|
|
- Closed Beta Launch Gates
|
|
- package.json
|
|
- Financial Tracker MVP
|
|
- TestRocketbankDebitContract
|
|
- generate-api.mjs
|
|
- schema.d.ts
|
|
- test_api.py
|
|
- i18n-parity.test.ts
|
|
- Expected Income
|
|
- api
|
|
- fields.tsx
|
|
- category-manager.test.tsx
|
|
- graphify
|
|
- BudgetBlockers.tsx
|
|
- typescript-eslint
|
|
- Ближайший край: накопления, категории и блокировки бюджета
|
|
- UTCDateTime
|
|
- Favicon SVG (ledger lines icon)
|
|
- init-app-role.sh
|
|
- Payee
|
|
- test_private_fixtures.py
|
|
- finance-backend
|
|
- LocalDirectoryBlobStore
|
|
- TestOzonDebitContract
|
|
- Gitea CI and real statement imports
|
|
- 20260918_0002_hold_lifecycle.py
|
|
- eslint-plugin-react-hooks
|
|
- import-hold-resolution.test.tsx
|
|
- budgeting/service.py
|
|
- TestAlfaDebitContract
|
|
- celery_app.py
|
|
- 20260922_0003_savings_system.py
|
|
- jsdom
|
|
- savings-convert-revert.test.tsx
|
|
- get_settings
|
|
- ColumnChart.tsx
|
|
- spaces/router.py
|
|
- AGENTS.md
|
|
- AppError
|
|
- test_category_definitions.py
|
|
- budget-plan.test.tsx
|
|
- spaces/service.py
|
|
- exports/service.py
|
|
- @testing-library/react
|
|
- identity/service.py
|
|
- test_import_holds.py
|
|
- get_or_create_period
|
|
- 20260923_0005_optional_hold_reason.py
|
|
- typescript
|
|
- conftest.py
|
|
- test_review_queue_batch.py
|
|
- @vitejs/plugin-react
|
|
- useImports.ts
|
|
- dependencies.py
|
|
- _login
|
|
|
|
## God Nodes (most connected - your core abstractions)
|
|
1. `Session` - 221 edges
|
|
2. `AppError` - 76 edges
|
|
3. `Base` - 48 edges
|
|
4. `record()` - 44 edges
|
|
5. `conflict()` - 43 edges
|
|
6. `get_settings()` - 40 edges
|
|
7. `PkMixin` - 40 edges
|
|
8. `get_or_create_period()` - 39 edges
|
|
9. `TimestampMixin` - 38 edges
|
|
10. `bad_request()` - 36 edges
|
|
|
|
## Surprising Connections (you probably didn't know these)
|
|
- `Typed Same-Origin API Client` --conceptually_related_to--> `Same-Origin Reverse Proxy` [INFERRED]
|
|
frontend/README.md → infra/README.md
|
|
- `Financial Space Ownership` --conceptually_related_to--> `Financial Space` [INFERRED]
|
|
docs/adr/0001-financial-space-ownership-and-rls.md → CONTEXT.md
|
|
- `Versioned Statement Imports` --conceptually_related_to--> `Statement Import` [INFERRED]
|
|
docs/adr/0003-versioned-statement-imports.md → CONTEXT.md
|
|
- `MVP Release Gates` --conceptually_related_to--> `Closed Beta Launch Gates` [INFERRED]
|
|
.kilo/plans/1789034192214-financial-tracker-mvp.md → docs/operations/beta-release-runbook.md
|
|
- `Carry-Over Budget Reserves` --references--> `Savings Envelope` [EXTRACTED]
|
|
docs/adr/0002-journal-and-budget-reserves.md → CONTEXT.md
|
|
|
|
## Import Cycles
|
|
- None detected.
|
|
|
|
## Hyperedges (group relationships)
|
|
- **Auditable Financial Model** — context_operation, context_posting, docs_adr_0002_journal_and_budget_reserves_derived_balances, docs_adr_0002_journal_and_budget_reserves_plan_funding_separation, docs_adr_0002_journal_and_budget_reserves_closure_snapshots [EXTRACTED 1.00]
|
|
- **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 (99 total, 16 thin omitted)
|
|
|
|
### Community 1 - "budgeting/router.py"
|
|
Cohesion: 0.11
|
|
Nodes (59): balances(), cash_flow(), category_spend(), plan_fact(), Context, date, Db, get (+51 more)
|
|
|
|
### Community 2 - "Base"
|
|
Cohesion: 0.15
|
|
Nodes (34): downgrade(), upgrade(), AuditEvent, Append-only domain/security event. Never stores raw financial payloads., ExpectedIncome, ExpectedIncomeMatch, FundingMovement, PeriodClosure (+26 more)
|
|
|
|
### Community 3 - "main.py"
|
|
Cohesion: 0.17
|
|
Nodes (17): get_db(), get_engine(), get_session_factory(), sessionmaker, app_error_handler(), health(), healthz(), get (+9 more)
|
|
|
|
### Community 4 - "imports/service.py"
|
|
Cohesion: 0.06
|
|
Nodes (105): datetime, utcnow(), RequestContext, magic_kind(), ParseRun, Immutable extracted bank fact with document origin coordinates., SourceRecord, StatementDocument (+97 more)
|
|
|
|
### Community 5 - "alfa_xlsx.py"
|
|
Cohesion: 0.15
|
|
Nodes (23): _AlfaHeaderMeta, AlfaXlsxAdapterBase, _cell_str(), _debit_find_header(), _debit_header_metadata(), _debit_header_value(), _debit_norm(), _debit_operation_rows() (+15 more)
|
|
|
|
### Community 6 - "system-account-picker.test.tsx"
|
|
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, AdjustBalancePayload, BalanceItem, BalancesReport, BudgetStatus, BudgetWarning (+30 more)
|
|
|
|
### Community 8 - "router.tsx"
|
|
Cohesion: 0.08
|
|
Nodes (45): AcceptInvitePage, AccountsPage, AnalyticsPage, BudgetPage, LoginPage, OperationsPage, OverviewPage, RequireAuth() (+37 more)
|
|
|
|
### Community 9 - "ledger/router.py"
|
|
Cohesion: 0.15
|
|
Nodes (38): account_json(), AccountBody, accounts(), adjust_balance(), AdjustBalanceBody, archive_account(), categorize_operations_batch(), CategorizeBatchBody (+30 more)
|
|
|
|
### Community 11 - "compilerOptions"
|
|
Cohesion: 0.07
|
|
Nodes (28): compilerOptions, baseUrl, esModuleInterop, forceConsistentCasingInFileNames, isolatedModules, jsx, lib, module (+20 more)
|
|
|
|
### Community 12 - "BudgetPage.tsx"
|
|
Cohesion: 0.11
|
|
Nodes (40): NotFoundPage, PlanFactBars(), PlanFactBarsProps, PlanFactRow, MonthSwitcher(), MonthSwitcherProps, PageHeader(), PageHeaderProps (+32 more)
|
|
|
|
### Community 13 - "mcc.py"
|
|
Cohesion: 0.14
|
|
Nodes (23): _create_tenant_policy(), _default_keys(), downgrade(), _has_table(), _space_ids(), upgrade(), _default_categories(), default_category_system_keys() (+15 more)
|
|
|
|
### Community 14 - "devDependencies"
|
|
Cohesion: 0.09
|
|
Nodes (23): eslint, @eslint/js, eslint-plugin-jsx-a11y, devDependencies, eslint, @eslint/js, eslint-plugin-jsx-a11y, globals (+15 more)
|
|
|
|
### Community 15 - "ledger/service.py"
|
|
Cohesion: 0.15
|
|
Nodes (45): Operation, Posting, Signed balance change of one account within one operation. Sign convention…, User financial fact. amount_kopecks is always positive; direction lives in…, account_balance(), _apply_suggestion(), archive_account(), categorize_batch() (+37 more)
|
|
|
|
### Community 16 - "dependencies"
|
|
Cohesion: 0.08
|
|
Nodes (25): @fontsource/funnel-sans, @fontsource/geist-mono, @fontsource/onest, dependencies, @fontsource/funnel-sans, @fontsource/geist-mono, @fontsource/onest, @hookform/resolvers (+17 more)
|
|
|
|
### Community 17 - "useOperations.ts"
|
|
Cohesion: 0.15
|
|
Nodes (17): invalidationRoots, queryKeys, SESSION_ROOT, sessionInvalidationRoot, SPACE_ROOT, spaceInvalidationRoot, CategorizeBatchPayload, CreateOperationPayload (+9 more)
|
|
|
|
### Community 18 - "OperationsPage.tsx"
|
|
Cohesion: 0.12
|
|
Nodes (40): Account, isSystemAccount(), Operation, useAccounts(), useActiveAccounts(), useAdjustBalance(), useArchiveAccount(), useCreateAccount() (+32 more)
|
|
|
|
### Community 19 - "Session"
|
|
Cohesion: 0.12
|
|
Nodes (33): balances(), cash_flow(), category_spend(), plan_fact(), date, UUID, _balance_until(), ensure_credit_reserve_category() (+25 more)
|
|
|
|
### Community 20 - "apiErrors.ts"
|
|
Cohesion: 0.11
|
|
Nodes (19): isApiError(), Locale, App(), queryClient, AppRoutes(), LangSwitcher(), ToastApi, ToastContext (+11 more)
|
|
|
|
### Community 21 - "UnsupportedStatementLayout"
|
|
Cohesion: 0.14
|
|
Nodes (22): account_fingerprint(), amount_to_kopecks(), _mask_digits(), money_to_kopecks(), Parse statement money strings like '-1 234,56 RUR', '+ 500.00 ₽', '12 345'.…, Stable diagnostic for unknown bank layouts; never guesses., SourceRow, StatementDraft (+14 more)
|
|
|
|
### Community 22 - "ImportDetailPage.tsx"
|
|
Cohesion: 0.09
|
|
Nodes (40): CreatableCategoryKind, CreateCategoryPayload, PatchCategoryDefinitionPayload, ImportDetailPage, CategoryManagerModal(), CREATE_KINDS, CreateCategoryForm(), MccCodesModal() (+32 more)
|
|
|
|
### Community 23 - "client.ts"
|
|
Cohesion: 0.26
|
|
Nodes (10): apiClient, ApiError, buildUrl(), ErrorEnvelope, parseErrorEnvelope(), QueryValue, readCsrfToken(), request() (+2 more)
|
|
|
|
### Community 24 - "set_space_context"
|
|
Cohesion: 0.15
|
|
Nodes (20): Any, Transaction-local RLS context. No-op on SQLite (tests); fail-closed on…, Transactional scope for workers/endpoints that own the transaction lifecycle., session_scope(), set_space_context(), download(), export_status(), Context (+12 more)
|
|
|
|
### Community 25 - "Docker Compose Development Stack"
|
|
Cohesion: 0.29
|
|
Nodes (8): Commodity Infrastructure Services, Docker Compose Development Stack, Internal Backend Network, Same-Origin Frontend Service, Worker Parsing Isolation, Finance Infrastructure, Same-Origin Reverse Proxy, Backend and Frontend Workstream Contracts
|
|
|
|
### Community 26 - "Financial Space"
|
|
Cohesion: 0.17
|
|
Nodes (12): Credit Reserve, Financial Account, Financial Space, Membership, User, Carry-Over Budget Reserves, Provider-Neutral Data Boundary, Russian Federation Data Residency (+4 more)
|
|
|
|
### Community 27 - "scripts"
|
|
Cohesion: 0.22
|
|
Nodes (9): scripts, api:generate, build, dev, lint, preview, test, test:watch (+1 more)
|
|
|
|
### Community 28 - "ImportsPage.tsx"
|
|
Cohesion: 0.20
|
|
Nodes (11): ImportsPage, EmptyState(), EmptyStateProps, ErrorState(), QueryGate(), QueryGateProps, Spinner(), useImports() (+3 more)
|
|
|
|
### Community 29 - "General Pool"
|
|
Cohesion: 0.29
|
|
Nodes (8): Budget Period, Funding, General Pool, Monthly Category, Plan Assignment, Savings Envelope, Immutable Closure Snapshots, Plan and Funding Separation
|
|
|
|
### Community 30 - "test_adapter_contracts.py"
|
|
Cohesion: 0.11
|
|
Nodes (11): AlfaCreditXlsxAdapter, Protocol, StatementAdapter, detect_adapter(), OzonCreditPdfAdapter, make_draft(), make_source_row(), Sanitized synthetic contract tests for the evidenced statement adapters. These… (+3 more)
|
|
|
|
### Community 31 - "Per-File Envelope Encryption"
|
|
Cohesion: 0.29
|
|
Nodes (7): Immutable Statement Document, Per-File Envelope Encryption, Backup and Restore Runbook, Mandatory KEK Backup, Quarterly Restore Drill, Disaster Restore Procedure, Post-Restore Deletion Replay
|
|
|
|
### Community 32 - "Operation"
|
|
Cohesion: 0.47
|
|
Nodes (6): Internal Transfer, Operation, Posting, Refund, Derived Account Balances, Operations and Postings Journal
|
|
|
|
### Community 33 - "Versioned Statement Imports"
|
|
Cohesion: 0.20
|
|
Nodes (11): Parse Run, Source Record, Statement Import, Atomic Import Confirm and Revert, Conservative Deduplication, Parser Versioning and Review Diff, Versioned Statement Imports, Layout Drift Re-Gating (+3 more)
|
|
|
|
### Community 34 - "Finance Frontend SPA"
|
|
Cohesion: 0.29
|
|
Nodes (7): Server-Side Secret Boundary, Grossbukh Application Shell, Accessible Responsive UI, Finance Frontend SPA, RU and EN Localization, Space-Scoped Query Keys, Typed Same-Origin API Client
|
|
|
|
### Community 35 - "Closed Beta Launch Gates"
|
|
Cohesion: 0.20
|
|
Nodes (11): Crypto-Shredded Deletion, Closed Beta Release Runbook, Forward-Fix Rollback Policy, Financial Data Incident Response, Closed Beta Launch Gates, Production Launch Sequence, Thirty-Day Space Deletion, Durable Deletion Ledger (+3 more)
|
|
|
|
### Community 36 - "package.json"
|
|
Cohesion: 0.40
|
|
Nodes (4): name, private, type, version
|
|
|
|
### Community 37 - "Financial Tracker MVP"
|
|
Cohesion: 0.18
|
|
Nodes (11): Audited Break-Glass Access, Cross-Space Referential Integrity, Defense-in-Depth Authorization, Financial Space Ownership, Transaction-Local RLS Context, Budget Invariants, Critical User Path, Financial Tracker MVP (+3 more)
|
|
|
|
### Community 38 - "TestRocketbankDebitContract"
|
|
Cohesion: 0.18
|
|
Nodes (5): Rocketbank debit statement contract, evidenced against the real document.…, RocketbankDebitPdfAdapter, same_page_rocket_lines(), synthetic_rocket_lines(), TestRocketbankDebitContract
|
|
|
|
### Community 39 - "generate-api.mjs"
|
|
Cohesion: 0.40
|
|
Nodes (5): firstReadable(), LOCAL_CANDIDATES, main(), OUT_DIR, REMOTE_CANDIDATES
|
|
|
|
### Community 40 - "schema.d.ts"
|
|
Cohesion: 0.33
|
|
Nodes (5): components, $defs, operations, paths, webhooks
|
|
|
|
### Community 41 - "test_api.py"
|
|
Cohesion: 0.67
|
|
Nodes (3): TestClient, test_invite_login_and_authenticated_space(), test_openapi_contains_critical_paths()
|
|
|
|
### Community 44 - "api"
|
|
Cohesion: 0.08
|
|
Nodes (23): api, AdjustBalanceResult, User, adjustBalanceMock, listMock, createMock, listMock, DESKTOP_NAV (+15 more)
|
|
|
|
### Community 45 - "fields.tsx"
|
|
Cohesion: 0.21
|
|
Nodes (11): FieldChrome, InputProps, MoneyField(), MoneyFieldProps, SelectField(), SelectFieldProps, SelectProps, TextareaField() (+3 more)
|
|
|
|
### Community 46 - "category-manager.test.tsx"
|
|
Cohesion: 0.14
|
|
Nodes (12): CategoryDefinition, categoriesMock, createCategoryMock, definitions, definitionsMock, diningDefinition, month, monthCategories (+4 more)
|
|
|
|
### Community 47 - "graphify"
|
|
Cohesion: 0.17
|
|
Nodes (11): command, enabled, timeout, type, mcp, graphify, plugin, $schema (+3 more)
|
|
|
|
### Community 48 - "BudgetBlockers.tsx"
|
|
Cohesion: 0.43
|
|
Nodes (6): BudgetBlocker, blockerCta(), blockerText(), BudgetBlockers(), BudgetBlockersProps, Cta
|
|
|
|
### Community 50 - "Ближайший край: накопления, категории и блокировки бюджета"
|
|
Cohesion: 0.10
|
|
Nodes (20): 1. Доменная основа накоплений, 2. Альфа debit: «Копилка для сдачи», 3. Управление категориями, 4. Понятные и устранимые блокировки, Backend-контракт, Frontend, Ближайший край: накопления, категории и блокировки бюджета, Бюджетная семантика (+12 more)
|
|
|
|
### Community 51 - "UTCDateTime"
|
|
Cohesion: 0.40
|
|
Nodes (4): Any, Datetimes stored as naive UTC in the DB and exposed tz-aware (UTC) in Python., UTCDateTime, TypeDecorator
|
|
|
|
### Community 58 - "test_private_fixtures.py"
|
|
Cohesion: 0.13
|
|
Nodes (21): Any, Reconcile parsed rows against declared bank controls with stable diagnostics.…, _reconciliation_summary(), _check(), _fail(), _load_entries(), parsed(), fixture (+13 more)
|
|
|
|
### Community 62 - "LocalDirectoryBlobStore"
|
|
Cohesion: 0.39
|
|
Nodes (3): LocalDirectoryBlobStore, Path, S3-neutral local store; production swaps in an S3-compatible client.
|
|
|
|
### Community 63 - "TestOzonDebitContract"
|
|
Cohesion: 0.15
|
|
Nodes (6): minimal_pdf(), ozon_extracted(), _QuotaSettings, Build a small valid single-font PDF with empty or ASCII-only pages., TestOzonDebitContract, MonkeyPatch
|
|
|
|
### Community 64 - "Gitea CI and real statement imports"
|
|
Cohesion: 0.29
|
|
Nodes (6): Confirmed decisions, Gitea CI and real statement imports, Goal and constraints, Implementation plan, Principal risks, Validation and rollout
|
|
|
|
### Community 65 - "20260918_0002_hold_lifecycle.py"
|
|
Cohesion: 0.80
|
|
Nodes (4): downgrade(), _has_check_constraint(), _has_column(), upgrade()
|
|
|
|
### Community 67 - "import-hold-resolution.test.tsx"
|
|
Cohesion: 0.17
|
|
Nodes (9): ImportRow, confirmMock, detailFixture(), getImportMock, postedRow(), getImportMock, resolvedHold, resolveHoldMock (+1 more)
|
|
|
|
### Community 68 - "budgeting/service.py"
|
|
Cohesion: 0.15
|
|
Nodes (45): Any, record(), BudgetPeriod, Calendar month budget period in the space timezone (month granularity)., add_expected_income(), archive_category(), _close_blockers(), _closure_snapshot() (+37 more)
|
|
|
|
### Community 69 - "TestAlfaDebitContract"
|
|
Cohesion: 0.11
|
|
Nodes (7): AlfaDebitXlsxAdapter, Alfa debit statement contract, evidenced against the real export layout.…, alfa_workbook_bytes(), «Копилка для сдачи» contract: exact normalized phrase, statement-side source…, synthetic_alfa_rows(), TestAlfaDebitContract, TestAlfaSavingsRule
|
|
|
|
### 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)
|
|
|
|
### Community 73 - "savings-convert-revert.test.tsx"
|
|
Cohesion: 0.20
|
|
Nodes (6): budgetCategoriesMock, listAccountsMock, listOperationsMock, operations, revertMock, savingsTransferMock
|
|
|
|
### Community 74 - "get_settings"
|
|
Cohesion: 0.16
|
|
Nodes (26): get_settings(), send_token_email(), accept_invite(), AcceptInviteBody, confirm_password_reset(), create_invite(), InviteBody, login() (+18 more)
|
|
|
|
### Community 75 - "ColumnChart.tsx"
|
|
Cohesion: 0.24
|
|
Nodes (7): CashFlowColumn, ColumnChart(), ColumnChartProps, BarRow, HorizontalBars(), HorizontalBarsProps, rows
|
|
|
|
### Community 76 - "spaces/router.py"
|
|
Cohesion: 0.19
|
|
Nodes (20): forbidden(), cancel_deletion(), current(), deletion_status(), DeletionBody, invite_member(), MemberInviteBody, alias (+12 more)
|
|
|
|
### Community 79 - "AppError"
|
|
Cohesion: 0.12
|
|
Nodes (43): AppError, conflict(), Any, Domain error rendered as a machine-readable JSON error payload., unprocessable(), cancel_deletion(), adjust_balance(), convert_expense_to_savings() (+35 more)
|
|
|
|
### Community 80 - "test_category_definitions.py"
|
|
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.25
|
|
Nodes (7): BudgetSummary, categories, categoriesMock, month, summary, summaryMock, updatePlanMock
|
|
|
|
### Community 82 - "spaces/service.py"
|
|
Cohesion: 0.20
|
|
Nodes (16): User, HoldResolution, Append-only, tenant-scoped settlement of one HOLD source record. The extracted…, Account, Financial account. Balance is always derived: opening + confirmed postings., FinancialSpace, Membership, get_membership() (+8 more)
|
|
|
|
### Community 83 - "exports/service.py"
|
|
Cohesion: 0.11
|
|
Nodes (22): DataExport, build_export(), consume_export(), _csv_bytes(), get_export(), _json_rows(), purge_due_spaces(), datetime (+14 more)
|
|
|
|
### Community 85 - "identity/service.py"
|
|
Cohesion: 0.30
|
|
Nodes (16): accept_invitation(), authenticate(), create_invitation(), create_password_reset(), create_session(), normalize_email(), User, UUID (+8 more)
|
|
|
|
### Community 86 - "test_import_holds.py"
|
|
Cohesion: 0.13
|
|
Nodes (41): normalize_description(), date, record_fingerprint(), add_record(), _draft(), hold_document(), make_document(), date (+33 more)
|
|
|
|
### Community 87 - "get_or_create_period"
|
|
Cohesion: 0.21
|
|
Nodes (25): close_period(), compute_period_state(), create_category(), get_or_create_period(), Deterministic budget state. Resource model: - income lands in the general pool;…, Budget semantics for savings transfers, adjustments and archived history., savings_row(), seed() (+17 more)
|
|
|
|
### Community 88 - "20260923_0005_optional_hold_reason.py"
|
|
Cohesion: 0.83
|
|
Nodes (3): downgrade(), _reason_constraint_name(), upgrade()
|
|
|
|
### Community 90 - "conftest.py"
|
|
Cohesion: 0.27
|
|
Nodes (6): client(), db(), db_factory(), fixture, sessionmaker, TestClient
|
|
|
|
### 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.26
|
|
Nodes (10): ConfirmImportPayload, ImportStatus, SaveRowDecisionPayload, useImport(), ACTIVE_STATUSES, IMPORT_POLL_MS, importListPollInterval(), importPollInterval() (+2 more)
|
|
|
|
### Community 95 - "dependencies.py"
|
|
Cohesion: 0.17
|
|
Nodes (15): current_context(), current_session(), alias, Context, CurrentSession, Db, Header, User (+7 more)
|
|
|
|
### Community 96 - "_login"
|
|
Cohesion: 1.00
|
|
Nodes (3): _login(), TestClient, test_expected_income_month_api_crud_and_summary()
|
|
|
|
## Knowledge Gaps
|
|
- **268 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` (+263 more)
|
|
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 475 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
|
|
- **16 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`, `imports/service.py`, `20260922_0003_savings_system.py`, `spaces/router.py`, `mcc.py`, `AppError`, `ledger/service.py`, `spaces/service.py`, `exports/service.py`, `UTCDateTime`, `identity/service.py`, `test_import_holds.py`, `get_or_create_period`, `set_space_context`, `conftest.py`, `dependencies.py`?**
|
|
_High betweenness centrality (0.071) - this node is a cross-community bridge._
|
|
- **Why does `AppError` connect `AppError` to `main.py`, `budgeting/service.py`, `alfa_xlsx.py`, `imports/service.py`, `TestRocketbankDebitContract`, `get_settings`, `spaces/router.py`, `ledger/service.py`, `exports/service.py`, `UnsupportedStatementLayout`, `test_import_holds.py`, `get_or_create_period`, `set_space_context`, `TestOzonDebitContract`, `test_adapter_contracts.py`, `dependencies.py`?**
|
|
_High betweenness centrality (0.047) - this node is a cross-community bridge._
|
|
- **Why does `get_settings()` connect `get_settings` to `Settings`, `main.py`, `imports/service.py`, `alfa_xlsx.py`, `celery_app.py`, `spaces/service.py`, `exports/service.py`, `identity/service.py`, `UnsupportedStatementLayout`, `test_import_holds.py`, `conftest.py`, `dependencies.py`?**
|
|
_High betweenness centrality (0.019) - 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?**
|
|
_`AppError` has 42 INFERRED edges - model-reasoned connections that need verification._
|
|
- **Are the 3 inferred relationships involving `Base` (e.g. with `downgrade()` and `upgrade()`) actually correct?**
|
|
_`Base` has 3 INFERRED edges - model-reasoned connections that need verification._
|
|
- **What connects `$schema`, `file:///home/k1nq/repos/finance/.kilo/plugins/graphify.js`, `type` to the rest of the system?**
|
|
_268 weakly-connected nodes found - possible documentation gaps or missing edges._ |