Skip to content

Teach agents to use workspace-docs for customer docs #47

Description

@100yenadmin

TLDR: Support KB installs currently teach agents to search the reusable openclaw-support-kb source, but not the customer-specific workspace-docs source where VM docs and runbooks live. This makes GBrain look healthy while agents can still miss the user/company docs they should consult.\n\n## Why this matters\n\nEva Brain now keeps two distinct GBrain sources on customer VMs:\n\nmermaid\nflowchart LR\n A[Agent question] --> B{Question type}\n B -->|customer docs/runbooks| W[workspace-docs]\n B -->|OpenClaw product support| K[openclaw-support-kb]\n W --> G[GBrain search]\n K --> G\n\n\nThe installer-managed AGENTS block is the most reliable way to update existing customer agents without manually editing protected config files.\n\n## Acceptance criteria\n\n- Managed AGENTS block names /root/.openclaw/workspace/docs.\n- Managed AGENTS block names /root/.openclaw/workspace/docs/runbooks.\n- Managed AGENTS block tells agents to search workspace-docs for customer/workspace docs.\n- Existing openclaw-support-kb support-routing guidance remains intact.\n- Installer test proves the managed block contains both source paths.\n\n## Validation\n\n- node --test tests/cli-safety.test.mjs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions