Files
Hermes_rocket.chat_Plugin/plugin/archivar/room-map.schema.json
T
Bernd (Hermes) 3dcd024dd6 feat(F-549): boten_rooms Archivar-Bypass @implements: [F-549]
- room_map.py: boten_rooms-Feld (init/property/is_boten_room/parse/serialize/reload)
- room-map.schema.json: boten_rooms Schema
- templates/room-map.json: boten_rooms Default
- adapter.py: _boten_room_ids (populate via _sync_room_map_with_membership) + Archivar-Bypass (kein FAISS/Theme/Butler), Boten-Räume werden weiterhin subscribet/empfangen
- onboarding.py: boten_rooms kein Onboarding-Trigger (completeness/delta/lazy)
- test_f549_boten_rooms.py: 5 Tests (Round-Trip, is_boten_room, save, reload, Kompatibilität)
- STATUS.md aktualisiert
2026-09-19 14:18:57 +02:00

87 lines
3.3 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://hermes-agent.nousresearch.com/schemas/room-map.schema.json",
"title": "Archivar Room Map",
"description": "Schema for the Archivar room-map.json — the single source of truth for thematic message routing. Version 2 splits keywords into keywords_100 (exact-match routing) and keywords_context (contextual routing).",
"type": "object",
"required": ["version", "rooms"],
"properties": {
"version": {
"type": "integer",
"description": "Schema version for future migrations.",
"minimum": 3
},
"rooms": {
"type": "object",
"description": "Map of room_id → RoomEntry.",
"additionalProperties": {
"type": "object",
"required": ["name", "theme"],
"properties": {
"name": {
"type": "string",
"description": "Human-readable room name (e.g. '#Rocketchat-Plugin').",
"minLength": 1
},
"theme": {
"type": "string",
"description": "Theme / purpose of the room.",
"minLength": 1
},
"description": {
"type": "string",
"description": "Detailed ~200-word description of the room's purpose, topics, artifacts, and typical tasks.",
"minLength": 50
},
"keywords_100": {
"type": "array",
"description": "Keywords for exact-match routing (high-confidence, low false-positive).",
"items": { "type": "string", "minLength": 1 },
"default": []
},
"keywords_context": {
"type": "array",
"description": "Keywords for contextual / semantic routing (broader match, may need disambiguation).",
"items": { "type": "string", "minLength": 1 },
"default": []
},
"catch_all": {
"type": "boolean",
"description": "True if this room is the single catch-all room.",
"default": false
}
},
"additionalProperties": false
}
},
"excluded_rooms": {
"type": "array",
"description": "Room IDs that must never receive routed messages (e.g. Multi-Agent-Raum).",
"items": { "type": "string" },
"default": []
},
"boten_rooms": {
"type": "array",
"description": "Room IDs that the gateway subscribes and receives (agent turn starts) but the Archivar skips (no FAISS routing, no theme detection, no Butler). F-549.",
"items": { "type": "string" },
"default": []
},
"fact_store_path": {
"type": "string",
"description": "Filesystem path for FAKT message storage (absolute or ~-prefixed).",
"default": "~/archivar_docs"
},
"keyword_overrides": {
"type": "object",
"description": "Admin-corrected keyword→room mappings (learned from !r overrides). Optional.",
"additionalProperties": { "type": "string" }
},
"blocked_keywords": {
"type": "array",
"description": "Domänenspezifische Ausschlusswörter (E3 der Stopword-Blocklist-Kaskade): Modellnamen, CLI-Flags, Technik-Begriffe, die niemals ein thematisches Lern-Keyword sind. Konfigurierbar pro Instanz.",
"items": { "type": "string", "minLength": 1 },
"default": []
}
},
"additionalProperties": false
}