refactor: finish facade migration for precheck and executor

This commit is contained in:
2026-04-15 20:50:38 +08:00
parent e6274d3a00
commit db981e8e5f
8 changed files with 1131 additions and 944 deletions

View File

@@ -56,7 +56,11 @@ The first extraction pass is already live:
- `smart-executor``commands.smart_executor` + `services.smart_executor_service`
- `precheck``commands.precheck` + `services.precheck_service`
- `precheck` internals now also have dedicated service modules for:
- root modules are compatibility facades only:
- `src/coinhunter/precheck.py`
- `src/coinhunter/smart_executor.py`
- `precheck` internals now live in dedicated service modules:
- `services.precheck_core`
- `services.precheck_state`
- `services.precheck_snapshot`
- `services.precheck_analysis`
@@ -65,7 +69,20 @@ This keeps behavior stable while giving the codebase a cleaner landing zone for
## Installation
Editable install:
Dedicated user-local install:
```bash
./scripts/install_local.sh
```
This creates:
- app environment: `~/.local/share/coinhunter-cli/venv`
- launcher: `~/.local/bin/coinhunter`
The launcher behaves like a normal installed CLI and simply forwards into the dedicated virtualenv.
Editable install for development:
```bash
pip install -e .