Skip to content

fix: preserve control state during local diagnostics - #179

Merged
Yehonal merged 2 commits into
mainfrom
fix/readonly-diagnostics
Nov 16, 2026
Merged

Yehonal merged 2 commits into
mainfrom
fix/readonly-diagnostics

Conversation

@Yehonal

@Yehonal Yehonal commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Local diagnostics could delete stale authorization records, append cleanup events, refresh the index, and update startup or patch-ID caches. A missing object in a partial clone could also trigger an implicit fetch during a no-fetch check.

Status without fetch, check with --no-fetch, and worktree list now use an observational dispatch that preserves authorization context and control metadata, disables index refresh and lazy fetch, and computes patch IDs without writing the persistent cache. Lane warnings reuse the observations already collected. Manifest-selection validation and journal-mode refusals remain enforced. Explicit fetch retains its previous loader and fetch behavior. Delivery validation may still calculate temporary Git projections.

Validation: 11 focused regression tests passed with a minimal PATH, including real hook installation without a globally installed CLI, lane warnings, control-state preservation, nested dispatch, partial-clone packet tracing, canonical-manifest protection, and explicit alternate-manifest fetch. Twelve module/documentation checks and the version guard passed. Independent review READY on a586a00. Version 0.47.21.

@Yehonal
Yehonal merged commit 621cb31 into main Nov 16, 2026
39 of 40 checks passed
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