Skip to content

fix(title): T3 Code handoff and instruction wrappers no longer name sessions - #3

Closed
IEatCodeDaily wants to merge 10000 commits into
mainfrom
fix/title-skip-t3-handoff
Closed

IEatCodeDaily wants to merge 10000 commits into
mainfrom
fix/title-skip-t3-handoff

Conversation

@IEatCodeDaily

@IEatCodeDaily IEatCodeDaily commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Problem. T3 Code threads driven by Hermes get titles like Context handoff (full_thread_summary):. T3 Code sends a delegated or handed-off thread's first prompt as Context handoff (...) + coverage + \n\nUser message:\n + the user's text, and wraps requests in <t3_code_instructions>…</t3_code_instructions><user_request>…</user_request>. agent/title_generator.py titled that verbatim, and acp_adapter/gateway_server.py (_rename_t3_thread) then mirrors the session title onto the T3 thread.

Fix. _summarize_user_message (the one input both the instant title and the model title use) now:

  • takes the <user_request> body when one is present, and
  • drops a leading T3 Context handoff ( header, keeping the text after the last User message: marker.

The test is in the existing tests/agent/test_title_generator.py and covers: wrapper only, handoff only, and handoff inside a wrapper.

The companion T3 Code change strips the same header on the T3 side: IEatCodeDaily/t3code#1

Base. Branched from bf0203a794, the upstream main commit the desktop install runs. Fork main is months behind upstream, so this PR also shows those upstream commits; the change itself is the single last commit (3786a91302, 2 files).

Gates. Upstream CI needs Blacksmith runners, which the fork doesn't have, so the full test suite and ruff check . run on GitHub-hosted runners from ci/title-skip-t3-handoff (this head + one workflow file). Alongside them runs a baseline on bf0203a794, so failures that already exist on the base can be told apart from ones this change causes.

Results (run 43136060375):

  • Tests: slices 2–4 pass. tests/agent/test_title_generator.py passes 99/99, including the 3 new cases.
  • Slice 1: one failure, tests/plugins/image_gen/test_openrouter_compat_provider.py::...test_catalog_models_are_offered_only_by_openrouter. The baseline run on bf0203a794 fails the same way, so it is not caused by this change.
  • ruff check .: one FURB192 finding in tests/gateway/test_native_http_auth.py:231. This PR does not touch that file.

Model: custom:9router:opus via Hermes (acpRegistry) in T3 Code

Loading
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.