Skip to content

Stop typing INFO and VERSION at addresses that never answer them - #218

Merged
HarryCordewener merged 2 commits into
mainfrom
claude/project-thread-f2voq6
Nov 16, 2026
Merged

HarryCordewener merged 2 commits into
mainfrom
claude/project-thread-f2voq6

Conversation

@HarryCordewener

@HarryCordewener HarryCordewener commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Requested by Grave · project thread

Closes #182.

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 comes back as the name prompt and VERSION offers to create a character called "version".

What changes

A learned gate, per address. Migration 0046 adds crawl_target.login_commands_unanswered and login_commands_quiet_at. LoginCommands.Ask/Learn (MUI.Discovery, pure, beside MsspRoutes and WhoAnswers) own the rule:

  • An "answer" is anything LoginCommandReading.Answered finds, which asks the consumers' own readers (codebase, name, INFO count, MUCK reading). A name prompt and a plain Huh? both count as no answer.
  • Three sessions running with no answer set quiet_at. From then on the probe never sends either word to that address. There is no retrial.
  • The one exception is a submission still awaiting §7.8. It is always asked, because MuLikeness may need these replies. If it misses, the original quiet_at stays. If it answers, both columns clear.

Rule 5. Only a session that actually typed INFO counts (ProbeResult.InfoAsked, set between write and wait like WHO'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-probe now prints (not asked) instead of (no reply) in that case.

Within a session. If INFO comes back as a login prompt taking it for a name, VERSION is not sent. A Huh? does not stop it, since some codebases answer VERSION without answering INFO. The name-prompt regex moved out of WhoParser into NamePrompt so both callers use the same list. It also gained the Chinese forms measured in #182, so WHO at those games now reads as LoginPrompt instead of Unreadable. That only works where the screen decodes properly (CHARSET set). 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 5555 from a machine that can reach it should show version (not asked) once the CHARSET override is in place.

Rebased on #216

Rebased onto main after #216 merged. The only conflict was the two INFO/VERSION lines in AskFollowUpsAsync, which now use Live(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:

  • LoginCommandsTests
  • LoginCommandsPostgresTests
  • NamePromptTests
  • LoginCommandReadingTests.*Answer*
  • three ProbeSessionTests (not asked → neither word sent; name prompt to INFO → no VERSION; Huh? → VERSION still 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

@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@HarryCordewener HarryCordewener self-assigned this Nov 16, 2026
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
HarryCordewener force-pushed the claude/project-thread-f2voq6 branch from 12fdb64 to 9e1e382 Compare November 16, 2026 05:21
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
HarryCordewener marked this pull request as ready for review November 16, 2026 05:34
@HarryCordewener
HarryCordewener merged commit bc5f2d8 into main Nov 16, 2026
2 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.

INFO and VERSION are typed at games that will never answer them, every crawl, for ever

2 participants