mateclaw/mateclaw-server/src/main/resources/docs/en
matevip 0141b00270 docs(agent): document per-agent primary knowledge base binding (1.5.0)
Add the user-facing and API-reference docs that explain how an employee
can declare a primary knowledge base, what the runtime fallback chain
looks like, and how the binding is driven from the API.

agents.md (zh + en)
- New section "Knowledge base binding (per-agent primary KB)" right after
  the tool-binding section, with a 1.5.0 New In badge
- Lays out the design intent explicitly: KBs stay workspace-shared, the
  binding only chooses a default target, multiple agents may pick the
  same KB as primary
- Documents the runtime resolution order used by wiki tools: explicit
  kbName/kbId, agent.primaryKbId, most-recently-updated workspace KB
- Migration note about the legacy kb.agent_id to agent.primary_kb_id
  backfill and the visibility change for anyone who relied on the old
  one-to-one isolation

api.md (zh + en)
- Under Agents: document the primaryKbId field with the three-state PUT
  semantics (omit / null / value) and example curl calls
- Under LLM Wiki: document GET /api/v1/wiki/knowledge-bases/bindable and
  the explicit warning that PUT /api/v1/wiki/knowledge-bases/{id} no
  longer processes the agentId field
2026-05-29 06:33:46 +08:00
..
acp.md fix(docs): mirror root docs into classpath so readMateClawDoc serves them 2026-05-16 17:34:30 +08:00
agents.md docs(agent): document per-agent primary knowledge base binding (1.5.0) 2026-05-29 06:33:46 +08:00
ambient-ai.md fix(docs): mirror root docs into classpath so readMateClawDoc serves them 2026-05-16 17:34:30 +08:00
api.md docs(agent): document per-agent primary knowledge base binding (1.5.0) 2026-05-29 06:33:46 +08:00
architecture.md docs: add v1.4.0 release notes and update guides for the release 2026-05-23 22:55:03 +08:00
backstage.md docs: add v1.4.0 release notes and update guides for the release 2026-05-23 22:55:03 +08:00
channels.md docs: add v1.4.0 release notes and update guides for the release 2026-05-23 22:55:03 +08:00
chat.md docs: add v1.4.0 release notes and update guides for the release 2026-05-23 22:55:03 +08:00
config.md fix(docs): mirror root docs into classpath so readMateClawDoc serves them 2026-05-16 17:34:30 +08:00
console.md docs: add v1.4.0 release notes and update guides for the release 2026-05-23 22:55:03 +08:00
contributing.md fix(docs): mirror root docs into classpath so readMateClawDoc serves them 2026-05-16 17:34:30 +08:00
desktop.md fix(docs): mirror root docs into classpath so readMateClawDoc serves them 2026-05-16 17:34:30 +08:00
docker-deploy.md fix(docs): mirror root docs into classpath so readMateClawDoc serves them 2026-05-16 17:34:30 +08:00
doctor.md fix(docs): mirror root docs into classpath so readMateClawDoc serves them 2026-05-16 17:34:30 +08:00
faq.md fix(docs): mirror root docs into classpath so readMateClawDoc serves them 2026-05-16 17:34:30 +08:00
goals.md docs: add user guide for the persistent-goal feature 2026-05-21 16:25:50 +08:00
index.md fix(docs): mirror root docs into classpath so readMateClawDoc serves them 2026-05-16 17:34:30 +08:00
intro.md fix(docs): mirror root docs into classpath so readMateClawDoc serves them 2026-05-16 17:34:30 +08:00
mcp.md fix(docs): mirror root docs into classpath so readMateClawDoc serves them 2026-05-16 17:34:30 +08:00
memory.md docs: add v1.4.0 release notes and update guides for the release 2026-05-23 22:55:03 +08:00
model3d.md fix(docs): mirror root docs into classpath so readMateClawDoc serves them 2026-05-16 17:34:30 +08:00
models.md docs: add v1.4.0 release notes and update guides for the release 2026-05-23 22:55:03 +08:00
multimodal.md docs: add v1.4.0 release notes and update guides for the release 2026-05-23 22:55:03 +08:00
quickstart.md fix(docs): mirror root docs into classpath so readMateClawDoc serves them 2026-05-16 17:34:30 +08:00
releases.md docs: add v1.4.0 release notes and update guides for the release 2026-05-23 22:55:03 +08:00
roadmap.md fix(docs): mirror root docs into classpath so readMateClawDoc serves them 2026-05-16 17:34:30 +08:00
security.md docs: add v1.4.0 release notes and update guides for the release 2026-05-23 22:55:03 +08:00
skills.md docs: add v1.4.0 release notes and update guides for the release 2026-05-23 22:55:03 +08:00
tools.md docs: add v1.4.0 release notes and update guides for the release 2026-05-23 22:55:03 +08:00
triggers.md docs: add v1.4.0 release notes and update guides for the release 2026-05-23 22:55:03 +08:00
user-guide.md fix(docs): mirror root docs into classpath so readMateClawDoc serves them 2026-05-16 17:34:30 +08:00
wecom-tuning.md fix(docs): mirror root docs into classpath so readMateClawDoc serves them 2026-05-16 17:34:30 +08:00
wiki.md feat(wiki): support HTML, Excel, PowerPoint and CSV raw materials 2026-05-18 21:57:43 +08:00
workflow.md docs: add v1.4.0 release notes and update guides for the release 2026-05-23 22:55:03 +08:00
workspaces.md docs: add v1.4.0 release notes and update guides for the release 2026-05-23 22:55:03 +08:00