Álvaro Tejero Cantero 3258623f74
Merge branch 'develop' into alvorithm-issue-12666
Develop moved the per-save validation of files_update.clj into
`validate-file`, which `apply-changes` runs on every attempt: the whole
save first, then each commit prefix while bisecting a failing save.
`process-changes-and-validate` no longer has the `fdata/with-untracked`
block where this branch ran its soft check of pages added through the
`{:page ...}` form of `:add-page`.

- files_update.clj keeps develop's `validate-file`, debug-fault helpers,
  and `process-changes-and-validate` as they are, and keeps this
  branch's `get-added-page-ids` and `validate-added-pages`.
- The soft check moves into the new `soft-validate-added-pages!`, which
  `validate-file` calls first, under the same condition develop uses to
  resolve libraries: `file-validation` or `soft-file-validation`, and
  no `skip-validate`. It logs and never raises, as before.

Develop's `validate-file-schema-affected!` already counts these pages
among the touched ones, so the schema check covers them. The
referential `validate-file-affected` still collects only the top-level
`:id`, so the soft referential check of this branch is still needed.

AI-assisted-by: claude-opus-5-5
Signed-off-by: Álvaro Tejero Cantero <alvorithm@teje.ro>
2026-11-11 17:38:54 +01:00
..
2024-05-29 19:05:04 +02:00