Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
32b1add
fix: check an idle job's pin under the same pool lock as its stop
REPPL Oct 7, 2026
44bb0b8
fix: hold both content fetches to one redirect rule
REPPL Oct 7, 2026
40372be
fix: refuse a request body that is not valid UTF-8 with a 400
REPPL Oct 7, 2026
f35708c
feat: let the idle threshold reach 24 hours
REPPL Oct 7, 2026
9c78fda
fix: keep a tool-call probe asked for while its head is served
REPPL Oct 7, 2026
686c767
test: wait for the second update's aside copy to go before counting
REPPL Oct 7, 2026
885216e
chore: record the maintainer's answers on seven unsettled issues
REPPL Oct 7, 2026
8c60442
Merge branch 'fix/toolprobe-requeue' into integrate/fixes-2026-10-07b
REPPL Oct 7, 2026
cd660a1
fix: size bridged answers from the served window and say when one sto…
REPPL Oct 7, 2026
f6fc90c
test: hold the unload switch to the never-refused-save rule
REPPL Oct 7, 2026
f56aaaa
fix: decline a lone surrogate in merged system content, and check Ask…
REPPL Oct 7, 2026
013c018
fix: word a download's CDN refusal by the host that answered
REPPL Oct 7, 2026
ef26e1e
chore: capture the pin-save window the race fix's review named
REPPL Oct 7, 2026
fade164
Merge branch 'fix/hub-redirect-policy' into integrate/fixes-2026-10-07b
REPPL Oct 7, 2026
f38493f
Merge branch 'fix/gateway-invalid-utf8' into integrate/fixes-2026-10-07b
REPPL Oct 7, 2026
36d47f7
Merge branch 'fix/unload-unpinned-race' into integrate/fixes-2026-10-07b
REPPL Oct 7, 2026
a411f09
Merge branch 'fix/bridge-answer-length' into integrate/fixes-2026-10-07b
REPPL Oct 7, 2026
5a9e8b5
docs: say the bridge ignores edits, and move the recording field to t…
REPPL Oct 7, 2026
595603f
fix: never mark a decision model as awaiting review
REPPL Oct 7, 2026
a9e8d9f
feat: name the files a newer version changes on the model's card
REPPL Oct 7, 2026
df0e05f
feat: show released unloads beside evictions in the Statistics tab
REPPL Oct 7, 2026
37bb9ea
Merge branch 'fix/panel-update-card-and-unloads' into integrate/fixes…
REPPL Oct 7, 2026
9f4a935
fix: cap connections per client address and per listener
REPPL Oct 7, 2026
429c8cb
feat: give the self-test an idle threshold of its own
REPPL Oct 7, 2026
0aa5e71
test: wait for the failed version's removal before checking the stagi…
REPPL Oct 7, 2026
3238092
Merge branch 'feat/self-test-idle-threshold' into integrate/fixes-202…
REPPL Oct 7, 2026
0475dd8
fix: give loopback a connection budget of its own
REPPL Oct 7, 2026
346ea93
Merge branch 'fix/listener-connection-caps' into integrate/fixes-2026…
REPPL Oct 7, 2026
1a07df4
chore: capture the request-body memory exposure and the bridge test f…
REPPL Oct 7, 2026
bc34f17
fix: admit no more requests per model than the KV charge covers
REPPL Oct 7, 2026
8065d19
fix: let the tool-call probe give way to a client on its model
REPPL Oct 7, 2026
22c401f
fix: bound the model server's prompt cache to one served window of re…
REPPL Oct 7, 2026
95f47d0
Merge branch 'fix/runtime-budget-bounds' into integrate/fixes-2026-10…
REPPL Oct 7, 2026
bcd4f7e
chore: capture the latent-cache under-charge the prompt-cache review …
REPPL Oct 7, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
id: itd-2610071208598233
slug: the-context-probe-measures-whether-a-model-accepts-and
spec_id: null
kind: null
suggested_kind: null
reclassification_history: []
builds_on: []
severity: minor
related_issues: [iss-2610041945033770]
origin: extracted-from-record
production_mode: hand-written
---

