summaryrefslogtreecommitdiffstats
path: root/docs/KNOWN-ISSUES.md
blob: 79ce26c0d48ae32f7c6d470210ecd88413d696fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Known issues

Understood, deliberately not fixed. Each one has a reason, and a note on what
would change the decision.

## `--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` still holds the file in memory

It now refuses files over 64 MiB and files that are not valid UTF-8, with a
message pointing at `bash`. Anything under that is read, spliced and written
through a temporary file, so the peak is roughly twice the file size. On a 3 GB
address space that is fine; the refusal is the guard.

## `--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`, which
would send a one-token completion, is not implemented; that is what actually
matters.

## Retry budget is fixed

Four attempts, 1 s / 2 s / 4 s, no jitter, no per-status policy. A 429 with a long
reset window will still fail after ~7 s.

## Approval state is per process

Restarting the harness re-prompts for the first edit even when resuming a
session. Intentional (see CONTEXT.md), but worth knowing.

## `--yolo` is only floored at the obvious places

It is refused in `$HOME` and `/`, but a model can still write anywhere by absolute
path once a turn starts, and `bash` can change directory. The floor is a speed
bump, not a sandbox; `bash` has no sandbox by design.

## No machine-readable output

`--list`, `--doctor` and `--show` print for humans. A `--json` shape would let
scripts consume them.

## Editor gaps

Wide characters, combining marks and tabs are now measured correctly, and a
resize starts a fresh prompt line instead of erasing output. There is still no
Ctrl-L redraw and no Ctrl-Z suspend.

## No session garbage collection

A failed first turn leaves a session file that `--list` shows forever. Deleting
files under `~/.local/share/agent686/sessions` is safe; nothing else indexes them.