Commit Graph

41 Commits

Author SHA1 Message Date
ff60865183 feat(agent-chat): 035-agent-chat-context — контекст, guardrails, tools, database discovery
== User stories ==
US1: Контекст с дашборда/датасета → /agent с URL params
US2: Guardrails card — env badge, 7 risk tones, countdown, permission_denied
US3: Tools optimization — retry, timeout, summarise, RBAC + context affinity

== Backend ==
- _context.py (NEW): UIContext validation (7 checks)
- _tool_filter.py (NEW): RBAC + context affinity pipeline
- _confirmation.py: build_confirmation_contract_v2, permission_denied_payload
- tools.py: superset_list_databases, retry/summarise/timeout wrappers
- app.py: _inject_uicontext, _inject_env_id_into_tools, database
  prefetch в runtime context
- _persistence.py: prefetch_databases()
- agent_superset_explore.py: GET /databases endpoint
- _llm_async_http.py, _persistence.py: fix double /v1 в LLM URL
  (LM Studio Unexpected endpoint)

== Frontend ==
- AgentChatModel.svelte.ts: 5 atoms, 3 actions, countdown, context
- AgentChat.svelte: production banner, process steps, debug panel
- ConfirmationCard.svelte: 7 risk tones, permission_denied, countdown
- ToolCallCard.svelte: retrying/timeout/cancelled states
- StreamProcessor.svelte.ts: tool_retry, timeout, permission_denied
- TopNavbar: sparkles icon + Ассистент
- sidebarNavigation: AI section
- DashboardHeader, datasets/+page: contextual AI buttons
- Icon: sparkles, brain, cpu icons
- tailwind: assistant category colors
- i18n: en/ru nav keys

== Tests ==
- 159 backend agent tests (+16 US3: retry, timeout, summarise, contracts)
- 2544 frontend tests (+11 model + component tests)
- 15 JSON fixtures (10 API + 5 model)

== Specs ==
- specs/035-agent-chat-context/: spec, UX, plan, tasks, research,
  data-model, contracts, quickstart, traceability, fixtures, checklists

Closes #035
2026-07-04 22:47:17 +03:00
ec6421de35 rename ss-tools to superset-tools across the entire project
- Replace all occurrences of 'ss-tools' with 'superset-tools' in 104 files
- Rename git bundle file ss-tools.bundle → superset-tools.bundle
- Update .gitignore pattern accordingly
- Preserve variable names (hasSsTools etc.) and code identifiers
2026-06-16 11:15:19 +03:00
25b7a6d423 tasks 2026-06-09 10:10:26 +03:00
a7fb06cd8e tasks ready 1 2026-06-09 09:43:34 +03:00
37f62a3032 tasks ready 2026-06-04 19:41:08 +03:00
d9669698b8 feat(031): Maintenance Banner for Dashboards — full spec→plan→tasks package
Spec: 5 user stories (P1-P3), 17 FRs, 7 SCs, 12 edge cases, RBAC matrix
Plan: 7 research decisions, 15 semantic contracts (C1-C4)
Data: 4 SQLAlchemy models (Banner entity enforces one-chart-per-dashboard)
UX: async-only API, banner template with optional variables, admin settings UI
Tasks: 64 tasks across 8 phases, 12 reused frontend components
Workflow: component reuse scan mandated in speckit.plan/tasks + semantics-svelte
Constitution: filled with 7 architecture principles from ADRs
2026-05-22 16:20:39 +03:00
09d12b3b68 semantics 2026-05-20 09:59:03 +03:00
344b47ca23 tasks ready 2026-05-08 18:01:49 +03:00
03d46cb32a semantic 2026-04-01 14:51:45 +03:00
01409b9cff Таски готовы 2026-03-16 23:11:19 +03:00
b4b17d89b4 код написан 2026-03-10 12:00:18 +03:00
787f4e55f2 clean ui 2026-03-04 19:33:47 +03:00
4f273f33ea chore: commit remaining workspace changes 2026-03-03 19:51:17 +03:00
9b08c9557b Новый экранчик для обзора дашей 2026-02-23 15:54:20 +03:00
2bcae76d29 таски готовы 2026-02-23 10:18:56 +03:00
51f305dbd7 ai base 2026-02-19 17:43:45 +03:00
204dd76258 Таски готовы 2026-02-09 12:35:27 +03:00
e8021f2dc5 tasks ready 2026-01-28 18:30:23 +03:00
659969e256 tasks ready 2026-01-27 13:26:06 +03:00
99083d0a72 tasks ready 2026-01-26 20:58:38 +03:00
83f152f13a tasks ready 2026-01-24 16:21:43 +03:00
f9e4908fbf tasks ready 2026-01-23 14:56:05 +03:00
dccd9af41e Работает создание коммитов и перенос в новый enviroment 2026-01-23 13:57:44 +03:00
75bde231e3 tasks ready 2026-01-22 23:59:16 +03:00
943dc06dfd refactor complete 2026-01-22 17:37:17 +03:00
66c720d623 tasks ready 2026-01-07 18:59:49 +03:00
5ab7942a8b docs ready 2025-12-30 21:30:37 +03:00
a8e2747ef7 TaskManager refactor 2025-12-29 10:13:37 +03:00
7e3835f941 tech_lead / coder 2roles 2025-12-27 08:02:59 +03:00
0184cf1353 tasks ready 2025-12-27 06:37:03 +03:00
45ab2c156f Merge branch '001-migration-ui-redesign' into master 2025-12-27 05:58:35 +03:00
6200f13320 006 plan ready 2025-12-26 19:36:49 +03:00
26e9865e5a 001-migration-ui-redesign (#3)
Reviewed-on: #3
2025-12-26 18:17:58 +03:00
6a146f2be1 spec rules 2025-12-25 22:28:42 +03:00
2055c36c2c feat(migration): implement interactive mapping resolution workflow
- Add SQLite database integration for environments and mappings
- Update TaskManager to support pausing tasks (AWAITING_MAPPING)
- Modify MigrationPlugin to detect missing mappings and wait for resolution
- Add frontend UI for handling missing mappings interactively
- Create dedicated migration routes and API endpoints
- Update .gitignore and project documentation
2025-12-25 22:27:29 +03:00
e7536f4e40 worked backup 2025-12-21 00:16:12 +03:00
82fd409b6a fixed css 2025-12-20 23:33:47 +03:00
f3822bf344 feat: integrate SvelteKit for seamless navigation and improved data loading 2025-12-20 22:41:23 +03:00
cfc625da84 feat: implement project launch script run.sh and update README 2025-12-20 22:05:18 +03:00
2d8cae563f feat: implement plugin architecture and application settings with Svelte UI
- Added plugin base and loader for backend extensibility
- Implemented application settings management with config persistence
- Created Svelte-based frontend with Dashboard and Settings pages
- Added API routes for plugins, tasks, and settings
- Updated documentation and specifications
- Improved project structure and developer tools
2025-12-20 20:48:18 +03:00
ce703322c2 WIP: Staged all changes 2025-12-19 22:40:28 +03:00