mateclaw/mateclaw-server/src/main/java/vip/mate/config
matevip 349f4d7d3c refactor(bootstrap): drop legacy tools-sync.sql in favor of per-tool Flyway migrations
The two tools-sync scripts ran on every startup and used H2 MERGE INTO
... KEY(id), which overwrites every column on existing rows. That
silently reverted UI-toggled `enabled` and was the proximate cause of
a recent WriteFileTool/EditFileTool outage.

They were also a strict subset of the fresh-install seed (data-zh.sql /
data-en.sql register all 19 builtins; the sync scripts only 16) and out
of date. Per-tool Flyway migrations (V3, V31) are already the canonical
'register a new builtin' path, so the sync layer was duplicated and
error-prone.

Delete both files and the runToolSyncScript() loader. Tool descriptions
shown to the LLM come from @Tool annotations in code, not the DB row,
so removing per-startup metadata refresh has no functional impact.
2026-04-27 14:00:08 +08:00
..
AsyncSecurityConfig.java feat(agent): implement Lane E — JDK 21 virtual threads, Spring AI observability, BeanOutputConverter 2026-04-22 21:00:40 +08:00
ConversationWindowProperties.java feat(agent): context compression upgrade, 429 retry, iteration limit & repetition fixes 2026-04-10 00:52:26 +08:00
DatabaseBootstrapRunner.java refactor(bootstrap): drop legacy tools-sync.sql in favor of per-tool Flyway migrations 2026-04-27 14:00:08 +08:00
FlywayRepairConfig.java refactor(ui): minimalist login redesign, MCP fixes, Flyway upgrade compatibility 2026-04-11 23:01:08 +08:00
GraphObservationProperties.java fix(agent): persist mid-turn narrative, queue follow-ups without dispose, flush on shutdown 2026-04-27 07:51:49 +08:00
JacksonConfig.java Initial commit: MateClaw — Java + Vue 3 AI Assistant System 2026-04-04 19:03:49 +08:00
JwtAuthFilter.java Initial commit: MateClaw — Java + Vue 3 AI Assistant System 2026-04-04 19:03:49 +08:00
LoginRateLimitFilter.java fix(security): login rate limiting, SQL injection fix, error boundary 2026-04-11 18:31:51 +08:00
MybatisPlusConfig.java Initial commit: MateClaw — Java + Vue 3 AI Assistant System 2026-04-04 19:03:49 +08:00
SecurityConfig.java feat(tool): native Java DocxRender tool — eliminate Node.js subprocess 2026-04-23 16:31:13 +08:00
SecurityStartupValidator.java fix(security): harden JWT, CORS, and H2 Console for production 2026-04-11 18:21:17 +08:00
SpaForwardController.java fix(security): resolve SPA frontend route refresh returning 401 2026-04-05 18:20:40 +08:00
ToolTimeoutProperties.java feat(agent): smart truncation, stale stream cleanup, configurable tool timeouts, and new indexes 2026-04-07 06:39:46 +08:00
WebMvcConfig.java fix(security): harden JWT, CORS, and H2 Console for production 2026-04-11 18:21:17 +08:00
WebSocketConfig.java refactor(bootstrap): drop legacy tools-sync.sql in favor of per-tool Flyway migrations 2026-04-27 14:00:08 +08:00
WorkspaceAccessInterceptor.java feat(platform): Phase 3 Sprint 1-3 — permission, agent binding, dashboard 2026-04-09 11:58:20 +08:00