matevip
7363ee8668
feat(wiki): pipeline definition CRUD/YAML API, run query API, page-created trigger
2026-05-31 07:59:41 +08:00
matevip
c627f898ec
feat(wiki): pluggable ingest-source SPI + source-watcher status API
2026-05-31 07:59:34 +08:00
matevip
ea0ace1e49
feat(wiki): propagate staleness when a fact page is updated during ingest
2026-05-31 07:59:27 +08:00
matevip
55cf2a8458
feat(wiki): wire layer derivation and fact-dependency persistence into ingest
2026-05-31 07:59:20 +08:00
matevip
8e8c1e34c7
feat(wiki): inject pageType profile into route/create/merge prompts + content templates
2026-05-31 07:59:13 +08:00
matevip
6583aa1e42
fix(wiki): close symlink TOCTOU and size-bypass in scan; single-read binary hash
2026-05-31 07:58:17 +08:00
matevip
aac04cdfa4
fix(wiki): re-ingest modified binary files via content-hash detection
2026-05-31 07:58:10 +08:00
matevip
4ffe7026d2
fix(wiki): block per-file symlink escape and stop sourcePath clobbering
2026-05-31 07:57:57 +08:00
matevip
f3a335f4f6
fix(wiki): re-ingest modified text files via content-hash change detection
2026-05-31 07:57:50 +08:00
matevip
4c56df2ed3
fix(wiki): add fail-closed option for empty source-path allow-list
2026-05-31 07:57:44 +08:00
matevip
56b49e9cbf
fix(wiki): apply metadata and fire pipeline trigger on all ingest save paths
2026-05-31 07:57:37 +08:00
matevip
8b4e1a12f9
feat(wiki): scheduled single-owner source-directory watcher
2026-05-31 07:57:25 +08:00
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