Repository navigation
fix: preserve control state during local diagnostics - #179
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.