Commit Graph
1907 Commits
Author SHA1 Message Date
Sergey Matyunin 0dfc74244b feat: add opt-in Glow to space card
Issue: #374
User-Visible: yes
2026-08-29 14:46:52 +03:00
claude[bot] 8914190c56 docs: review document for #374
Issue: #374
User-Visible: no
2026-08-29 11:14:50 +00:00
Sergey Matyunin c4f3798612 docs: specify opt-in Glow for space card
Issue: #374
User-Visible: no
2026-08-29 14:08:15 +03:00
claude[bot] 8a65e0bfcd docs: review document for #371
Issue: #371
User-Visible: no
2026-08-29 10:52:27 +00:00
claude[bot]andCodex 1cd84dd07b docs: review document for #371
Issue: #371
User-Visible: no
2026-08-29 13:42:09 +03:00
Codex 4c4563cdbe docs: refresh screenshot fingerprint after rebase onto dev (#371)
User-Visible: no
Issue: #371
2026-08-29 13:41:58 +03:00
Codex c7dfd712b8 test: keep the fr chunk emitted in the #371 mutant (wrong dictionary via en)
The loadGerman-swap mutant tree-shook src/i18n/fr.ts, so the manifest
emit guard failed the mutant BUILD instead of the guard smoke. The
mutant now keeps import('./fr') alive and returns the English
dictionary, which only demo/smoke_french_locale.mjs can catch.

User-Visible: no
Issue: #371
2026-08-29 13:39:22 +03:00
Codex 7f3e67bce0 test: pin the fr entry to the fr dictionary via a live-bundle mutant (#371)
The entry-removed variant died at build time (tree-shaking drops the fr
chunk and the manifest emit guard refuses the bundle) — an infrastructure
failure, not a red guard. The mutant now swaps the fr entry to the German
loader instead: everything builds, parity units stay green, and only the
French smoke catches the wrong dictionary.

Issue: #371
User-Visible: no
2026-08-29 13:39:22 +03:00
Codex 89fa8ca588 feat: French localization — community contribution by @OUARZA (#371)
The complete French dictionary contributed in #371 (1026 keys, zero empty
values, zero placeholder mismatches) lands as the second lazy locale on the
fr.ts + one static entry. The contributor's snapshot predated this week's
keys, so the 121 additions (device inbox #29, backdrop guard #39, junction
limits #331, lazy-editor toasts #353/#354, furniture #159) are translated
in this commit and flagged in the issue for the author's review; 21 stale
pre-#62 keys are dropped; key order follows en.json. The HA integration
translations file ships as contributed (full parity).

Wiring: loadFrench + __HOUSEPLAN_FR_RETRY_ASSET__ with the same 1/1
replacement guarantee as German; locale roles and localeRoots generalise to
(de|fr); the stale-entry fallback panel (#353) gains its French branch —
the r1 reviewer caught that this second hardcoded language list would have
silently degraded French to English on a cached entry. French profiles
(fr, fr-FR, fr-CA, fr-BE, fr-CH) select automatically.

Proofs: the registry-driven parity suite covers fr by construction
(1128/1128 keys); French analogues of both German-personal tests (product
glossary + non-translation scan with a reviewed equal-to-English
allow-list of 22 legitimate homographs); smoke_french_locale — fr-CA
profile commits French from the real bundle, one lazy chunk per page,
initial graph free of fr; smoke_entry_stale gains the French run; a
registry mutant drops the fr entry and is killed by the smoke. Initial
view: +0.5 KB (registry entry + fallback branch); the 23 KB dictionary is
lazy.

Issue: #371
User-Visible: yes
2026-08-29 13:39:21 +03:00
claude[bot] fbf2c1bd41 docs: review document for #372
Issue: #372
User-Visible: no
2026-08-29 10:34:59 +00:00
Sergey Matyunin 2bb7dfca5f test: cover compact space card surfaces
Issue: #372
User-Visible: no
2026-08-29 13:25:42 +03:00
Sergey Matyunin 27a90dfd68 docs: accept issue 372 screenshots
Issue: #372
User-Visible: no
2026-08-29 13:24:33 +03:00
Sergey Matyunin 3c733c390c feat: compact empty-title space card
Issue: #372
User-Visible: yes
2026-08-29 13:18:57 +03:00
claude[bot]andSergey Matyunin 6392179013 docs: review document for #372
Issue: #372
User-Visible: no
2026-08-29 13:16:04 +03:00
Sergey Matyunin d696541aba docs: specify compact empty-title space card
Issue: #372
User-Visible: no
2026-08-29 13:16:04 +03:00
claude[bot] eadd69644c docs: review document for #371
Issue: #371
User-Visible: no
2026-08-29 10:13:09 +00:00
claude[bot] dd591a6c77 docs: review document for #371
Issue: #371
User-Visible: no
2026-08-29 10:07:45 +00:00
Claude 89950e9944 docs: сказать, что компактная карточка не строит пулы света
Внешний пользователь завёл #370 как баг: в houseplan-space-card нет теней от
стен, хотя в houseplan-card они есть. Разбор показал, что кода это не касается —
ограничение намеренное и записано в src/space-render.ts:353 («the compact card
intentionally has no live radial pools»). visibilityPolygon из
src/light-visibility.ts импортируют ровно два файла, houseplan-card.ts и
houseplan-editor-runtime.ts; space-render.ts не импортирует его вовсе. Пулов нет,
а тень существует только как форма пула — затенять нечего.

Но претензия справедлива, просто адресована не туда. Единственная запись о
намеренности жила в комментарии исходника, которого пользователь видеть не может,
а руководство обещало обратное: «маркеры используют те же состояния, значения,
тревоги и эффекты, что полный план» — про свет ни слова. В LIGHT.md про
компактную карточку тоже не было ничего. Человек полез в код именно потому, что
документация молчала, и сам корректно предположил, что это может быть намеренно.

Теперь сказано в трёх местах: оба руководства и LIGHT.md, с причиной — пулы это
самая дорогая часть отрисовки, у неё свой перф-воркфлоу и бюджеты, и компактная
карточка платит за дешевизну именно ими.

Issue: #370
User-Visible: no
2026-08-29 13:02:41 +03:00
claude[bot] 06fbfcbc90 docs: review document for #363
Issue: #363
User-Visible: no
2026-08-29 10:01:16 +00:00
Sergey Matyunin e5ecf39977 chore: preserve changelog mode after rebase
Issue: #363
User-Visible: no
2026-08-29 12:47:14 +03:00
Sergey Matyunin 5ba0d9e1b7 test: accept reviewed device shortcut frames
Issue: #363
User-Visible: no
Release: v1.69.0-beta.3
Baseline-Reviewed: https://github.com/Matysh/houseplan-card/actions/runs/33245527914
2026-08-29 12:47:03 +03:00
Sergey Matyunin 3068a97cff test: align device catalog evidence with shortcut
Issue: #363
User-Visible: no
2026-08-29 12:47:03 +03:00
Sergey Matyunin e8916c7131 feat: restore direct device add shortcut
Issue: #363
User-Visible: yes
2026-08-29 12:47:02 +03:00
claude[bot] 914bb4ede7 docs: review document for #368
Проверка (CI) / Классификация изменённых файлов (push) Successful in 19s
Проверка (CI) / Переиспользование: это дерево уже проверено (push) Successful in 42s
Проверка (CI) / Предполётные проверки: документация, провенанс, процесс (push) Failing after 49s
Проверка (CI) / HACS: валидация репозитория (push) Failing after 18s
Проверка (CI) / Hassfest: манифест интеграции (push) Failing after 17s
Проверка (CI) / Бэкенд: pytest в Home Assistant (push) Failing after 8m45s
Проверка (CI) / Фронтенд: типы, юниты, мутанты, синхрон бандла (push) Failing after 11m48s
Проверка (CI) / Смоки в браузере (шард 1 из 3) (push) Skipped
Проверка (CI) / Смоки в браузере (шард 2 из 3) (push) Skipped
Проверка (CI) / Смоки в браузере (шард 3 из 3) (push) Skipped
Проверка (CI) / Смоки: все шарды зелёные (push) Skipped
Проверка (CI) / Golden-кадры против принятых эталонов (push) Skipped
Проверка (CI) / Перф-смок: бюджет времени кадра (push) Skipped
Issue: #368
User-Visible: no
2026-08-29 09:36:31 +00:00
Codexandclaude[bot] 0c74b2fc4f docs: name the expected_rev requirement for external writers (#368)
#340/#356 made expected_rev mandatory for config/set and layout/set over a
non-empty store — an honest protection the release notes sold only as a
stale-tab guard. A third-party script writing plans directly cannot infer
from "protects from stale tabs" that it must now read the revision first.

Both changelogs gain an explicit breaking-for-external-writers entry with
the read-then-write recipe; ARCHITECTURE.md's WS contract section extends
the #340 paragraph with the cycle external clients must follow (get rev →
send expected_rev → on conflict re-read and retry); and both conflict
messages now carry the actionable hint for scripts — "include expected_rev
from houseplan/config/get / layout/get" — alongside the tab-oriented
"reload" advice. The backend tests pin only the "revision is required"
substring and stay untouched.

Issue: #368
User-Visible: yes
2026-08-29 09:36:31 +00:00
Claude 0935a4d099 ci: рекалибровать бюджет initial view и предупреждать до стены, а не после
Запас ушёл с 26 КБ до 8.3 КБ за сутки. По документам код-ревью видно, что это не
диффузное расползание, а один шаг плюс обычная работа:

  #317 256127 · #318 256091 · #341 256046 · #354 257212 · #159 256828
  #357 271143  <- +14 КБ за один заход
  #20 271455 · #361 272848 · #359 272469 · #360 273697  <- текущий факт

Шаг на #357 — plan-art мебели: 44 top-view символа в eager-графе, которые платит
каждый план, включая планы без единого предмета мебели.

Потолок 282000 -> 300000. Правило #352 сохранено: 273697 x 1.10 = 301067, то
есть 300000 остаётся внутри надбавки ~10% над измеренным фактом. Запас
возвращается к 26.3 КБ — примерно к тому, что было до #357.

Запись честная и в комментарии сказана прямо: рекалибровка ничего не ускоряет и
ничего не чинит. Она фиксирует новую норму и возвращает гейту способность красить
того, кто вырастил бандл, а не того, кто пушнул последним. Настоящий рычаг —
ленивый граф, варианты 1 и 2 из #367.

Добавлено предупреждение: пока запас меньше 15000 Б, гейт печатает ::warning:: и
строку в summary. Прежняя редакция полагалась на то, что человек заметит тренд в
выводе; за сутки его не заметил никто, потому что каждая отдельная строка
выглядела нормально. Текст предупреждения называет лечение — иначе следующий
читатель поднимет потолок ещё раз и назовёт это решением.

Тест закрепляет обе стороны: надбавка не больше 10% и не меньше 5% (меньше —
возврат лотереи «красит последний коммит»), тревога срабатывает строго ниже
порога, превышение описывается как превышение. Три мутанта проверены руками,
один добавлен в реестр.

Issue: #367
User-Visible: no
2026-08-29 12:32:01 +03:00
claude[bot] 5a285a6a4b docs: review document for #363
Issue: #363
User-Visible: no
2026-08-29 09:23:00 +00:00
claude[bot] 9d6d6eb9e9 docs: review document for #363
Issue: #363
User-Visible: no
2026-08-29 09:16:19 +00:00
claude[bot] c19a0540b0 docs: review document for #360
Issue: #360
User-Visible: no
2026-08-29 09:05:48 +00:00
Sergey Matyunin ae6486de7a test: model primary decor pointer explicitly
Issue: #360
User-Visible: no
2026-08-29 11:54:30 +03:00
Sergey Matyunin 7daaae7209 docs: accept background picker screenshots
Issue: #360
User-Visible: no
2026-08-29 11:53:18 +03:00
claude[bot]andSergey Matyunin 1f032d51bf docs: review document for #360
Issue: #360
User-Visible: no
2026-08-29 11:48:50 +03:00
Sergey Matyunin 577e654e59 test: accept decor default color golden frames
Issue: #360
User-Visible: no
Release: v1.69.0-beta.3
Baseline-Reviewed: https://github.com/Matysh/houseplan-card/actions/runs/33243321606
2026-08-29 11:48:50 +03:00
Sergey Matyunin 822c8000a2 feat: expose decor default color in main toolbar
Issue: #360
User-Visible: yes
2026-08-29 11:48:50 +03:00
claude[bot] e21f02b295 docs: review document for #369
Issue: #369
User-Visible: no
2026-08-29 08:44:52 +00:00
Codex 3965475c2d docs: refresh screenshot fingerprint after rebase
Issue: #369
User-Visible: no
2026-08-29 11:30:32 +03:00
Codex 2c984d8f9d fix: Shift listeners die with every palette exit, not only placement (#369 r2-H1)
The r2 reviewer proved two real exits leaked the window keydown/keyup
listeners of the furniture preview — Escape (the card closes the palette
by direct assignment, bypassing the runtime paths) and disconnectedCallback
(only _clearFurniturePreview ran). The arrow-field listener pins the whole
editor runtime and, through it, the card: the exact leak class this
disconnectedCallback already names two cases above. Both sites now call
_furnShiftDetach alongside the preview cleanup, the smoke gained the
Escape regression (re-arm attaches again, Escape closes the palette AND
brings removes level with adds), and the idempotent double detach in
_furnPlace (r2 Low) is gone.

Issue: #369
User-Visible: no
2026-08-29 11:30:11 +03:00
Codex 8ee1c91fff fix: seven small honesty fixes from the 29.08 audit (#369)
(a) documented: deleting a vacuum marker erases its server trail at once
and a re-added marker starts from scratch (VACUUM.md + both USER-GUIDEs).
(b) smoothVacPath reports dropped non-finite segments — one console warn
per call with the count — instead of hiding the whole trail silently on a
broken calibration matrix. (c) room climate (#317) now reaches legacy
markers whose exported config carries an ABSENT area key rather than an
explicit null: `== null` where the placement is decided. (d) the armed
furniture preview follows Shift without mouse movement — window
keydown/keyup listeners live exactly as long as the palette is armed,
detached at every palette teardown. (e) only the primary mouse button
places decor/furniture: a right or middle click with an armed tool is a
no-op, touch/pen untouched. (f) a device whose registry entities were ALL
deliberately disabled by the user no longer glows as an alive controller —
the #318 entityless-active rule now requires a genuinely empty roster.
(g) furniture-pack author corrected to Sergey Matyunin (Сергей Матюнин)
per the owner's decision — LICENSE.md, README.md, pack.json,
docs/FURNITURE.md, the provenance check in generate-furniture-assets and
its unit; the source archive bytes are unchanged and the README notes the
romanisation fix.

Proofs: units for (b)/(c)/(f) including the #318 regression pair; new
smoke_furniture_polish for (d)/(e) with listener add/remove counters and
both mouse buttons; five registry mutants, one per code change.

Issue: #369
User-Visible: yes
2026-08-29 11:29:42 +03:00
claude[bot] a041934bc2 docs: review document for #366
Issue: #366
User-Visible: no
2026-08-29 08:15:51 +00:00
Codexandclaude[bot] e758c3d9fb fix: quantise the light aperture amount of moving covers (#366)
A gate or door bound to a position-reporting cover fed current_position
into the light-barrier signature at toFixed(3) precision: every percent of
movement produced a new fingerprint, a full physicalBodyParts recompute
and a recut — up to ~100 heavy passes per gate cycle, plus LRU churn.

The light pipeline now consumes one quantised amount
(OPENING_LIGHT_AMOUNT_QUANTUM = 0.05, exact 0 and 1 nodes) at the single
point that feeds BOTH the signature and the cut geometry, so the cache key
and the drawn aperture agree by construction and a full sweep costs at
most 21 recomputes. The door LEAF animation stays smooth — _openingAmt is
quantised only for the light pipeline, nowhere else. Binary contact doors
are byte-identical to the previous behaviour (pinned by unit).

Assumption recorded in the spec: the 5% visual step of the light cut is
indistinguishable on real plans; if field impressions disagree, the
quantum is a one-constant change (0.02 => <=51 recomputes) or the decision
falls back to a debounce. LIGHT.md §Caching documents the grid.

Issue: #366
User-Visible: yes
2026-08-29 08:15:51 +00:00
claude[bot] 0d4010f87d docs: review document for #360
Issue: #360
User-Visible: no
2026-08-29 08:14:17 +00:00
claude[bot] 6ce42b33f5 docs: review document for #360
Issue: #360
User-Visible: no
2026-08-29 08:06:42 +00:00
claude[bot] 0decce8d06 docs: review document for #361
Issue: #361
User-Visible: no
2026-08-29 07:55:23 +00:00
Sergey Matyuninandclaude[bot] cc209b97d1 test: accept furniture stroke golden baselines
Reviewed the full Linux candidate for #361. Exactly four furniture-bearing scenarios are accepted; the other 138 baselines remain byte-identical.

Issue: #361
User-Visible: no
Release: v1.69.0-beta.4
Baseline-Reviewed: https://github.com/Matysh/houseplan-card/actions/runs/33240556186
2026-08-29 07:55:23 +00:00
claude[bot] e27396a5a8 docs: review document for #361
Issue: #361
User-Visible: no
2026-08-29 07:55:23 +00:00
Sergey Matyuninandclaude[bot] 953eda4f6e fix: scale furniture strokes with plan zoom
Issue: #361
User-Visible: yes
2026-08-29 07:55:23 +00:00
claude[bot] 64baa41cce docs: review document for #361
Issue: #361
User-Visible: no
2026-08-29 07:55:23 +00:00
Sergey Matyuninandclaude[bot] c475f54e7e docs: require targeted furniture smoke
Issue: #361
User-Visible: no
2026-08-29 07:55:23 +00:00
claude[bot] 927ca2ab45 docs: review document for #361
Issue: #361
User-Visible: no
2026-08-29 07:55:23 +00:00
Sergey Matyuninandclaude[bot] 64114d2219 docs: specify furniture stroke zoom
Issue: #361
User-Visible: no
2026-08-29 07:55:23 +00:00