Skip to content

feat(help): unixwin portal lines at the --help/--version tail - #490

Merged
caomengxuan666 merged 1 commit into
masterfrom
feat/help-portal-link
Oct 21, 2026
Merged

caomengxuan666 merged 1 commit into
masterfrom
feat/help-portal-link

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

Summary

  • niu --help now closes with the GNU home-page tail convention, pointing at the unixwin portal:
    • Home: <https://unixwin.dev>
    • Docs & downloads: <https://unixwin.dev>
  • niu --version carries the identical pair at the end of its banner, so both launcher faces name the same home.
  • The bash/sh invocation faces (rubash::usage::show_shell_*) are untouched — they stay byte-for-byte GNU.

Test plan

  • cargo fmt --check -p niubash
  • cargo test --test issue385_help_gnu_invocation_face --test rubash_revision_banner — 8 passed
    • issue385_help_gnu_invocation_face: required markers now include both portal lines for --help
    • rubash_revision_banner: new version_banner_closes_with_the_unixwin_portal_lines gates --version
  • Manual: niu --help | tail and niu --version show the pair verbatim as the last lines
  • CI: full cargo test --workspace --locked

Note: local test run resolved rubash through the ../rubash path patch (v1.4.1); the committed Cargo.lock is unchanged.

Generated with Devin

GNU --help convention ends the output with a home-page tail ("bash home
page: <…>"). The niu face now closes with the same shape pointing at the
project portal:

  Home: <https://unixwin.dev>
  Docs & downloads: <https://unixwin.dev>

--version carries the identical pair so both launcher faces name the
same home.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@caomengxuan666
caomengxuan666 merged commit 12d5a5a into master Oct 21, 2026
10 of 11 checks passed
caomengxuan666 added a commit that referenced this pull request Oct 22, 2026
* docs(skill): refresh agent skill bundle for the 1.4.3 surface

The corpus transcript predated the GNU invocation face and the verbatim
handoff, and the prose still described the retired oh-my-niu stack
(niubash#145) and the managed-block rc era (niubash#359).

- corpus: recapture `niu --help` (GNU long/short option face, verbatim
  handoff spellings --encoded-command/-EncodedCommand/--ec + v1:,
  --cwd-state, --install-wt-shortcuts, plugin migrate-rc, skill
  install|status, portal lines, primary-only rc wording)
- SKILL.md: 83/83 suite ledger (2026-10-12 re-run), argv[0] hardlink
  faces, generated-loader startup (before rc, NIU_PLUGIN_LOADER=off,
  migrate-rc), NIU_SHELL+SHELL exports, behavior notes for the gather
  wedge / bare-drive / negative-cache / unset-inherited / marker-zone /
  dolbrace / ordered-fd / CJK-readline fixes, verbatim handoff for hosts
  that cannot quote
- references: prompt-plugins.md rewritten for the spec+lockfile+loader
  model; paths.md gains bare drive designators; wpm.md notes same-session
  visibility of fresh installs; quickref.md gains the host-level verbs
- generate-skill.py: capability snapshot names `config`, the verbatim
  handoff, and `migrate-rc`
- check-rename-clean.baseline regenerated: drops the retired winuxshrc-
  migration help line, absorbs docs/src residue already on master, and
  records the intentional WINUXSH_SHELL mention in SKILL.md

Refs niubash#474 #477 #481 #482 #483 #484 #490 #943 #948 #952 niubash#359
Refs rubash#940 #947 #951 #952 #953 #955 #957 #976 #977 #979

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

* docs(skill): correct SHELL export claim — filled only when unset

NIU_SHELL is exported unconditionally, but SHELL is backfilled with the
niu.exe path only when the host left it unset (shell.rs shell_was_missing
gate); a parent-supplied SHELL passes through. Aligns the NIU_SHELL
paragraph with the actual behavior per review on #498.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@caomengxuan666
caomengxuan666 deleted the feat/help-portal-link branch October 30, 2026 01:42
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