Find which setting supplied a running Core Lightning alias
Reading a configuration file cannot tell you whether another source overrode it. The running daemon can show the effective value and its provenance.
Query one option by name
Ask only for alias, which is convenient for diagnosing a renamed node. The response's source identifies where the current setting came from. The typed value field for this string is value_str.
lightning-cli listconfigs alias | jq '.configs.alias | {value_str, source, dynamic}'
Follow the reported source
If the source points at a file and line, inspect that location in the deployment. If it points at the command line, inspect the service launch arguments. A corrected local value may take time to reach other nodes through gossip, so check the local effective setting before troubleshooting propagation.