# The context probe measures whether a model accepts and answers a prompt of a given size, not whether it can use that much context. Its measured window says a prompt that long loaded, prefilled and got an answer before a bound stopped the probe. It does not show that the model retrieves or reasons over content near the start of that window. Published long-context evaluations show the two differ widely. RULER (arXiv:2404.06654) found models that score near-perfectly on vanilla needle-in-a-haystack retrieval yet degrade sharply as context grows, with few holding up at 32K despite claiming more. HELMET (2024, updated 2025) reaches the same conclusion with broader tasks. A served window set from the probe can therefore advertise context a model cannot actually use.

## Press Release

> _Seeded by promotion from iss-2610041945033770. Expand into the full press-release narrative before planning._

## Why This Matters

Graduated from `iss-2610041945033770`: The context probe measures whether a model accepts and answers a prompt of a given size, not whether it can use that much context. Its measured window says a prompt that long loaded, prefilled and got an answer before a bound stopped the probe. It does not show that the model retrieves or reasons over content near the start of that window. Published long-context evaluations show the two differ widely. RULER (arXiv:2404.06654) found models that score near-perfectly on vanilla needle-in-a-haystack retrieval yet degrade sharply as context grows, with few holding up at 32K despite claiming more. HELMET (2024, updated 2025) reaches the same conclusion with broader tasks. A served window set from the probe can therefore advertise context a model cannot actually use.. Read that issue record for the source observation.

## Mechanism

> _Prompted (the claim-recording gradient): why the authors expect this to work, as a falsifiable "we expect X because Y" — not the outcome restated. Replace this line with the claim, or with the exact token `None stated.` alone on its line to record the claim as considered and declined._

## Scope Conditions

> _Required (the claim-recording gradient): the population, platform, scale, or assumptions this claim holds under, one per top-level bullet — `abcd intent plan` stamps each with a persistent identity. Replace this line with those bullets, or with the exact token `None stated.` alone on its line._

## Acceptance Criteria

> _Required (the itd-1 discipline): add at least one Given-When-Then bullet describing the verifiable bar for "shipped" before this draft can be planned._

## Open Questions

_None recorded yet._

## Audit Notes

_Empty. Populated by intent-auditor when intent moves to shipped/._
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,15 @@ Scope-condition dispositions:
evidence: cmd/dessau/main.go:338 — "a, err := app.New(app.Options{Paths: paths, Config: cfg, Log: log, Bind: plan, LogLevel: appLog.Level})"
<!-- abcd-review-end receipt=rcp-c60839654fc3 -->

2026-10-07 — Criterion 9's mark is withdrawn by the maintainer's decision of
2026-10-07 (iss-2610042101436891): the press release stands, and a decision
model is never marked. The update check records a decision model's newer
version that no Dessau release has reviewed as nothing to offer, which the
panel shows with no mark and no Update; the `awaiting_review` status is gone
from the check, the registry and the panel. A reviewed version is still the
only one a decision model is offered or fetched at. iss-2610042101435880 is
moot (wontfix). The criterion's text above is left as shipped.

## Grounds

