rag_session_autoconfigure
Automatically configure session RAG snapshot from live 1C config and extensions, matching or dumping missing sources for AI-guided testing.
Instructions
Auto-configure the session RAG snapshot from the live 1C configuration and installed extensions.
The tool reads the live main configuration/version from ВерсииПодсистем, reads
installed extensions from ВерсииРасширений, matches them against registered
RAG sources by metadata name and version, and creates/binds a snapshot.
When no exact/suitable source exists and dump_if_missing=true, Answer42 can
create RAG sources by dumping the configuration and extensions to Designer XML.
Dumping requires a direct Designer connection: server infobase (server/ib) or
file infobase path. Web /WS URLs cannot be dumped; for web sessions pass
dump_connection_value, file_infobase_path, or cf_files/cfe_files.
If the direct dump connection has different users than the web publication
(for example multitenant/separated-data infobases), pass dump_username and
dump_password; otherwise the current session credentials are reused.
Temporary infobases created from CF/CFE files are deleted after dumping by
default. Generated XML source directories are removed after a successful
index build by default, because the SQLite RAG index is self-contained; pass
cleanup_generated_sources=false when the dumped XML source tree should be
kept under dump_root for inspection or reuse.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cf_files | No | ||
| cfe_files | No | ||
| dump_root | No | ||
| session_id | No | default-18 | |
| build_index | No | ||
| sync_sources | No | ||
| dump_password | No | ||
| dump_username | No | ||
| snapshot_name | No | ||
| dump_if_missing | No | ||
| file_infobase_path | No | ||
| dump_all_extensions | No | ||
| dump_connection_mode | No | auto | |
| cleanup_tmp_infobases | No | ||
| dump_connection_value | No | ||
| cleanup_generated_sources | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||