-
Notifications
You must be signed in to change notification settings - Fork 5
initiative: restore truthful Zi lifecycle and update contracts #565
Copy link
Copy link
Open
7 / 107 of 10 issues completedOpen
7 / 107 of 10 issues completed
Copy link
Labels
area:metaOrganization-wide policy, templates, or meta-repo work.Organization-wide policy, templates, or meta-repo work.meta:initiativeMarks a parent issue coordinating two or more independently deliverable sub-issues.Marks a parent issue coordinating two or more independently deliverable sub-issues.meta:org-trackedIndicates this issue has cross-repository tracking implications (synced to Linear).Indicates this issue has cross-repository tracking implications (synced to Linear).priority:highNeeds prompt attention.Needs prompt attention.type:maintenanceNon-feature maintenance, cleanup, or org work.Non-feature maintenance, cleanup, or org work.
Description
Activity
Metadata
Metadata
Assignees
Labels
area:metaOrganization-wide policy, templates, or meta-repo work.Organization-wide policy, templates, or meta-repo work.meta:initiativeMarks a parent issue coordinating two or more independently deliverable sub-issues.Marks a parent issue coordinating two or more independently deliverable sub-issues.meta:org-trackedIndicates this issue has cross-repository tracking implications (synced to Linear).Indicates this issue has cross-repository tracking implications (synced to Linear).priority:highNeeds prompt attention.Needs prompt attention.type:maintenanceNon-feature maintenance, cleanup, or org work.Non-feature maintenance, cleanup, or org work.
Type
Projects
- StatusShow more project fieldsIn Progress
Outcome
Make Zi's core load, unload, parallel-update, initialization, and plugin-authoring paths report truthful status and satisfy their published lifecycle contracts.
Context
A read-only audit of
z-shell/zinextat795662792e70af6cd36155b019b775796a9fdbeefound four reproducible false-success or skipped-work defects, three substantial incomplete paths, and contract drift between Zi and the canonical Zsh Plugin Standard.The repository's broad checks are green, but the affected paths have no focused regression coverage. The audit ran 60 existing behavioral scenarios, a 31-file Zsh syntax and compile sweep, Trunk across 67 files, and isolated reproductions for the confirmed runtime defects.
Expected deliverables
z-shell/zi: make parallel updates wait, clean up, and propagate failures.z-shell/zi: make unload and update callback capabilities work for regular plugins and snippets.z-shell/zi: execute deferredatinitcorrectly withnocd.z-shell/zi: make object-load status explicit and prevent scheduling after failure.z-shell/zi: complete unload ownership for hooks and repeated widget loads.z-shell/zi: establish complete, retryable home initialization.z-shell/zi: modernize or deprecate the combined scaffold and remote-creation path.z-shell/zi: consolidate confirmed duplicate helpers and resolve naming drift.z-shell/wiki: reconcile ZiPMSPECdocumentation and executable validation.Each deliverable is maintained as a native sub-issue in its owning repository.
Dependencies and risks
No external blocker is known. Recommended delivery order is parallel status correctness and lifecycle callbacks, followed by
atinitand object-load status, then scaffold, unload ownership, initialization, and consistency work.The scaffold change and unload ownership model require design review before implementation because they affect public behavior and compatibility. Fixing the
.zi-load-objecttypo mechanically would double-count errors, so its result and aggregation contracts must be separated.Completion criteria
Next action
Start with the parallel-update and callback sub-issues, preserving separate reviewable changes and linking each pull request to its own issue.