Mikhail ChusavitinandClaude Opus 5.5 4e3b43dbd0 feat: фича-флаги конфигурации — клиент не сохраняет то, чего не понимает
Конфигурация хранит feature_flags (JSON-массив, NULL = нет) — какие данные
она использует. Флаги выводятся из содержимого при каждом сохранении
(internal/configfeatures). Если у конфигурации есть флаг, неизвестный этой
версии, клиент отказывается её изменять: все write-пути отдают 409
unsupported_config_features со списком флагов, конфигуратор показывает
баннер «обновите приложение» и блокирует сохранение. Push на сервер тоже
отказывается, если серверная версия несёт неизвестный флаг; такое изменение
остаётся в очереди до обновления.

Первый флаг: sale_row_markups. Серверная миграция 034 добавляет колонку;
до её применения запись идёт без колонки (с warning). Формат имён и реестр
флагов — bible-local/02-architecture.md, ADL 2026-09-24.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-24 12:10:58 +03:00
2026-09-17 11:58:24 +03:00
2026-03-01 16:57:50 +03:00
2026-03-01 16:57:50 +03:00
2026-01-22 17:29:47 +03:00
2026-02-18 07:02:17 +03:00

QuoteForge

Local-first desktop web app for server configuration, quotation, and project work.

Runtime model:

  • user work is stored in local SQLite;
  • MariaDB is used only for setup checks and background sync;
  • HTTP server binds to loopback only.

What the app does

  • configuration editor with price refresh from synced pricelists;
  • projects with variants and ordered configurations;
  • vendor BOM import and PN -> LOT resolution;
  • revision history with rollback;
  • rotating local backups.

Run

go run ./cmd/qfs

Useful commands:

go run ./cmd/qfs -migrate
go test ./...
go vet ./...
make build-release

On first run the app creates a minimal config.yaml, starts on http://127.0.0.1:8080, and opens /setup if DB credentials were not saved yet.

Documentation

bible-local/ is the source of truth for QuoteForge-specific architecture. If code changes behavior, update the matching file there in the same commit.

Repository map

cmd/                  entry points and migration tools
internal/             application code
web/                  templates and static assets
bible/                shared engineering rules
bible-local/          project architecture and contracts
releases/             packaged release artifacts and release notes
config.example.yaml   runtime config reference
S
Description
No description provided
Readme
69 MiB
0 Stars 1 Watchers 0 Forks
2026-09-01 09:02:01 +03:00
Languages
Go 66.7%
HTML 31.5%
JavaScript 1%
Shell 0.4%
Makefile 0.3%
Other 0.1%