From 54a48691d1087a029f696581e02159102e84ad4e Mon Sep 17 00:00:00 2001 From: Brummel Date: Mon, 1 Jun 2026 14:40:06 +0200 Subject: [PATCH] =?UTF-8?q?audit:=20cycle=20copy-close=20tidy=20=E2=80=94?= =?UTF-8?q?=20reconcile=20spec=20to=20shipped=20structure?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cycle-close audit for the case-page copy+close cycle (spec 0002, plan 0003, feat 0308245). Architect drift review + scripts/check.sh. Regression gate (scripts/check.sh): exit 0 — 0 failures across 19 stages (common/server/clients-desktop/experiments fmt+clippy+build+test, wearos assembleDebug+lintDebug+testDebugUnitTest), 74s. The single `wearos :: lintDebug` WARN is pre-existing and untouched by this frontend-only cycle; not introduced here, carried forward. Architect findings and resolution: - [high] template emits two separate close forms, not the spec's single #copy-close-form with a has_document label switch. Resolved as a SPEC defect, not a code defect: the spec's single-form snippet was infeasible — #doc-body exists only in the has-document match arm, so a form anchored after it can never serve the documentless case, and it must precede the copy