diff --git a/docs/dev_control_center.md b/docs/dev_control_center.md index 77bb51b8..9eb9b3c9 100644 --- a/docs/dev_control_center.md +++ b/docs/dev_control_center.md @@ -64,9 +64,9 @@ Use these docs as inputs, but treat this file as the decision layer: ## 4) Recommended Next Steps (Priority Order) -1. Advance Nostr resilience validation with optional real-relay soak lane after deterministic suites. -2. Finish supply-chain readiness evidence and release-protection policy. -3. Expand operational runbooks and staged rollout evidence for security readiness closure. +1. Continue feature-development parity polish in TUI v2 with user-driven UX gaps. +2. Raise TUI v2 critical-path coverage beyond current gate floor (target >82% for `src/seedpass/tui_v2/app.py`). +3. Advance Nostr resilience validation with optional real-relay soak lane after deterministic suites. 4. Execute a tagged release integrity run and attach evidence URLs in readiness checklist. ## 5) Next Slice Definition (Recommended Immediate Work) @@ -122,6 +122,10 @@ Progress update (2026-03-02): - `docs/operational_runbooks.md` - `docs/staged_rollout_runbook.md` - `docs/agent-handoffs/incidents/2026-02-15-relay-health-preflight-job.md` +- Discoverability parity improved in TUI v2: + - added full palette command reference (`help-commands`, alias `commands`) + - `help` now also renders in-app command reference in entry detail pane + - focused TUI gate remains green with improved app coverage (`79.97%`) ## 6) Working Rule diff --git a/docs/tui_v2_parity_checklist.md b/docs/tui_v2_parity_checklist.md index 3b6fadb2..d981456d 100644 --- a/docs/tui_v2_parity_checklist.md +++ b/docs/tui_v2_parity_checklist.md @@ -21,7 +21,7 @@ This checklist tracks readiness to switch default interactive mode from legacy T | Graph links list | Limited | Yes | Dedicated links panel. | | Link add/remove | Limited | Yes | Via command palette commands. | | Neighbor traversal | No | Yes | Link cursor + open target entry. | -| Command discoverability | Menu-driven | Partial | Keybind hints and palette `help`. | +| Command discoverability | Menu-driven | Yes | Keybind hints, compact `?` overlay, palette `help`, and full `help-commands` reference. | | Full legacy workflow coverage | Yes | Yes | Closed with parity matrix completion + bug-bash evidence (2026-03-02). | ## Phase 4 Deliverables diff --git a/memory-update.md b/memory-update.md index 4a86b377..bbeb84dd 100644 --- a/memory-update.md +++ b/memory-update.md @@ -768,3 +768,27 @@ - `docs/security_readiness_checklist.md` rows 8/9/10 now reference new runbooks and moved 9/10 to `In Progress`. - `docs/dev_control_center.md` and `docs/README.md` now link the new runbook docs. - `TODO.md` supply-chain item now references published verification runbook. + +## 2026-03-02 Feature/parity refocus slice: in-app command discoverability + coverage bump +- Added full palette command reference support in TUI v2 (`src/seedpass/tui_v2/app.py`): + - new command: `help-commands` + - alias: `commands` + - `help` now also renders the full reference in the entry-detail panel. +- Added command reference helpers: + - `_palette_help_summary()` + - `_palette_reference_text()` +- Updated palette placeholder copy to include `help-commands`. +- Tests added/expanded: + - `src/tests/test_tui_v2_textual_interactions.py` + - `test_tui2_textual_palette_help_commands_reference` + - `src/tests/test_tui_v2_action_matrix.py` + - command matrix now covers `help-commands` success + usage error path. +- Validation: + - `pytest -q src/tests/test_tui_v2_textual_interactions.py src/tests/test_tui_v2_action_matrix.py src/tests/test_tui_v2_parity_scenarios.py src/tests/test_tui_v2_helpers.py` + - Result: `40 passed`. + - `./scripts/tui2_coverage_gate.sh` -> PASS + - `src/seedpass/tui_v2/app.py`: `79.97%` (up from `79.87%`) + - `src/seedpass/core/api.py`: `86.64%`. +- Docs updated: + - `docs/tui_v2_parity_checklist.md`: command discoverability row moved from `Partial` to `Yes`. + - `docs/dev_control_center.md`: priorities refocused to feature/parity and test coverage targets first. diff --git a/src/seedpass/tui_v2/app.py b/src/seedpass/tui_v2/app.py index 2e3d7c85..7e916caf 100644 --- a/src/seedpass/tui_v2/app.py +++ b/src/seedpass/tui_v2/app.py @@ -282,6 +282,7 @@ def launch_tui2( yield Input( placeholder=( "Command palette: help | open | search | " + "help-commands | " "filter | archive | restore | " "archive-filter | " "add-password