Repository navigation
Stop typing INFO and VERSION at addresses that never answer them - #218
Merged
Merged
Conversation
MsspSelfDescription only stops INFO and VERSION where an MSSP report already answers them, so a game with no MSSP was asked on every crawl. At fs.twkang.net:5555 and its siblings INFO is read as a character name and VERSION offers to create a character called "version" (#182). - crawl_target.login_commands_unanswered / _quiet_at (migration 0046) remember, per address, how many sessions running produced nothing a reader stands behind. LoginCommands.Ask/Learn own the rule: three such sessions silence the address, a retrial every 30 days can end it, and a submission still awaiting corroboration is always asked. - Only a session that typed INFO counts (ProbeResult.InfoAsked), so our silence is never recorded as theirs. mui-probe prints "not asked". - Within a session, INFO answered by a name prompt means VERSION is not sent. The name-prompt vocabulary moves out of WhoParser into NamePrompt and learns the ES2/MudOS family's Chinese prompts, so WHO at those games now reads as LoginPrompt rather than Unreadable. Closes #182 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rqqt7TV49bXFnCQC3ZmM6c
HarryCordewener
force-pushed
the
claude/project-thread-f2voq6
branch
from
November 16, 2026 05:21
12fdb64 to
9e1e382
Compare
Drop the 30-day retrial. Once an address has gone three sessions with nothing readable, it is not asked again; only a submission still awaiting corroboration is, and a miss there keeps the original date. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rqqt7TV49bXFnCQC3ZmM6c
HarryCordewener
marked this pull request as ready for review
November 16, 2026 05:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Grave · project thread
Closes #182.
MsspSelfDescriptiononly stopsINFOandVERSIONwhere an MSSP report already answers them, so a game with no MSSP was asked on every crawl. Atfs.twkang.net:5555and its siblings,INFOcomes back as the name prompt andVERSIONoffers to create a character called "version".What changes
A learned gate, per address. Migration 0046 adds
crawl_target.login_commands_unansweredandlogin_commands_quiet_at.LoginCommands.Ask/Learn(MUI.Discovery, pure, besideMsspRoutesandWhoAnswers) own the rule:LoginCommandReading.Answeredfinds, which asks the consumers' own readers (codebase, name, INFO count, MUCK reading). A name prompt and a plainHuh?both count as no answer.quiet_at. From then on the probe never sends either word to that address. There is no retrial.MuLikenessmay need these replies. If it misses, the originalquiet_atstays. If it answers, both columns clear.Rule 5. Only a session that actually typed
INFOcounts (ProbeResult.InfoAsked, set between write and wait likeWHO's flag). A session where we chose not to ask, or that never got that far, leaves the memory unchanged. Nothing public reads these columns, and no field, presence or API value changes when a game is not asked.mui-probenow prints(not asked)instead of(no reply)in that case.Within a session. If
INFOcomes back as a login prompt taking it for a name,VERSIONis not sent. AHuh?does not stop it, since some codebases answerVERSIONwithout answeringINFO. The name-prompt regex moved out ofWhoParserintoNamePromptso both callers use the same list. It also gained the Chinese forms measured in #182, soWHOat those games now reads asLoginPromptinstead ofUnreadable. That only works where the screen decodes properly (CHARSETset). In the Latin-1 fallback the learned gate still covers them.Not verified
The fix has not been run against the live games yet, because the cloud container can't reach game hosts. The fixtures use the strings quoted in the issue. Running
mui-probe fs.twkang.net 5555from a machine that can reach it should showversion (not asked)once theCHARSEToverride is in place.Rebased on #216
Rebased onto
mainafter #216 merged. The only conflict was the twoINFO/VERSIONlines inAskFollowUpsAsync, which now useLive(connection).Tests
All six suites pass locally (Crawl 701, Discovery 372, Crawler 387, Catalog 669, Web 1294, I3 17), with Catalog, Crawler and Web running against a local Postgres 16 under
MUI_REQUIRE_POSTGRES. One Crawl test,AGateOnAServerThatSwallowsNegotiationIsStillAnswered, failed once in a full run. It passed three times on its own and in later full runs. It asserts only on the banner, so it looks like timing. New tests:LoginCommandsTestsLoginCommandsPostgresTestsNamePromptTestsLoginCommandReadingTests.*Answer*ProbeSessionTests(not asked → neither word sent; name prompt toINFO→ noVERSION;Huh?→VERSIONstill sent)A mutation check confirmed the name-prompt test fails when the in-session gate is disabled.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Rqqt7TV49bXFnCQC3ZmM6c