mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-05-23 06:10:32 +00:00
Closes the (a)+(b) propagation legs for five design-review-12142 rows: - Row #1 (Comments hygiene): strip 25 HR-style section dividers (`// ── XYZ ──`) across widget.ts/node.ts/registrations.ts/events.ts/ index.ts; strip ~30 sites of decision archaeology refs (D5, D20, D-immutability-enforcement (Hybrid C), D-bootstrap-hooks (W6.P6.C), D-shell-ui-entrypoints (W6.P5.C), etc.) from per-export JSDoc; preserve PHASE_A_EXCLUDED axiom-ref blocks (functional — tells axiom-checker + future readers WHY surfaces are absent); preserve AXIOMS.md §A1/A14/A15/A16/A12 cross-refs; delete shell.ts "What changed in W6.P5" wave-history banner. - Row #2 (@stability stable): already DONE in code (0 stable hits); this ADR closes leg (b). - Row #4 (apiVersion drop): already DONE in code (0 hits); this ADR closes leg (b). - Row #5 (defineNode/defineWidget short-form): D11 ACCEPTED 2026-05-12; one stale JSDoc @example in lifecycle.ts:113,115 fixed (defineWidgetExtension → defineWidget). - Row #6 (Widget-prefixed methods): already DONE via D-bootstrap-hooks (unprefixed onMounted/onUnmounted etc.); this ADR closes leg (b). Also drops two now-unused imports in node.ts (WidgetHandle, WidgetOptions were only referenced in commented-out A14-deferred surfaces). ADR: decisions/D-design-review-hygiene-cleanup.md Net diff: -62 lines, zero behavior change. Quality gates: lint + format:check + axiom-compliance all green.