rcourtman
28cd487889
feat(sensor-proxy): complete Phase 2 with CLI-based config migration
Add `config migrate-to-file` command and update installer to eliminate
all shell/Python config manipulation, ensuring atomic operations throughout.
Changes:
- Add `config migrate-to-file` command to atomically migrate inline
allowed_nodes blocks to file-based configuration
- Update installer's update_allowed_nodes() to call CLI exclusively
- Simplify migrate_inline_allowed_nodes_to_file() to use CLI
- Remove dependency on Python/sed for config manipulation
- Implement dual-file locking (config.yaml + allowed_nodes.yaml) to
prevent race conditions during migration
All config mutations now flow through the Phase 2 CLI with:
- File locking (flock)
- Atomic writes (temp + rename + fsync)
- Proper YAML parsing/generation
This completes Phase 2 architecture and eliminates the root cause of
config corruption issues.
Related to prior commits: 53dec6010, 3dc073a28, 804a638ea, 131666bc1
2025-11-19 10:35:49 +00:00
..
2025-10-11 23:29:47 +00:00
2025-10-20 15:13:38 +00:00
2025-11-13 13:02:15 +00:00
2025-11-13 22:31:53 +00:00
2025-10-11 23:29:47 +00:00
2025-11-06 11:42:52 +00:00
2025-11-11 22:34:00 +00:00
2025-10-20 15:13:38 +00:00
2025-10-20 15:13:38 +00:00
2025-10-16 08:15:49 +00:00
2025-11-04 21:50:46 +00:00
2025-10-21 19:58:53 +00:00
2025-10-20 15:13:37 +00:00
2025-10-20 15:13:37 +00:00
2025-11-13 09:10:43 +00:00
2025-10-20 15:13:37 +00:00
2025-11-02 22:47:55 +00:00
2025-11-09 08:35:24 +00:00
2025-11-04 21:50:46 +00:00
2025-11-18 22:11:44 +00:00
2025-11-04 21:50:46 +00:00
2025-10-11 23:29:47 +00:00
2025-11-14 10:50:56 +00:00
2025-11-11 21:13:33 +00:00
2025-11-19 10:35:49 +00:00
2025-11-15 21:49:51 +00:00
2025-11-16 09:47:07 +00:00
2025-10-22 10:46:18 +00:00
2025-11-04 21:50:46 +00:00
2025-10-13 13:17:05 +00:00
2025-11-14 22:58:50 +00:00
2025-11-13 13:25:27 +00:00
2025-10-14 15:47:49 +00:00
2025-10-20 15:13:37 +00:00
2025-11-14 10:39:10 +00:00
2025-10-27 19:46:51 +00:00
2025-10-14 10:21:52 +00:00
2025-10-27 19:46:51 +00:00
2025-11-13 11:43:36 +00:00
2025-11-13 23:09:22 +00:00
2025-10-23 22:23:23 +00:00
2025-11-12 17:56:16 +00:00
2025-11-11 21:26:33 +00:00