diff options
Diffstat (limited to '')
| -rw-r--r-- | docs/KNOWN-ISSUES.md | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/docs/KNOWN-ISSUES.md b/docs/KNOWN-ISSUES.md new file mode 100644 index 0000000..44d9f07 --- /dev/null +++ b/docs/KNOWN-ISSUES.md | |||
| @@ -0,0 +1,68 @@ | |||
| 1 | # Known issues | ||
| 2 | |||
| 3 | Understood, deliberately not fixed. Each one has a reason, and a note on what | ||
| 4 | would change the decision. | ||
| 5 | |||
| 6 | ## Concurrent sessions can interleave | ||
| 7 | |||
| 8 | Two processes appending to the same session file will interleave messages and | ||
| 9 | corrupt the conversation, permanently, because history is never rewritten. | ||
| 10 | `flock(LOCK_EX | LOCK_NB)` on the session fd at open would refuse the second | ||
| 11 | process. Not done yet because the failure needs deliberately resuming the same | ||
| 12 | id in two shells, and the fix is easy to add later. If it ever happens once, | ||
| 13 | add the lock. | ||
| 14 | |||
| 15 | ## `--yolo` has no floor | ||
| 16 | |||
| 17 | `--yolo` approves everything, including in `$HOME` or `/`. There is no check | ||
| 18 | that the directory is a git repository, so the documented undo does not exist in | ||
| 19 | some of the places it will run. Refusing `--yolo` outside a repository (or in | ||
| 20 | `$HOME`) would be a small change; it is deferred because the acceptance test runs | ||
| 21 | in an empty temp directory. | ||
| 22 | |||
| 23 | ## `--list` reads every transcript | ||
| 24 | |||
| 25 | Listing costs O(total bytes of all sessions), because it parses each header and | ||
| 26 | counts messages. At current sizes this is milliseconds; a 200 MB session file | ||
| 27 | makes it visibly slow. An index or a `--json` format would fix it. | ||
| 28 | |||
| 29 | ## `edit` loads the whole file | ||
| 30 | |||
| 31 | `edit` reads the file, matches, and writes it back through a temporary file. On | ||
| 32 | the 32-bit target a file near the address-space limit fails with an out-of-memory | ||
| 33 | error rather than a clean refusal. A >32 MB file should be rejected up front with | ||
| 34 | "too large for edit; use write". | ||
| 35 | |||
| 36 | ## Editor width is approximate | ||
| 37 | |||
| 38 | The line editor counts one column per character, so wide (CJK) characters, | ||
| 39 | combining marks and raw tabs (from a paste) mis-place the caret. The width is | ||
| 40 | read once per prompt, so a resize mid-edit mis-renders. | ||
| 41 | |||
| 42 | ## No transcript viewer | ||
| 43 | |||
| 44 | Reasoning is stored beside each assistant message for humans, but the only way to | ||
| 45 | read it is `cat` on the JSONL. A `--show <id>` renderer would make auditing a | ||
| 46 | `--yolo` run practical. | ||
| 47 | |||
| 48 | ## Approval state is per process | ||
| 49 | |||
| 50 | Restarting the harness re-prompts for the first edit even when resuming a | ||
| 51 | session. That is intentional (see CONTEXT.md), but it is worth knowing. | ||
| 52 | |||
| 53 | ## `--doctor` fails on an unlisted model | ||
| 54 | |||
| 55 | If `GET /models` does not list the model id you use (some gateways only list a | ||
| 56 | subset), doctor exits 1 even though a turn would work. `--doctor --probe` sending | ||
| 57 | a one-token completion would test what actually matters. | ||
| 58 | |||
| 59 | ## Retry budget is fixed | ||
| 60 | |||
| 61 | Four attempts, 1 s / 2 s / 4 s, no jitter, no per-status policy. A 429 for a | ||
| 62 | model with a long reset window will still fail after ~7 s. | ||
| 63 | |||
| 64 | ## No per-turn summary | ||
| 65 | |||
| 66 | The status line reports steps, time, tokens and allowance, but not what changed: | ||
| 67 | no "3 files written, 5 commands run, 1 denied". For a `--yolo` run that is the | ||
| 68 | summary you actually want. | ||
