prune contracts
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
// [DEF:ReportTypeProfiles:Module]
|
||||
// @COMPLEXITY: 2
|
||||
// @SEMANTICS: reports, ui, profiles, fallback, mapping
|
||||
// @PURPOSE: Deterministic mapping from report task_type to visual profile with one fallback.
|
||||
// @LAYER: UI
|
||||
// @RELATION: DEPENDS_ON -> [i18n]
|
||||
// @INVARIANT: Unknown type always resolves to fallback profile.
|
||||
|
||||
import { _ } from '$lib/i18n';
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
// [DEF:ActivityTest:Module]
|
||||
// @COMPLEXITY: 3
|
||||
// @PURPOSE: Unit tests for activity store
|
||||
// @LAYER: UI
|
||||
// @RELATION: DEPENDS_ON -> [activity]
|
||||
// @RELATION: DEPENDS_ON -> [taskDrawer]
|
||||
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
// [DEF:assistantChat:Store]
|
||||
// @COMPLEXITY: 3
|
||||
// @SEMANTICS: assistant, store, ui-state, conversation
|
||||
// @PURPOSE: Control assistant chat panel visibility and active conversation binding.
|
||||
// @LAYER: UI
|
||||
// @RELATION: BINDS_TO -> AssistantChatPanel
|
||||
// @INVARIANT: conversationId persists while panel toggles unless explicitly reset.
|
||||
//
|
||||
// @UX_STATE: Closed -> Panel hidden.
|
||||
// @UX_STATE: Open -> Panel visible and interactive.
|
||||
|
||||
import { writable } from 'svelte/store';
|
||||
|
||||
|
||||
@@ -2,14 +2,8 @@
|
||||
// @RELATION: USES -> App
|
||||
// @COMPLEXITY: 3
|
||||
// @PURPOSE: Manage Task Drawer visibility and resource-to-task mapping
|
||||
// @LAYER: UI
|
||||
// @INVARIANT: resourceTaskMap always reflects current task associations
|
||||
//
|
||||
// @UX_STATE: Closed -> Drawer hidden, no active task
|
||||
// @UX_STATE: Open -> Drawer visible, logs streaming
|
||||
// @UX_STATE: InputRequired -> Interactive form rendered in drawer
|
||||
//
|
||||
// @TEST_CONTRACT: TaskDrawerStore ->
|
||||
// {
|
||||
// required_fields: {isOpen: boolean, activeTaskId: string|null, resourceTaskMap: Object},
|
||||
// invariants: [
|
||||
@@ -19,8 +13,6 @@
|
||||
// "Maintains mapping in resourceTaskMap correctly via updateResourceTask"
|
||||
// ]
|
||||
// }
|
||||
// @TEST_FIXTURE: valid_store_state -> {"isOpen": true, "activeTaskId": "test_1", "resourceTaskMap": {"res1": {"taskId": "test_1", "status": "RUNNING"}}}
|
||||
// @TEST_INVARIANT: state_management -> verifies: [valid_store_state]
|
||||
|
||||
import { writable } from 'svelte/store';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user