matevip
ad1f5b4a15
feat(wiki): fire count-threshold pipeline triggers after ingest
2026-05-31 07:56:58 +08:00
matevip
66e4788226
feat(wiki): fact/experience dependency graph and stale propagation engine
2026-05-31 07:56:10 +08:00
matevip
16a7aadbcd
feat(wiki): unified source-path validation with symlink resolution and allowed roots
2026-05-31 07:54:48 +08:00
matevip
eb63ce4865
feat(wiki): validate and persist structured page metadata on ingest
2026-05-31 07:54:41 +08:00
matevip
b50e384e0d
feat(wiki): inject KB pageType profile into the batch-create prompt
2026-05-31 07:54:34 +08:00
matevip
502b8406a6
feat(wiki): per-agent pageType read permission gate for wiki tools
2026-05-31 07:53:48 +08:00
matevip
7e9f2ee54c
fix(memory): prefer recalled personal memory over knowledge base for user/project questions
2026-05-29 18:03:13 +08:00
lichuan
bd02734d61
feat(agent): add knowledge base binding tab to agent editor ( #237 )
...
Agents now have a per-agent primary wiki KB stored on
mate_agent.primary_kb_id. KBs remain workspace-shared — selecting one in
the agent editor only chooses the default wiki target for that agent, it
does not change the KB's ownership or visibility.
Backend
- AgentEntity: add primary_kb_id field (FieldStrategy.ALWAYS so the UI
can clear it back to "no primary")
- AgentController#update: switch body to Map<String, Object> so we can
tell "field missing" apart from "explicit null" via containsKey, then
convertValue back to AgentEntity
- WikiKnowledgeBaseService:
- new resolvePrimaryKb(agentId): prefers agent.primary_kb_id when it
points to a workspace-visible KB; falls back to legacy
kb.agent_id marker, then to most-recently-updated workspace KB
- listByAgentId now returns the full workspace set (KBs are
workspace-shared under the new model)
- update(id, name, description) no longer touches agent_id
- WikiController: new GET /knowledge-bases/bindable for the UI picker;
PUT /knowledge-bases/{id} no longer reads agentId
- WikiKnowledgeBaseEntity: add FieldStrategy.ALWAYS on embeddingModelId
and configContent so explicit nulls actually unbind/clear instead of
being silently skipped by MyBatis-Plus's NOT_NULL default
- Migrations V129 (H2 + MySQL): add primary_kb_id column + index, backfill
from legacy kb.agent_id, MySQL uses INFORMATION_SCHEMA guard +
PREPARE/EXECUTE for idempotency
- WikiKnowledgeBaseServiceTest: 13 cases, all passing
Frontend
- Agents.vue: new "Knowledge Base" tab, radio-select bindable KBs
- API: listBindableKBs() + Agent.primaryKbId typed string | number | null
- IDs handled as strings throughout (Snowflake-safe)
- i18n keys for the new tab in zh-CN and en-US
2026-05-29 06:00:52 +08:00
matevip
af9928bf54
fix(wiki): case-only rename portability + SpringBootTest regression suite
2026-05-28 08:18:01 +08:00
matevip
296c91d6da
fix(wiki): cascade + scan must not null content/summary via FieldStrategy.ALWAYS
2026-05-28 08:17:42 +08:00
matevip
a71c49d374
feat(wiki): analyze-stage slug whitelist + code-aware enrich applier
2026-05-28 08:17:27 +08:00
matevip
16eac232c4
feat(wiki): cascade delete + rename to keep wikilinks consistent
2026-05-28 08:17:19 +08:00
matevip
105b075f13
feat(wiki): slug-first prompt contract and same-batch link safety
2026-05-28 08:17:13 +08:00
matevip
2b3c068db9
feat(wiki): broken-link lint with job-based async scan
2026-05-28 08:17:04 +08:00
matevip
66d3d90ea9
feat(wiki): slug-first wikilink resolution and safe DOM postprocess
2026-05-28 08:16:56 +08:00
matevip
ff2620dfcf
fix(wiki): harden kbName/kbId routing — ambiguous fail-closed, kbId param, prompt cleanup ( #224 )
2026-05-26 14:31:07 +08:00
matevip
d2b23c049c
fix(wiki): let agents reach every visible KB via kbName + wiki_list_kbs ( #224 )
2026-05-26 13:53:32 +08:00
matevip
b09a220ec7
fix(tool): enforce workspace boundary on shell commands and file metadata tools
2026-05-25 16:26:16 +08:00
matevip
c0f9d1d9fb
test(wiki): add adversarial HTML normalization tests and harden skeleton-tag handling
2026-05-19 21:23:13 +08:00
matevip
9ffe7aa399
fix(wiki): strip script/style/nav/footer text from HTML-typed material
2026-05-19 21:23:07 +08:00
matevip
c6d51f8ced
fix(wiki): resolve an agent's own knowledge base before shared ones
2026-05-19 16:53:12 +08:00
matevip
33a40ad9d9
feat(wiki): support HTML, Excel, PowerPoint and CSV raw materials
2026-05-18 21:57:43 +08:00
matevip
3b9b4d79d5
feat(skill): scope skill catalog and runtime by workspace ( #135 )
2026-05-15 20:01:25 +08:00
matevip
adf5d93975
fix(wiki): align HTTP status with R envelope and harden config + edit paths
2026-05-14 23:01:00 +08:00
matevip
026afa2ba5
feat(wiki): optional JSON Schema on json-format transformations
2026-05-12 14:35:31 +08:00
matevip
465a727be2
feat(wiki): record per-run token usage so operators can see what each template burns
2026-05-12 14:35:17 +08:00
matevip
e911af2192
feat(wiki): JSON output mode — structured transformation output for programmatic downstream
2026-05-12 14:11:02 +08:00
matevip
90936dba4f
feat(wiki): cross-material transformation aggregator — map-reduce all runs of a template into one KB page
2026-05-12 14:10:54 +08:00
matevip
a5b952050c
feat(wiki): reverse-citation extractor — bind synthesis pages to the exact source chunks they cite
2026-05-12 14:10:47 +08:00
matevip
e1759e0e3c
feat(wiki): page-input transformations — run a template against an existing page
2026-05-12 14:10:40 +08:00
matevip
bee39cc420
feat(wiki): page-level embedding so synthesis pages enter semantic search
2026-05-12 14:10:23 +08:00
matevip
62c9776b01
feat(wiki): clean conversational preamble and code fences from transformation output
2026-05-12 11:25:50 +08:00
matevip
f04ea58c8d
feat(wiki): cancel a running transformation and re-run any past run
2026-05-12 11:25:44 +08:00
matevip
ef6ad1b91a
feat(wiki): expose per-template model picker in the transformations modal
2026-05-12 11:25:38 +08:00
matevip
4098346fb7
fix(wiki): strip file extensions when deriving transformation page slugs
2026-05-12 11:25:32 +08:00
matevip
bae9f68261
feat(wiki): user-defined transformation templates with optional auto-save to synthesis pages
2026-05-12 10:49:58 +08:00
matevip
27f614d48a
feat(wiki): enrich chunk embedding input with raw title and structural metadata
2026-05-12 08:44:26 +08:00
matevip
f7c1af80a4
fix(wiki): preserve user-owned files when deleting directory-scanned raws ( #84 )
2026-05-09 17:15:57 +08:00
matevip
91e93e8831
feat(wiki): circuit-breaker for failing embedding provider ( #72 )
2026-05-08 15:03:19 +08:00
matevip
0357c9891d
feat(wiki): user-initiated cancel for in-progress raw material processing ( #72 )
2026-05-08 15:03:10 +08:00
matevip
96840b0126
chore: bump version to 1.3.0-SNAPSHOT
2026-05-08 15:02:08 +08:00
matevip
b63d83a596
feat(wiki): circuit-breaker for failing embedding provider ( #72 )
2026-05-07 16:39:39 +08:00
matevip
76f5b3ca94
feat(wiki): user-initiated cancel for in-progress raw material processing ( #72 )
2026-05-07 16:32:35 +08:00
matevip
eb64556636
fix(wiki): skip per-turn retrieval for continuation messages + drop weak tail hits
2026-05-04 20:54:44 +08:00
matevip
03a82ece93
fix(wiki): retry route LLM call once with strict-JSON correction when first response isn't JSON
2026-05-03 09:12:51 +08:00
matevip
912a6336d3
fix(wiki): also remove the upload file from disk when a raw material is deleted
2026-05-03 09:12:44 +08:00
matevip
b0ca4c06d4
fix(wiki): cascade-delete pages + chunks when a raw material is removed
2026-05-03 09:12:32 +08:00
matevip
41ed929882
fix(wiki): deterministic, health-aware chat-LLM fallback
2026-05-02 23:31:48 +08:00
matevip
29d2d49d25
fix(wiki): widen mime_type to VARCHAR(255) so Office uploads don't blow the column
2026-05-02 23:11:40 +08:00
matevip
c60fc4cf83
feat(wiki): one-hop chat-LLM fallback when the primary provider is wedged
2026-05-02 21:46:22 +08:00