Skip to content

v0.11.2: restore GPT-6.1-Sol reduction and repair concurrent TT discovery - #21

Merged
AronAxe merged 1 commit into
mainfrom
fix/gpt61-discovery-v0.11.2
Oct 5, 2026
Merged

AronAxe merged 1 commit into
mainfrom
fix/gpt61-discovery-v0.11.2

Conversation

@AronAxe

@AronAxe AronAxe commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Owner-authorized repair and release

This addresses the two release blockers left after #20: GPT-6.1-Sol exited the ContextEngine before JEV because the upstream tokenizer-name table lacked the model, and concurrent Hermes directory discovery could consume TT before initialization finished.

GPT-6.1-Sol

Add an explicit local gpt-6.1-sol -> o200k_base compatibility entry, including known OpenAI/Codex/OpenRouter-qualified names. Upstream tiktoken mappings and explicit operator configuration retain precedence. No blanket GPT-6/future-version assumption; unrelated namespaces cannot inherit compatibility via the cache.

Actual provider check: five synthetic inputs were sent to the documented OpenAI /v1/responses/input_tokens endpoint, not to generation. English, multilingual/emoji text, code/numbers, JSON and literal special-token-looking strings all matched o200k_base content counts plus the same six-token message framing. Three cases distinguish this encoding from cl100k_base. The exact synthetic inputs/results are committed in tests/fixtures/gpt61-token-counts.json. This is empirical compatibility evidence, not an upstream model declaration or universal proof. Runtime remains local, with no new API key or remote count dependency.

The new pipeline test uses the actual Sol model ID with no manual encoding override, proves JEV is reached, verifies complete-request token reduction, preserves system/current wording, and reads omitted evidence back exactly. Canonical request JSON remains the measurement boundary, not hidden provider billing framing.

Concurrent discovery / multiplex profiles

The race happens before TT's module can execute, so a plugin-local registration fix cannot synchronize every reader. The explicit install-context-engine CLI now requests a narrow, source-hash-guarded repair to the reviewed affected Hermes plugins/plugin_loader.py.

Only TT user ContextEngine loads are wrapped. Initialization is synchronized per resolved profile path, profile caches use distinct namespaces, recursive same-thread discovery never exposes a partial module, and failed loads can retry. Unrelated plugins keep the original loader. An adjacent byte-exact backup is retained; unknown source versions, modified patches, symlinks, mismatching backups and concurrent edits are refused. The ordinary Python installer API defaults to no host patch; install-dashboard and package import do not patch the host.

This host-file change is explicitly documented in README, migration, security and installation guides. It is not disguised as a core-free repair. No conversation, vault, credentials or selected engine configuration is rewritten.

Tests completed before push

  • Initial targeted regressions: 24 passed.
  • Same discovery tests using the user's actual installed Hermes 188a1a5 loader source: 9 passed, only temporary files modified.
  • Expanded final targeted run against that source, including release-doc checks: 29 passed, 1 Windows symlink-permission skip.
  • Ruff 0.16.10 check and format check both pass on the full repository.
  • Six count-only API requests total including the initial smoke; zero generation calls and no private conversation content sent.

The new Sol and discovery regression workflow runs the real-loader tests against the pinned affected Hermes source, not a skipped optional module. Existing CI/Windows, learning, ContextEngine, dashboard, IR and packaging checks will run before merging. Final statuses will be recorded rather than inferred.

Release scope

Version 0.11.2 metadata, changelog, focused notes and wiki updates are prepared. Existing release tags, Terminator artwork, schematics and the #20 live-compression implementation remain untouched. The Rust companion is version-aligned only. No live backend restart or installation has yet occurred in this repair attempt.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-05T06:12:45.406789Z 954ddf6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@AronAxe
AronAxe merged commit ff573cd into main Oct 5, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant