arrow_backRetour aux issues
fu351/Doberman-Core
#429
Débutant
Ouvrirarrow_forward
Débutant
Ouvrirarrow_forward
Débutant
Ouvrirarrow_forward
cli: `install-hooks --dry-run` previews `doberman dashboard`, but writes `doberman session-summary`
ecoDébutant
bug
good first issue
level-2
descriptionDescription
The dry-run preview for `install-hooks` and `uninstall-hooks` is hardcoded (`src/doberman/cli/main.py:1701` and `:1860`: `typer.echo(" SessionStart -> doberman dashboard")`). What the installer actually writes to the host's settings file is `DASHBOARD_COMMAND = "doberman session-summary"` (`src/doberman/hosthooks/install.py:32`); `dashboard` survives only as a hidden alias. So the preview that exists to show people exactly what will be written shows the wrong command.
Reproduce: `doberman install-hooks --dry-run --path ` prints `SessionStart -> doberman dashboard`.
**What to do**
1. Import `DASHBOARD_COMMAND` from `doberman.hosthooks.install` in `main.py` and use it in both echo lines (an f-string), so the preview can never drift from the write path again.
2. Extend `tests/unit/test_install_hooks.py` with a dry-run assertion: output contains `doberman session-summary` and not `doberman dashboard`. If a dry-run test already exists there, add the assertion to it.
3. `pytest tests/unit/test_install_hooks.py` green.
Display text only; the merge logic already uses the constant.
Issues similaires
calkit/calkit
star53
Poids du dépôt moyen
VS Code extension should be robust to YAML parser errors
Seeing this error: ``` Failed to read calkit.yaml: YAMLParseError: A block sequence may not be used as an implicit map…
Python
bug
good first issue
fu351/Doberman-Core
star211
Poids du dépôt léger
dash: a manual Refresh control
The dashboard polls: `refreshStats()` (`src/doberman/dash/app.py:408`) every 5 s and `refreshPending()` (`:546`) every …
Python
enhancement
good first issue
fu351/Doberman-Core
star211
Poids du dépôt léger
dash: "Copy details" button on each pending-approval card
Each pending-approval card in the dashboard (`renderPending`, `src/doberman/dash/app.py:448-544`) shows the risk badge,…
Python
enhancement
good first issue