[GH-ISSUE #2714] [Engine] let a coding agent's own heavy jobs have the GPU and RAM, then continue the conversation without re-reading it #1082

Closed
opened 2026-11-04 01:48:20 +07:00 by bsakaguchi · 11 comments
Owner

Originally created by @page1 on GitHub (Oct 16, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2714

Area

[Engine] (speed, kernels, models, the server and API)

What do you want to do?

I run coding agents (opencode, Claude Code) against Strata on one PC. Their work often includes running a program that needs the same GPU and RAM the model holds: a simulation, a training run, an ML pipeline. What I want:

  1. The model gets out of the way while the job runs. It gives back the RAM and the VRAM, and stays out: nothing loads it back over the job, not even another agent's request. With several agents running jobs, it stays out until the last job ends, however each one ends (a crash or a kill included).
  2. The model comes back and continues the same conversation efficiently. The agent then reads the results and carries on where it was. These conversations are long (100K-250K tokens with tool output), and today a restart reads each one again from token 0.

Measured on an RTX 3090 24 GB, Core Ultra 9 285K, 95 GB DDR5-6800, Windows 11, Flash-Next IQ3_S at 262K context, with a ~100K-token conversation, timed from the moment the model is asked back to the first answer of the continued conversation:

Back with the conversation
today (start the engine, then read the whole prompt again) 53.2-53.8 s
#1937's disk tier + the latch (POST /load, the conversation from the disk) 18.1-18.7 s
+ the start-up PRs (#2672, #2673) and other local start changes 12.9-13.2 s

Giving the machine to the job: 4.2-4.5 s. In use on the whole PC before -> after: RAM 81.2 -> 28.0 GB (of 95.5; the rest is other programs), VRAM 23.2 -> 1.0 GB (of 24).

Why a fast start matters for this, and not much otherwise. For a server that stays up all day, the engine start happens about once a day, and a few seconds there are worth little. In this workflow the start is part of every iteration: the agent hands the whole machine to a job and takes it back, many times a day, and every return waits for a full engine start. Once the conversation itself comes back from the disk in a second or two, the start is most of what is left: here about 11 s of the 13 s (POST /load returned after 10.9-11.0 s), and the engine start went from 17.0 s on v0.1.44.1 to 11.9 s (median of 6 starts each).

How it's built locally:

  • the persistent disk tier of #1937, with a small fix for reading back under tight RAM: xrip/Strata#1, a PR against #1937's branch (the conversation comes back in 2.4 s instead of being read again in 39 s when free RAM is close to the floor);
  • a 503 "latch": POST /unload {"save": true} saves and ends the engine, and requests answer 503 until POST /load (xrip/Strata#2, a PR against #1937's branch);
  • "holds": process ids that keep the model out until they end;
  • a CLI and opencode commands to wrap a job.

The latch is open as xrip/Strata#2 (server-side, about 115 lines with 9 tests); holds would follow on top of it. If #1937 does not land, the same can be built standalone on the session files. I'd like to know whether you want this in Strata, and in which shape.

Originally created by @page1 on GitHub (Oct 16, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/2714 ### Area [Engine] (speed, kernels, models, the server and API) ### What do you want to do? I run coding agents (opencode, Claude Code) against Strata on one PC. Their work often includes running a program that needs the same GPU and RAM the model holds: a simulation, a training run, an ML pipeline. What I want: 1. **The model gets out of the way while the job runs.** It gives back the RAM and the VRAM, and stays out: nothing loads it back over the job, not even another agent's request. With several agents running jobs, it stays out until the last job ends, however each one ends (a crash or a kill included). 2. **The model comes back and continues the same conversation efficiently.** The agent then reads the results and carries on where it was. These conversations are long (100K-250K tokens with tool output), and today a restart reads each one again from token 0. Measured on an RTX 3090 24 GB, Core Ultra 9 285K, 95 GB DDR5-6800, Windows 11, Flash-Next IQ3_S at 262K context, with a ~100K-token conversation, timed from the moment the model is asked back to the first answer of the continued conversation: | | Back with the conversation | |---|---| | today (start the engine, then read the whole prompt again) | 53.2-53.8 s | | #1937's disk tier + the latch (`POST /load`, the conversation from the disk) | 18.1-18.7 s | | + the start-up PRs (#2672, #2673) and other local start changes | **12.9-13.2 s** | Giving the machine to the job: 4.2-4.5 s. In use on the whole PC before -> after: RAM 81.2 -> 28.0 GB (of 95.5; the rest is other programs), VRAM 23.2 -> 1.0 GB (of 24). **Why a fast start matters for this, and not much otherwise.** For a server that stays up all day, the engine start happens about once a day, and a few seconds there are worth little. In this workflow the start is part of every iteration: the agent hands the whole machine to a job and takes it back, many times a day, and every return waits for a full engine start. Once the conversation itself comes back from the disk in a second or two, the start is most of what is left: here about 11 s of the 13 s (`POST /load` returned after 10.9-11.0 s), and the engine start went from 17.0 s on v0.1.44.1 to 11.9 s (median of 6 starts each). How it's built locally: - the persistent disk tier of #1937, with a small fix for reading back under tight RAM: xrip/Strata#1, a PR against #1937's branch (the conversation comes back in 2.4 s instead of being read again in 39 s when free RAM is close to the floor); - a 503 "latch": `POST /unload {"save": true}` saves and ends the engine, and requests answer 503 until `POST /load` (xrip/Strata#2, a PR against #1937's branch); - "holds": process ids that keep the model out until they end; - a CLI and opencode commands to wrap a job. The latch is open as xrip/Strata#2 (server-side, about 115 lines with 9 tests); holds would follow on top of it. If #1937 does not land, the same can be built standalone on the session files. I'd like to know whether you want this in Strata, and in which shape.
Author
Owner

@wandermyz commented on GitHub (Oct 18, 2026):

I've built the first half of this from outside Strata: vhotseat (#3110 , https://github.com/wandermyz/vhotseat). Strata's before_load runs vhotseat gate strata. While another workload has the GPU, the gate refuses the load, so requests get a 503 and the agent's harness retries them.

Wrapping a job looks a lot like your "holds", given a workload job with gate: {kind: hold} in vhotseat's config:

vhotseat hold job -- python train.py

This unloads Strata (POST /unload, after any answer it's writing), refuses every load until train.py exits, however it exits, and then lets the next request load Strata again. My own case is an agent queuing ComfyUI video renders on a 16 GB card running Flash-Next IQ3_XXS. ComfyUI asks through a custom node before each job, and Strata comes back when the agent asks its next question.

It doesn't do the second half. After each job, Strata reads the conversation again. So the disk tier and {"save": true} would make every return faster, and vhotseat could pass save on the unload if they land.

<!-- gh-comment-id:6256028075 --> @wandermyz commented on GitHub (Oct 18, 2026): I've built the first half of this from outside Strata: vhotseat (#3110 , https://github.com/wandermyz/vhotseat). Strata's `before_load` runs `vhotseat gate strata`. While another workload has the GPU, the gate refuses the load, so requests get a 503 and the agent's harness retries them. Wrapping a job looks a lot like your "holds", given a workload `job` with `gate: {kind: hold}` in vhotseat's config: ```sh vhotseat hold job -- python train.py ``` This unloads Strata (`POST /unload`, after any answer it's writing), refuses every load until `train.py` exits, however it exits, and then lets the next request load Strata again. My own case is an agent queuing ComfyUI video renders on a 16 GB card running Flash-Next IQ3_XXS. ComfyUI asks through a custom node before each job, and Strata comes back when the agent asks its next question. It doesn't do the second half. After each job, Strata reads the conversation again. So the disk tier and `{"save": true}` would make every return faster, and vhotseat could pass `save` on the unload if they land.
Author
Owner

@page1 commented on GitHub (Oct 19, 2026):

@wandermyz thanks. vhotseat covering the first half from outside, with no patch to Strata, is a nice property. Two measurements from my side that may help it:

  • 503s and agent harnesses: in my tests opencode gave up after about nine refused requests (~64 s), so a job longer than that ended the agent's turn. My wrapper instead keeps requests waiting during a job (the server holds the connection open with SSE keep-alives) and answers them once the model is back. With that, a request waited out a 251 s job. If your harness's retry budget is short, that's the case to watch.
  • The second half: with #1937's disk tier on my RTX 3090 (IQ3_S), a 62.7K-token conversation continued after an engine restart reusing all but 20 tokens, about 1 s against ~23 s for reading it again. Persistence is now one of six designs Niko1221 will choose from for 0.1.46 (#1090). If it lands, an unload that saves first would make every return like that.

The holds I mentioned are in a review snapshot: page1:snapshot/local-holds-2026-10-17 (tools/strata_suspend.py, serve/server.py).

<!-- gh-comment-id:6257999097 --> @page1 commented on GitHub (Oct 19, 2026): @wandermyz thanks. vhotseat covering the first half from outside, with no patch to Strata, is a nice property. Two measurements from my side that may help it: - **503s and agent harnesses:** in my tests opencode gave up after about nine refused requests (~64 s), so a job longer than that ended the agent's turn. My wrapper instead keeps requests waiting during a job (the server holds the connection open with SSE keep-alives) and answers them once the model is back. With that, a request waited out a 251 s job. If your harness's retry budget is short, that's the case to watch. - **The second half:** with #1937's disk tier on my RTX 3090 (IQ3_S), a 62.7K-token conversation continued after an engine restart reusing all but 20 tokens, about 1 s against ~23 s for reading it again. Persistence is now one of six designs Niko1221 will choose from for 0.1.46 (#1090). If it lands, an unload that saves first would make every return like that. The holds I mentioned are in a review snapshot: `page1:snapshot/local-holds-2026-10-17` (`tools/strata_suspend.py`, `serve/server.py`).
Author
Owner

@Niko1221 commented on GitHub (Oct 19, 2026):

Thanks for taking the time to report this.

We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6271195989 --> @Niko1221 commented on GitHub (Oct 19, 2026): Thanks for taking the time to report this. We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Author
Owner

@page1 commented on GitHub (Oct 23, 2026):

Re-tested on 0.2.2 (011c9e60), RTX 3090 24 GB, Core Ultra 9 285K, 95 GB DDR5-6800, Windows 11, Flash-Next IQ3_S at
262K context. Each run: a fresh server on a test port, a 92K-token conversation answered once, the model given away
(as for a job), 5 s, then back. "Back" is from the first call of the return (POST /load where a restore follows,
otherwise the continued request, which loads the model itself) to the first answer of the continued conversation;
it includes the engine start in every row. Two runs per row, in the order cold, slot, #2672, #2672, slot, cold:
indications, not a benchmark.

0.2.2, how it comes back Back with the conversation Reused / read again
POST /unload?wait=1, then the request (the whole prompt read again) 50.1 / 49.0 s 0 / 92,256
POST /slots/0?action=save before the unload; back: POST /load, action=restore, the request 18.8 s / 49.6 s (the second save was refused: below) 92,232 / 24 (first run)
the same with #2672's engine (Windows start changes) 11.1 / 11.5 s 92,232 / 24

Save plus unload: 3.3-5.5 s (the successful saves 1.3-1.9 s for 1.6 GB; unload 3.3-4.4 s). RAM in use on the whole
PC 80.3-90.5 -> 26.4-32.2 GB (of 95.5; I did not measure which programs held the rest), VRAM 22.7 -> 0.0 GB.

So the second half partly exists in 0.2.2: the slot save/restore API brought a 92K conversation back without
re-reading it in 3 of 4 runs, without #1937. What it does not do yet:

  • The save can be refused when RAM is tight. In the second plain slot run (90.5 GB in use before it), the
    engine's log says: "not enough RAM to save the session (355 MiB plus a floor of 8192 MiB needed, 5112 MiB
    available)". The save answered 503, the restore found nothing (404), and the continued request read it all again
    (49.6 s). Saving is the moment just before a job needs the RAM, so a refusal there costs the whole re-read.
  • It is manual. A client has to save before the unload and restore after the load; nothing ties it to the
    unload itself (the {"save": true} idea).
  • By the code (slot_action), it is refused with parallel / --batch; I did not test that.

The first half (keep the model out while a job runs). 0.2.2's before_load + before_load_strict can do the
refusing: with a gate command that fails while a flag file exists (a stand-in for a job, not a real one), a request
was answered at once with 503 and Retry-After: 15, and the first request after the flag was removed loaded the
model (17.4 s). The catch is on the harness side: against a fake server that answers 503 with Retry-After,
opencode 1.19.0 waited as told but stopped after 9 requests (77 s with Retry-After 15, 27 s with 5). So with a
refusing gate, a job longer than roughly that budget would end the agent's turn; I did not run that end to end.
Keeping requests waiting during a hold, instead of refusing them, would not depend on the client's retry budget.

Before writing code I'd like your direction, since both parts add server API:

  1. Hold: a way to register a hold (a process id) that keeps the model from loading until it is released or the
    process exits, with waiting requests kept alive rather than refused. Or should this stay outside Strata (as
    vhotseat does, #3110)?
  2. Save on unload: POST /unload {"save": true} through the existing session-file path, restored on the next
    load. The refusal under tight RAM would be a separate change.

Is either something you want in Strata, and in which shape?

<!-- gh-comment-id:6356400638 --> @page1 commented on GitHub (Oct 23, 2026): Re-tested on 0.2.2 (`011c9e60`), RTX 3090 24 GB, Core Ultra 9 285K, 95 GB DDR5-6800, Windows 11, Flash-Next IQ3_S at 262K context. Each run: a fresh server on a test port, a 92K-token conversation answered once, the model given away (as for a job), 5 s, then back. "Back" is from the first call of the return (`POST /load` where a restore follows, otherwise the continued request, which loads the model itself) to the first answer of the continued conversation; it includes the engine start in every row. Two runs per row, in the order cold, slot, #2672, #2672, slot, cold: indications, not a benchmark. | 0.2.2, how it comes back | Back with the conversation | Reused / read again | |---|---|---| | `POST /unload?wait=1`, then the request (the whole prompt read again) | 50.1 / 49.0 s | 0 / 92,256 | | `POST /slots/0?action=save` before the unload; back: `POST /load`, `action=restore`, the request | 18.8 s / 49.6 s (the second save was refused: below) | 92,232 / 24 (first run) | | the same with #2672's engine (Windows start changes) | 11.1 / 11.5 s | 92,232 / 24 | Save plus unload: 3.3-5.5 s (the successful saves 1.3-1.9 s for 1.6 GB; unload 3.3-4.4 s). RAM in use on the whole PC 80.3-90.5 -> 26.4-32.2 GB (of 95.5; I did not measure which programs held the rest), VRAM 22.7 -> 0.0 GB. So the second half partly exists in 0.2.2: the slot save/restore API brought a 92K conversation back without re-reading it in 3 of 4 runs, without #1937. What it does not do yet: - **The save can be refused when RAM is tight.** In the second plain slot run (90.5 GB in use before it), the engine's log says: "not enough RAM to save the session (355 MiB plus a floor of 8192 MiB needed, 5112 MiB available)". The save answered 503, the restore found nothing (404), and the continued request read it all again (49.6 s). Saving is the moment just before a job needs the RAM, so a refusal there costs the whole re-read. - **It is manual.** A client has to save before the unload and restore after the load; nothing ties it to the unload itself (the `{"save": true}` idea). - By the code (`slot_action`), it is refused with `parallel` / `--batch`; I did not test that. **The first half (keep the model out while a job runs).** 0.2.2's `before_load` + `before_load_strict` can do the refusing: with a gate command that fails while a flag file exists (a stand-in for a job, not a real one), a request was answered at once with 503 and `Retry-After: 15`, and the first request after the flag was removed loaded the model (17.4 s). The catch is on the harness side: against a fake server that answers 503 with Retry-After, opencode 1.19.0 waited as told but stopped after 9 requests (77 s with Retry-After 15, 27 s with 5). So with a refusing gate, a job longer than roughly that budget would end the agent's turn; I did not run that end to end. Keeping requests waiting during a hold, instead of refusing them, would not depend on the client's retry budget. Before writing code I'd like your direction, since both parts add server API: 1. **Hold:** a way to register a hold (a process id) that keeps the model from loading until it is released or the process exits, with waiting requests kept alive rather than refused. Or should this stay outside Strata (as vhotseat does, #3110)? 2. **Save on unload:** `POST /unload {"save": true}` through the existing session-file path, restored on the next load. The refusal under tight RAM would be a separate change. Is either something you want in Strata, and in which shape?
Author
Owner

@page1 commented on GitHub (Oct 23, 2026):

/reopen

<!-- gh-comment-id:6356401776 --> @page1 commented on GitHub (Oct 23, 2026): /reopen
Author
Owner

@github-actions[bot] commented on GitHub (Oct 23, 2026):

Not reopened yet. Still missing:

  • Fill in "Area".

Edit the issue and comment /reopen again. Details: CONTRIBUTING.md

<!-- gh-comment-id:6356404621 --> @github-actions[bot] commented on GitHub (Oct 23, 2026): Not reopened yet. Still missing: - [ ] Fill in "Area". Edit the issue and comment `/reopen` again. Details: [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md)
Author
Owner

@page1 commented on GitHub (Oct 23, 2026):

/reopen

<!-- gh-comment-id:6356435261 --> @page1 commented on GitHub (Oct 23, 2026): /reopen
Author
Owner

@github-actions[bot] commented on GitHub (Oct 23, 2026):

Reopened, thank you. A maintainer will pick it up from here.

<!-- gh-comment-id:6356436886 --> @github-actions[bot] commented on GitHub (Oct 23, 2026): Reopened, thank you. A maintainer will pick it up from here.
Author
Owner

@page1 commented on GitHub (Oct 23, 2026):

A correction to proposal 1 above: rather than a process id that Strata watches, the hold would be a lease the
holder keeps alive. The holder registers it and renews it every few seconds (say every 10 s); without renewals it
expires (say after 45 s), and the model may load again. That avoids OS-specific process watching, works the same on
Windows and Linux and for a holder on another machine, and needs no special handling for a crash, a kill or a power
cut: the renewals just stop. The server would keep each lease's last renewal on disk, so after a restart it can wait
one expiry period for live holders to renew, and can tell a hold that ended with a release from one that expired.
The second case is the one where an agent's turn was cut off and can be resumed with a note saying so.

<!-- gh-comment-id:6356504380 --> @page1 commented on GitHub (Oct 23, 2026): A correction to proposal 1 above: rather than a process id that Strata watches, the hold would be a lease the holder keeps alive. The holder registers it and renews it every few seconds (say every 10 s); without renewals it expires (say after 45 s), and the model may load again. That avoids OS-specific process watching, works the same on Windows and Linux and for a holder on another machine, and needs no special handling for a crash, a kill or a power cut: the renewals just stop. The server would keep each lease's last renewal on disk, so after a restart it can wait one expiry period for live holders to renew, and can tell a hold that ended with a release from one that expired. The second case is the one where an agent's turn was cut off and can be resumed with a note saying so.
Author
Owner

@page1 commented on GitHub (Oct 24, 2026):

Status of the lease idea above: I built it on my local fork and have been running it on this PC since today. It is
not on 0.2.x yet (my fork is an older line with local changes), so this is a report, not a PR.

How it works: a job's wrapper registers a lease (POST /lease {cmd, cwd, mode}), renews it every 10 s and ends it
when the job exits; a lease nobody renews expires after 45 s. While any lease is live the model stays unloaded,
nothing loads it (a plain /load gets 409; {"force": true} ends the leases), and chat requests wait (keep-alives
on a stream) instead of getting a 503. When the last lease ends, the model comes back if it was loaded before. The
leases are files written by the server only, under one lock, so several agents can take them at once.

Live checks against the real server (RTX 3090, Windows 11, Flash-Next IQ3_S), one run each:

Check Result
A job's lease unloads the model in 7.3 s
A chat request sent during the job waited, answered 200 after the job (52 s)
Two overlapping jobs the model stayed off until the second ended
The wrapper killed (TerminateProcess) the job and its child gone in 0.5 s, the lease expired after 43.6 s, the model came back
The server restarted during a job the lease still held after the restart (the job's renewals kept it)
POST /load {"force": true} during a job loaded; the lease ended "overridden"; the wrapper stopped its job
Three jobs started together three leases, the model came back once, after the last

Edge cases the tests turned up, which any version of this needs to handle:

  • a lease that starts between a request's load and its generation (the request must wait, not 503 - without care it
    even got a 503 written into an already started stream);
  • a lease created while the previous lease's resume is still running must count the model as loaded, else the model
    stays off after it;
  • the job must die with its wrapper, or the lease expires while the job still runs and the model loads over it (on
    Windows: the wrapper joins a kill-on-close job object before starting the job);
  • after a long pause (the PC slept) the expiry must not fire on the first pass.

One thing that may help regardless: Claude Code sends its session id in x-claude-code-session-id (User-Agent
claude-cli/<version>), next to opencode's x-opencode-session-id.

Not tested: Linux (there a killed wrapper's job is only cleaned up on a normal exit), multi-GPU, --batch.

If you want this in Strata, I'd port the server half to 0.2.3 as one opt-in PR (off by default, the default path
unchanged): the lease table, /lease, /lease/<id>/renew|end, GET /leases, and requests waiting during a lease.
The wrapper and the waking of cut-off agent sessions would stay outside (they are my own tooling). Or, if this
belongs outside Strata like vhotseat (#3110), the lease API is the only part that needs the server. Which would you
prefer?

<!-- gh-comment-id:6378577989 --> @page1 commented on GitHub (Oct 24, 2026): Status of the lease idea above: I built it on my local fork and have been running it on this PC since today. It is not on 0.2.x yet (my fork is an older line with local changes), so this is a report, not a PR. How it works: a job's wrapper registers a lease (`POST /lease {cmd, cwd, mode}`), renews it every 10 s and ends it when the job exits; a lease nobody renews expires after 45 s. While any lease is live the model stays unloaded, nothing loads it (a plain `/load` gets 409; `{"force": true}` ends the leases), and chat requests wait (keep-alives on a stream) instead of getting a 503. When the last lease ends, the model comes back if it was loaded before. The leases are files written by the server only, under one lock, so several agents can take them at once. Live checks against the real server (RTX 3090, Windows 11, Flash-Next IQ3_S), one run each: | Check | Result | |---|---| | A job's lease unloads the model | in 7.3 s | | A chat request sent during the job | waited, answered 200 after the job (52 s) | | Two overlapping jobs | the model stayed off until the second ended | | The wrapper killed (TerminateProcess) | the job and its child gone in 0.5 s, the lease expired after 43.6 s, the model came back | | The server restarted during a job | the lease still held after the restart (the job's renewals kept it) | | `POST /load {"force": true}` during a job | loaded; the lease ended "overridden"; the wrapper stopped its job | | Three jobs started together | three leases, the model came back once, after the last | Edge cases the tests turned up, which any version of this needs to handle: - a lease that starts between a request's load and its generation (the request must wait, not 503 - without care it even got a 503 written into an already started stream); - a lease created while the previous lease's resume is still running must count the model as loaded, else the model stays off after it; - the job must die with its wrapper, or the lease expires while the job still runs and the model loads over it (on Windows: the wrapper joins a kill-on-close job object before starting the job); - after a long pause (the PC slept) the expiry must not fire on the first pass. One thing that may help regardless: Claude Code sends its session id in `x-claude-code-session-id` (User-Agent `claude-cli/<version>`), next to opencode's `x-opencode-session-id`. Not tested: Linux (there a killed wrapper's job is only cleaned up on a normal exit), multi-GPU, `--batch`. If you want this in Strata, I'd port the server half to 0.2.3 as one opt-in PR (off by default, the default path unchanged): the lease table, `/lease`, `/lease/<id>/renew|end`, `GET /leases`, and requests waiting during a lease. The wrapper and the waking of cut-off agent sessions would stay outside (they are my own tooling). Or, if this belongs outside Strata like vhotseat (#3110), the lease API is the only part that needs the server. Which would you prefer?
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thanks for taking the time to report this.

Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.11. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6659292233 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thanks for taking the time to report this. Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.11. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1082
No description provided.