fix(chat): settle authoritative turns and make capabilities explicit

This commit is contained in:
2026-10-20 15:45:09 +01:00
parent 016fcb552a
commit e504780976
16 changed files with 615 additions and 56 deletions
+19
View File
@@ -8,6 +8,25 @@ test, or a code change without a capture, is `partial` at best.
Status legend: `todo` · `partial` (some of it works) · `done` (working + captured).
### Chat audit follow-up (2026-10-20, partial — fresh UI captures pending)
The following supersedes older C8/B18 implementation details below:
- Web attachments are limited to **1 MiB total and eight files**, matching the
server. Unsupported harnesses reject attachments before upload storage/queueing.
- Uploads live in a private durable `~/.pipelines-chat-attachments` directory
(override: `PIPELINES_CHAT_ATTACHMENT_DIR`, must already have a parent and be
private). Storage is capped at 64 MiB/512 files; the next upload collects unleased files
older than seven days. Queued/in-flight uploads are leased, never collected.
Restart retains files, but not in-memory leases or the existing prompt queue.
- OpenCode provider-step ends are intermediate progress; foreground completion
is read from V2 `/api/session/active`. Failed readback does not advance a queue.
- Create replies report `instruction_status` as `applied`, `unsupported`, `failed`
or `not_requested`; the UI shows applied/unsupported/failed as chat notices.
- The model picker uses the shared modal manager for focus trapping and Escape.
Unit/HTTP-fixture regressions cover these changes. No live workflow or deployed
service was used; new rendered-state captures are **not yet available**.
## Transport and connection
| # | Feature (Android counterpart) | Protocol | Status |
| --- | --- | --- | --- |