f7a4a9512c
fix: persist a2ui surfaces in the database for chats to re-hydrate on
...
opening an old chat, unless manually dismissed
2026-05-27 20:13:33 +02:00
141c2bfc89
removed fixed codesmell document
2026-05-27 19:20:43 +02:00
a5ac74db91
fix(style): add missing @impl true to all handle_call clauses in Publishing GenServer (CSM-036)
2026-05-27 19:19:50 +02:00
beca4d992f
fix(docs): document UILocale process-dict invariant and add enforcement tests (CSM-035)
2026-05-27 19:16:42 +02:00
9e6d93a4b3
fix(safety): replace File.read! with File.read and error-tuple handling in preview_assets and templates (CSM-034)
2026-05-27 19:10:13 +02:00
e29dfb490a
fix(perf): replace Enum.each + individual inserts with preloaded keys and batch upsert in embeddings (CSM-033)
2026-05-27 19:03:21 +02:00
f2b340ba86
fix(style): replace Map.get with dot access and pattern matching where keys are guaranteed (CSM-032)
2026-05-27 18:33:42 +02:00
d18e0ef7f2
fix(rendering): replace inline try/rescue with with-chains and safe_liquex_render helpers (CSM-031)
2026-05-27 18:12:23 +02:00
2d796cee83
updated specgaps for A3-1
2026-05-27 17:56:19 +02:00
b052d59376
fix(fs): handle File.mkdir_p errors and remove bang variants in sidecars and release packaging (CSM-030)
2026-05-11 20:25:06 +02:00
4a089b0856
fix(perf): bind length/1 to variables before loop bodies in route paths and sidebar (CSM-029)
2026-05-11 20:18:56 +02:00
2632649cdc
fix(rendering): replace raising read_template_file with try_read in macro templates (CSM-028)
2026-05-11 20:09:49 +02:00
782511d523
fix(templates): replace equality check with pattern matching in rewrite_template_file (CSM-027)
2026-05-11 20:06:15 +02:00
1cb59d7a78
chore: update the spec gaps with decisionm points
2026-05-11 12:19:16 +02:00
9844f3555a
chore: analyse specs against code
2026-05-11 11:56:34 +02:00
99dc1c2216
chore: remove redundant export-only tests, add test audit procedure
...
Deleted chat_editor_test.exs and import_editor_test.exs which only
checked function_exported?/Code.ensure_loaded? without exercising any
behavior — both components are already tested via LiveView rendering
in shell_live_test.exs and import_shell_live_test.exs respectively.
Added TESTAUDIT.md documenting the procedure for periodic test suite
audits to catch non-behavioral tests.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-11 10:35:24 +02:00
71fb99af16
chore: unit tests adaption to idea of gate test
2026-05-11 10:21:00 +02:00
0808b27057
chore: moved from delay-based tests to deterministic gated server tests
...
for chat
2026-05-11 10:20:46 +02:00
ac4f5a3580
fix: eliminate TOCTOU race in template file system by reading directly instead of checking existence (CSM-026)
2026-05-11 09:26:54 +02:00
43a435f35d
fix: derive pagefind language prefixes from project settings (CSM-025)
...
Replace hardcoded ["de/", "fr/", "it/", "es/"] with prefixes computed
from plan.blog_languages, so arbitrary language codes work correctly.
Also mark CSM-024 as fixed (done in CSM-005).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-11 09:19:31 +02:00
7b383d31ab
fix: decompose monolithic functions into focused helpers (CSM-023)
...
Break up SRP violations in Templates.do_update_template/2 and
Capabilities.for_project/2 by extracting domain-specific builder
functions and single-responsibility private helpers.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-11 09:15:48 +02:00
09df925e9b
chore: allow git push
2026-05-11 09:10:08 +02:00
a4ecbabc21
fix: return error tuples instead of silent {:ok, ""} in execute_macro (CSM-022)
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-11 09:07:44 +02:00
2be43ca06d
fix: replace cond blocks with pattern matching and case (CSM-021)
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-11 09:04:56 +02:00
d231f42363
chore: allowed git add and ecto migrate
2026-05-10 12:37:24 +02:00
7c00279b9d
fix: flatten nested case blocks with with chains (CSM-020)
...
Replace deeply nested case expressions with flat with chains in
import_definitions, publishing, and templates modules. Also replaced
Repo.update!() with Repo.update() in the publishing update_job handler.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-10 12:36:42 +02:00
b6f9cf58e1
fix: add @spec to all public functions across 24 modules (CSM-019)
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-10 11:40:42 +02:00
3f77488e33
fix: add @moduledoc to all public modules (CSM-018)
...
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-05-10 11:30:08 +02:00
5c17751d55
fix: fixed CSM-017
2026-05-09 17:33:51 +02:00
e4452ca504
chore: unit tests for CSM-016
2026-05-09 17:18:43 +02:00
ce80f28e60
fix: fix CSM-016 for real (previous commit was 015)
2026-05-09 17:18:32 +02:00
f1de11a205
fix: fixed CSM-016
2026-05-09 16:57:59 +02:00
ff219fd110
chore: unit test for csm-014
2026-05-09 16:38:18 +02:00
de7ea12c9c
fix: fixed CSM-014
2026-05-09 16:38:00 +02:00
1beffe6b07
chore: unit test for csm-013
2026-05-09 15:10:24 +02:00
999632dbe7
fix: fixed CSM-013
2026-05-09 15:10:04 +02:00
44b88056e3
fix: fix CSM-012
2026-05-09 15:04:10 +02:00
35b3818d58
chore: unit test for CSM-011
2026-05-09 14:52:48 +02:00
37db52c024
fix: fixed CSM-011
2026-05-09 14:52:29 +02:00
f1445120fc
fix: fix CSM-010
2026-05-09 14:31:44 +02:00
14dfbd8829
fix: fixed CSM-009
2026-05-09 14:22:56 +02:00
24e9e9a022
fix: fixed CSM-008
2026-05-09 14:17:32 +02:00
88c689ee55
fix: fixed CSM-007
2026-05-09 10:41:28 +02:00
e5429f7265
fix: implement CSM-006
2026-05-08 20:39:50 +02:00
93a4159c31
fix: fix CSM-006
2026-05-08 20:26:08 +02:00
06d80e2924
fix: tests for CSM-005
2026-05-08 20:09:18 +02:00
291dff697c
fix: fix CSM-005
2026-05-08 20:09:02 +02:00
9944b70ab1
fix: fixed CSM-004
2026-05-08 19:52:59 +02:00
723b8c6433
fix: worked on CSM-003
2026-05-07 21:49:59 +02:00
92334256cf
fix: fix CSM-002
2026-05-07 16:52:53 +02:00