aboutsummaryrefslogtreecommitdiffstats
path: root/docs/KNOWN-ISSUES.md
blob: 336b994cdb682ae19fc75eff28a166af57a11ae6 (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
57
58
59
60
61
62
63
64
65
66
67
# 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 would fix it. (`--json` exists now; the cost is
the same either way.)

## `edit` still holds the file in memory

It refuses files over 64 MiB and files that are not valid UTF-8, with a message
pointing at `bash`. Under that it reads, splices and writes through a temporary
file, so the peak is roughly twice the file size. Fine on a 3 GB address space;
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 (unless it sends `Retry-After`, which is
honoured).

## 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 still only a speed bump, not a sandbox

It is refused in `$HOME`, `/`, and outside a git repository (each with an
`AGENT686_ALLOW_*` escape hatch), but a model can still write anywhere by
absolute path once a turn starts, and `bash` can change directory. `bash` has no
sandbox by design; the gates catch the common mistakes, not a determined prompt.

## `/compact` loses detail and the cache

`/compact` (ADR 0003) rewrites the transcript to a one-paragraph summary. The
model loses whatever the summary omitted, there is no rollback, and the prompt
cache is cold after. It is opt-in and loud, but the loss is real.

## Resize relies on the terminal reflowing

Already-printed output belongs to the terminal. Terminals that reflow their
scrollback (tmux, VTE, kitty, foot, wezterm) do the right thing on resize, and
the input block follows because the caret moves with the text. xterm does not
reflow; there a resize can leave the prompt misplaced until Enter or Ctrl-C.

## Editor gaps

Wide characters, combining marks and tabs are measured correctly. There is still
no Ctrl-L redraw and no Ctrl-Z suspend.

## No session garbage collection beyond `/forget`

`/forget <id>` and `/forget --all` exist, but nothing prunes automatically, and
a failed first turn still leaves a session file. Deleting files under
`~/.local/share/agent686/sessions` is safe; nothing else indexes them.