# Feature: Feature Toggle Loop Name Generation

**Status**: Implemented
**Date**: 2026-02-03

## Summary
Add a configuration switch to control the fallback behavior for `loop_name` generation. Currently, when cache lookup fails, the system auto-generates a name using the format `[Type-Addr-Loop]`. This change allows users to enable or disable this fallback behavior via an environment variable.

## Requirements
1.  **Configuration**: 
    - Add `ENABLE_LOOP_NAME_AUTO_GENERATION` to environment variables.
    - Default behavior should match existing logic (enable generation) if not specified, but user requested explicit control.
    - If `true`: Perform concatenation `[dev_type名称+'-'+dev_addr+'-'+dev_loop]`.
    - If `false`: Do not generate name, leave `loop_name` as null (or whatever default is appropriate, likely null).

2.  **Processor Logic**:
    - In `getLoopNameWithFallback`, check the configuration flag before applying the fallback generation logic.

## Implementation Plan
1.  **Config**: Update `src/config/config.js` to parse `ENABLE_LOOP_NAME_AUTO_GENERATION`.
2.  **Env**: Update `.env` and `.env.example`.
3.  **Processor**: Update `src/processor/index.js` to respect the flag.
