René's URL Explorer Experiment


Title: fix(gateway): treat tui_shutdown as a recoverable end_reason for session routing (#59580) by webtecnica · Pull Request #59627 · NousResearch/hermes-agent · GitHub

Open Graph Title: fix(gateway): treat tui_shutdown as a recoverable end_reason for session routing (#59580) by webtecnica · Pull Request #59627 · NousResearch/hermes-agent

X Title: fix(gateway): treat tui_shutdown as a recoverable end_reason for session routing (#59580) by webtecnica · Pull Request #59627 · NousResearch/hermes-agent

Description: The agent that grows with you. Contribute to NousResearch/hermes-agent development by creating an account on GitHub.

Open Graph Description: Summary When a TUI session ends, it writes end_reason='tui_shutdown' to state.db, but the gateway's sessions.json routing entry is unaffected. On the next inbound message, the stale-rou...

X Description: Summary When a TUI session ends, it writes end_reason='tui_shutdown' to state.db, but the gateway's sessions.json routing entry is unaffected. On the next inbound message, t...

Opengraph URL: https://github.com/NousResearch/hermes-agent/pull/59627

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:356e9847-4d8a-bd5e-f994-4c516d7c4765
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idECAE:26DE3B:1ADBECE:269DE8E:6A4BCD52
html-safe-nonce8052e09db12613bf1f9dbf19528efe6697370c2f24071865b0a9f15c6fa50157
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQ0FFOjI2REUzQjoxQURCRUNFOjI2OURFOEU6NkE0QkNENTIiLCJ2aXNpdG9yX2lkIjoiMjkyNDU0OTAwNTc4OTM1MTI1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace73ee902f86a48958faed876fa982ccddca465fe630325d8ea8e66f59d56f82c
hovercard-subject-tagpull_request:3998898008
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/NousResearch/hermes-agent/59627/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1a06fe464a2bd0e46a4a75e4c671740be4b2bd49a97883d8d29871cf508fbc87/NousResearch/hermes-agent/pull/59627
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1a06fe464a2bd0e46a4a75e4c671740be4b2bd49a97883d8d29871cf508fbc87/NousResearch/hermes-agent/pull/59627
og:image:altSummary When a TUI session ends, it writes end_reason='tui_shutdown' to state.db, but the gateway's sessions.json routing entry is unaffected. On the next inbound message, the stale-rou...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamewebtecnica
hostnamegithub.com
expected-hostnamegithub.com
None14aa00ce5bdb34d0eefb5facbffd7de9e144c688d8a93ef8df902d5f94b51dd7
turbo-cache-controlno-cache
go-importgithub.com/NousResearch/hermes-agent git https://github.com/NousResearch/hermes-agent.git
octolytics-dimension-user_id134168893
octolytics-dimension-user_loginNousResearch
octolytics-dimension-repository_id1024554267
octolytics-dimension-repository_nwoNousResearch/hermes-agent
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1024554267
octolytics-dimension-repository_network_root_nwoNousResearch/hermes-agent
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release58b8f89190447502561829f30862aa0a99d53367
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NousResearch/hermes-agent/pull/59627#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNousResearch%2Fhermes-agent%2Fpull%2F59627
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNousResearch%2Fhermes-agent%2Fpull%2F59627
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=NousResearch%2Fhermes-agent
Reloadhttps://github.com/NousResearch/hermes-agent/pull/59627
Reloadhttps://github.com/NousResearch/hermes-agent/pull/59627
Reloadhttps://github.com/NousResearch/hermes-agent/pull/59627
Please reload this pagehttps://github.com/NousResearch/hermes-agent/pull/59627
NousResearch https://github.com/NousResearch
hermes-agenthttps://github.com/NousResearch/hermes-agent
Notifications https://github.com/login?return_to=%2FNousResearch%2Fhermes-agent
Fork 38.5k https://github.com/login?return_to=%2FNousResearch%2Fhermes-agent
Star 210k https://github.com/login?return_to=%2FNousResearch%2Fhermes-agent
Code https://github.com/NousResearch/hermes-agent
Issues 5k+ https://github.com/NousResearch/hermes-agent/issues
Pull requests 5k+ https://github.com/NousResearch/hermes-agent/pulls
Actions https://github.com/NousResearch/hermes-agent/actions
Projects https://github.com/NousResearch/hermes-agent/projects
Security and quality 0 https://github.com/NousResearch/hermes-agent/security
Insights https://github.com/NousResearch/hermes-agent/pulse
Code https://github.com/NousResearch/hermes-agent
Issues https://github.com/NousResearch/hermes-agent/issues
Pull requests https://github.com/NousResearch/hermes-agent/pulls
Actions https://github.com/NousResearch/hermes-agent/actions
Projects https://github.com/NousResearch/hermes-agent/projects
Security and quality https://github.com/NousResearch/hermes-agent/security
Insights https://github.com/NousResearch/hermes-agent/pulse
webtecnicahttps://github.com/webtecnica
NousResearch:mainhttps://github.com/NousResearch/hermes-agent/tree/main
webtecnica:fix/59580-tui-shutdown-recoverablehttps://github.com/webtecnica/hermes-agent/tree/fix/59580-tui-shutdown-recoverable
Conversationhttps://github.com/NousResearch/hermes-agent/pull/59627
Commits1 (1)https://github.com/NousResearch/hermes-agent/pull/59627/commits
Checkshttps://github.com/NousResearch/hermes-agent/pull/59627/checks
Files changedhttps://github.com/NousResearch/hermes-agent/pull/59627/files
fix(gateway): treat tui_shutdown as a recoverable end_reason for session routing (#59580)https://github.com/NousResearch/hermes-agent/pull/59627#top
webtecnicahttps://github.com/webtecnica
NousResearch:mainhttps://github.com/NousResearch/hermes-agent/tree/main
webtecnica:fix/59580-tui-shutdown-recoverablehttps://github.com/webtecnica/hermes-agent/tree/fix/59580-tui-shutdown-recoverable
https://github.com/webtecnica
webtecnicahttps://github.com/webtecnica
Jul 6, 2026https://github.com/NousResearch/hermes-agent/pull/59627#issue-4819304773
#59580https://github.com/NousResearch/hermes-agent/issues/59580
Please reload this pagehttps://github.com/NousResearch/hermes-agent/pull/59627
https://github.com/webtecnica
fix(gateway): treat tui_shutdown as a recoverable end_reason for sess…https://github.com/NousResearch/hermes-agent/pull/59627/commits/c40181dfe0c82de8de28d8e59073e754d472da34
c40181dhttps://github.com/NousResearch/hermes-agent/pull/59627/commits/c40181dfe0c82de8de28d8e59073e754d472da34
NousResearch#59580https://github.com/NousResearch/hermes-agent/issues/59580
https://github.com/alt-glitch
alt-glitchhttps://github.com/alt-glitch
type/bug https://github.com/NousResearch/hermes-agent/issues?q=state%3Aopen%20label%3Atype%2Fbug
comp/gateway https://github.com/NousResearch/hermes-agent/issues?q=state%3Aopen%20label%3Acomp%2Fgateway
P2 https://github.com/NousResearch/hermes-agent/issues?q=state%3Aopen%20label%3AP2
sweeper:risk-session-state https://github.com/NousResearch/hermes-agent/issues?q=state%3Aopen%20label%3Asweeper%3Arisk-session-state
sweeper:risk-message-delivery https://github.com/NousResearch/hermes-agent/issues?q=state%3Aopen%20label%3Asweeper%3Arisk-message-delivery
Jul 6, 2026https://github.com/NousResearch/hermes-agent/pull/59627#event-27609336620
https://github.com/alt-glitch
alt-glitchhttps://github.com/alt-glitch
Jul 6, 2026 https://github.com/NousResearch/hermes-agent/pull/59627#ref-pullrequest-4820670026
fix(tui): only end TUI-owned sessions on shutdown (#59580) #59720 https://github.com/NousResearch/hermes-agent/pull/59720
https://github.co/hiddenchars
https://github.com/NousResearch/hermes-agent/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNousResearch%2Fhermes-agent%2Fpull%2F59627
comp/gateway https://github.com/NousResearch/hermes-agent/issues?q=state%3Aopen%20label%3Acomp%2Fgateway
P2 https://github.com/NousResearch/hermes-agent/issues?q=state%3Aopen%20label%3AP2
sweeper:risk-message-delivery https://github.com/NousResearch/hermes-agent/issues?q=state%3Aopen%20label%3Asweeper%3Arisk-message-delivery
sweeper:risk-session-state https://github.com/NousResearch/hermes-agent/issues?q=state%3Aopen%20label%3Asweeper%3Arisk-session-state
type/bug https://github.com/NousResearch/hermes-agent/issues?q=state%3Aopen%20label%3Atype%2Fbug
[Bug]: TUI tui_shutdown ends a gateway-routed session; stale-routing self-heal (#54878) then silently creates a new session with zero notification https://github.com/NousResearch/hermes-agent/issues/59580
Please reload this pagehttps://github.com/NousResearch/hermes-agent/pull/59627
https://github.com/webtecnica
https://github.com/alt-glitch
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.