From d48aa4f0bce28159b6c5ee6bd0085a7f5a82e962 Mon Sep 17 00:00:00 2001 From: salmonik Date: Sun, 15 Nov 2026 15:43:07 +0100 Subject: 0.5.0: visible step counter, one client per turn, docs corrected Also fixes a 32-bit-only rlim_t mismatch found by building the target. --- docs/KNOWN-ISSUES.md | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 docs/KNOWN-ISSUES.md (limited to 'docs/KNOWN-ISSUES.md') 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 @@ +# Known issues + +Understood, deliberately not fixed. Each one has a reason, and a note on what +would change the decision. + +## Concurrent sessions can interleave + +Two processes appending to the same session file will interleave messages and +corrupt the conversation, permanently, because history is never rewritten. +`flock(LOCK_EX | LOCK_NB)` on the session fd at open would refuse the second +process. Not done yet because the failure needs deliberately resuming the same +id in two shells, and the fix is easy to add later. If it ever happens once, +add the lock. + +## `--yolo` has no floor + +`--yolo` approves everything, including in `$HOME` or `/`. There is no check +that the directory is a git repository, so the documented undo does not exist in +some of the places it will run. Refusing `--yolo` outside a repository (or in +`$HOME`) would be a small change; it is deferred because the acceptance test runs +in an empty temp directory. + +## `--list` reads every transcript + +Listing costs O(total bytes of all sessions), because it parses each header and +counts messages. At current sizes this is milliseconds; a 200 MB session file +makes it visibly slow. An index or a `--json` format would fix it. + +## `edit` loads the whole file + +`edit` reads the file, matches, and writes it back through a temporary file. On +the 32-bit target a file near the address-space limit fails with an out-of-memory +error rather than a clean refusal. A >32 MB file should be rejected up front with +"too large for edit; use write". + +## Editor width is approximate + +The line editor counts one column per character, so wide (CJK) characters, +combining marks and raw tabs (from a paste) mis-place the caret. The width is +read once per prompt, so a resize mid-edit mis-renders. + +## No transcript viewer + +Reasoning is stored beside each assistant message for humans, but the only way to +read it is `cat` on the JSONL. A `--show ` renderer would make auditing a +`--yolo` run practical. + +## Approval state is per process + +Restarting the harness re-prompts for the first edit even when resuming a +session. That is intentional (see CONTEXT.md), but it is worth knowing. + +## `--doctor` fails on an unlisted model + +If `GET /models` does not list the model id you use (some gateways only list a +subset), doctor exits 1 even though a turn would work. `--doctor --probe` sending +a one-token completion would test what actually matters. + +## Retry budget is fixed + +Four attempts, 1 s / 2 s / 4 s, no jitter, no per-status policy. A 429 for a +model with a long reset window will still fail after ~7 s. + +## No per-turn summary + +The status line reports steps, time, tokens and allowance, but not what changed: +no "3 files written, 5 commands run, 1 denied". For a `--yolo` run that is the +summary you actually want. -- cgit v1.2.3