- pursued: fixes to chat templates, settings and quantisations land on HuggingFace silently, so Alice serves stale builds without knowing; shown wrong if, over a month of daily checks, no model she uses changes in a file Dessau reads. And the only way to update today, downloading again, can leave a half-old, half-new model, which a safe one-click update fixes; shown wrong if no one ever re-downloads a changed model.
15 changes: 15 additions & 0 deletions .abcd/work/DECISIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,3 +456,18 @@
- 2026-10-07 — **The update check reads an LFS `config.json` from the content CDN, and a version whose config it cannot hold to the listed hash is `cannot_check`, never offered** (iss-2610042101439623; branch `fix/update-check-lfs-config`; `impact: fix`). The check treated the Hub's hand-off of an LFS `config.json` to its CDN (`ErrCrossOrigin`) as "offer it", so a newer version that names a `model_file` was marked `available`. `SmallFileAt` now takes the listed `File`: a git file still goes through `do` and its origin rule unchanged; a file the listing keeps in LFS with a 64-hex sha256 goes through `doContent`, which follows the CDN hop as the download does — the 2026-09-19 exception, extended to this one read and only where a sha256 anchors the bytes — drops the token from any hop off the Hub's origin, refuses a listed size past the 1 MiB bound before asking, and holds the body to the sha256 (`ErrContentMismatch`). Off-origin with no sha256, a mismatch, or past the bound records the new `cannot_check` status (card "newer version not checked", Update refused in Go and on the panel); a CDN or Hub that does not answer stays "unreachable" as before. Chosen over a status alone because reading the file is what names a version that ships code, which is the mark the card exists to show. What would show this wrong: a CDN that needs the token, which would turn every gated repository's LFS config into `cannot_check`.
- 2026-10-07 — **The idle clock counts client requests at the gateway, beside the pool's per-model figures** (iss-2610041945030758; branch `fix/idle-clock-counts-unreachable`; `impact: fix`). The idle check read only `Pool.Residency()`: each resident entry's `InFlight` and `lastUsed`. An entry that leaves the pool (unloaded, stopped by the health watch, crashed, evicted, reaped) takes its last use with it, and a request the pool never admitted (still uploading, refused, failed before a model was chosen) never touched one; so an unreachable request on a wedged model that was then taken out left no trace, and the remaining models' 17:34 last use was over the hour by 18:45. The pool was left alone: a pool-wide clock there would still miss requests that never reach `Acquire` and would put the change inside `internal/runtime`. Instead `selftest.Clients` counts every request to the completion routes and every `Ask` from the handler's start to its return, the gateway holds it through `Options.Clients` (wired in `cmd/dessau` from `App.Clients`), and `selftest.Activity` carries `Requests` and `LastRequest` to `heldBy`. The context probe drives its model through the gateway, so a last request no later than the loop's own latest release (`touched`) is discounted, as the pool's stamp of that release already is; the cost is that a client request that never reached the pool and ended entirely inside a run is discounted too. What would show this wrong: an idle job starting within the threshold of a client request that ended unreachable, or one held for the threshold after the probe's own run.
- 2026-10-07 — **The decision-model over-charge is folded into the decision-model spec, with no stopgap** (iss-2610041945038826; spc-2610030846273729 steps 2 and 4). Diagnosis showed that the charge is the automatic served window filling the budget, which applies to every model, not a decision-model KV reservation. The maintainer chose the spec over a joint-head stopgap with a guessed figure, and over reopening the 2026-09-20 window derivation for all models.
- 2026-10-07 — **The self-test skips models that cannot chat** (iss-2610041945034263; maintainer, interview). Already the behaviour since a0264236, now stated in docs/self-test.md. A short decision-model test is seeded for after itd-2610030656210408 (iss-2610071209008023).
- 2026-10-07 — **Decision models are never marked 'awaiting review'** (iss-2610042101436891; maintainer, interview). The press release of itd-2610030857275099 stands over its criterion 9 and the mark is removed, so iss-2610042101435880 is moot (wontfix).
- 2026-10-07 — **Admit what is charged** (iss-2610071035138788; maintainer, interview). Each model's semaphore is sized to decode_concurrency, not twice it, so at the default a second request to one model waits.
- 2026-10-07 — **The prompt cache is bounded within the existing charge** (iss-2610071035130302; maintainer, interview). The bound is one served window's uninflated KV per model, and the charge is not raised.
- 2026-10-07 — **The update card lists the changed files and tests their rendering** (iss-2610042101436222; maintainer, interview), rather than dropping the file-name half of criterion 11.
- 2026-10-07 — **The context probe's usability check becomes an intent** (iss-2610041945033770 promoted to itd-2610071208598233; maintainer, interview).
- 2026-10-07 — **Connections are capped per client address plus a global cap per listener** (iss-2609190254516275; maintainer, interview).
- 2026-10-07 — **Two open issues were not asked because the record already settles them**: `logit_bias` stays refused (the 2026-10-03 decision on iss-2610031811486498), and released unloads belong in the Statistics tab under the AGENTS.md panel-gap rule (iss-2610042100405045).
- 2026-10-07 — **The gateway refuses a request body that is not valid UTF-8 with a 400** (iss-2610042036094209; branch `fix/gateway-invalid-utf8`; `impact: fix`). A check of the body's encoding reads no field, and is the same kind of check as the JSON syntax check, so it is not the "further reading of prompt content" adr-2610042021365934 reserves for a new decision. It replaces the 2026-09-06 line's relaying of invalid UTF-8 system content: on the network path such a body is now refused before any merge. The merge also declines content carrying a lone surrogate escape, which it would otherwise rewrite to U+FFFD.
- 2026-10-07 — **A bridged request asks for half the model's served window as `max_tokens`, and an answer the gateway reports as stopped on length says so** (iss-2610041945020793; branch `fix/bridge-answer-length`; `impact: fix`). `buildRequest` reserved `min(1024, window/2)` for the answer; the fixed 1,024 is dropped and the `window/2` it already fell back to becomes the rule, so the history keeps the other half and the two still fit the window the gateway judges. Taken over giving the answer whatever the history leaves (unchanged history, but the answer shrinks back towards 1,024 as a channel grows) as the split `buildRequest` already used. `deltaText` now also reads `finish_reason`; a stream ending on `length` with an answer posts "The answer reached its length limit and stops there." as a message of its own (not kept in the history), and with no answer written says the model reached its length limit before it wrote one instead of "answered with nothing". Not decided here: a ceiling on long reasoning runs, which the 2026-10-03 long-answers note leaves as a product decision.
- 2026-10-07 — **The idle threshold reaches 24 hours** (iss-2610041948272032; branch `feat/self-test-idle-threshold`; `impact: additive`). The maintainer confirmed 24 hours as the cap on 2026-10-07: `MaxIdleThresholdSec` is 86400, and the config validation, the panel's Idle threshold field (`max="86400"`) and docs/context-probe.md move together, the field held to exactly the server's bounds by `TestTheIdleThresholdFieldSpansTheServersBounds` beside the three-surfaces narrower-than-Validate check. The minimum (60 s) and the default (300 s) are unchanged. What would show this wrong: an operator wanting a quiet spell longer than a day, or a threshold near the cap that leaves an idle job never running on a Mac that is used daily.
- 2026-10-07 — **The self-test waits for an idle threshold of its own, `self_test_idle_threshold_sec`, 4 hours unless set** (iss-2610041956214381; branch `feat/self-test-idle-threshold`; `impact: breaking`, on the 2026-09-20 `decode_concurrency` precedent that a changed default is breaking). The maintainer asked for the two idle jobs to be separated, the self-test waiting four hours by default while the context probe keeps `idle_threshold_sec`. The loop keeps one idea of what counts as use (`heldBy`, with the gateway's client count from iss-2610041945030758) and takes the quiet period per run: `selftest.Options.SelfTestQuiet` for the self-test's set, `Quiet` for a job; `App.applyIdleJobs` puts both in force at start and after every save, and a test's fixed `IdleOptions.Quiet` fixes both. The bounds are the idle threshold's (60–86,400 s); an unusable stored value is repaired on load, never refused at a save. No migration: an operator who had raised `idle_threshold_sec` to hold the self-test back sets the new key. What would show this wrong: a self-test run starting within its own threshold of a client request, or the probe held for the self-test's.
- 2026-10-07 — **The connection caps are 32 open connections per client address and 512 per listener, constants, loopback held to the 512 only** (iss-2609190254516275; agent, under the maintainer's decision above). 32 is several times any one machine's normal parallelism (URLSession and browsers hold six per host; the Discord bridge asks in-process and holds none) and half one model's 64-request queue, while sixteen addresses are needed to fill a listener; 512 is eight models' whole queues, more than this Mac holds loaded at once, at a cost of tens of megabytes. IPv6 is keyed by the full address, not the /64, so the 512 is the ceiling a peer that mints addresses meets. Loopback is exempt from the per-address cap because every account on this Mac is one address and the cap would let one local client lock the panel out. Wrong if a debug log shows refusals for one legitimate machine or a NAT'd network in normal use (raise or key differently), if the 512 is reached with no hostile peer, or if descriptors run out before it.
- 2026-10-07 — **Loopback gets its own connection budget, not a share of the remote total** (iss-2609190254516275; security review of `fix/listener-connection-caps`). With a bind to `::`, the panel's `localhost` reaches the dual-stack wildcard listener as `::1`. If loopback shared the 512 with remote peers, a LAN machine filling it would lock the operator out of the panel. Loopback now counts against a 512 of its own, and remote peers against theirs. The 32-per-address cap is a guard against accidents, not a security boundary, on a LAN where addresses are free. Shown wrong if the panel is refused while remote peers hold the listener full.
- 2026-10-07 — **The prompt cache's bound is a stored real figure, and a model with none keeps no prompt cache** (iss-2610071035130302; branch `fix/runtime-budget-bounds`; `impact: fix`). Maintainer's follow-up: the uninflated per-token figure is stored as `kv_bytes_per_token` beside `kv_charge_per_token` (`KVShape.BytesPerToken`, from the same scan, held to the charge's bound and never above the charge) rather than derived at launch by dividing the charge. The launcher passes `--dessau-prompt-cache-bytes` (that figure times the served window) and `--prompt-cache-size 10`; `serve.py` hands the bound to `LRUPromptCache(max_bytes=)` and refuses a launch whose bound is missing, negative or not a whole number. A model whose figure or window is unknown follows the flat-charge precedent of `capability.LoadCostOf` (a documented fallback, not a refusal): the flat charge reserves no cache, so its bound is 0 and its server keeps nothing between requests. Upstream's own `--prompt-cache-bytes` is not passed: 0.32.0 applies it only as a trim on the batched path and never to the constructor. What would show this wrong: a real-Mac footprint sample of a model holding several long conversations above its charge, which is still owed.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ origin: researcher-authored
production_mode: hand-written
found_at: "internal/app/contextprobe.go"
remedy: "Extend the context probe, rather than adding a new tool, with a usability check at its measured size: RULER-style multi-needle retrieval at several depths (arXiv:2404.06654), scored and recorded beside measured_context, so the window Dessau publishes is one the model retrieves from correctly, not only one it accepts."
related_intents: [itd-2610071208598233]
---

The context probe measures whether a model accepts and answers a prompt of a given size, not whether it can use that much context. Its measured window says a prompt that long loaded, prefilled and got an answer before a bound stopped the probe. It does not show that the model retrieves or reasons over content near the start of that window. Published long-context evaluations show the two differ widely. RULER (arXiv:2404.06654) found models that score near-perfectly on vanilla needle-in-a-haystack retrieval yet degrade sharply as context grows, with few holding up at 32K despite claiming more. HELMET (2024, updated 2025) reaches the same conclusion with broader tasks. A served window set from the probe can therefore advertise context a model cannot actually use.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
schema_version: 1
id: "iss-2610071209008023"
slug: "the-self-test-skips-every-model-that-cannot-chat-so-a"
severity: "minor"
category: "future-work-seed"
source: "user-observation"
found_during: "maintainer interview on unsettled issues, 2026-10-07"
origin: researcher-authored
production_mode: hand-written
found_at: "internal/app/selftest.go"
remedy: "After itd-2610030656210408 ships, add a short decision-model test to the self-test through the decision route, recorded beside the chat figures; until then the skip stands."
---

The self-test skips every model that cannot chat, so a decision model is never measured at all. Once itd-2610030656210408 lands, a decision model answers typed questions through its own route, and a short self-test there (latency for one typed question and its odds) would give Alice the same kind of figure chat models get, without a chat benchmark's cold load.
Loading
Loading