diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-15 17:16:08 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-15 17:16:08 +0100 |
| commit | 14e56289391ea95b493c2a20c87f8d88047aa051 (patch) | |
| tree | d0acf1cc35369688d92c781e31fb7afc30c38b7a /docs | |
| parent | 0.5.3: session locking, UTF-8 and size guards for edit, correct character widths (diff) | |
| download | agent686-14e56289391ea95b493c2a20c87f8d88047aa051.tar.gz agent686-14e56289391ea95b493c2a20c87f8d88047aa051.zip | |
0.6.0: transcript viewer, turn summary, yolo floor, model/version records
- --show renders a session without locking it
- status line summarises writes, commands and denials per turn
- sessions record harness version; model switches are appended and listed
- --yolo refuses $HOME and / unless AGENT686_ALLOW_HOME=1
Diffstat (limited to '')
| -rw-r--r-- | docs/KNOWN-ISSUES.md | 72 |
1 files changed, 30 insertions, 42 deletions
diff --git a/docs/KNOWN-ISSUES.md b/docs/KNOWN-ISSUES.md index 44d9f07..79ce26c 100644 --- a/docs/KNOWN-ISSUES.md +++ b/docs/KNOWN-ISSUES.md | |||
| @@ -3,66 +3,54 @@ | |||
| 3 | Understood, deliberately not fixed. Each one has a reason, and a note on what | 3 | Understood, deliberately not fixed. Each one has a reason, and a note on what |
| 4 | would change the decision. | 4 | would change the decision. |
| 5 | 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 | 6 | ## `--list` reads every transcript |
| 24 | 7 | ||
| 25 | Listing costs O(total bytes of all sessions), because it parses each header and | 8 | 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 | 9 | 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. | 10 | makes it visibly slow. An index or a `--json` format would fix it. |
| 28 | 11 | ||
| 29 | ## `edit` loads the whole file | 12 | ## `edit` still holds the file in memory |
| 30 | 13 | ||
| 31 | `edit` reads the file, matches, and writes it back through a temporary file. On | 14 | It now refuses files over 64 MiB and files that are not valid UTF-8, with a |
| 32 | the 32-bit target a file near the address-space limit fails with an out-of-memory | 15 | message pointing at `bash`. Anything under that is read, spliced and written |
| 33 | error rather than a clean refusal. A >32 MB file should be rejected up front with | 16 | through a temporary file, so the peak is roughly twice the file size. On a 3 GB |
| 34 | "too large for edit; use write". | 17 | address space that is fine; the refusal is the guard. |
| 35 | 18 | ||
| 36 | ## Editor width is approximate | 19 | ## `--doctor` fails on an unlisted model |
| 37 | 20 | ||
| 38 | The line editor counts one column per character, so wide (CJK) characters, | 21 | If `GET /models` does not list the model id you use (some gateways only list a |
| 39 | combining marks and raw tabs (from a paste) mis-place the caret. The width is | 22 | subset), doctor exits 1 even though a turn would work. `--doctor --probe`, which |
| 40 | read once per prompt, so a resize mid-edit mis-renders. | 23 | would send a one-token completion, is not implemented; that is what actually |
| 24 | matters. | ||
| 41 | 25 | ||
| 42 | ## No transcript viewer | 26 | ## Retry budget is fixed |
| 43 | 27 | ||
| 44 | Reasoning is stored beside each assistant message for humans, but the only way to | 28 | Four attempts, 1 s / 2 s / 4 s, no jitter, no per-status policy. A 429 with a long |
| 45 | read it is `cat` on the JSONL. A `--show <id>` renderer would make auditing a | 29 | reset window will still fail after ~7 s. |
| 46 | `--yolo` run practical. | ||
| 47 | 30 | ||
| 48 | ## Approval state is per process | 31 | ## Approval state is per process |
| 49 | 32 | ||
| 50 | Restarting the harness re-prompts for the first edit even when resuming a | 33 | 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. | 34 | session. Intentional (see CONTEXT.md), but worth knowing. |
| 52 | 35 | ||
| 53 | ## `--doctor` fails on an unlisted model | 36 | ## `--yolo` is only floored at the obvious places |
| 54 | 37 | ||
| 55 | If `GET /models` does not list the model id you use (some gateways only list a | 38 | It is refused in `$HOME` and `/`, but a model can still write anywhere by absolute |
| 56 | subset), doctor exits 1 even though a turn would work. `--doctor --probe` sending | 39 | path once a turn starts, and `bash` can change directory. The floor is a speed |
| 57 | a one-token completion would test what actually matters. | 40 | bump, not a sandbox; `bash` has no sandbox by design. |
| 58 | 41 | ||
| 59 | ## Retry budget is fixed | 42 | ## No machine-readable output |
| 43 | |||
| 44 | `--list`, `--doctor` and `--show` print for humans. A `--json` shape would let | ||
| 45 | scripts consume them. | ||
| 46 | |||
| 47 | ## Editor gaps | ||
| 60 | 48 | ||
| 61 | Four attempts, 1 s / 2 s / 4 s, no jitter, no per-status policy. A 429 for a | 49 | Wide characters, combining marks and tabs are now measured correctly, and a |
| 62 | model with a long reset window will still fail after ~7 s. | 50 | resize starts a fresh prompt line instead of erasing output. There is still no |
| 51 | Ctrl-L redraw and no Ctrl-Z suspend. | ||
| 63 | 52 | ||
| 64 | ## No per-turn summary | 53 | ## No session garbage collection |
| 65 | 54 | ||
| 66 | The status line reports steps, time, tokens and allowance, but not what changed: | 55 | A failed first turn leaves a session file that `--list` shows forever. Deleting |
| 67 | no "3 files written, 5 commands run, 1 denied". For a `--yolo` run that is the | 56 | files under `~/.local/share/agent686/sessions` is safe; nothing else indexes them. |
| 68 | summary you actually want. | ||
