CI run 42532087495 failed on Python 3.11-3.14 for test-hermeticity
reasons, not contract violations:
- test_fifo/cold-cache: in a full-suite run, another test's
tiktoken.get_encoding leaves a resident cl100k_base in tiktoken's
in-process registry, and the acquisition correctly adopts it without
touching the filesystem -- so the FIFO/cold paths under test were
silently bypassed. Empty the registry via the existing
registry_free_tiktoken fixture so these tests always exercise the
paths their names claim.
- test_concurrent_warm_calls_yield_one_encoding: its fixed 0.5s
observation window conflated publish latency with sharing; on slower
runners nothing was observed in the window (CI: len(every_seen)==0).
Each caller now churns until it personally observes the encoding
(bounded deadline), and the assertions strengthen to require every
caller to see the same single instance.
- summarize-path tests: count boundaries were tuned for exact counts,
but #2522 keeps cold caches on the chars/4 heuristic, flipping the
rebuild/fold-in decision. Pin count_tokens on a deterministic exact
word counter (same idiom as the PR's own count_tokens tests) so the
budget-path logic stays deterministic on every machine; all original
assertions are unchanged.
No production changes: registry adoption, offline acquisition and
non-blocking callers are working as designed.
The rolling summary is replayed as a system row on every later turn, so the
language it happens to be written in keeps steering the answer long after the
turns it condensed have scrolled out. The summarizer meta-prompt never stated
a language, so a session held in a language other than the prompt's own came
back to en/zh at the first compaction — #1511's "drifts after a few rounds".
Both the English and Chinese meta-prompt now say which language the summary
body itself must use, via the same language_label() the reply directive uses.
Ship folder-based workspaces and data migration, daily practice, redesigned
provider and model settings, and streaming conversation improvements.
Synchronize README translations and document the archive/permanent-delete
upgrade behavior in assets/releases/ver1-6-9.md.
Reduce initial JavaScript by deduplicating English resources and loading
animation features after hydration. Keep the existing route size budgets.
Update regression fixtures and browser audits for scoped URLs and the new
settings and learning interfaces.
Resolved ask_user exchanges happened before the assistant produced the
row's answer, so they must precede the row's content in both
_build_history() and format_messages_as_transcript(). The previous order
(assistant content first, clarification second) made later turns see the
answer before the user supplied the missing context, confusing the model
and polluting rolling summaries.
Update the test that had locked in the wrong order.
The test hardcoded 65536 as the expected effective context window,
but after raising MAX_EFFECTIVE_CONTEXT_WINDOW to 1_000_000 the
explicit context_window=128000 is no longer truncated. Update the
assertion to match the new correct behavior.