36 Commits

Author SHA1 Message Date
12678c637b fix(agent-chat): streaming state leak, document parser magic bytes, HITL flow
### Bugfixes — Agent Chat 'Думаю' State Leak
- fix(agent-chat): loadHistory() now resets streamingState/idle + cancels stale
  submission — prevents 'Думаю' state leak across conversation switches
- fix(agent-chat): onDisconnected/onDisconnectedPermanent cascade to
  streamingState — prevents permanent hang on connection loss during stream
- fix(agent-chat):  guard on isLoadingHistory — prevents false commit
  of 'agent unavailable' fallback when switching conversations
- fix(agent-chat): remove race in _sendNow empty-response check vs Svelte
   microtask (duplicate logic removed,  handles correctly)
- fix(stream-processor): confirm_resolved now appends msg.text to partialText
  instead of dropping it

### Bugfixes — Backend PDF Upload
- fix(document-parser): _detect_format_by_magic() — reads file header magic
  bytes as fallback when Gradio loses filename
- fix(document-parser): improved name extraction — tries orig_name, path stem
- fix(document-parser): @RELATION AgentChatTypes -> AgentChat.Types

### HITL Flow & Agent Chat Improvements
- feat(agent): HITL resume confirm/deny with userId/userJwt/envId propagation
- feat(agent): confirm_required metadata fallback via aget_state() after
  'Event loop is closed' error during interrupt
- feat(agent): interrupt_before re-enabled via AGENT_CONFIRM_TOOLS env var
- feat(frontend): debug panel with connection/stream state monitoring
- feat(frontend): AgentChatModel constructor options + onBeforeSend callback
- feat(frontend): crypto.randomUUID() for local conversation ID on first send

### Backend Agent Refactoring
- refactor(agent): langgraph_setup — monkey-patch for PydanticSerializationError
- refactor(agent): tools.py — dual identity headers, expanded tool set
- refactor(agent): run.py — _find_free_port, Gradio server port fallback
- refactor(agent): app.py — file size validation, message truncation, HITL path

### Frontend
- feat(dashboard-hub): DashboardHubModel with filters, pagination, git actions
- feat(ui): DateRangeFilter component
- feat(i18n): new dashboard keys; cache tooltips fix
- fix(i18n): full run tooltips — cache is NOT ignored

### Semantic Protocol
- chore(agents): update all agents with canonical format
- chore(skills): sync semantics-core, semantics-contracts, molecular-cot-logging

### Housekeeping
- chore: remove stale semantic reports (10 files, Jan 2026)
- chore: update 033-gradio-agent-chat specs, contracts, UX, tasks, tests
- chore: add .agents/ directory (mirrors .opencode/ agent layouts)
- chore: update run.sh with DEV_MODE, port management
2026-06-29 17:15:25 +03:00
7901ce0f39 semantics 2026-03-27 21:27:31 +03:00
1f904a6321 promts 2026-03-21 16:09:13 +03:00
01409b9cff Таски готовы 2026-03-16 23:11:19 +03:00
67867f8220 refactor(semantics): migrate legacy @TIER to @COMPLEXITY annotations
- Replaced @TIER: TRIVIAL with @COMPLEXITY: 1
- Replaced @TIER: STANDARD with @COMPLEXITY: 3
- Replaced @TIER: CRITICAL with @COMPLEXITY: 5
- Manually elevated specific critical/complex components to levels 2 and 4
- Ignored legacy, specs, and node_modules directories
- Updated generated semantic map
2026-03-16 10:06:44 +03:00
674a869362 mcp 2026-03-15 20:29:11 +03:00
bcce55fbf9 feat add connections management and health summary improvements 2026-03-15 16:40:43 +03:00
96b5282fe2 Finalize assistant and dashboard health updates 2026-03-15 13:19:46 +03:00
acf0b8e83f semantic update 2026-03-10 21:33:09 +03:00
80102661db semantic clean up 2026-03-10 19:38:10 +03:00
b4b17d89b4 код написан 2026-03-10 12:00:18 +03:00
9919f84a41 tui rework 2026-03-09 14:18:34 +03:00
1704b0f878 починили скачивание 2026-03-06 15:22:14 +03:00
664e47d540 feat(clean-release): complete and verify backend test suite (33 passing tests)
- Relocated and standardized tests for clean_release subsystem into __tests__ sub-packages.
- Implemented missing unit tests for preparation_service, audit_service, and stages.
- Enhanced API contract tests for candidate preparation and compliance reporting.
- Updated 023-clean-repo-enterprise coverage matrix with final verification results.
- Fixed relative import issues and model validation mismatches during test migration.
2026-03-04 13:53:43 +03:00
9ff1e6b18a feat: Introduce and enforce test contract annotations for critical modules and update coverage tracking. 2026-03-04 12:58:42 +03:00
0a09fb5e6d git list refactor 2026-03-01 12:13:19 +03:00
efce41b0c5 dry run migration 2026-02-27 20:48:18 +03:00
6e73292340 + git config 2026-02-25 20:27:29 +03:00
cbf9135db6 semantic update 2026-02-24 21:08:12 +03:00
51b1fbb247 generate semantic clean up 2026-02-24 12:51:57 +03:00
9b08c9557b Новый экранчик для обзора дашей 2026-02-23 15:54:20 +03:00
f1f46f4e11 semantic update 2026-02-23 13:15:48 +03:00
cdb99a81df db + docker 2026-02-20 20:47:39 +03:00
1fcb7ca67c semantic update 2026-02-20 10:41:15 +03:00
51f305dbd7 ai base 2026-02-19 17:43:45 +03:00
00d4960da0 refactor 2026-02-18 17:29:46 +03:00
0743641181 semantic update 2026-02-08 22:53:54 +03:00
2d09ff4dc8 Похоже работает 2026-02-07 11:26:06 +03:00
4f4e77cc64 semantic update 2026-01-28 16:57:19 +03:00
fb5163b1cc semantic update 2026-01-26 11:57:36 +03:00
2288abfc5a semantic cleanup 2026-01-23 21:58:32 +03:00
9b1b7faa98 fix error 2026-01-22 23:18:48 +03:00
d8c0694538 semantic markup update 2026-01-18 21:29:54 +03:00
39abaf142e semantic checker script update 2026-01-13 17:33:57 +03:00
5fa283a6e0 semantics update 2026-01-13 09:11:27 +03:00
54a9ff81c3 project map script | semantic parcer 2026-01-01 16:58:21 +03:00