Skip to content

fix(skills): zi-install supports ZI_HOME overrides only with -i skip - #639

Merged
ss-o merged 1 commit into
mainfrom
fix/zi-install-zi-home
Sep 19, 2026
Merged

ss-o merged 1 commit into
mainfrom
fix/zi-install-zi-home

Conversation

@ss-o

@ss-o ss-o commented Sep 19, 2026

Copy link
Copy Markdown
Member

Summary

Refs #636

Verification

  • Confirmed against z-shell/src main at a1ac6d2: the -a loader block in MAIN_PROFILE contains no ZI_HOME or ZI_BIN_DIR_NAME, and init.zsh resolves the home from the legacy and XDG locations unless ZI[HOME_DIR] is preset.
  • python3 scripts/validate-agent-policy.py passes; no manifest change.

Instruction impact review (runbooks/instruction-update.md)

  1. Scoped advisory guidance; a correction inside an existing skill surface.
  2. Same consumers; no routing change.
  3. Canonical owner unchanged; the src delivery copy is re-pinned to this commit in chore(agents): install the zi-install skill src#216 after merge.
  4. No duplication.
  5. No manifest change.
  6. Advisory, so no mandatory rule depends on it.
  7. Validator passes; outside the generated composite.

Agent handoff

No handoff needed.

The -a loader block does not propagate ZI_HOME or ZI_BIN_DIR_NAME, so the
first shell start would clone a second Zi at the default location
(z-shell/src#217). Restrict the overrides to install-only until the
installer carries them.

Refs #636
Copilot AI balanced review requested due to automatic review settings September 19, 2026 04:51
@ss-o
ss-o requested a review from a team as a code owner September 19, 2026 04:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The guidance accurately reflects the linked installer behavior and introduces no unresolved issues.

Review effort: Balanced
Findings: None

What changed in this PR

Clarifies Zi installation guidance to prevent duplicate installs when custom paths are used with Loader.

Changes:

  • Restricts explicit ZI_HOME or ZI_BIN_DIR_NAME overrides to install-only mode.
  • Directs agents to stop and explain the Loader limitation tracked in z-shell/src#217.
File Description
.github/​skills/​zi-install/​SKILL.md Documents the custom-path Loader restriction.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@ss-o
ss-o merged commit bc2dae0 into main Sep 19, 2026
12 checks passed
@ss-o
ss-o deleted the fix/zi-install-zi-home branch September 19, 2026 04:54
ss-o added a commit to z-shell/src that referenced this pull request Sep 19, 2026
z-shell/.github#639 restricts explicit ZI_HOME overrides to -i skip until
the loader block carries them (src#217); pin the delivery to its squash
commit bc2dae03d43216cca93f1f585cb06266c8262ca1.
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.

2 participants