Commit Graph
5 Commits
Author SHA1 Message Date
oqyude cdda703b37 T9: Excel as the model authoring surface
- ExcelRepository: canonical columns with ru/en aliases, date/number normalization
  (Excel dates, DD.MM.YYYY, '1 234,56', currency symbols, parentheses), account
  name->UUID resolution, per-row errors with sheet!row, warnings for formulas
  without cached values, duplicate names and default exchange rates
- ExcelTemplate: skeleton generator (number/date formats, dropdowns for currency,
  frequency en/ru and account, 'Инструкция' sheet); ship data/model_template.xlsx
- CLI: cf template-xlsx [--force]; cf import-xlsx --dry-run with rich error table,
  import writes nothing when the file has errors
- RecurringCashflow.account (empty = all accounts) + name/UUID matching in forecast;
  cf config recurring-add --account, account column in info/recurring-list
- Forecast: runs are idempotent, 'Итог: Баланс' sums all accounts of the last month
- README: 'Сборка модели в Excel' section
- ruff check . clean (9 pre-existing import/line-length findings fixed)
- MetaAgent: T9 archived, req-T9 approved, manifest/checkpoints/state synced

118 tests pass
2026-11-11 15:40:37 +03:00
oqyude 4b9cf7d417 chore: clean up post-refactor — remove old package paths, gitignore .omo/
- Remove old top-level packages (now in domain/application/infrastructure):
  - ai/ (moved to infrastructure/ai/)
  - cashflow_model/ (moved to domain/)
  - cli/ (moved to infrastructure/cli/)
  - engine/ (moved to application/)
  - sync/ (moved to infrastructure/repositories/excel_repository.py)
- .gitignore: add .omo/ (opencode local state)
- AGENTS.md: already updated to MetaAgent v3.0 paths in T1
- data/model.json: SCHEMA_VERSION=1 added in T1
2026-10-08 17:09:00 +03:00
oqyude feb77ef217 T1: restructure to domain/application/infrastructure + schema version 1
- Move cashflow_model/ -> domain/
- Move engine/ -> application/
- Move cli/, sync/, ai/ -> infrastructure/
- Update all imports across codebase and tests
- Add version=1 to FinancialModel.to_dict() with migration hook in from_dict
- Update pyproject.toml: cf entry point and packages.find

Tests: 63/63 pass.
2026-10-08 16:34:10 +03:00
oqyude e9c7120323 testing new features 2026-07-22 12:40:42 +03:00
oqyude 940d25435e bootstrap 2026-07-12 19:46:07 +03:00