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
This commit is contained in:
oqyude committed 2026-11-11 15:40:37 +03:00
1 parent b90ca4c282
commit cdda703b37
39 files changed
+2181 -198

No files matched your search

+5 -4
View File
@@ -6,14 +6,15 @@
---
## Статус на 2026-11-11 (после закрытия T8)
## Статус на 2026-11-11 (после T9)
Отработано из P0: A1+A10, A2+A3, A4, A5, A7+A8+A9 (T1–T7) + P1 currency display (T8, `d58547e`).
Отработано из P0: A1+A10, A2+A3, A4, A5, A7+A8+A9 (T1–T7) + P1 currency display (T8, `d58547e`) + Excel как поверхность сборки модели (T9).
Остаётся:
- **T9 (кандидат):** `CurrencyConverter.convert()` квантует до 0.01 → `0.1 USD → JPY` ≈8.07 вместо ≈7.86
- **T10+ (кандидат):** locale-aware разделитель тысяч (сейчас всегда `,`)
- **T10 (кандидат):** `CurrencyConverter.convert()` квантует до 0.01 → `0.1 USD → JPY` ≈8.07 вместо ≈7.86
- **T11 (кандидат):** locale-aware разделитель тысяч (сейчас всегда `,`)
- **Excel follow-ups:** выгрузка прогноза в Excel, слияние при импорте, привязка обязательств к счёту
- **P1:** CI/CD (`.github/`), mypy strict
- **P2:** pre-commit, логирование вместо `rich.print`
- **P0 из ADR:** ADR-001 (Repository), ADR-002 (слои), ADR-003 (schema versioning)