refactor(frontend): remove @PURPOSE duplicates, merge into @BRIEF (INV_4)

- ProviderConfig: remove duplicate @LAYER/@PURPOSE/@UX_STATE block
- SemanticLayerReview: generic @BRIEF → detailed @PURPOSE text,
  remove duplicate @LAYER/@SEMANTICS
- ExecutionMappingReview: same — generic @BRIEF → @PURPOSE detail
- TaskRunner: remove duplicate @SEMANTICS/@PURPOSE/@LAYER block
- ValidationFindingsPanel: generic @BRIEF → @PURPOSE detail,
  remove duplicate @LAYER/@SEMANTICS

All: INV_4 compliance — single source of truth for contract metadata
in #region HTML comment, no scattered duplicates
This commit is contained in:
2026-07-05 08:54:38 +03:00
parent 008a8a92a5
commit deed06fada
5 changed files with 5 additions and 27 deletions

View File

@@ -1,9 +1,6 @@
<!-- #region ExecutionMappingReview [C:3] [TYPE Component] [SEMANTICS dataset, review, execution-mapping, warning, override] -->
<!-- @ingroup DatasetReview -->
<!-- @BRIEF Component component: lib/components/dataset-review/ExecutionMappingReview.svelte -->
<!-- @LAYER UI -->
<!-- @SEMANTICS: dataset-review, execution-mapping, warning-approval, manual-override, required-values -->
<!-- @PURPOSE: Review imported-filter to template-variable mappings, surface effective values and blockers, and require explicit approval for warning-sensitive execution inputs before preview or launch. -->
<!-- @BRIEF Review imported-filter to template-variable mappings, surface effective values and blockers, and require explicit approval for warning-sensitive execution inputs before preview or launch. -->
<!-- @LAYER UI -->
<!-- @RELATION BINDS_TO ->[EXT:frontend:api_module] -->
<!-- @RELATION BINDS_TO ->[DatasetReviewWorkspace] -->

View File

@@ -1,9 +1,6 @@
<!-- #region SemanticLayerReview [C:3] [TYPE Component] [SEMANTICS dataset, review, semantic-layer, field, provenance] -->
<!-- @ingroup DatasetReview -->
<!-- @BRIEF Component component: lib/components/dataset-review/SemanticLayerReview.svelte -->
<!-- @LAYER UI -->
<!-- @SEMANTICS: dataset-review, semantic-layer, candidate-review, manual-override, field-lock -->
<!-- @PURPOSE: Surface field-level semantic decisions with provenance, confidence, candidate acceptance, and manual override safeguards for US2 review flow. -->
<!-- @BRIEF Surface field-level semantic decisions with provenance, confidence, candidate acceptance, and manual override safeguards for US2 review flow. -->
<!-- @LAYER UI -->
<!-- @RELATION BINDS_TO ->[EXT:frontend:api_module] -->
<!-- @RELATION BINDS_TO ->[DatasetReviewWorkspace] -->

View File

@@ -1,9 +1,6 @@
<!-- #region ValidationFindingsPanel [C:3] [TYPE Component] [SEMANTICS dataset, review, findings, severity, readiness] -->
<!-- @ingroup DatasetReview -->
<!-- @BRIEF Component component: lib/components/dataset-review/ValidationFindingsPanel.svelte -->
<!-- @LAYER UI -->
<!-- @SEMANTICS: dataset-review, findings, severity, readiness, actionability -->
<!-- @PURPOSE: Present validation findings grouped by severity with explicit resolution and actionability signals. -->
<!-- @BRIEF Present validation findings grouped by severity with explicit resolution and actionability signals. -->
<!-- @LAYER UI -->
<!-- @RELATION BINDS_TO ->[DatasetReviewWorkspace] -->
<!-- @UX_STATE: Blocking -> Blocking findings are visually dominant and block launch flow. -->

View File

@@ -2,13 +2,7 @@
<!-- @ingroup LLM -->
<!-- @BRIEF UI form for managing LLM provider configurations. -->
<!-- @LAYER UI -->
<!--
@UX_STATE: Loading -> Default
@PURPOSE: UI form for managing LLM provider configurations.
@LAYER UI
@RELATION DEPENDS_ON -> [EXT:frontend:requestApi]
-->
<!-- @RELATION DEPENDS_ON -> [EXT:frontend:requestApi] -->
<script lang="ts">
import { SvelteSet } from "svelte/reactivity";

View File

@@ -2,14 +2,7 @@
<!-- @ingroup Tasks -->
<!-- @BRIEF Connects to a WebSocket to display real-time logs for a running task with filtering support. -->
<!-- @LAYER UI -->
<!--
@UX_STATE: Loading -> Default
@SEMANTICS: task, runner, logs, websocket
@PURPOSE: Connects to a WebSocket to display real-time logs for a running task with filtering support.
@LAYER UI
@RELATION DEPENDS_ON -> [TaskLogPanel]
-->
<!-- @RELATION DEPENDS_ON -> [TaskLogPanel] -->
<script lang="ts">
import { SvelteURLSearchParams, SvelteDate } from "svelte/reactivity";
// [SECTION: IMPORTS]