Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
abf486a
perf: 🚀 Remove unnecessary directory path variable. Disable internal …
ss-o Aug 8, 2023
88a3d20
fix: Correctly declare 'sigsize' as local in rpm2cpio.zsh and remove …
ss-o Jun 15, 2025
b8248aa
feat: Add version command to display Zi version
ss-o Jun 15, 2025
6bdaedb
Merge branch 'main' into fix-variables
ss-o Jun 15, 2025
3425c1c
(misc): improved functionality, formatting and usability. (#327)
ss-o Jun 16, 2025
ee0e06c
fix: Update labeler.yml to standardize changed-files formatting
ss-o Jun 16, 2025
ef8cc80
Merge branch 'main' into fix-variables
ss-o Jun 16, 2025
6a6a35a
improve performance and maintainability (#328)
ss-o Jun 16, 2025
d092066
ci: modernize workflows, governance, and CI quality gates
ss-o May 16, 2026
351a7d4
fix(autoload): correct bugs in auto-reload, zpmod build, and zi.zsh c…
ss-o May 16, 2026
72e40e1
chore(meta): secure workflows and unify agent instructions
ss-o May 20, 2026
e3ff8e3
chore(ci): remove emoji prefixes from workflow and job names
ss-o May 21, 2026
81a1cf5
chore(zsh): apply standard modelines across plugins and libraries
ss-o Jun 1, 2026
f06cea9
chore: reconcile main into next (#360)
ss-o Aug 15, 2026
1e681dd
chore(zsh): add standard modelines to remaining libraries (#355)
ss-o Aug 15, 2026
25c8fa1
chore: sync next after modeline merge (#360)
ss-o Aug 15, 2026
0b7e79a
ci: align branch validation with org policy
ss-o Aug 15, 2026
9ff33f9
chore: reconcile main into next (#363)
ss-o Aug 15, 2026
39607be
fix(autoload): preserve self-update reload state
ss-o Aug 15, 2026
47d02ae
fix(ci): remove next promotion blockers
ss-o Aug 15, 2026
e5c97fe
fix(ci): close promotion review gaps
ss-o Aug 15, 2026
f9e8210
fix(autoload): preserve self-update reload state (#365)
ss-o Aug 15, 2026
527d0fc
chore: sync next after runtime fixes (#364)
ss-o Aug 15, 2026
46dfe97
docs: clarify same-repository hotfix flow
ss-o Aug 15, 2026
624c8c3
fix(ci): remove next promotion blockers (#366)
ss-o Aug 15, 2026
a95c591
fix(runtime): preserve promotion compatibility
ss-o Aug 15, 2026
91c1246
fix(runtime): preserve promotion compatibility (#368)
ss-o Aug 15, 2026
847b7c5
fix(runtime): restore documented compatibility helpers
ss-o Aug 15, 2026
eaa3a8d
fix(runtime): load zpextract compatibility lazily
ss-o Aug 15, 2026
8f494aa
fix(runtime): restore documented compatibility helpers (#370)
ss-o Aug 15, 2026
d45fe24
fix(times): preserve lowercase seconds flag
ss-o Aug 15, 2026
f3e68af
fix(times): preserve lowercase seconds flag (#372)
ss-o Aug 15, 2026
e402c4b
ci: add promotion readiness gate
ss-o Aug 15, 2026
507a143
chore(meta): trim repository metadata
ss-o Aug 15, 2026
795cc9f
docs: correct promotion bootstrap branch
ss-o Aug 15, 2026
3f28947
Merge pull request #375 from z-shell/copilot/chore-audit-trim-reposit…
ss-o Aug 15, 2026
5069bfa
fix(module): support CMake build in .zi-module with autotools fallbac…
ss-o Aug 17, 2026
4814669
feat(module): fetch prebuilt release binaries before building from so…
ss-o Aug 17, 2026
7a03763
fix(module): query recent releases to discover release candidate asse…
ss-o Aug 17, 2026
5dabe46
fix(pmspec): drop the unallocated X capability letter (#394)
ss-o Aug 20, 2026
7fe0e52
merge: synchronize promotion gate with next
ss-o Aug 22, 2026
3e9f6c3
ci: pin promotion validation to compatibility suite
ss-o Aug 22, 2026
cd64e7d
ci: add promotion readiness gate (#379)
ss-o Aug 22, 2026
f175851
fix(ci): harden live promotion gate
ss-o Aug 22, 2026
e80ffeb
fix(ci): harden live promotion gate (#397)
ss-o Aug 22, 2026
00fe70c
ci(contract): add public impact gate
ss-o Aug 15, 2026
a44f25a
fix(contract): harden impact detection
ss-o Aug 15, 2026
e46e433
fix(contract): close review bypasses
ss-o Aug 15, 2026
62ebbd8
fix(contract): harden closure parsing
ss-o Aug 15, 2026
d5e8e7f
fix(contract): fail closed on declarations
ss-o Aug 15, 2026
c58d21d
fix(contract): close remaining extraction gaps
ss-o Aug 22, 2026
76aaf17
test(contract): cover one-line registrations
ss-o Aug 22, 2026
6ce0e36
ci(contract): add public impact gate (#383)
ss-o Aug 22, 2026
4a5e0b8
chore: reconcile promotion bootstrap into next (#377)
ss-o Aug 22, 2026
8117259
chore: reconcile promotion bootstrap into next (#400)
ss-o Aug 22, 2026
a00bd1a
fix(ci): align commit lint with org policy
ss-o Aug 22, 2026
8b913df
fix(ci): align commit lint with org policy (#401)
ss-o Aug 22, 2026
65bb825
docs(readme): rebuild project landing page
ss-o Aug 22, 2026
570a6e6
fix(ci): repair ZD integration workflow
ss-o Aug 22, 2026
c751c66
fix(ci): separate ZD concurrency group
ss-o Aug 22, 2026
f3a5e39
fix(ci): repair ZD integration workflow
ss-o Aug 22, 2026
b0e8083
test(version): cover version reporting contract
ss-o Aug 22, 2026
fa9641b
test(version): make fixtures checkout independent
ss-o Aug 22, 2026
f63cf8b
test(version): use clean shell option profile
ss-o Aug 22, 2026
5878fcc
Merge pull request #404 from z-shell/bug-377
ss-o Aug 22, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
351 changes: 2 additions & 349 deletions .editorconfig

Large diffs are not rendered by default.

89 changes: 9 additions & 80 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,82 +1,11 @@
# Auto detect text files and perform LF normalization
* text=auto
* text=auto

#
# The above will handle all files NOT found below
#
*.sh text eol=lf
*.zsh text eol=lf
*.zunit text eol=lf
_zi text eol=lf
lib/zcompile text eol=lf
lib/templates/example-script text eol=lf

# Documents
*.bibtex text diff=bibtex
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
*.md text diff=markdown
*.mdx text diff=markdown
*.tex text diff=tex
*.adoc text
*.textile text
*.mustache text
*.csv text
*.tab text
*.tsv text
*.txt text
*.sql text
*.epub diff=astextplain

# Graphics
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.tif binary
*.tiff binary
*.ico binary
# SVG treated as text by default.
*.svg text
# If you want to treat it as binary,
# use the following line instead.
# *.svg binary
*.eps binary

# Scripts
*.bash text eol=lf
*.fish text eol=lf
*.sh text eol=lf
*.zsh text eol=lf
*.zunit text eol=lf
# These are explicitly windows files and should use crlf
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf

# Serialisation
*.json text
*.toml text
*.xml text
*.yaml text
*.yml text

# Archives
*.7z binary
*.gz binary
*.tar binary
*.tgz binary
*.zip binary

# Text files where line endings should be preserved
*.patch -text

#
# Exclude files from exporting
#

.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore
*.gz binary
*.png binary
35 changes: 34 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1,34 @@
* @z-shell/tsc
# CODEOWNERS — zi
#
# GitHub evaluates rules top-to-bottom; the LAST matching rule wins.
# Sections are ordered from broadest to most specific so that narrower
# rules can override the default without removing coverage elsewhere.
#
# Team: @z-shell/tsc — Technical Steering Committee (final sign-off)
# Owner: @ss-o — Primary maintainer (day-to-day reviews)

# ── Default ──────────────────────────────────────────────────────────────────
# Catch-all: everything not matched by a more specific rule below.
* @ss-o

# ── Core Zsh runtime ─────────────────────────────────────────────────────────
# Changes here affect every Zi user; require TSC review.
/zi.zsh @z-shell/tsc
/lib/ @z-shell/tsc
/contracts/ @z-shell/tsc
/scripts/public-contract-impact.zsh @z-shell/tsc

# ── CI / Workflows ───────────────────────────────────────────────────────────
# Workflow changes reviewed by primary maintainer; no TSC sign-off required.
/.github/workflows/ @ss-o
/.github/dependabot.yml @ss-o

# ── Documentation & templates ────────────────────────────────────────────────
/docs/ @ss-o
/.github/ISSUE_TEMPLATE/ @ss-o
/.github/PULL_REQUEST_TEMPLATE.md @ss-o
/.github/copilot-instructions.md @ss-o

# ── Governance (must be last — highest specificity) ───────────────────────────
# CODEOWNERS itself requires TSC approval to change.
/.github/CODEOWNERS @z-shell/tsc
98 changes: 19 additions & 79 deletions .github/ISSUE_TEMPLATE/01_bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,110 +1,50 @@
name: "🐞 Bug report"
description: File a bug report
description: Report reproducible incorrect Zi behavior
title: "[bug]: "
labels: ["bug 🐞", "triage 📑"]
labels: ["type:bug", "status:triage"]
assignees: ["ss-o"]
body:
- type: markdown
attributes:
value: |
First off, thanks for taking the time to contribute! Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.
- type: input
id: environment
attributes:
label: Environment
description: >
Please describe your environment in as much detail as possible. Otherwise, we may not be able to reproduce the issue.
placeholder: >
Example:
print "Device: $VENDOR | $OSTYPE | $CPUTYPE"
print "Shell: $SHELL | $ZSH_ARGZERO | $ZSH_PATCHLEVEL"
print "Zi: $(git -C $ZI[BIN_DIR] rev-parse HEAD)"
validations:
required: true
- type: textarea
id: repro
attributes:
label: Reproduction steps
description: "How do you trigger this bug? Please walk us through it step by step."
value: |
1.
2.
3.
4.
5.
...
render: bash
description: Include your OS, Zsh version, and Zi commit.
placeholder: zsh --version; git -C "${ZI[BIN_DIR]}" rev-parse HEAD
validations:
required: true
- type: textarea
id: expected
id: reproduction
attributes:
label: Expected behavior
description: "Please describe the expected behavior"
value: |
1.
2.
3.
4.
5.
...
render: bash
label: Minimal reproduction
description: Provide the smallest Zsh commands or configuration that reproduce the problem.
render: zsh
validations:
required: true
- type: textarea
id: current
id: actual
attributes:
label: Current behavior
description: "Please describe how the bug manifests"
value: |
1.
2.
3.
4.
5.
...
render: bash
label: Actual behavior
description: Include complete error output or logs where relevant.
validations:
required: true
- type: textarea
id: code-snippet
attributes:
label: Code snippet
description: "Please insert your zshrc or just a short code snippet in concern."
validations:
required: true
- type: textarea
id: additional
id: expected
attributes:
label: Additional information
description: "List any other information that is relevant to your issue. For reports and stats run `zi analytics`"
label: Expected behavior
validations:
required: true
- type: checkboxes
id: self-service
attributes:
label: Self-service
description: |
If you feel like you could contribute to this issue, please check the box below. This would tell us and other people looking for contributions that someone's working on it.
If you do check this box, please send a pull request within 7 days so we can still delegate this to someone else.
options:
- label: I'd be willing to address this documentation request myself.
- label: I would be willing to submit a fix for this bug.
- type: checkboxes
id: policies
attributes:
label: Have you read the Contributing Guidelines?
label: Project policies
options:
- label: I have read the [Contributing Guidelines](https://github.com/z-shell/community/blob/main/docs/CONTRIBUTING_GUIDELINES.md).
- label: I have read the [contribution guidelines](https://github.com/z-shell/.github/blob/main/.github/CONTRIBUTING.md).
required: true
- type: checkboxes
attributes:
label: Are you familiar with the Contributor Covenant Code of Conduct?
options:
- label: I have read the [Contributor Covenant Code of Conduct](https://github.com/z-shell/zi/blob/main/docs/CODE_OF_CONDUCT.md).
- label: I agree to follow the [Code of Conduct](https://github.com/z-shell/.github/blob/main/.github/CODE_OF_CONDUCT.md).
required: true
- type: input
id: contact
attributes:
label: Contact Details
description: How can we get in touch with you if we need more info?
placeholder: ex. email@example.com
validations:
required: false
56 changes: 18 additions & 38 deletions .github/ISSUE_TEMPLATE/02_feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,61 +1,41 @@
name: "💡 Feature request"
description: Suggest an idea for this project
description: Propose a new Zi capability
title: "[feat]: "
labels: ["feature-request 💡"]
labels: ["type:feature", "status:triage"]
assignees: ["ss-o"]
body:
- type: markdown
attributes:
value: |
First off, thanks for taking the time to contribute! Contributions are what make the open-source community such an amazing place to learn, inspire, and create. Any contributions you make will benefit everybody else and are greatly appreciated.
- type: input
id: description
- type: textarea
id: problem
attributes:
label: Feature description
description: A clear and concise description of what the feature request is. Please include if your feature request is related to a problem
label: Problem
description: What Zi use case is difficult or impossible today?
validations:
required: true
- type: textarea
id: code-snippet
id: proposal
attributes:
label: Related Code
description: "If you can illustrate the bug or feature request with an example, please provide it here"
label: Proposed solution
description: Describe the behavior and show an example Zi command or configuration.
validations:
required: false
required: true
- type: textarea
id: additional
id: alternatives
attributes:
label: Additional Context
description:
"List any other information that is relevant to your issue. Stack traces, related issues, suggestions on how to add, use case, Stack Overflow links, forum links, screenshots, OS if applicable,
etc."
label: Alternatives considered
validations:
required: false
- type: checkboxes
id: self-service
attributes:
label: Self-service
description: |
If you feel like you could contribute to this issue, please check the box below. This would tell us and other people looking for contributions that someone's working on it.
If you do check this box, please send a pull request within 7 days so we can still delegate this to someone else.
options:
- label: I'd be willing to address this documentation request myself.
- label: I would be willing to implement this feature.
- type: checkboxes
id: policies
attributes:
label: Have you read the Contributing Guidelines?
label: Project policies
options:
- label: I have read the [Contributing Guidelines](https://github.com/z-shell/community/blob/main/docs/CONTRIBUTING_GUIDELINES.md).
- label: I have read the [contribution guidelines](https://github.com/z-shell/.github/blob/main/.github/CONTRIBUTING.md).
required: true
- type: checkboxes
attributes:
label: Are you familiar with the Contributor Covenant Code of Conduct?
options:
- label: I have read the [Contributor Covenant Code of Conduct](https://github.com/z-shell/zi/blob/main/docs/CODE_OF_CONDUCT.md).
- label: I agree to follow the [Code of Conduct](https://github.com/z-shell/.github/blob/main/.github/CODE_OF_CONDUCT.md).
required: true
- type: input
id: contact
attributes:
label: Contact Details
description: How can we get in touch with you if we need more info?
placeholder: ex. email@example.com
validations:
required: false
Loading
Loading