Files
smeta-railway/.claude/rules/output.md
T
anorandClaude Opus 4.6 f7b9400163 feat: web API модули + структурированные ошибки + few-shot промпты
Новые модули:
- errors.py — классификация ошибок (transient/validation/business)
- web/chat_api.py — поиск ГЭСН, НР/СП lookup
- web/generator_api.py — 3-шаговая генерация сметы
- .claude/rules/ — конвенции для calc/ai/output/web

Улучшения:
- generator.py: few-shot примеры, retry при невалидном JSON, предусловия
- bot.py: структурированные ошибки вместо голых Exception
- wizard_api.py: структурированные ошибки в HTTP-ответах

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 07:23:00 +10:00

430 B

paths
paths
src/smeta_railway/output/**

Output Module Rules

  • Excel output follows 27-column "Stroitelny Expert" layout — do not change column order
  • Column letters and headers are defined in excel_se.py constants — modify constants, not hardcoded values
  • Always test output with openpyxl load_workbook() to verify no corruption
  • Preserve existing cell formatting (fonts, borders, number formats) when modifying