pub fn write_plugin_config( plugin_id: &str, key: &str, value: &str, ) -> Result<()>
Write one plugin-owned config value, preserving comments and unrelated keys.