Skip to content

chore(eggs): keep only snake; about trims its lists and gains a true pyfiglet logo - #264

Merged
caomengxuan666 merged 1 commit into
masterfrom
chore/prune-easter-eggs
Oct 12, 2026
Merged

caomengxuan666 merged 1 commit into
masterfrom
chore/prune-easter-eggs

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

What

Prune the easter-egg stable down to snake, per the owner's call that the old minigames ship more noise than joy. about stays - it is the post-setup information screen, not an egg - but it is trimmed to match reality and its logo is now honest.

Deleted

  • Games: dino, cow, typing, tic, matrix, party (their modules under crates/niubash-runtime/src/easter_eggs/)
  • The game/games launcher: GAMES table, its dispatch arms, list_games, and the EGG_NAMES entries. niu game ... now falls through to ordinary command resolution and reports not found like any other name.
  • No dangling references: dispatch, routing, --help, completions, tests and prose docs are clean. snake is untouched.

about

  • Games section lists only snake; Hidden commands lists only about.
  • The old logo was hand-drawn and matched no figlet font (verified in the main session). Replaced with python -m pyfiglet -f standard "niubash" output, byte-for-byte (all five content rows including pyfiglet's trailing spaces, backslashes Rust-escaped), keeping the cyan/yellow/green/magenta accent banding and the trailing reset.

Tests

  • cargo fmt --all --check clean (the pre-commit hook caught one over-wide write! in mod.rs; fixed).
  • cargo test -p niubash-runtime --locked: 435 lib + 9 completion + 8 winuxcmd-completions, all green (re-run green after the fmt rewrap).
  • Root integration suite: every non-ConPTY binary green (smoke 13, repl_command 11, startup_files 14, completion_probe 16, host_contract 42/45, plugins, issue regressions, broken_stdout_pipe, etc.).
  • Known local ConPTY failures on this Windows 10 19045 box are pre-existing on pristine origin/master and unrelated: tests/interactive.rs (35 fails; two cases re-verified failing identically on a detached 11c1612 checkout, same driver.rs:635 timeout signature), host_contract::history_and_fc_use_the_host_history_provider (re-verified identical on 11c1612), plus the same live-session class in issue182_bashit_history_interlock and smoke_1_3_0::d3_setup_rerun_applies_in_the_live_session. None touch easter eggs; the diff here only removes game modules and edits easter_eggs/{mod,about}.rs.

Based on current origin/master (3c74e49, includes #256 src/piped_stdout.rs / tests/broken_stdout_pipe.rs, which this PR does not touch).

…pyfiglet logo

Owner call: the old easter-egg stable ships more noise than joy - snake
stays, everything else goes.

- delete dino, cow, typing, tic, matrix, party and the `game`/`games`
  launcher: their modules, the dispatch arms, the GAMES launcher table
  and the EGG_NAMES entries. `niu game ...` now falls through to ordinary
  command resolution and reports not found like any other name.
- `about` keeps its role as the post-setup information screen, not an
  egg: the Games section lists only snake, Hidden commands only `about`.
- replace the hand-drawn logo (its proportions never matched any figlet
  font) with `python -m pyfiglet -f standard "niubash"` output,
  byte-for-byte - all five content rows including pyfiglet's trailing
  spaces - keeping the four-accent cyan/yellow/green/magenta banding and
  the final reset.

snake is untouched. Non-interactive routing is unchanged: eggs only ever
dispatch from an interactive REPL, so scripts and pipes never see any of
this.
@caomengxuan666
caomengxuan666 merged commit 1286bae into master Oct 12, 2026
8 of 9 checks passed
@caomengxuan666
caomengxuan666 deleted the chore/prune-easter-eggs branch October 13, 2026 02:06
caomengxuan666 added a commit that referenced this pull request Oct 13, 2026
…1.4.0 section (#326)

- The [Unreleased] entries (#284/#287, #293-#304, #313) move into
  [1.4.0]; [Unreleased] is empty again.
- Newly recorded (today's wave): Git Bash compatible factory default
  prompt (#292, headline), WT-form shortcuts (#290/#211), the paste
  burst trailing-Enter fix (#308/#291), self-update SHA256 + release
  pinning (#311/#312), managed-block convergence (#324), completion
  tables/NIU_COMPDEFS/NIU_ENV probe (#305-#307), -s on-demand stdin
  (rubash#586 host half), bash/rbash invocation faces (#321/#322).
- Older gaps recorded: closed-stdout pipe contract (#245/#286), history
  session-end write-back (#265), sh POSIX contract (#262), PWD persona
  alignment (#283), one-shot fast path (#270), --cwd-state (#272),
  --encoded-command (#271), REPL-command highlighting (#281), docs
  passes (#255/#225/#226/#227), MSRV (#267), easter-egg prune (#264).

CHANGELOG-only change; no version claims.
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