Update manifest.json with new file metadata and add new test files
Gitea Actions CI / detect (push) Successful in 33s
Gitea Actions CI / Backend (lint / type / test / build) (push) Failing after 28s
Gitea Actions CI / Compose & nginx validation (push) Failing after 1m8s
Gitea Actions CI / Frontend (lint / type / test / build) (push) Successful in 50s
Gitea Actions CI / detect (push) Successful in 33s
Gitea Actions CI / Backend (lint / type / test / build) (push) Failing after 28s
Gitea Actions CI / Compose & nginx validation (push) Failing after 1m8s
Gitea Actions CI / Frontend (lint / type / test / build) (push) Successful in 50s
- Updated timestamps and AST hashes for existing files in the backend and frontend. - Added new test files: `backend/tests/test_review_queue_batch.py`, `frontend/src/test/review-queue-save.test.tsx`, `frontend/src/test/app-layout.test.tsx`, and `frontend/src/test/ledger-view.test.tsx`. - Updated documentation file `docs/tasks/0001-fixes.md` with new metadata.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"0": "categorization/service.py",
|
||||
"0": "Category",
|
||||
"1": "budgeting/router.py",
|
||||
"2": "Base",
|
||||
"3": "exports/service.py",
|
||||
"2": "db/models.py",
|
||||
"3": "AppError",
|
||||
"4": "imports/router.py",
|
||||
"5": "alfa_xlsx.py",
|
||||
"6": "system-account-picker.test.tsx",
|
||||
@@ -11,17 +11,17 @@
|
||||
"9": "ledger/router.py",
|
||||
"10": "@testing-library/jest-dom",
|
||||
"11": "compilerOptions",
|
||||
"12": "BudgetPage.tsx",
|
||||
"12": "ReviewQueuePage.tsx",
|
||||
"13": "@testing-library/user-event",
|
||||
"14": "devDependencies",
|
||||
"15": "AppError",
|
||||
"15": "ledger/service.py",
|
||||
"16": "dependencies",
|
||||
"17": "ImportDetailPage.tsx",
|
||||
"18": "OperationsPage.tsx",
|
||||
"19": "useOperations.ts",
|
||||
"19": "Base",
|
||||
"20": "apiErrors.ts",
|
||||
"21": "test_adapter_contracts.py",
|
||||
"22": "useBudget.ts",
|
||||
"21": "adapters/base.py",
|
||||
"22": "BudgetPage.tsx",
|
||||
"23": "client.ts",
|
||||
"24": "fields.tsx",
|
||||
"25": "Docker Compose Development Stack",
|
||||
@@ -37,14 +37,14 @@
|
||||
"35": "Closed Beta Launch Gates",
|
||||
"36": "package.json",
|
||||
"37": "Financial Tracker MVP",
|
||||
"38": "TestRocketbankDebitContract",
|
||||
"38": "test_adapter_contracts.py",
|
||||
"39": "generate-api.mjs",
|
||||
"40": "schema.d.ts",
|
||||
"41": "test_api.py",
|
||||
"42": "i18n-parity.test.ts",
|
||||
"43": "Expected Income",
|
||||
"44": "api",
|
||||
"45": "set_space_context",
|
||||
"44": "helpers.tsx",
|
||||
"45": "ledger/models.py",
|
||||
"46": "category-manager.test.tsx",
|
||||
"47": "graphify",
|
||||
"48": "@types/react-dom",
|
||||
@@ -66,26 +66,32 @@
|
||||
"64": "Gitea CI and real statement imports",
|
||||
"65": "20260918_0002_hold_lifecycle.py",
|
||||
"66": "eslint-plugin-react-hooks",
|
||||
"67": "main.py",
|
||||
"68": "analytics/router.py",
|
||||
"67": "import-hold-resolution.test.tsx",
|
||||
"68": "budgeting/service.py",
|
||||
"69": "TestAlfaDebitContract",
|
||||
"70": "vite",
|
||||
"71": "mcc.py",
|
||||
"72": "TestAlfaSavingsRule",
|
||||
"73": "savings-convert-revert.test.tsx",
|
||||
"74": "exports/router.py",
|
||||
"74": "get_settings",
|
||||
"75": "ColumnChart.tsx",
|
||||
"76": "identity/service.py",
|
||||
"76": "dependencies.py",
|
||||
"77": "AGENTS.md",
|
||||
"78": "graphify.js",
|
||||
"79": "Category",
|
||||
"79": "test_savings.py",
|
||||
"80": "test_category_definitions.py",
|
||||
"81": "budget-plan.test.tsx",
|
||||
"82": "import-hold-resolution.test.tsx",
|
||||
"83": "get_settings",
|
||||
"84": "session_scope",
|
||||
"85": "20260923_0004_mcc_categories.py",
|
||||
"82": "imports/service.py",
|
||||
"83": "exports/service.py",
|
||||
"84": "test_imports.py",
|
||||
"85": "identity/service.py",
|
||||
"86": "Session",
|
||||
"87": "app_error_handler",
|
||||
"88": "20260923_0005_optional_hold_reason.py"
|
||||
"87": "get_or_create_period",
|
||||
"88": "20260923_0005_optional_hold_reason.py",
|
||||
"89": "test_import_savings.py",
|
||||
"90": "conftest.py",
|
||||
"91": "test_review_queue_batch.py",
|
||||
"92": "review-queue-save.test.tsx",
|
||||
"94": "account-adjustment.test.tsx",
|
||||
"99": "0001-fixes.md"
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
{"0": "d402ed6bf2f9749a", "1": "13e542d5134fb02d", "2": "030a82389096fac1", "3": "62bd548fccb6736a", "4": "a3eec3e115dd18ab", "5": "85613707ec86a10d", "6": "c854d88fbb83cb56", "7": "ce35a9a478fc8cd2", "8": "8c36b1398810a6b1", "9": "c038f0a3bde9e10a", "10": "0a5a0ba97778625e", "11": "f039d542469fefc7", "12": "48335a79c63e77c1", "13": "8744084aeb65fbd3", "14": "b3e752fefc98c002", "15": "ba0d3a00af9834c7", "16": "8ef6cf9118db3195", "17": "717661b235a2b452", "18": "898d886d832be33b", "19": "971937bb83db4c53", "20": "1cf634eacb517a1a", "21": "e52e5efe7922326f", "22": "9cddcb53911ff0b1", "23": "f3004ec80ca9f448", "24": "1cbed23ab21a6a4d", "25": "f01c92b243645b4e", "26": "54c3380f579b6729", "27": "d8d767c824110809", "28": "8bc2e2fc5c336465", "29": "3147966ac3ee3b0f", "30": "7552b18e805318e1", "31": "099ee7edfccfb30f", "32": "0778a13a682f0cbb", "33": "6be20de557b963e9", "34": "da7b9f31790187c3", "35": "17bba31989deabe4", "36": "267c43d4a566a343", "37": "cff206ec60c41144", "38": "6a630216fce8844c", "39": "0e87c765d5713ad6", "40": "ce680f01cc87ac2b", "41": "24380e4087fb70d5", "42": "c58209407d4237e8", "43": "54905c779f6306ec", "44": "cba77756e130a563", "45": "f6413ac1b7b13383", "46": "28cda6a600d51f90", "47": "2f8c667574e48967", "48": "08332675f638af21", "49": "4ed4ad08eaab7c1c", "50": "39e65f28c37e0e46", "51": "ba6724f5637cd5d9", "52": "fdf8b4d4bf2be849", "53": "66f8ffc9c3fbedf2", "54": "73723cec09ed2417", "55": "f9e8dac18e2e7bdf", "56": "86619fe91fc50452", "57": "8a3d1d863ddb4d2f", "58": "013077c0798a954e", "59": "99c0fcbdc4f53a0e", "60": "cd42295e6b9fcac1", "61": "3712295d0a11267c", "62": "f787d08450bb4ac6", "63": "cd4362e280c077a7", "64": "fa2cf116b4b9871b", "65": "f3a0edb87b006f25", "66": "a0aa708a9e56bca1", "67": "b52ce9a5c39fc6c4", "68": "87907dcc6f25ea7b", "69": "0d74f7f6d933b4d1", "70": "e049e07b5afc08cf", "71": "b53d10722757480c", "72": "2b92b704e5454347", "73": "e404eb8a5c1d93eb", "74": "c90eb017c5213760", "75": "c11d4d615ce6b927", "76": "8205382b8b12a74a", "77": "97ec841e4f367258", "78": "c9051bc3ad4170f1", "79": "90c7a4d2aa73a27a", "80": "f091cbed551517ed", "81": "30a50b463d66a82d", "82": "d58d1cd140a5fa40", "83": "60235533bca19499", "84": "da95b6d914b33dab", "85": "18de98a5c966fdb2", "86": "0f2744bce6a3e1f1", "87": "511e2b5f5a529368", "88": "f6b2e16972be0df8"}
|
||||
{"0": "6d1d9dee2594feb8", "1": "6ce69c6c91bfb10d", "2": "c2a9c6c75ef7b06e", "3": "07ad68ae268274e3", "4": "6e29ff77b331c271", "5": "753b54d66d56a181", "6": "fafcd7f26e85d11e", "7": "7196de2bd58ce7b6", "8": "a1304e2f6d040c08", "9": "12777a923784a450", "10": "0a5a0ba97778625e", "11": "f039d542469fefc7", "12": "68a6ed0d02f19f50", "13": "8744084aeb65fbd3", "14": "b3e752fefc98c002", "15": "2aa78b1e6532083d", "16": "8ef6cf9118db3195", "17": "8baf7195f33c896e", "18": "89eb4ee52c62e004", "19": "ba69db1a2f1f3a58", "20": "683cad078c7e0ed9", "21": "ca6369f4becd6192", "22": "f4a28fa280943a77", "23": "f3004ec80ca9f448", "24": "8965526f063eed24", "25": "f01c92b243645b4e", "26": "54c3380f579b6729", "27": "d8d767c824110809", "28": "8bc2e2fc5c336465", "29": "3147966ac3ee3b0f", "30": "7552b18e805318e1", "31": "099ee7edfccfb30f", "32": "0778a13a682f0cbb", "33": "6be20de557b963e9", "34": "da7b9f31790187c3", "35": "17bba31989deabe4", "36": "267c43d4a566a343", "37": "cff206ec60c41144", "38": "b6d52a30ac873a97", "39": "0e87c765d5713ad6", "40": "ce680f01cc87ac2b", "41": "24380e4087fb70d5", "42": "c58209407d4237e8", "43": "54905c779f6306ec", "44": "b6e6b302dfb2b4b7", "45": "c484c809d185e550", "46": "ab5b47947fe3bf98", "47": "2f8c667574e48967", "48": "08332675f638af21", "49": "4ed4ad08eaab7c1c", "50": "39e65f28c37e0e46", "51": "ba6724f5637cd5d9", "52": "fdf8b4d4bf2be849", "53": "66f8ffc9c3fbedf2", "54": "73723cec09ed2417", "55": "f9e8dac18e2e7bdf", "56": "86619fe91fc50452", "57": "8a3d1d863ddb4d2f", "58": "33678aa2c758e454", "59": "99c0fcbdc4f53a0e", "60": "cd42295e6b9fcac1", "61": "3712295d0a11267c", "62": "f787d08450bb4ac6", "63": "337e92dfeec532be", "64": "fa2cf116b4b9871b", "65": "f3a0edb87b006f25", "66": "a0aa708a9e56bca1", "67": "d58d1cd140a5fa40", "68": "3e5a785c54610ba0", "69": "0d74f7f6d933b4d1", "70": "e049e07b5afc08cf", "71": "c5240b928a15b0fa", "72": "2b92b704e5454347", "73": "e404eb8a5c1d93eb", "74": "ec0076e638dfa420", "75": "c11d4d615ce6b927", "76": "36f3b631daec8343", "77": "97ec841e4f367258", "78": "c9051bc3ad4170f1", "79": "0f585e9a81c4fb6c", "80": "f091cbed551517ed", "81": "30a50b463d66a82d", "82": "80551df1b95b31a0", "83": "9a369c70bcf0858b", "84": "9eb0c7e75d99ef54", "85": "ad0253a8a1e41307", "86": "98ecf4f0948d7a51", "87": "eeef008da0eeea12", "88": "f6b2e16972be0df8", "89": "bb20719f64caa678", "90": "491a658d3322d1ec", "91": "d520dd258c357f5d", "92": "48aeb4d25174096d", "94": "7f935939209226f1", "99": "719211c5f13f5583"}
|
||||
@@ -0,0 +1,97 @@
|
||||
{
|
||||
"0": "Category",
|
||||
"1": "budgeting/router.py",
|
||||
"2": "db/models.py",
|
||||
"3": "AppError",
|
||||
"4": "imports/router.py",
|
||||
"5": "alfa_xlsx.py",
|
||||
"6": "system-account-picker.test.tsx",
|
||||
"7": "types.ts",
|
||||
"8": "router.tsx",
|
||||
"9": "ledger/router.py",
|
||||
"10": "@testing-library/jest-dom",
|
||||
"11": "compilerOptions",
|
||||
"12": "ReviewQueuePage.tsx",
|
||||
"13": "@testing-library/user-event",
|
||||
"14": "devDependencies",
|
||||
"15": "ledger/service.py",
|
||||
"16": "dependencies",
|
||||
"17": "ImportDetailPage.tsx",
|
||||
"18": "OperationsPage.tsx",
|
||||
"19": "Base",
|
||||
"20": "apiErrors.ts",
|
||||
"21": "adapters/base.py",
|
||||
"22": "BudgetPage.tsx",
|
||||
"23": "client.ts",
|
||||
"24": "fields.tsx",
|
||||
"25": "Docker Compose Development Stack",
|
||||
"26": "Financial Space",
|
||||
"27": "scripts",
|
||||
"28": "@types/react",
|
||||
"29": "General Pool",
|
||||
"30": "TestBaseContract",
|
||||
"31": "Per-File Envelope Encryption",
|
||||
"32": "Operation",
|
||||
"33": "Versioned Statement Imports",
|
||||
"34": "Finance Frontend SPA",
|
||||
"35": "Closed Beta Launch Gates",
|
||||
"36": "package.json",
|
||||
"37": "Financial Tracker MVP",
|
||||
"38": "test_adapter_contracts.py",
|
||||
"39": "generate-api.mjs",
|
||||
"40": "schema.d.ts",
|
||||
"41": "test_api.py",
|
||||
"42": "i18n-parity.test.ts",
|
||||
"43": "Expected Income",
|
||||
"44": "helpers.tsx",
|
||||
"45": "ledger/models.py",
|
||||
"46": "category-manager.test.tsx",
|
||||
"47": "graphify",
|
||||
"48": "@types/react-dom",
|
||||
"49": "typescript-eslint",
|
||||
"50": "Ближайший край: накопления, категории и блокировки бюджета",
|
||||
"51": "vitest",
|
||||
"52": "Favicon SVG (ledger lines icon)",
|
||||
"53": "init-app-role.sh",
|
||||
"54": "app/__init__.py",
|
||||
"55": "spaces/__init__.py",
|
||||
"56": "Payee",
|
||||
"57": "eslint.config.js",
|
||||
"58": "test_private_fixtures.py",
|
||||
"59": "vite-env.d.ts",
|
||||
"60": "vite.config.ts",
|
||||
"61": "finance-backend",
|
||||
"62": "LocalDirectoryBlobStore",
|
||||
"63": "OzonDebitPdfAdapter",
|
||||
"64": "Gitea CI and real statement imports",
|
||||
"65": "20260918_0002_hold_lifecycle.py",
|
||||
"66": "eslint-plugin-react-hooks",
|
||||
"67": "import-hold-resolution.test.tsx",
|
||||
"68": "budgeting/service.py",
|
||||
"69": "TestAlfaDebitContract",
|
||||
"70": "vite",
|
||||
"71": "mcc.py",
|
||||
"72": "TestAlfaSavingsRule",
|
||||
"73": "savings-convert-revert.test.tsx",
|
||||
"74": "get_settings",
|
||||
"75": "ColumnChart.tsx",
|
||||
"76": "dependencies.py",
|
||||
"77": "AGENTS.md",
|
||||
"78": "graphify.js",
|
||||
"79": "test_savings.py",
|
||||
"80": "test_category_definitions.py",
|
||||
"81": "budget-plan.test.tsx",
|
||||
"82": "imports/service.py",
|
||||
"83": "exports/service.py",
|
||||
"84": "test_imports.py",
|
||||
"85": "identity/service.py",
|
||||
"86": "Session",
|
||||
"87": "get_or_create_period",
|
||||
"88": "20260923_0005_optional_hold_reason.py",
|
||||
"89": "test_import_savings.py",
|
||||
"90": "conftest.py",
|
||||
"91": "test_review_queue_batch.py",
|
||||
"92": "review-queue-save.test.tsx",
|
||||
"94": "account-adjustment.test.tsx",
|
||||
"99": "0001-fixes.md"
|
||||
}
|
||||
@@ -0,0 +1,450 @@
|
||||
# Graph Report - finance (2026-09-23)
|
||||
|
||||
## Corpus Check
|
||||
- 187 files · ~90,160 words
|
||||
- Verdict: corpus is large enough that graph structure adds value.
|
||||
|
||||
## Summary
|
||||
- 1667 nodes · 5182 edges · 95 communities (72 shown, 16 thin omitted)
|
||||
- Extraction: 98% EXTRACTED · 2% INFERRED · 0% AMBIGUOUS · INFERRED: 91 edges (avg confidence: 0.93)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
## Graph Freshness
|
||||
- Built from commit: `63d06501`
|
||||
- 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)
|
||||
- Category
|
||||
- budgeting/router.py
|
||||
- db/models.py
|
||||
- AppError
|
||||
- imports/router.py
|
||||
- alfa_xlsx.py
|
||||
- system-account-picker.test.tsx
|
||||
- types.ts
|
||||
- router.tsx
|
||||
- ledger/router.py
|
||||
- @testing-library/jest-dom
|
||||
- compilerOptions
|
||||
- ReviewQueuePage.tsx
|
||||
- @testing-library/user-event
|
||||
- devDependencies
|
||||
- ledger/service.py
|
||||
- dependencies
|
||||
- ImportDetailPage.tsx
|
||||
- OperationsPage.tsx
|
||||
- Base
|
||||
- apiErrors.ts
|
||||
- adapters/base.py
|
||||
- BudgetPage.tsx
|
||||
- client.ts
|
||||
- fields.tsx
|
||||
- Docker Compose Development Stack
|
||||
- Financial Space
|
||||
- scripts
|
||||
- @types/react
|
||||
- General Pool
|
||||
- TestBaseContract
|
||||
- Per-File Envelope Encryption
|
||||
- Operation
|
||||
- Versioned Statement Imports
|
||||
- Finance Frontend SPA
|
||||
- Closed Beta Launch Gates
|
||||
- package.json
|
||||
- Financial Tracker MVP
|
||||
- test_adapter_contracts.py
|
||||
- generate-api.mjs
|
||||
- schema.d.ts
|
||||
- test_api.py
|
||||
- i18n-parity.test.ts
|
||||
- Expected Income
|
||||
- helpers.tsx
|
||||
- ledger/models.py
|
||||
- category-manager.test.tsx
|
||||
- graphify
|
||||
- @types/react-dom
|
||||
- typescript-eslint
|
||||
- Ближайший край: накопления, категории и блокировки бюджета
|
||||
- vitest
|
||||
- Favicon SVG (ledger lines icon)
|
||||
- init-app-role.sh
|
||||
- Payee
|
||||
- test_private_fixtures.py
|
||||
- finance-backend
|
||||
- LocalDirectoryBlobStore
|
||||
- OzonDebitPdfAdapter
|
||||
- Gitea CI and real statement imports
|
||||
- 20260918_0002_hold_lifecycle.py
|
||||
- eslint-plugin-react-hooks
|
||||
- import-hold-resolution.test.tsx
|
||||
- budgeting/service.py
|
||||
- TestAlfaDebitContract
|
||||
- vite
|
||||
- mcc.py
|
||||
- TestAlfaSavingsRule
|
||||
- savings-convert-revert.test.tsx
|
||||
- get_settings
|
||||
- ColumnChart.tsx
|
||||
- dependencies.py
|
||||
- AGENTS.md
|
||||
- test_savings.py
|
||||
- test_category_definitions.py
|
||||
- budget-plan.test.tsx
|
||||
- imports/service.py
|
||||
- exports/service.py
|
||||
- test_imports.py
|
||||
- identity/service.py
|
||||
- Session
|
||||
- get_or_create_period
|
||||
- 20260923_0005_optional_hold_reason.py
|
||||
- test_import_savings.py
|
||||
- conftest.py
|
||||
- test_review_queue_batch.py
|
||||
- review-queue-save.test.tsx
|
||||
- account-adjustment.test.tsx
|
||||
|
||||
## God Nodes (most connected - your core abstractions)
|
||||
1. `Session` - 211 edges
|
||||
2. `AppError` - 72 edges
|
||||
3. `Base` - 48 edges
|
||||
4. `conflict()` - 43 edges
|
||||
5. `get_settings()` - 40 edges
|
||||
6. `PkMixin` - 40 edges
|
||||
7. `record()` - 39 edges
|
||||
8. `TimestampMixin` - 38 edges
|
||||
9. `StatementDocument` - 36 edges
|
||||
10. `create_expense()` - 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 (95 total, 16 thin omitted)
|
||||
|
||||
### Community 0 - "Category"
|
||||
Cohesion: 0.20
|
||||
Nodes (15): balances(), cash_flow(), category_spend(), plan_fact(), date, UUID, category_for_mcc(), Category owning the MCC code, else the system «Остальное» fallback. (+7 more)
|
||||
|
||||
### Community 1 - "budgeting/router.py"
|
||||
Cohesion: 0.11
|
||||
Nodes (52): balances(), cash_flow(), category_spend(), plan_fact(), Context, date, Db, get (+44 more)
|
||||
|
||||
### Community 2 - "db/models.py"
|
||||
Cohesion: 0.17
|
||||
Nodes (23): AuditEvent, Append-only domain/security event. Never stores raw financial payloads., ExpectedIncome, ExpectedIncomeMatch, FundingMovement, PeriodClosure, PlanAssignment, Links one actual income operation to one expected income (1:1 per operation). (+15 more)
|
||||
|
||||
### Community 3 - "AppError"
|
||||
Cohesion: 0.19
|
||||
Nodes (11): AppError, Any, Domain error rendered as a machine-readable JSON error payload., unprocessable(), decrypt_file(), encrypt_file(), EncryptedFile, Per-file random DEK; DEK wrapped with the KEK from the secret manager. (+3 more)
|
||||
|
||||
### Community 4 - "imports/router.py"
|
||||
Cohesion: 0.05
|
||||
Nodes (79): _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… (+71 more)
|
||||
|
||||
### Community 5 - "alfa_xlsx.py"
|
||||
Cohesion: 0.12
|
||||
Nodes (32): AlfaCreditXlsxAdapter, AlfaDebitXlsxAdapter, _AlfaHeaderMeta, AlfaXlsxAdapterBase, _cell_str(), _debit_find_header(), _debit_header_metadata(), _debit_header_value() (+24 more)
|
||||
|
||||
### Community 6 - "system-account-picker.test.tsx"
|
||||
Cohesion: 0.11
|
||||
Nodes (15): AdjustBalanceResult, BudgetCategory, Operation, Page, budgetCategoriesMock, listAccountsMock, listOperationsMock, categoriesMock (+7 more)
|
||||
|
||||
### Community 7 - "types.ts"
|
||||
Cohesion: 0.08
|
||||
Nodes (35): AccountStatus, AccountType, AdjustBalancePayload, BalanceItem, BalancesReport, BudgetStatus, BudgetWarning, CashFlowMonth (+27 more)
|
||||
|
||||
### Community 8 - "router.tsx"
|
||||
Cohesion: 0.07
|
||||
Nodes (43): AcceptInvitePayload, LoginPayload, PasswordResetPayload, AcceptInvitePage, AccountsPage, AnalyticsPage, BudgetPage, ImportDetailPage (+35 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 - "ReviewQueuePage.tsx"
|
||||
Cohesion: 0.09
|
||||
Nodes (43): NotFoundPage, PlanFactBars(), PlanFactBarsProps, PlanFactRow, EmptyState(), EmptyStateProps, MonthSwitcher(), MonthSwitcherProps (+35 more)
|
||||
|
||||
### Community 14 - "devDependencies"
|
||||
Cohesion: 0.10
|
||||
Nodes (21): eslint, @eslint/js, eslint-plugin-jsx-a11y, devDependencies, eslint, @eslint/js, eslint-plugin-jsx-a11y, globals (+13 more)
|
||||
|
||||
### Community 15 - "ledger/service.py"
|
||||
Cohesion: 0.13
|
||||
Nodes (48): ensure_others_category(), The system «Остальное» fallback category, created on first use., 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() (+40 more)
|
||||
|
||||
### Community 16 - "dependencies"
|
||||
Cohesion: 0.09
|
||||
Nodes (23): @fontsource/funnel-sans, @fontsource/geist-mono, dependencies, @fontsource/funnel-sans, @fontsource/geist-mono, @hookform/resolvers, i18next, react (+15 more)
|
||||
|
||||
### Community 17 - "ImportDetailPage.tsx"
|
||||
Cohesion: 0.08
|
||||
Nodes (45): api, invalidationRoots, queryKeys, SESSION_ROOT, sessionInvalidationRoot, SPACE_ROOT, spaceInvalidationRoot, HoldResolutionAction (+37 more)
|
||||
|
||||
### Community 18 - "OperationsPage.tsx"
|
||||
Cohesion: 0.11
|
||||
Nodes (46): CategorizeBatchPayload, CreateOperationPayload, isSystemAccount(), Locale, useAccounts(), useActiveAccounts(), useUserAccounts(), useCategorizeBatch() (+38 more)
|
||||
|
||||
### Community 19 - "Base"
|
||||
Cohesion: 0.15
|
||||
Nodes (22): downgrade(), upgrade(), BankCategoryMapping, CategorizationRule, CategoryMcc, IncomeSource, MccCode, Payee (+14 more)
|
||||
|
||||
### Community 20 - "apiErrors.ts"
|
||||
Cohesion: 0.09
|
||||
Nodes (24): isApiError(), BudgetBlocker, App(), queryClient, AppRoutes(), blockerCta(), blockerText(), BudgetBlockers() (+16 more)
|
||||
|
||||
### Community 21 - "adapters/base.py"
|
||||
Cohesion: 0.12
|
||||
Nodes (20): account_fingerprint(), _mask_digits(), money_to_kopecks(), normalize_description(), date, Parse statement money strings like '-1 234,56 RUR', '+ 500.00 ₽', '12 345'.…, record_fingerprint(), StatementDraft (+12 more)
|
||||
|
||||
### Community 22 - "BudgetPage.tsx"
|
||||
Cohesion: 0.14
|
||||
Nodes (27): CreatableCategoryKind, CategoryManagerModal(), CREATE_KINDS, CreateCategoryForm(), MccCodesModal(), parseMccCodes(), RenameModal(), Badge() (+19 more)
|
||||
|
||||
### Community 23 - "client.ts"
|
||||
Cohesion: 0.26
|
||||
Nodes (10): apiClient, ApiError, buildUrl(), ErrorEnvelope, parseErrorEnvelope(), QueryValue, readCsrfToken(), request() (+2 more)
|
||||
|
||||
### Community 24 - "fields.tsx"
|
||||
Cohesion: 0.21
|
||||
Nodes (11): FieldChrome, InputProps, MoneyField(), MoneyFieldProps, SelectField(), SelectFieldProps, SelectProps, TextareaField() (+3 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 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 - "TestBaseContract"
|
||||
Cohesion: 0.21
|
||||
Nodes (3): make_draft(), make_source_row(), TestBaseContract
|
||||
|
||||
### 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 - "test_adapter_contracts.py"
|
||||
Cohesion: 0.13
|
||||
Nodes (8): minimal_pdf(), _QuotaSettings, Sanitized synthetic contract tests for the evidenced statement adapters. These…, Build a small valid single-font PDF with empty or ASCII-only pages., same_page_rocket_lines(), synthetic_rocket_lines(), TestRocketbankDebitContract, MonkeyPatch
|
||||
|
||||
### 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 - "helpers.tsx"
|
||||
Cohesion: 0.18
|
||||
Nodes (11): User, DESKTOP_NAV, meMock, MOBILE_NAV, user, createTestQueryClient(), renderWithProviders(), loginMock (+3 more)
|
||||
|
||||
### Community 45 - "ledger/models.py"
|
||||
Cohesion: 0.26
|
||||
Nodes (11): 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, test_postgres_rls_requires_matching_transaction_context(), test_s3_blob_round_trip() (+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 50 - "Ближайший край: накопления, категории и блокировки бюджета"
|
||||
Cohesion: 0.10
|
||||
Nodes (20): 1. Доменная основа накоплений, 2. Альфа debit: «Копилка для сдачи», 3. Управление категориями, 4. Понятные и устранимые блокировки, Backend-контракт, Frontend, Ближайший край: накопления, категории и блокировки бюджета, Бюджетная семантика (+12 more)
|
||||
|
||||
### Community 58 - "test_private_fixtures.py"
|
||||
Cohesion: 0.10
|
||||
Nodes (24): Protocol, StatementAdapter, detect_adapter(), Any, Reconcile parsed rows against declared bank controls with stable diagnostics.…, _reconciliation_summary(), _check(), _fail() (+16 more)
|
||||
|
||||
### Community 62 - "LocalDirectoryBlobStore"
|
||||
Cohesion: 0.39
|
||||
Nodes (3): LocalDirectoryBlobStore, Path, S3-neutral local store; production swaps in an S3-compatible client.
|
||||
|
||||
### Community 63 - "OzonDebitPdfAdapter"
|
||||
Cohesion: 0.18
|
||||
Nodes (6): _ozon_normalize(), OzonDebitPdfAdapter, Ozon debit statement contract, evidenced against the real document. A 'Справка…, ozon_extracted(), TestOzonDebitContract, Pattern
|
||||
|
||||
### 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.15
|
||||
Nodes (11): ImportDetail, ImportRow, ImportSummary, confirmMock, detailFixture(), getImportMock, postedRow(), getImportMock (+3 more)
|
||||
|
||||
### Community 68 - "budgeting/service.py"
|
||||
Cohesion: 0.16
|
||||
Nodes (39): BudgetPeriod, Calendar month budget period in the space timezone (month granularity)., add_expected_income(), archive_category(), _balance_until(), _close_blockers(), close_period(), _closure_snapshot() (+31 more)
|
||||
|
||||
### Community 69 - "TestAlfaDebitContract"
|
||||
Cohesion: 0.18
|
||||
Nodes (3): alfa_workbook_bytes(), synthetic_alfa_rows(), TestAlfaDebitContract
|
||||
|
||||
### Community 71 - "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 73 - "savings-convert-revert.test.tsx"
|
||||
Cohesion: 0.20
|
||||
Nodes (6): budgetCategoriesMock, listAccountsMock, listOperationsMock, operations, revertMock, savingsTransferMock
|
||||
|
||||
### Community 74 - "get_settings"
|
||||
Cohesion: 0.12
|
||||
Nodes (30): get_settings(), Settings, send_token_email(), accept_invite(), AcceptInviteBody, confirm_password_reset(), create_invite(), InviteBody (+22 more)
|
||||
|
||||
### Community 75 - "ColumnChart.tsx"
|
||||
Cohesion: 0.24
|
||||
Nodes (7): CashFlowColumn, ColumnChart(), ColumnChartProps, BarRow, HorizontalBars(), HorizontalBarsProps, rows
|
||||
|
||||
### Community 76 - "dependencies.py"
|
||||
Cohesion: 0.09
|
||||
Nodes (39): current_context(), current_session(), alias, Context, CurrentSession, Db, Header, User (+31 more)
|
||||
|
||||
### Community 79 - "test_savings.py"
|
||||
Cohesion: 0.14
|
||||
Nodes (33): adjust_balance(), convert_expense_to_savings(), ensure_savings_resources(), Account, date, Operation, User, UUID (+25 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 - "imports/service.py"
|
||||
Cohesion: 0.18
|
||||
Nodes (29): Any, record(), utcnow(), conflict(), not_found(), magic_kind(), _apply_hold_matches(), _category_id_for_source() (+21 more)
|
||||
|
||||
### Community 83 - "exports/service.py"
|
||||
Cohesion: 0.13
|
||||
Nodes (19): DataExport, build_export(), consume_export(), _csv_bytes(), get_export(), _json_rows(), purge_due_spaces(), datetime (+11 more)
|
||||
|
||||
### Community 84 - "test_imports.py"
|
||||
Cohesion: 0.17
|
||||
Nodes (29): DedupCandidate, ParseRun, Immutable extracted bank fact with document origin coordinates., SourceRecord, SourceRecordLink, StatementDocument, _build_candidates(), _match_hold_resolutions() (+21 more)
|
||||
|
||||
### Community 85 - "identity/service.py"
|
||||
Cohesion: 0.26
|
||||
Nodes (20): bad_request(), unauthorized(), accept_invitation(), authenticate(), create_invitation(), create_password_reset(), create_session(), get_active_session() (+12 more)
|
||||
|
||||
### Community 86 - "Session"
|
||||
Cohesion: 0.16
|
||||
Nodes (41): Session, add_record(), _draft(), hold_document(), make_document(), date, Path, TestClient (+33 more)
|
||||
|
||||
### Community 87 - "get_or_create_period"
|
||||
Cohesion: 0.34
|
||||
Nodes (14): get_or_create_period(), validate_year_month(), Budget semantics for savings transfers, adjustments and archived history., savings_row(), seed(), test_adjustment_changes_only_envelope_available_not_pool(), test_adjustment_on_regular_account_keeps_pool_and_totals(), test_archived_category_history_stays_in_totals() (+6 more)
|
||||
|
||||
### Community 88 - "20260923_0005_optional_hold_reason.py"
|
||||
Cohesion: 0.83
|
||||
Nodes (3): downgrade(), _reason_constraint_name(), upgrade()
|
||||
|
||||
### Community 89 - "test_import_savings.py"
|
||||
Cohesion: 0.32
|
||||
Nodes (17): get_savings_account(), add_record(), make_document(), date, User, Import contract for the «Копилка для сдачи» savings_transfer decision., seed(), test_confirm_creates_savings_transfer_with_system_category() (+9 more)
|
||||
|
||||
### 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 92 - "review-queue-save.test.tsx"
|
||||
Cohesion: 0.25
|
||||
Nodes (6): categories, categoriesMock, categorizeBatchMock, categorizeMock, importsListMock, operationsListMock
|
||||
|
||||
### Community 94 - "account-adjustment.test.tsx"
|
||||
Cohesion: 0.20
|
||||
Nodes (5): Account, adjustBalanceMock, listMock, createMock, listMock
|
||||
|
||||
## Knowledge Gaps
|
||||
- **267 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` (+262 more)
|
||||
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 468 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 `Category`, `budgeting/router.py`, `db/models.py`, `imports/router.py`, `alfa_xlsx.py`, `ledger/service.py`, `Base`, `ledger/models.py`, `budgeting/service.py`, `mcc.py`, `dependencies.py`, `test_savings.py`, `imports/service.py`, `exports/service.py`, `test_imports.py`, `identity/service.py`, `get_or_create_period`, `test_import_savings.py`, `conftest.py`?**
|
||||
_High betweenness centrality (0.067) - this node is a cross-community bridge._
|
||||
- **Why does `AppError` connect `AppError` to `imports/router.py`, `alfa_xlsx.py`, `test_adapter_contracts.py`, `budgeting/service.py`, `get_settings`, `dependencies.py`, `ledger/service.py`, `test_savings.py`, `imports/service.py`, `test_imports.py`, `identity/service.py`, `adapters/base.py`, `get_or_create_period`, `Session`, `test_import_savings.py`, `OzonDebitPdfAdapter`?**
|
||||
_High betweenness centrality (0.049) - this node is a cross-community bridge._
|
||||
- **Why does `TestRocketbankDebitContract` connect `test_adapter_contracts.py` to `AppError`, `adapters/base.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 39 inferred relationships involving `AppError` (e.g. with `request_export()` and `login()`) actually correct?**
|
||||
_`AppError` has 39 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?**
|
||||
_267 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+151
-126
@@ -1,24 +1,24 @@
|
||||
# Graph Report - finance (2026-09-23)
|
||||
|
||||
## Corpus Check
|
||||
- 182 files · ~87,581 words
|
||||
- 187 files · ~90,166 words
|
||||
- Verdict: corpus is large enough that graph structure adds value.
|
||||
|
||||
## Summary
|
||||
- 1620 nodes · 5066 edges · 89 communities (67 shown, 16 thin omitted)
|
||||
- 1667 nodes · 5182 edges · 95 communities (72 shown, 16 thin omitted)
|
||||
- Extraction: 98% EXTRACTED · 2% INFERRED · 0% AMBIGUOUS · INFERRED: 91 edges (avg confidence: 0.93)
|
||||
- Token cost: 0 input · 0 output
|
||||
|
||||
## Graph Freshness
|
||||
- Built from commit: `db4dd757`
|
||||
- Built from commit: `63d06501`
|
||||
- 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)
|
||||
- categorization/service.py
|
||||
- Category
|
||||
- budgeting/router.py
|
||||
- Base
|
||||
- exports/service.py
|
||||
- db/models.py
|
||||
- AppError
|
||||
- imports/router.py
|
||||
- alfa_xlsx.py
|
||||
- system-account-picker.test.tsx
|
||||
@@ -27,17 +27,17 @@
|
||||
- ledger/router.py
|
||||
- @testing-library/jest-dom
|
||||
- compilerOptions
|
||||
- BudgetPage.tsx
|
||||
- ReviewQueuePage.tsx
|
||||
- @testing-library/user-event
|
||||
- devDependencies
|
||||
- AppError
|
||||
- ledger/service.py
|
||||
- dependencies
|
||||
- ImportDetailPage.tsx
|
||||
- OperationsPage.tsx
|
||||
- useOperations.ts
|
||||
- Base
|
||||
- apiErrors.ts
|
||||
- test_adapter_contracts.py
|
||||
- useBudget.ts
|
||||
- adapters/base.py
|
||||
- BudgetPage.tsx
|
||||
- client.ts
|
||||
- fields.tsx
|
||||
- Docker Compose Development Stack
|
||||
@@ -53,14 +53,14 @@
|
||||
- Closed Beta Launch Gates
|
||||
- package.json
|
||||
- Financial Tracker MVP
|
||||
- TestRocketbankDebitContract
|
||||
- test_adapter_contracts.py
|
||||
- generate-api.mjs
|
||||
- schema.d.ts
|
||||
- test_api.py
|
||||
- i18n-parity.test.ts
|
||||
- Expected Income
|
||||
- api
|
||||
- set_space_context
|
||||
- helpers.tsx
|
||||
- ledger/models.py
|
||||
- category-manager.test.tsx
|
||||
- graphify
|
||||
- @types/react-dom
|
||||
@@ -77,36 +77,41 @@
|
||||
- Gitea CI and real statement imports
|
||||
- 20260918_0002_hold_lifecycle.py
|
||||
- eslint-plugin-react-hooks
|
||||
- main.py
|
||||
- analytics/router.py
|
||||
- import-hold-resolution.test.tsx
|
||||
- budgeting/service.py
|
||||
- TestAlfaDebitContract
|
||||
- vite
|
||||
- mcc.py
|
||||
- TestAlfaSavingsRule
|
||||
- savings-convert-revert.test.tsx
|
||||
- exports/router.py
|
||||
- get_settings
|
||||
- ColumnChart.tsx
|
||||
- identity/service.py
|
||||
- dependencies.py
|
||||
- AGENTS.md
|
||||
- Category
|
||||
- test_savings.py
|
||||
- test_category_definitions.py
|
||||
- budget-plan.test.tsx
|
||||
- import-hold-resolution.test.tsx
|
||||
- get_settings
|
||||
- session_scope
|
||||
- 20260923_0004_mcc_categories.py
|
||||
- imports/service.py
|
||||
- exports/service.py
|
||||
- test_imports.py
|
||||
- identity/service.py
|
||||
- Session
|
||||
- app_error_handler
|
||||
- get_or_create_period
|
||||
- 20260923_0005_optional_hold_reason.py
|
||||
- test_import_savings.py
|
||||
- conftest.py
|
||||
- test_review_queue_batch.py
|
||||
- review-queue-save.test.tsx
|
||||
- account-adjustment.test.tsx
|
||||
|
||||
## God Nodes (most connected - your core abstractions)
|
||||
1. `Session` - 209 edges
|
||||
1. `Session` - 211 edges
|
||||
2. `AppError` - 72 edges
|
||||
3. `Base` - 48 edges
|
||||
4. `conflict()` - 43 edges
|
||||
5. `get_settings()` - 40 edges
|
||||
6. `PkMixin` - 40 edges
|
||||
7. `record()` - 38 edges
|
||||
7. `record()` - 39 edges
|
||||
8. `TimestampMixin` - 38 edges
|
||||
9. `StatementDocument` - 36 edges
|
||||
10. `create_expense()` - 36 edges
|
||||
@@ -131,99 +136,99 @@
|
||||
- **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 (89 total, 16 thin omitted)
|
||||
## Communities (95 total, 16 thin omitted)
|
||||
|
||||
### Community 0 - "categorization/service.py"
|
||||
Cohesion: 0.14
|
||||
Nodes (24): CategorizationRule, CategoryMcc, IncomeSource, MccCode, Payee, PayeeAlias, Space-scoped MCC codes of a category: many codes per category, but every code…, Confirmed payee rule: auto-applies category to matching future operations. (+16 more)
|
||||
### Community 0 - "Category"
|
||||
Cohesion: 0.20
|
||||
Nodes (15): balances(), cash_flow(), category_spend(), plan_fact(), date, UUID, category_for_mcc(), Category owning the MCC code, else the system «Остальное» fallback. (+7 more)
|
||||
|
||||
### Community 1 - "budgeting/router.py"
|
||||
Cohesion: 0.11
|
||||
Nodes (52): balances(), cash_flow(), category_spend(), plan_fact(), Context, date, Db, get (+44 more)
|
||||
|
||||
### Community 2 - "db/models.py"
|
||||
Cohesion: 0.17
|
||||
Nodes (41): AssignmentItem, assignments(), AssignmentsBody, categories(), category_definition_json(), category_definitions(), CategoryBody, CategoryDefinitionPatchBody (+33 more)
|
||||
Nodes (23): AuditEvent, Append-only domain/security event. Never stores raw financial payloads., ExpectedIncome, ExpectedIncomeMatch, FundingMovement, PeriodClosure, PlanAssignment, Links one actual income operation to one expected income (1:1 per operation). (+15 more)
|
||||
|
||||
### Community 2 - "Base"
|
||||
Cohesion: 0.13
|
||||
Nodes (33): downgrade(), upgrade(), AuditEvent, Append-only domain/security event. Never stores raw financial payloads., ExpectedIncome, ExpectedIncomeMatch, FundingMovement, PeriodClosure (+25 more)
|
||||
|
||||
### Community 3 - "exports/service.py"
|
||||
### Community 3 - "AppError"
|
||||
Cohesion: 0.19
|
||||
Nodes (17): build_export(), cancel_deletion(), consume_export(), _csv_bytes(), get_export(), _json_rows(), datetime, UUID (+9 more)
|
||||
Nodes (11): AppError, Any, Domain error rendered as a machine-readable JSON error payload., unprocessable(), decrypt_file(), encrypt_file(), EncryptedFile, Per-file random DEK; DEK wrapped with the KEK from the secret manager. (+3 more)
|
||||
|
||||
### Community 4 - "imports/router.py"
|
||||
Cohesion: 0.15
|
||||
Nodes (35): confirm(), ConfirmBody, decide_row(), DecisionBody, delete_source(), detail(), HoldResolveBody, imports() (+27 more)
|
||||
Cohesion: 0.05
|
||||
Nodes (79): _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… (+71 more)
|
||||
|
||||
### Community 5 - "alfa_xlsx.py"
|
||||
Cohesion: 0.17
|
||||
Nodes (24): AlfaDebitXlsxAdapter, _AlfaHeaderMeta, AlfaXlsxAdapterBase, _cell_str(), _debit_find_header(), _debit_header_metadata(), _debit_header_value(), _debit_norm() (+16 more)
|
||||
Cohesion: 0.12
|
||||
Nodes (32): AlfaCreditXlsxAdapter, AlfaDebitXlsxAdapter, _AlfaHeaderMeta, AlfaXlsxAdapterBase, _cell_str(), _debit_find_header(), _debit_header_metadata(), _debit_header_value() (+24 more)
|
||||
|
||||
### Community 6 - "system-account-picker.test.tsx"
|
||||
Cohesion: 0.15
|
||||
Nodes (12): AdjustBalanceResult, BudgetCategory, Operation, Page, categoriesMock, importsListMock, importSummary, operationsListMock (+4 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (15): AdjustBalanceResult, BudgetCategory, Operation, Page, budgetCategoriesMock, listAccountsMock, listOperationsMock, categoriesMock (+7 more)
|
||||
|
||||
### Community 7 - "types.ts"
|
||||
Cohesion: 0.08
|
||||
Nodes (34): AccountStatus, AccountType, AdjustBalancePayload, BalanceItem, BalancesReport, BudgetStatus, BudgetWarning, CashFlowMonth (+26 more)
|
||||
Nodes (35): AccountStatus, AccountType, AdjustBalancePayload, BalanceItem, BalancesReport, BudgetStatus, BudgetWarning, CashFlowMonth (+27 more)
|
||||
|
||||
### Community 8 - "router.tsx"
|
||||
Cohesion: 0.07
|
||||
Nodes (53): AcceptInvitePayload, LoginPayload, PasswordResetPayload, AcceptInvitePage, AccountsPage, AnalyticsPage, BudgetPage, ImportDetailPage (+45 more)
|
||||
Nodes (43): AcceptInvitePayload, LoginPayload, PasswordResetPayload, AcceptInvitePage, AccountsPage, AnalyticsPage, BudgetPage, ImportDetailPage (+35 more)
|
||||
|
||||
### Community 9 - "ledger/router.py"
|
||||
Cohesion: 0.16
|
||||
Nodes (35): account_json(), AccountBody, accounts(), adjust_balance(), AdjustBalanceBody, archive_account(), create_account(), create_operation() (+27 more)
|
||||
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.10
|
||||
Nodes (42): NotFoundPage, PlanFactBars(), PlanFactBarsProps, PlanFactRow, MonthSwitcher(), MonthSwitcherProps, PageHeader(), PageHeaderProps (+34 more)
|
||||
### Community 12 - "ReviewQueuePage.tsx"
|
||||
Cohesion: 0.09
|
||||
Nodes (43): NotFoundPage, PlanFactBars(), PlanFactBarsProps, PlanFactRow, EmptyState(), EmptyStateProps, MonthSwitcher(), MonthSwitcherProps (+35 more)
|
||||
|
||||
### Community 14 - "devDependencies"
|
||||
Cohesion: 0.10
|
||||
Nodes (21): eslint, @eslint/js, eslint-plugin-jsx-a11y, devDependencies, eslint, @eslint/js, eslint-plugin-jsx-a11y, globals (+13 more)
|
||||
|
||||
### Community 15 - "AppError"
|
||||
Cohesion: 0.06
|
||||
Nodes (141): Any, record(), BudgetPeriod, Calendar month budget period in the space timezone (month granularity)., add_expected_income(), archive_category(), _balance_until(), _close_blockers() (+133 more)
|
||||
### Community 15 - "ledger/service.py"
|
||||
Cohesion: 0.13
|
||||
Nodes (48): ensure_others_category(), The system «Остальное» fallback category, created on first use., 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() (+40 more)
|
||||
|
||||
### Community 16 - "dependencies"
|
||||
Cohesion: 0.09
|
||||
Nodes (23): @fontsource/funnel-sans, @fontsource/geist-mono, dependencies, @fontsource/funnel-sans, @fontsource/geist-mono, @hookform/resolvers, i18next, react (+15 more)
|
||||
|
||||
### Community 17 - "ImportDetailPage.tsx"
|
||||
Cohesion: 0.16
|
||||
Nodes (23): HoldResolutionAction, ImportStatus, RowDecision, useToast(), useConfirmImport(), useImport(), useImportErrorToaster(), useReparseImport() (+15 more)
|
||||
Cohesion: 0.08
|
||||
Nodes (45): api, invalidationRoots, queryKeys, SESSION_ROOT, sessionInvalidationRoot, SPACE_ROOT, spaceInvalidationRoot, HoldResolutionAction (+37 more)
|
||||
|
||||
### Community 18 - "OperationsPage.tsx"
|
||||
Cohesion: 0.09
|
||||
Nodes (54): Account, isSystemAccount(), Locale, Badge(), BadgeTone, EmptyState(), EmptyStateProps, MoneyField() (+46 more)
|
||||
Cohesion: 0.11
|
||||
Nodes (46): CategorizeBatchPayload, CreateOperationPayload, isSystemAccount(), Locale, useAccounts(), useActiveAccounts(), useUserAccounts(), useCategorizeBatch() (+38 more)
|
||||
|
||||
### Community 19 - "useOperations.ts"
|
||||
### Community 19 - "Base"
|
||||
Cohesion: 0.15
|
||||
Nodes (16): invalidationRoots, queryKeys, SESSION_ROOT, sessionInvalidationRoot, SPACE_ROOT, spaceInvalidationRoot, CreateOperationPayload, OperationFilters (+8 more)
|
||||
Nodes (22): downgrade(), upgrade(), BankCategoryMapping, CategorizationRule, CategoryMcc, IncomeSource, MccCode, Payee (+14 more)
|
||||
|
||||
### Community 20 - "apiErrors.ts"
|
||||
Cohesion: 0.09
|
||||
Nodes (24): isApiError(), BudgetBlocker, App(), queryClient, AppRoutes(), blockerCta(), blockerText(), BudgetBlockers() (+16 more)
|
||||
|
||||
### Community 21 - "adapters/base.py"
|
||||
Cohesion: 0.12
|
||||
Nodes (20): account_fingerprint(), _mask_digits(), money_to_kopecks(), normalize_description(), date, Parse statement money strings like '-1 234,56 RUR', '+ 500.00 ₽', '12 345'.…, record_fingerprint(), StatementDraft (+12 more)
|
||||
|
||||
### Community 22 - "BudgetPage.tsx"
|
||||
Cohesion: 0.14
|
||||
Nodes (16): isApiError(), BudgetBlocker, App(), queryClient, AppRoutes(), blockerCta(), blockerText(), BudgetBlockers() (+8 more)
|
||||
|
||||
### Community 21 - "test_adapter_contracts.py"
|
||||
Cohesion: 0.11
|
||||
Nodes (25): AlfaCreditXlsxAdapter, account_fingerprint(), amount_to_kopecks(), _mask_digits(), money_to_kopecks(), Protocol, Parse statement money strings like '-1 234,56 RUR', '+ 500.00 ₽', '12 345'.…, SourceRow (+17 more)
|
||||
|
||||
### Community 22 - "useBudget.ts"
|
||||
Cohesion: 0.22
|
||||
Nodes (15): CategoryManagerModal(), CREATE_KINDS, CreateCategoryForm(), MccCodesModal(), parseMccCodes(), RenameModal(), ConfirmDialog(), ConfirmDialogProps (+7 more)
|
||||
Nodes (27): CreatableCategoryKind, CategoryManagerModal(), CREATE_KINDS, CreateCategoryForm(), MccCodesModal(), parseMccCodes(), RenameModal(), Badge() (+19 more)
|
||||
|
||||
### Community 23 - "client.ts"
|
||||
Cohesion: 0.26
|
||||
Nodes (10): apiClient, ApiError, buildUrl(), ErrorEnvelope, parseErrorEnvelope(), QueryValue, readCsrfToken(), request() (+2 more)
|
||||
|
||||
### Community 24 - "fields.tsx"
|
||||
Cohesion: 0.25
|
||||
Nodes (9): FieldChrome, InputProps, MoneyFieldProps, SelectFieldProps, SelectProps, TextareaField(), TextareaFieldProps, TextareaProps (+1 more)
|
||||
Cohesion: 0.21
|
||||
Nodes (11): FieldChrome, InputProps, MoneyField(), MoneyFieldProps, SelectField(), SelectFieldProps, SelectProps, TextareaField() (+3 more)
|
||||
|
||||
### Community 25 - "Docker Compose Development Stack"
|
||||
Cohesion: 0.29
|
||||
@@ -273,9 +278,9 @@ Nodes (4): name, private, type, version
|
||||
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"
|
||||
### Community 38 - "test_adapter_contracts.py"
|
||||
Cohesion: 0.13
|
||||
Nodes (7): minimal_pdf(), _QuotaSettings, Build a small valid single-font PDF with empty or ASCII-only pages., same_page_rocket_lines(), synthetic_rocket_lines(), TestRocketbankDebitContract, MonkeyPatch
|
||||
Nodes (8): minimal_pdf(), _QuotaSettings, Sanitized synthetic contract tests for the evidenced statement adapters. These…, Build a small valid single-font PDF with empty or ASCII-only pages., same_page_rocket_lines(), synthetic_rocket_lines(), TestRocketbankDebitContract, MonkeyPatch
|
||||
|
||||
### Community 39 - "generate-api.mjs"
|
||||
Cohesion: 0.40
|
||||
@@ -289,17 +294,17 @@ Nodes (5): components, $defs, operations, paths, webhooks
|
||||
Cohesion: 0.67
|
||||
Nodes (3): TestClient, test_invite_login_and_authenticated_space(), test_openapi_contains_critical_paths()
|
||||
|
||||
### Community 44 - "api"
|
||||
Cohesion: 0.11
|
||||
Nodes (18): api, User, ToastApi, ToastContext, ToastItem, ToastKind, ToastProvider(), adjustBalanceMock (+10 more)
|
||||
### Community 44 - "helpers.tsx"
|
||||
Cohesion: 0.18
|
||||
Nodes (11): User, DESKTOP_NAV, meMock, MOBILE_NAV, user, createTestQueryClient(), renderWithProviders(), loginMock (+3 more)
|
||||
|
||||
### Community 45 - "set_space_context"
|
||||
### Community 45 - "ledger/models.py"
|
||||
Cohesion: 0.26
|
||||
Nodes (13): _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… (+5 more)
|
||||
Nodes (11): 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, test_postgres_rls_requires_matching_transaction_context(), test_s3_blob_round_trip() (+3 more)
|
||||
|
||||
### Community 46 - "category-manager.test.tsx"
|
||||
Cohesion: 0.15
|
||||
Nodes (11): CategoryDefinition, categoriesMock, createCategoryMock, definitions, definitionsMock, diningDefinition, month, monthCategories (+3 more)
|
||||
Cohesion: 0.14
|
||||
Nodes (12): CategoryDefinition, categoriesMock, createCategoryMock, definitions, definitionsMock, diningDefinition, month, monthCategories (+4 more)
|
||||
|
||||
### Community 47 - "graphify"
|
||||
Cohesion: 0.17
|
||||
@@ -310,16 +315,16 @@ Cohesion: 0.10
|
||||
Nodes (20): 1. Доменная основа накоплений, 2. Альфа debit: «Копилка для сдачи», 3. Управление категориями, 4. Понятные и устранимые блокировки, Backend-контракт, Frontend, Ближайший край: накопления, категории и блокировки бюджета, Бюджетная семантика (+12 more)
|
||||
|
||||
### Community 58 - "test_private_fixtures.py"
|
||||
Cohesion: 0.12
|
||||
Nodes (22): detect_adapter(), Any, Reconcile parsed rows against declared bank controls with stable diagnostics.…, _reconciliation_summary(), _check(), _fail(), _load_entries(), parsed() (+14 more)
|
||||
Cohesion: 0.10
|
||||
Nodes (24): Protocol, StatementAdapter, detect_adapter(), Any, Reconcile parsed rows against declared bank controls with stable diagnostics.…, _reconciliation_summary(), _check(), _fail() (+16 more)
|
||||
|
||||
### Community 62 - "LocalDirectoryBlobStore"
|
||||
Cohesion: 0.39
|
||||
Nodes (3): LocalDirectoryBlobStore, Path, S3-neutral local store; production swaps in an S3-compatible client.
|
||||
|
||||
### Community 63 - "OzonDebitPdfAdapter"
|
||||
Cohesion: 0.16
|
||||
Nodes (7): _ozon_cell(), _ozon_normalize(), OzonDebitPdfAdapter, Ozon debit statement contract, evidenced against the real document. A 'Справка…, ozon_extracted(), TestOzonDebitContract, Pattern
|
||||
Cohesion: 0.18
|
||||
Nodes (6): _ozon_normalize(), OzonDebitPdfAdapter, Ozon debit statement contract, evidenced against the real document. A 'Справка…, ozon_extracted(), TestOzonDebitContract, Pattern
|
||||
|
||||
### Community 64 - "Gitea CI and real statement imports"
|
||||
Cohesion: 0.29
|
||||
@@ -329,41 +334,41 @@ Nodes (6): Confirmed decisions, Gitea CI and real statement imports, Goal and co
|
||||
Cohesion: 0.80
|
||||
Nodes (4): downgrade(), _has_check_constraint(), _has_column(), upgrade()
|
||||
|
||||
### Community 67 - "main.py"
|
||||
Cohesion: 0.31
|
||||
Nodes (9): get_db(), get_engine(), get_session_factory(), sessionmaker, health(), healthz(), get, readiness() (+1 more)
|
||||
### Community 67 - "import-hold-resolution.test.tsx"
|
||||
Cohesion: 0.15
|
||||
Nodes (11): ImportDetail, ImportRow, ImportSummary, confirmMock, detailFixture(), getImportMock, postedRow(), getImportMock (+3 more)
|
||||
|
||||
### Community 68 - "analytics/router.py"
|
||||
Cohesion: 0.24
|
||||
Nodes (14): balances(), cash_flow(), category_spend(), plan_fact(), Context, date, Db, get (+6 more)
|
||||
### Community 68 - "budgeting/service.py"
|
||||
Cohesion: 0.16
|
||||
Nodes (39): BudgetPeriod, Calendar month budget period in the space timezone (month granularity)., add_expected_income(), archive_category(), _balance_until(), _close_blockers(), close_period(), _closure_snapshot() (+31 more)
|
||||
|
||||
### Community 69 - "TestAlfaDebitContract"
|
||||
Cohesion: 0.18
|
||||
Nodes (3): alfa_workbook_bytes(), synthetic_alfa_rows(), TestAlfaDebitContract
|
||||
|
||||
### Community 71 - "mcc.py"
|
||||
Cohesion: 0.24
|
||||
Nodes (12): _default_categories(), DefaultCategory, english_title(), _english_titles(), iter_mcc_dictionary(), MCC catalog backed by the iso18245 library with Russian labels. The global…, Curated Russian translation, else a Cyrillic transcription of the label., Yield ``(code, russian_title)`` for every MCC known to iso18245. (+4 more)
|
||||
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 73 - "savings-convert-revert.test.tsx"
|
||||
Cohesion: 0.20
|
||||
Nodes (6): budgetCategoriesMock, listAccountsMock, listOperationsMock, operations, revertMock, savingsTransferMock
|
||||
|
||||
### Community 74 - "exports/router.py"
|
||||
Cohesion: 0.27
|
||||
Nodes (10): download(), export_status(), Context, Csrf, Db, get, post, Response (+2 more)
|
||||
### Community 74 - "get_settings"
|
||||
Cohesion: 0.12
|
||||
Nodes (30): get_settings(), Settings, send_token_email(), accept_invite(), AcceptInviteBody, confirm_password_reset(), create_invite(), InviteBody (+22 more)
|
||||
|
||||
### Community 75 - "ColumnChart.tsx"
|
||||
Cohesion: 0.24
|
||||
Nodes (7): CashFlowColumn, ColumnChart(), ColumnChartProps, BarRow, HorizontalBars(), HorizontalBarsProps, rows
|
||||
|
||||
### Community 76 - "identity/service.py"
|
||||
Cohesion: 0.06
|
||||
Nodes (80): current_context(), current_session(), alias, Context, CurrentSession, Db, Header, User (+72 more)
|
||||
### Community 76 - "dependencies.py"
|
||||
Cohesion: 0.09
|
||||
Nodes (39): current_context(), current_session(), alias, Context, CurrentSession, Db, Header, User (+31 more)
|
||||
|
||||
### Community 79 - "Category"
|
||||
Cohesion: 0.23
|
||||
Nodes (12): Pure localization key for system categories; None for user categories., resolve_category_name_key(), Account, Category, Operation, Budget category. Kept in ledger module to avoid circular imports., Financial account. Balance is always derived: opening + confirmed postings., User financial fact. amount_kopecks is always positive; direction lives in… (+4 more)
|
||||
### Community 79 - "test_savings.py"
|
||||
Cohesion: 0.14
|
||||
Nodes (33): adjust_balance(), convert_expense_to_savings(), ensure_savings_resources(), Account, date, Operation, User, UUID (+25 more)
|
||||
|
||||
### Community 80 - "test_category_definitions.py"
|
||||
Cohesion: 0.50
|
||||
@@ -373,48 +378,68 @@ Nodes (8): bootstrap(), TestClient, HTTP contract for category definitions, syst
|
||||
Cohesion: 0.25
|
||||
Nodes (7): BudgetSummary, categories, categoriesMock, month, summary, summaryMock, updatePlanMock
|
||||
|
||||
### Community 82 - "import-hold-resolution.test.tsx"
|
||||
Cohesion: 0.15
|
||||
Nodes (11): ImportDetail, ImportRow, ImportSummary, confirmMock, detailFixture(), getImportMock, postedRow(), getImportMock (+3 more)
|
||||
### Community 82 - "imports/service.py"
|
||||
Cohesion: 0.18
|
||||
Nodes (29): Any, record(), utcnow(), conflict(), not_found(), magic_kind(), _apply_hold_matches(), _category_id_for_source() (+21 more)
|
||||
|
||||
### Community 83 - "get_settings"
|
||||
Cohesion: 0.10
|
||||
Nodes (12): get_settings(), Settings, send_token_email(), BlobStore, get_blob_store(), Protocol, S3BlobStore, create_celery_app() (+4 more)
|
||||
### Community 83 - "exports/service.py"
|
||||
Cohesion: 0.13
|
||||
Nodes (19): DataExport, build_export(), consume_export(), _csv_bytes(), get_export(), _json_rows(), purge_due_spaces(), datetime (+11 more)
|
||||
|
||||
### Community 84 - "session_scope"
|
||||
Cohesion: 0.31
|
||||
Nodes (9): Any, Transactional scope for workers/endpoints that own the transaction lifecycle., session_scope(), purge_due_spaces(), build_export_task(), enqueue_export(), purge_due_spaces_task(), task (+1 more)
|
||||
### Community 84 - "test_imports.py"
|
||||
Cohesion: 0.17
|
||||
Nodes (29): DedupCandidate, ParseRun, Immutable extracted bank fact with document origin coordinates., SourceRecord, SourceRecordLink, StatementDocument, _build_candidates(), _match_hold_resolutions() (+21 more)
|
||||
|
||||
### Community 85 - "20260923_0004_mcc_categories.py"
|
||||
Cohesion: 0.46
|
||||
Nodes (7): _create_tenant_policy(), _default_keys(), downgrade(), _has_table(), _space_ids(), upgrade(), default_category_system_keys()
|
||||
### Community 85 - "identity/service.py"
|
||||
Cohesion: 0.26
|
||||
Nodes (20): bad_request(), unauthorized(), accept_invitation(), authenticate(), create_invitation(), create_password_reset(), create_session(), get_active_session() (+12 more)
|
||||
|
||||
### Community 86 - "Session"
|
||||
Cohesion: 0.06
|
||||
Nodes (124): datetime, utcnow(), Session, detect_savings_transfer(), _savings_rule_text(), normalize_description(), date, record_fingerprint() (+116 more)
|
||||
Cohesion: 0.16
|
||||
Nodes (41): Session, add_record(), _draft(), hold_document(), make_document(), date, Path, TestClient (+33 more)
|
||||
|
||||
### Community 87 - "app_error_handler"
|
||||
Cohesion: 0.32
|
||||
Nodes (8): app_error_handler(), Request, security_headers(), stale_data_handler(), exception_handler, JSONResponse, middleware, StaleDataError
|
||||
### Community 87 - "get_or_create_period"
|
||||
Cohesion: 0.34
|
||||
Nodes (14): get_or_create_period(), validate_year_month(), Budget semantics for savings transfers, adjustments and archived history., savings_row(), seed(), test_adjustment_changes_only_envelope_available_not_pool(), test_adjustment_on_regular_account_keeps_pool_and_totals(), test_archived_category_history_stays_in_totals() (+6 more)
|
||||
|
||||
### Community 88 - "20260923_0005_optional_hold_reason.py"
|
||||
Cohesion: 0.83
|
||||
Nodes (3): downgrade(), _reason_constraint_name(), upgrade()
|
||||
|
||||
### Community 89 - "test_import_savings.py"
|
||||
Cohesion: 0.32
|
||||
Nodes (17): get_savings_account(), add_record(), make_document(), date, User, Import contract for the «Копилка для сдачи» savings_transfer decision., seed(), test_confirm_creates_savings_transfer_with_system_category() (+9 more)
|
||||
|
||||
### 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 92 - "review-queue-save.test.tsx"
|
||||
Cohesion: 0.25
|
||||
Nodes (6): categories, categoriesMock, categorizeBatchMock, categorizeMock, importsListMock, operationsListMock
|
||||
|
||||
### Community 94 - "account-adjustment.test.tsx"
|
||||
Cohesion: 0.20
|
||||
Nodes (5): Account, adjustBalanceMock, listMock, createMock, listMock
|
||||
|
||||
## Knowledge Gaps
|
||||
- **250 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` (+245 more)
|
||||
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 443 node(s) total have ≤1 connection when file, concept and rationale nodes are included.)
|
||||
- **267 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` (+262 more)
|
||||
These have ≤1 connection - possible missing edges or undocumented components. (Counts symbols only; 468 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 `categorization/service.py`, `budgeting/router.py`, `Base`, `main.py`, `analytics/router.py`, `exports/service.py`, `identity/service.py`, `set_space_context`, `AppError`, `Category`, `session_scope`, `20260923_0004_mcc_categories.py`?**
|
||||
_High betweenness centrality (0.070) - this node is a cross-community bridge._
|
||||
- **Why does `AppError` connect `AppError` to `exports/service.py`, `imports/router.py`, `alfa_xlsx.py`, `main.py`, `TestRocketbankDebitContract`, `exports/router.py`, `identity/service.py`, `test_adapter_contracts.py`, `Session`, `app_error_handler`, `OzonDebitPdfAdapter`?**
|
||||
_High betweenness centrality (0.043) - this node is a cross-community bridge._
|
||||
- **Why does `get_settings()` connect `get_settings` to `exports/service.py`, `main.py`, `alfa_xlsx.py`, `imports/router.py`, `identity/service.py`, `Category`, `test_adapter_contracts.py`, `Session`?**
|
||||
_High betweenness centrality (0.021) - this node is a cross-community bridge._
|
||||
- **Why does `Session` connect `Session` to `Category`, `budgeting/router.py`, `db/models.py`, `imports/router.py`, `alfa_xlsx.py`, `ledger/service.py`, `Base`, `ledger/models.py`, `budgeting/service.py`, `mcc.py`, `dependencies.py`, `test_savings.py`, `imports/service.py`, `exports/service.py`, `test_imports.py`, `identity/service.py`, `get_or_create_period`, `test_import_savings.py`, `conftest.py`?**
|
||||
_High betweenness centrality (0.067) - this node is a cross-community bridge._
|
||||
- **Why does `AppError` connect `AppError` to `imports/router.py`, `alfa_xlsx.py`, `test_adapter_contracts.py`, `budgeting/service.py`, `get_settings`, `dependencies.py`, `ledger/service.py`, `test_savings.py`, `imports/service.py`, `test_imports.py`, `identity/service.py`, `adapters/base.py`, `get_or_create_period`, `Session`, `test_import_savings.py`, `OzonDebitPdfAdapter`?**
|
||||
_High betweenness centrality (0.049) - this node is a cross-community bridge._
|
||||
- **Why does `TestRocketbankDebitContract` connect `test_adapter_contracts.py` to `AppError`, `adapters/base.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 39 inferred relationships involving `AppError` (e.g. with `request_export()` and `login()`) actually correct?**
|
||||
@@ -422,4 +447,4 @@ _Questions this graph is uniquely positioned to answer:_
|
||||
- **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?**
|
||||
_250 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
_267 weakly-connected nodes found - possible documentation gaps or missing edges._
|
||||
File diff suppressed because one or more lines are too long
+7941
-6041
File diff suppressed because it is too large
Load Diff
+63
-33
@@ -90,9 +90,9 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"backend/app/categorization/service.py": {
|
||||
"mtime": 1790141279.1839979,
|
||||
"seen": 1790141340.3614173,
|
||||
"ast_hash": "91b8f18d6fd833a1b234b7b2f1685a88",
|
||||
"mtime": 1790155243.3420188,
|
||||
"seen": 1790155776.860274,
|
||||
"ast_hash": "819febb7bcb738d77ca8636261e555cf",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"backend/app/config.py": {
|
||||
@@ -294,15 +294,15 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"backend/app/ledger/router.py": {
|
||||
"mtime": 1790097195.1290338,
|
||||
"seen": 1790129548.052997,
|
||||
"ast_hash": "cc108ddf12a8020198afe9d3d0847e2a",
|
||||
"mtime": 1790155278.0175776,
|
||||
"seen": 1790155776.860304,
|
||||
"ast_hash": "24b2565478f257f38561fabff646130a",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"backend/app/ledger/service.py": {
|
||||
"mtime": 1790139917.4417093,
|
||||
"seen": 1790140596.4645474,
|
||||
"ast_hash": "a9d176c786237da53b3a2e6fb6d6b4e6",
|
||||
"mtime": 1790155254.7072597,
|
||||
"seen": 1790155776.8603063,
|
||||
"ast_hash": "63421b7c145517e16863aa918e7874c1",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"backend/app/main.py": {
|
||||
@@ -426,9 +426,9 @@
|
||||
"semantic_hash": "dbea075a006b7703340f7f93e69d53ac"
|
||||
},
|
||||
"frontend/src/api/endpoints.ts": {
|
||||
"mtime": 1790076936.1693087,
|
||||
"seen": 1790096479.536486,
|
||||
"ast_hash": "bc61b518c946899ff0a9f4f00aaff9a0",
|
||||
"mtime": 1790155318.8911343,
|
||||
"seen": 1790155776.8603325,
|
||||
"ast_hash": "972cada63fe04b77326f9fd51c6a0fff",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"frontend/src/api/generated/schema.d.ts": {
|
||||
@@ -444,9 +444,9 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"frontend/src/api/types.ts": {
|
||||
"mtime": 1790140175.05337,
|
||||
"seen": 1790140596.4645727,
|
||||
"ast_hash": "7a2c079c721ef1966d181492a4624686",
|
||||
"mtime": 1790155310.2330165,
|
||||
"seen": 1790155776.8603358,
|
||||
"ast_hash": "168d7c87c05b4bf5205cde1bc45ff75b",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"frontend/src/app/router.tsx": {
|
||||
@@ -474,9 +474,9 @@
|
||||
"semantic_hash": "f581486baa48447ec4c573acef3190ef"
|
||||
},
|
||||
"frontend/src/components/layout/AppLayout.tsx": {
|
||||
"mtime": 1790096202.721176,
|
||||
"seen": 1790096479.5364962,
|
||||
"ast_hash": "40d35a9e1278142b233541c6c104e289",
|
||||
"mtime": 1790155877.7546387,
|
||||
"seen": 1790156681.7281113,
|
||||
"ast_hash": "b2485ee6009655cd96a2acda54c4e873",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"frontend/src/components/layout/LangSwitcher.tsx": {
|
||||
@@ -588,9 +588,9 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"frontend/src/hooks/useOperations.ts": {
|
||||
"mtime": 1790076985.3479233,
|
||||
"seen": 1790096479.5365133,
|
||||
"ast_hash": "26f72b4e30b26fe12d90b29dfb4c4246",
|
||||
"mtime": 1790155328.9502711,
|
||||
"seen": 1790155776.8603566,
|
||||
"ast_hash": "eb6bbfa18c0b8019fdce83171bae8348",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"frontend/src/hooks/useSpaceLifecycle.ts": {
|
||||
@@ -606,15 +606,15 @@
|
||||
"semantic_hash": "243512f6e095deeaa29393b7c831777f"
|
||||
},
|
||||
"frontend/src/i18n/locales/en.json": {
|
||||
"mtime": 1790141684.2632692,
|
||||
"seen": 1790142012.6081812,
|
||||
"ast_hash": "7fb00b4761bc40813a3c81cc9346d92e",
|
||||
"mtime": 1790155431.9488008,
|
||||
"seen": 1790155776.860359,
|
||||
"ast_hash": "a92d8d64ae7b7e47bf83e625ea901611",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"frontend/src/i18n/locales/ru.json": {
|
||||
"mtime": 1790141684.2632692,
|
||||
"seen": 1790142012.6081817,
|
||||
"ast_hash": "d82c9fcf5dec8f9d417ee4ead2e2825f",
|
||||
"mtime": 1790155435.0697088,
|
||||
"seen": 1790155776.8603597,
|
||||
"ast_hash": "31dc876ab451fbd85e91efde3c33f904",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"frontend/src/main.tsx": {
|
||||
@@ -672,9 +672,9 @@
|
||||
"semantic_hash": "53e014a77ff3070820a83458af08a5fd"
|
||||
},
|
||||
"frontend/src/pages/OperationsPage.tsx": {
|
||||
"mtime": 1790095531.9706314,
|
||||
"seen": 1790096479.5365317,
|
||||
"ast_hash": "f3eb4c376ab882b8b83cc27a09f0ab68",
|
||||
"mtime": 1790157347.0632977,
|
||||
"seen": 1790157380.8711965,
|
||||
"ast_hash": "79e817d97de60b1c3aa88a69312089c4",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"frontend/src/pages/ResetPasswordPage.tsx": {
|
||||
@@ -684,9 +684,9 @@
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"frontend/src/pages/ReviewQueuePage.tsx": {
|
||||
"mtime": 1790097345.6599903,
|
||||
"seen": 1790129548.0530627,
|
||||
"ast_hash": "3fd04897b64b97c0423b5b539e2736a6",
|
||||
"mtime": 1790155662.0787606,
|
||||
"seen": 1790155776.8603764,
|
||||
"ast_hash": "33d88c8996a7cc9eb4024cfc0cfd362e",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"frontend/src/pages/SettingsPage.tsx": {
|
||||
@@ -1120,5 +1120,35 @@
|
||||
"seen": 1790140596.4646177,
|
||||
"ast_hash": "c69052c781b488bfc9fd94c18145b3dd",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"backend/tests/test_review_queue_batch.py": {
|
||||
"mtime": 1790155761.6000907,
|
||||
"seen": 1790155776.860325,
|
||||
"ast_hash": "ca92b0417d73b849012c90803a4a6885",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"frontend/src/test/review-queue-save.test.tsx": {
|
||||
"mtime": 1790155709.274392,
|
||||
"seen": 1790155776.8603985,
|
||||
"ast_hash": "9eccf70e7d76c323be554e3520590723",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"docs/tasks/0001-fixes.md": {
|
||||
"mtime": 1790144165.8457038,
|
||||
"seen": 1790155776.8604262,
|
||||
"ast_hash": "69c251b98bc8a5e14817c94529fbb4b6",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"frontend/src/test/app-layout.test.tsx": {
|
||||
"mtime": 1790156070.9332047,
|
||||
"seen": 1790156681.7281497,
|
||||
"ast_hash": "ef17fe7a17d9a2cb09fe051c687f8f26",
|
||||
"semantic_hash": ""
|
||||
},
|
||||
"frontend/src/test/ledger-view.test.tsx": {
|
||||
"mtime": 1790157401.4480782,
|
||||
"seen": 1790157424.7858286,
|
||||
"ast_hash": "325d3bc51b743c4fdde3c00733ce9c99",
|
||||
"semantic_hash": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user