docs: add usage-phases.md beside usage-simple.md in python/configs/

- Rename python/configs/usage.md → usage-simple.md so both scripts have a
  parallel runnable reference file in the same directory
- Add python/configs/usage-phases.md: runnable sh commands + real expected
  output for phases.py against every error-path config, including a note on
  the key difference from simple.py (HTTP 4xx exits 0 in phases.py vs 1 in
  simple.py because phases.py completes at the network level)
- Update doc cross-links in docs/usage/py-simple.md and py-phases.md

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-01 12:11:53 +02:00
parent f609d8124f
commit 16fff2f964
4 changed files with 352 additions and 13 deletions

View File

@@ -64,7 +64,7 @@ Exit code: `1`
failure class (DNS, connection-refused, timeout, TLS-cert errors, HTTP 4xx/5xx,
and a mixed scenario). Each file includes a comment explaining what it exercises.
See [`python/configs/usage.md`](../../python/configs/usage.md) for the runnable
See [`python/configs/usage-simple.md`](../../python/configs/usage-simple.md) for the runnable
shell commands and expected output for each file.
## Limitations