fix(targets): DRY signal handling, remove redundant guards, harden config manager

- Extract signal forwarding to reusable src/utils/signal-forwarder.ts
- Update shell-executor, claude-adapter, droid-adapter to use shared utility
- Remove 35 lines of redundant duplicate guards in src/ccs.ts
- Harden droid-config-manager with lock constants and race-safe ensureFactoryDir
- Update help-command with --target usage examples
- Update maintainability metrics baseline
This commit is contained in:
Tam Nhu Tran
2026-02-17 03:38:27 +07:00
parent f1a61f6eb5
commit 02af8d5737
8 changed files with 61 additions and 95 deletions
+3 -3
View File
@@ -2,8 +2,8 @@
"sourceDirectory": "src",
"largeFileThresholdLoc": 350,
"typeScriptFileCount": 355,
"locInSrc": 71420,
"processExitReferenceCount": 188,
"synchronousFsApiReferenceCount": 880,
"locInSrc": 71353,
"processExitReferenceCount": 185,
"synchronousFsApiReferenceCount": 879,
"largeFileCountOver350Loc": 56
}