Files
tfm_ainventory/graphify-out/cache/e5a3aeccd5d25659cff36f4288bbfa48f3920758c3d82dbb839bfe86de348c57.json

1 line
20 KiB
JSON

{"nodes": [{"id": "backend_config_manager_py", "label": "config_manager.py", "file_type": "code", "source_file": "backend/config_manager.py", "source_location": "L1"}, {"id": "config_manager_configmanager", "label": "ConfigManager", "file_type": "code", "source_file": "backend/config_manager.py", "source_location": "L8"}, {"id": "config_manager_get_config_path", "label": "get_config_path()", "file_type": "code", "source_file": "backend/config_manager.py", "source_location": "L12"}, {"id": "config_manager_read_config", "label": "read_config()", "file_type": "code", "source_file": "backend/config_manager.py", "source_location": "L19"}, {"id": "config_manager_update_config", "label": "update_config()", "file_type": "code", "source_file": "backend/config_manager.py", "source_location": "L34"}, {"id": "config_manager_validate_config_file", "label": "validate_config_file()", "file_type": "code", "source_file": "backend/config_manager.py", "source_location": "L62"}, {"id": "config_manager_get_secrets_path", "label": "get_secrets_path()", "file_type": "code", "source_file": "backend/config_manager.py", "source_location": "L76"}, {"id": "config_manager_update_secrets", "label": "update_secrets()", "file_type": "code", "source_file": "backend/config_manager.py", "source_location": "L83"}, {"id": "config_manager_update_keys", "label": "update_keys()", "file_type": "code", "source_file": "backend/config_manager.py", "source_location": "L113"}, {"id": "config_manager_get_config", "label": "get_config()", "file_type": "code", "source_file": "backend/config_manager.py", "source_location": "L139"}, {"id": "config_manager_get_masked_key", "label": "get_masked_key()", "file_type": "code", "source_file": "backend/config_manager.py", "source_location": "L144"}, {"id": "config_manager_rationale_9", "label": "Manages backend.yaml configuration file updates.", "file_type": "rationale", "source_file": "backend/config_manager.py", "source_location": "L9"}, {"id": "config_manager_rationale_13", "label": "Returns the absolute path to backend.yaml.", "file_type": "rationale", "source_file": "backend/config_manager.py", "source_location": "L13"}, {"id": "config_manager_rationale_20", "label": "Read backend.yaml and return current config.", "file_type": "rationale", "source_file": "backend/config_manager.py", "source_location": "L20"}, {"id": "config_manager_rationale_35", "label": "Update backend.yaml with new values and return updated config. Only upda", "file_type": "rationale", "source_file": "backend/config_manager.py", "source_location": "L35"}, {"id": "config_manager_rationale_63", "label": "Validate backend.yaml syntax and required fields.", "file_type": "rationale", "source_file": "backend/config_manager.py", "source_location": "L63"}, {"id": "config_manager_rationale_77", "label": "Returns the absolute path to secrets.yaml.", "file_type": "rationale", "source_file": "backend/config_manager.py", "source_location": "L77"}, {"id": "config_manager_rationale_84", "label": "Update secrets.yaml with new values (flattened structure).", "file_type": "rationale", "source_file": "backend/config_manager.py", "source_location": "L84"}, {"id": "config_manager_rationale_114", "label": "Intelligent key update: routes sensitive AI keys to secrets.yaml and oth", "file_type": "rationale", "source_file": "backend/config_manager.py", "source_location": "L114"}, {"id": "config_manager_rationale_140", "label": "Return the current global configuration.", "file_type": "rationale", "source_file": "backend/config_manager.py", "source_location": "L140"}, {"id": "config_manager_rationale_145", "label": "Returns a masked version of a configuration value or env var.", "file_type": "rationale", "source_file": "backend/config_manager.py", "source_location": "L145"}, {"id": "config_manager_rationale_177", "label": "Read backend.yaml and return current config.", "file_type": "rationale", "source_file": "backend/config_manager.py", "source_location": "L177"}, {"id": "config_manager_rationale_181", "label": "Update backend.yaml with new values and return updated config.", "file_type": "rationale", "source_file": "backend/config_manager.py", "source_location": "L181"}, {"id": "config_manager_rationale_185", "label": "Return the current global configuration.", "file_type": "rationale", "source_file": "backend/config_manager.py", "source_location": "L185"}, {"id": "config_manager_rationale_189", "label": "Validate backend.yaml syntax and required fields.", "file_type": "rationale", "source_file": "backend/config_manager.py", "source_location": "L189"}], "edges": [{"source": "backend_config_manager_py", "target": "os", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L1", "weight": 1.0}, {"source": "backend_config_manager_py", "target": "yaml", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L2", "weight": 1.0}, {"source": "backend_config_manager_py", "target": "logging", "relation": "imports", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L3", "weight": 1.0}, {"source": "backend_config_manager_py", "target": "backend_config_loader_py", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L4", "weight": 1.0}, {"source": "backend_config_manager_py", "target": "config_manager_configmanager", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L8", "weight": 1.0}, {"source": "backend_config_manager_py", "target": "config_manager_get_config_path", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L12", "weight": 1.0}, {"source": "backend_config_manager_py", "target": "config_manager_read_config", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L19", "weight": 1.0}, {"source": "backend_config_manager_py", "target": "config_manager_update_config", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L34", "weight": 1.0}, {"source": "backend_config_manager_py", "target": "config_manager_validate_config_file", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L62", "weight": 1.0}, {"source": "backend_config_manager_py", "target": "config_manager_get_secrets_path", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L76", "weight": 1.0}, {"source": "backend_config_manager_py", "target": "config_manager_update_secrets", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L83", "weight": 1.0}, {"source": "backend_config_manager_py", "target": "config_manager_update_keys", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L113", "weight": 1.0}, {"source": "backend_config_manager_py", "target": "config_manager_get_config", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L139", "weight": 1.0}, {"source": "backend_config_manager_py", "target": "config_manager_get_masked_key", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L144", "weight": 1.0}, {"source": "backend_config_manager_py", "target": "config_manager_read_config", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L176", "weight": 1.0}, {"source": "backend_config_manager_py", "target": "config_manager_update_config", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L180", "weight": 1.0}, {"source": "backend_config_manager_py", "target": "config_manager_get_config", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L184", "weight": 1.0}, {"source": "backend_config_manager_py", "target": "config_manager_validate_config_file", "relation": "contains", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L188", "weight": 1.0}, {"source": "config_manager_read_config", "target": "config_manager_get_config_path", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L21", "weight": 1.0}, {"source": "config_manager_update_config", "target": "config_manager_get_config_path", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L39", "weight": 1.0}, {"source": "config_manager_update_config", "target": "config_manager_read_config", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L40", "weight": 1.0}, {"source": "config_manager_validate_config_file", "target": "config_manager_get_config_path", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L64", "weight": 1.0}, {"source": "config_manager_update_secrets", "target": "config_manager_get_secrets_path", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L85", "weight": 1.0}, {"source": "config_manager_update_keys", "target": "config_manager_update_secrets", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L131", "weight": 1.0}, {"source": "config_manager_update_keys", "target": "config_manager_update_config", "relation": "calls", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L134", "weight": 1.0}, {"source": "config_manager_rationale_9", "target": "config_manager_configmanager", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L9", "weight": 1.0}, {"source": "config_manager_rationale_13", "target": "config_manager_configmanager_get_config_path", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L13", "weight": 1.0}, {"source": "config_manager_rationale_20", "target": "config_manager_configmanager_read_config", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L20", "weight": 1.0}, {"source": "config_manager_rationale_35", "target": "config_manager_configmanager_update_config", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L35", "weight": 1.0}, {"source": "config_manager_rationale_63", "target": "config_manager_configmanager_validate_config_file", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L63", "weight": 1.0}, {"source": "config_manager_rationale_77", "target": "config_manager_configmanager_get_secrets_path", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L77", "weight": 1.0}, {"source": "config_manager_rationale_84", "target": "config_manager_configmanager_update_secrets", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L84", "weight": 1.0}, {"source": "config_manager_rationale_114", "target": "config_manager_configmanager_update_keys", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L114", "weight": 1.0}, {"source": "config_manager_rationale_140", "target": "config_manager_configmanager_get_config", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L140", "weight": 1.0}, {"source": "config_manager_rationale_145", "target": "config_manager_configmanager_get_masked_key", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L145", "weight": 1.0}, {"source": "config_manager_rationale_177", "target": "config_manager_read_config", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L177", "weight": 1.0}, {"source": "config_manager_rationale_181", "target": "config_manager_update_config", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L181", "weight": 1.0}, {"source": "config_manager_rationale_185", "target": "config_manager_get_config", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L185", "weight": 1.0}, {"source": "config_manager_rationale_189", "target": "config_manager_validate_config_file", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "backend/config_manager.py", "source_location": "L189", "weight": 1.0}], "raw_calls": [{"caller_nid": "config_manager_get_config_path", "callee": "dirname", "source_file": "backend/config_manager.py", "source_location": "L14"}, {"caller_nid": "config_manager_get_config_path", "callee": "abspath", "source_file": "backend/config_manager.py", "source_location": "L14"}, {"caller_nid": "config_manager_get_config_path", "callee": "dirname", "source_file": "backend/config_manager.py", "source_location": "L15"}, {"caller_nid": "config_manager_get_config_path", "callee": "join", "source_file": "backend/config_manager.py", "source_location": "L16"}, {"caller_nid": "config_manager_read_config", "callee": "exists", "source_file": "backend/config_manager.py", "source_location": "L22"}, {"caller_nid": "config_manager_read_config", "callee": "warning", "source_file": "backend/config_manager.py", "source_location": "L23"}, {"caller_nid": "config_manager_read_config", "callee": "open", "source_file": "backend/config_manager.py", "source_location": "L27"}, {"caller_nid": "config_manager_read_config", "callee": "safe_load", "source_file": "backend/config_manager.py", "source_location": "L28"}, {"caller_nid": "config_manager_read_config", "callee": "error", "source_file": "backend/config_manager.py", "source_location": "L30"}, {"caller_nid": "config_manager_update_config", "callee": "items", "source_file": "backend/config_manager.py", "source_location": "L43"}, {"caller_nid": "config_manager_update_config", "callee": "isinstance", "source_file": "backend/config_manager.py", "source_location": "L44"}, {"caller_nid": "config_manager_update_config", "callee": "isinstance", "source_file": "backend/config_manager.py", "source_location": "L44"}, {"caller_nid": "config_manager_update_config", "callee": "update", "source_file": "backend/config_manager.py", "source_location": "L45"}, {"caller_nid": "config_manager_update_config", "callee": "open", "source_file": "backend/config_manager.py", "source_location": "L50"}, {"caller_nid": "config_manager_update_config", "callee": "safe_dump", "source_file": "backend/config_manager.py", "source_location": "L51"}, {"caller_nid": "config_manager_update_config", "callee": "info", "source_file": "backend/config_manager.py", "source_location": "L52"}, {"caller_nid": "config_manager_update_config", "callee": "loader_load_config", "source_file": "backend/config_manager.py", "source_location": "L55"}, {"caller_nid": "config_manager_update_config", "callee": "loader_get_config", "source_file": "backend/config_manager.py", "source_location": "L56"}, {"caller_nid": "config_manager_update_config", "callee": "error", "source_file": "backend/config_manager.py", "source_location": "L58"}, {"caller_nid": "config_manager_validate_config_file", "callee": "exists", "source_file": "backend/config_manager.py", "source_location": "L65"}, {"caller_nid": "config_manager_validate_config_file", "callee": "open", "source_file": "backend/config_manager.py", "source_location": "L69"}, {"caller_nid": "config_manager_validate_config_file", "callee": "safe_load", "source_file": "backend/config_manager.py", "source_location": "L70"}, {"caller_nid": "config_manager_get_secrets_path", "callee": "dirname", "source_file": "backend/config_manager.py", "source_location": "L78"}, {"caller_nid": "config_manager_get_secrets_path", "callee": "abspath", "source_file": "backend/config_manager.py", "source_location": "L78"}, {"caller_nid": "config_manager_get_secrets_path", "callee": "dirname", "source_file": "backend/config_manager.py", "source_location": "L79"}, {"caller_nid": "config_manager_get_secrets_path", "callee": "join", "source_file": "backend/config_manager.py", "source_location": "L80"}, {"caller_nid": "config_manager_update_secrets", "callee": "exists", "source_file": "backend/config_manager.py", "source_location": "L88"}, {"caller_nid": "config_manager_update_secrets", "callee": "open", "source_file": "backend/config_manager.py", "source_location": "L90"}, {"caller_nid": "config_manager_update_secrets", "callee": "safe_load", "source_file": "backend/config_manager.py", "source_location": "L91"}, {"caller_nid": "config_manager_update_secrets", "callee": "error", "source_file": "backend/config_manager.py", "source_location": "L93"}, {"caller_nid": "config_manager_update_secrets", "callee": "update", "source_file": "backend/config_manager.py", "source_location": "L96"}, {"caller_nid": "config_manager_update_secrets", "callee": "open", "source_file": "backend/config_manager.py", "source_location": "L99"}, {"caller_nid": "config_manager_update_secrets", "callee": "write", "source_file": "backend/config_manager.py", "source_location": "L101"}, {"caller_nid": "config_manager_update_secrets", "callee": "dump", "source_file": "backend/config_manager.py", "source_location": "L102"}, {"caller_nid": "config_manager_update_secrets", "callee": "info", "source_file": "backend/config_manager.py", "source_location": "L103"}, {"caller_nid": "config_manager_update_secrets", "callee": "loader_load_config", "source_file": "backend/config_manager.py", "source_location": "L106"}, {"caller_nid": "config_manager_update_secrets", "callee": "loader_get_config", "source_file": "backend/config_manager.py", "source_location": "L107"}, {"caller_nid": "config_manager_update_secrets", "callee": "error", "source_file": "backend/config_manager.py", "source_location": "L109"}, {"caller_nid": "config_manager_update_keys", "callee": "items", "source_file": "backend/config_manager.py", "source_location": "L123"}, {"caller_nid": "config_manager_update_keys", "callee": "loader_get_config", "source_file": "backend/config_manager.py", "source_location": "L136"}, {"caller_nid": "config_manager_get_config", "callee": "loader_get_config", "source_file": "backend/config_manager.py", "source_location": "L141"}, {"caller_nid": "config_manager_get_masked_key", "callee": "loader_get_config", "source_file": "backend/config_manager.py", "source_location": "L146"}, {"caller_nid": "config_manager_get_masked_key", "callee": "get", "source_file": "backend/config_manager.py", "source_location": "L151"}, {"caller_nid": "config_manager_get_masked_key", "callee": "get", "source_file": "backend/config_manager.py", "source_location": "L151"}, {"caller_nid": "config_manager_get_masked_key", "callee": "get", "source_file": "backend/config_manager.py", "source_location": "L153"}, {"caller_nid": "config_manager_get_masked_key", "callee": "get", "source_file": "backend/config_manager.py", "source_location": "L153"}, {"caller_nid": "config_manager_get_masked_key", "callee": "get", "source_file": "backend/config_manager.py", "source_location": "L155"}, {"caller_nid": "config_manager_get_masked_key", "callee": "get", "source_file": "backend/config_manager.py", "source_location": "L155"}, {"caller_nid": "config_manager_get_masked_key", "callee": "get", "source_file": "backend/config_manager.py", "source_location": "L159"}, {"caller_nid": "config_manager_get_masked_key", "callee": "len", "source_file": "backend/config_manager.py", "source_location": "L170"}, {"caller_nid": "config_manager_get_config", "callee": "loader_get_config", "source_file": "backend/config_manager.py", "source_location": "L186"}]}