Add shared read-only Git and database research tools

This commit is contained in:
Nico committed 2026-10-14 22:25:24 +02:00
1 parent 0c750dbb74
commit 02f63702ba
30 files changed
+3231 -42

No files matched your search

+60
View File
@@ -0,0 +1,60 @@
# Operator-controlled bindings. The model cannot override these settings.
[project]
type = "wow"
profile = "vcore"
[source]
path = "../service-data/research/viano-core"
url = "https://gitea.viano-software.de/Nico/Viano-Core"
commit = "3a6c0b5575f8aaf1bd12ebca26d52fbeb122f086"
[database]
host = "127.0.0.1"
port = 33079
database = "cata_world"
user = "viano_reader"
password_file = "../service-data/research/world-db/reader.local.txt"
snapshot_id = "backup-sha256:4964f277ef5cf7f7f98bf4378971dcb55180bac813d49bcda6d2f03ff6969662"
# Explicit allowlist: no account or character tables.
tables = ["creature_template", "creature_template_locale", "creature", "quest_template", "quest_template_addon", "smart_scripts", "conditions", "game_event", "game_event_creature", "spell_script_names", "gameobject_template", "gameobject", "creature_equip_template"]
[limits]
max_rows = 50
max_result_bytes = 65536
max_files = 20000
max_file_bytes = 2097152
max_search_bytes = 134217728
max_lines = 80
timeout_seconds = 15
max_cached_queries = 256
[[enrichment.queries]]
kind = "source.schema"
text = "CREATE TABLE `creature`"
path_prefix = "sql/base/"
case_sensitive = true
offset = 0
limit = 1
[[enrichment.queries]]
kind = "source.schema"
text = "CREATE TABLE `quest_template`"
path_prefix = "sql/base/"
case_sensitive = true
offset = 0
limit = 1
# Deterministic entity resolution before the first LLM call; no diagnosis.
[[enrichment.entities]]
entity_type = "creature"
table = "creature_template"
column = "entry"
columns = ["entry", "name", "subname", "ScriptName", "AIName"]
limit = 1
[[enrichment.entities]]
entity_type = "quest"
table = "quest_template"
column = "ID"
columns = ["ID", "LogTitle", "RequiredNpcOrGo1", "RequiredNpcOrGo2", "RequiredNpcOrGo3", "RequiredNpcOrGo4", "RequiredItemId1", "RequiredItemId2", "RequiredSpell"]
limit = 1