Repository navigation
docs(skill): refresh agent skill bundle for the 1.4.3 surface - #498
Conversation
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>
|
Reviewed against a self-built worktree of this head ( Blocker:
|
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>
|
Blocker fixed in ba92d92 — the
The |
Summary
Full audit + refresh of the agent skill bundle (
skills/niubash/). The bundle lagged master: the corpus transcript predated the GNU invocation face and the-EncodedCommand/--echandoff (#477), and the prose still described the retired oh-my-niu stack (#145) and the managed-block rc era (#359).Content-source layout (unchanged)
scripts/generate-skill.pyowns the<!-- GENERATED -->regions inSKILL.md+references/quickref.md; everything outside markers is curated prose in the same files. Corpus = committed transcripts undercrates/niubash-runtime/tests/fixtures/skill-corpus/+ the winuxcmd completion TOML inventory +Cargo.tomlversion. Version string was already single-sourced ([package] version) — no convergence needed there; the launcher-verb roster in the generated snapshot now also namesconfig,migrate-rc, and the verbatim handoff.Today's agent-facing changes — coverage check (all now documented)
-EncodedCommand/--ecverbatim handoff +v1:(#477))ends the gather, GNU diagnostic, rc 2D:/cd D:convergence (rubash#953; #481/#483)unsetof inherited env names (#943)-cmarker-zone literal passthrough (rubash#952/#948)! { :; }(rubash#976/#940)Other stale content corrected (predates today)
bash.exe/sh.exe"forwarders" → hardlinks to niu.exe with argv[0] face dispatch ([P2][perf] bin\sh.exe and bin\bash.exe cost one extra process per -c invocation (17.6 ms) #377); shim only where hardlinks are impossible.NIU_THEME/NIU_PLUGINS/~/.niubash/custom/oh-my-niu packs — retired (Interactive startup hangs on host-side async git-status thread; remove built-in git prompt + theme stack (owner decision) #145); prompt-plugins.md rewritten for PS1-ownership + spec/lockfile/generated-loader model (plugins.toml→sources/registry.toml→generated/plugins.niu, sourced before the rc,NIU_PLUGIN_LOADER=off,plugin migrate-rc).--install-wt-shortcuts,skill install|status,plugin migrate-rc, portal lines, "primary-only; no automatic legacy migration" Configuration wording.niu doctorrow coverage updated (now incl. generated loader + agent-skill install).check-rename-clean.baselineregenerated: drops the retired~/.winuxshrcmigration help line, records the intentionalWINUXSH_SHELLmention in SKILL.md, and absorbsdocs/src/*.mdresidue already committed on master.Notes for reviewers
[patch]-routed rubash resolved to the local checkout (1.4.1 @ a83a09d3 — thecargo build --lockedpin 25b0850d is unreachable offline). Verifiedgit diff a83a09d3 25b0850d -- src/usage.rsis empty andbuiltin-short-help.txtcame out byte-identical, so the transcript matches the pinned engine's surface.niubash-skill-v1.4.3.zipis packed fromskills/niubash/at release time — the published asset keeps the old content until the next release..niubashrc.examplestill documents the retired managed-block flow (plugin enablewriting# >>> niu sourceblocks into the rc).Test plan
python scripts/generate-skill.py --check→ PASSpython scripts/test-skill-bundle.py→ PASS (generated regions + embed manifest)cargo test --test skill_bundle→ 4/4 passsh scripts/check-rename-clean.sh→ ALL CHECKS PASSED (baseline regenerated, diff reviewed)git statusclean of unrelated files (Cargo.lock transient downgrade from the local rubash[patch]reverted)Generated with Devin