Commit 5851f2d
committed
fix(cli): 6 cascading test regressions hidden behind client_integration gate
- compact flag: was parsed then discarded (`compact: _`) instead of
passed to `run_turn_with_output` — hardcoded `false` meant --compact
never took effect
- piped stdin vs permission prompter: `read_piped_stdin()` consumed all
stdin before `CliPermissionPrompter::decide()` could read interactive
approval answers; now only consumes stdin as prompt context when
permission mode is `DangerFullAccess` (fully unattended)
- session resolver: `resolve_managed_session_path` and
`list_managed_sessions` now fall back to the pre-isolation flat
`.claw/sessions/` layout so legacy sessions remain accessible
- help assertion: match on stable prefix after `/session delete` was
added in batch 5
- prompt shorthand: fix copy-paste that changed expected prompt from
"help me debug" to "$help overview"
- mock parity harness: filter captured requests to `/v1/messages` path
only, excluding count_tokens preflight calls added by `be561bf`
All 6 failures were pre-existing but masked because `client_integration`
always failed first (fixed in 8c6dfe5).
Workspace: 810+ tests passing, 0 failing.1 parent 8c6dfe5 commit 5851f2d
2 files changed
Lines changed: 75 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
204 | | - | |
| 204 | + | |
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
209 | 218 | | |
210 | 219 | | |
211 | 220 | | |
212 | 221 | | |
213 | | - | |
| 222 | + | |
214 | 223 | | |
215 | 224 | | |
216 | 225 | | |
| |||
4394 | 4403 | | |
4395 | 4404 | | |
4396 | 4405 | | |
| 4406 | + | |
| 4407 | + | |
| 4408 | + | |
| 4409 | + | |
| 4410 | + | |
| 4411 | + | |
| 4412 | + | |
| 4413 | + | |
| 4414 | + | |
| 4415 | + | |
| 4416 | + | |
| 4417 | + | |
| 4418 | + | |
| 4419 | + | |
| 4420 | + | |
| 4421 | + | |
4397 | 4422 | | |
4398 | 4423 | | |
4399 | 4424 | | |
| |||
4405 | 4430 | | |
4406 | 4431 | | |
4407 | 4432 | | |
4408 | | - | |
4409 | | - | |
4410 | | - | |
| 4433 | + | |
| 4434 | + | |
| 4435 | + | |
| 4436 | + | |
| 4437 | + | |
| 4438 | + | |
| 4439 | + | |
| 4440 | + | |
4411 | 4441 | | |
4412 | 4442 | | |
4413 | 4443 | | |
| |||
4457 | 4487 | | |
4458 | 4488 | | |
4459 | 4489 | | |
| 4490 | + | |
| 4491 | + | |
| 4492 | + | |
| 4493 | + | |
| 4494 | + | |
| 4495 | + | |
| 4496 | + | |
| 4497 | + | |
| 4498 | + | |
| 4499 | + | |
| 4500 | + | |
| 4501 | + | |
| 4502 | + | |
| 4503 | + | |
| 4504 | + | |
| 4505 | + | |
| 4506 | + | |
| 4507 | + | |
4460 | 4508 | | |
4461 | 4509 | | |
4462 | 4510 | | |
| |||
9018 | 9066 | | |
9019 | 9067 | | |
9020 | 9068 | | |
| 9069 | + | |
| 9070 | + | |
| 9071 | + | |
9021 | 9072 | | |
9022 | 9073 | | |
9023 | 9074 | | |
9024 | 9075 | | |
9025 | | - | |
| 9076 | + | |
9026 | 9077 | | |
9027 | 9078 | | |
9028 | 9079 | | |
| |||
9339 | 9390 | | |
9340 | 9391 | | |
9341 | 9392 | | |
9342 | | - | |
| 9393 | + | |
| 9394 | + | |
| 9395 | + | |
9343 | 9396 | | |
9344 | 9397 | | |
9345 | 9398 | | |
| |||
Lines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
186 | 195 | | |
187 | | - | |
| 196 | + | |
188 | 197 | | |
189 | | - | |
| 198 | + | |
| 199 | + | |
190 | 200 | | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
| 201 | + | |
195 | 202 | | |
196 | | - | |
| 203 | + | |
197 | 204 | | |
198 | 205 | | |
199 | 206 | | |
| |||
0 commit comments