Commit 54f9947
committed
Make TUI status and resume guards reflect the real test surface
Turn a stubbed status path into a real heartbeat lookup, convert controller-cost wiring from private-state mutation into a wiring assertion, and remove two skips that were only masking ordinary edge cases.
Constraint: Resume replay remains partially unimplemented; the remaining skip markers are still attached to real work, not test laziness.
Rejected: Leave the status handler returning unknown | that keeps a user-visible command from proving anything useful.
Confidence: high
Scope-risk: narrow
Directive: Keep future tests focused on public commands or explicit wiring, not direct state injection unless the private state itself is the contract.
Tested: git diff --check; python3 scripts/validate_docs_consistency.py; python3 -m pytest tests/test_tui.py tests/test_cli_chat.py -q
Not-tested: the remaining resume replay skips and broader suite-wide skip inventory were not fully remediated in this pass1 parent b5225b0 commit 54f9947
2 files changed
Lines changed: 10 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
179 | 177 | | |
180 | | - | |
181 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
249 | 253 | | |
250 | 254 | | |
251 | 255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
785 | 785 | | |
786 | 786 | | |
787 | 787 | | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | 788 | | |
792 | 789 | | |
793 | 790 | | |
| |||
905 | 902 | | |
906 | 903 | | |
907 | 904 | | |
908 | | - | |
909 | 905 | | |
910 | 906 | | |
911 | 907 | | |
| |||
955 | 951 | | |
956 | 952 | | |
957 | 953 | | |
| 954 | + | |
958 | 955 | | |
959 | | - | |
960 | | - | |
961 | | - | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | | - | |
| 956 | + | |
967 | 957 | | |
968 | 958 | | |
969 | 959 | | |
| |||
0 commit comments