oclaw/oclaw.json
oliver 1bdbfc3b85 Require ops to persist field general knowledge to Wiki, not chat memory.
Add ops-knowledge-capture routing and harden ROLE/wiki topic hints for short WhatsApp threads.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-12 23:41:15 +08:00

73 lines
2.3 KiB
JSON

{
"plugins": {
"enabled": ["memory-wiki"],
"slots": {
"memory": "memory-wiki"
},
"entries": {
"memory-wiki": {
"wiki_root": "data/wiki",
"max_search_results": 20,
"max_get_lines": 800,
"auto": {
"enabled": true,
"attachments": {
"tabular": {
"max_rows_read": 5000,
"max_columns": 200,
"max_cell_chars": 500,
"max_excel_sheets": 50,
"large_table_preview_rows": 20,
"tool_mode_enabled": true,
"tool_mode_min_rows": 20000,
"tool_mode_max_bytes": 31457280,
"image_result_replay_cap_chars": 4000,
"video_result_replay_cap_chars": 4000,
"video_transcript_chunk_size": 1600,
"video_transcript_chunk_overlap": 200,
"archive_max_depth": 2,
"archive_max_file_count": 200,
"archive_max_entry_bytes": 10485760,
"archive_max_total_uncompressed_bytes": 52428800
}
},
"inject": {
"max_chars": 1800,
"top_k": 6,
"ultra_saver_enabled": true,
"min_query_chars": 20,
"require_topic_hint": true
},
"worker": {
"enabled": true
},
"topic_routing": {
"rules": [
{
"topic": "ops-field",
"keywords": [
"fiber", "optical", "lldp", "ume", "alarm", "host_name", "sfp",
"capacity", "los", "bgp", "mpls", "nickname", "alias", "sembawa",
"光功率", "断纤", "告警", "网元", "以后", "记住", "别再"
]
},
{
"topic": "network",
"keywords": ["vlan", "router", "switch", "network", "dns", "gateway"]
},
{
"topic": "devops",
"keywords": ["deploy", "k8s", "kubernetes", "docker", "ci", "ops"]
},
{
"topic": "engineering",
"keywords": ["bug", "fix", "todo", "feature", "refactor", "test"]
}
]
}
}
}
}
}
}