diff options
Diffstat (limited to 'docs/PLAN.md')
| -rw-r--r-- | docs/PLAN.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/PLAN.md b/docs/PLAN.md index b1273b1..75fd25b 100644 --- a/docs/PLAN.md +++ b/docs/PLAN.md | |||
| @@ -110,6 +110,23 @@ against the live API: streaming, tool calls, `reasoning_content`, usage and | |||
| 110 | 2.0 MB stripped i686 binary, `GLIBC_2.34` required. Verified by running the | 110 | 2.0 MB stripped i686 binary, `GLIBC_2.34` required. Verified by running the |
| 111 | whole acceptance test inside `--platform linux/386 debian:12`. | 111 | whole acceptance test inside `--platform linux/386 debian:12`. |
| 112 | 112 | ||
| 113 | **M6 — Robustness.** ✅ Done. | ||
| 114 | |||
| 115 | - Retries on 408/425/429/500/502/503/504 and on transport errors: four attempts, | ||
| 116 | 1 s / 2 s / 4 s backoff, `Retry-After` honoured, and the backoff is | ||
| 117 | interruptible so Ctrl-C does not wait it out. | ||
| 118 | - Provider errors explain themselves: context overflow says to start a new | ||
| 119 | session, 401/403 says where the key lives, 429 points at the plan limit and | ||
| 120 | `--model`. | ||
| 121 | - `--list` shows id, model, message count and age; `--session <id>` creates the | ||
| 122 | session when the id is new instead of erroring. | ||
| 123 | |||
| 124 | Probed against the live gateway: `x-opencode-session` is mandatory (400 | ||
| 125 | `MissingSessionID` without it); two consecutive user messages are accepted, so a | ||
| 126 | turn that failed after writing its prompt can be resumed without editing the | ||
| 127 | transcript; and `deepseek-v4.1-flash` accepted a 500k-token prompt, so the | ||
| 128 | context ceiling is far higher than the 128k the plan assumed. | ||
| 129 | |||
| 113 | ## Acceptance test (v1) | 130 | ## Acceptance test (v1) |
| 114 | 131 | ||
| 115 | > "Make a simple calculator in C" — run on the i386 box, from an empty directory. | 132 | > "Make a simple calculator in C" — run on the i386 box, from an empty directory. |
