Make Native default and Atuin an explicit local history provider - #236
Open
raiseCatError wants to merge 1 commit into
Open
raiseCatError wants to merge 1 commit into
raiseCatError wants to merge 1 commit into
Conversation
This was referenced Sep 30, 2026
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.
Command history now defaults to NMSh Native rather than silently preferring installed Atuin. An explicit persisted Atuin choice uses the shared provider gallery for detection and displays the active source/fallback in Status. This default/config change was approved.
Atuin is queried read-only at startup/provider change with public time/cwd/exit/duration/session/UUID fields, NUL-separated records, bounded output/timeout and cancellation. Results are cached in the same command-history index; missing/failing tools fall back to Native. No Atuin recording, deletion or sync command is invoked, and zsh hooks are preserved. Imported duration is approximate because the CLI formats its largest unit.
Depends on #235. Validation: build/typecheck/diff check; focused provider/config/metadata/fallback and settings regressions; full suite with inherited NO_COLOR removed. Physical QA pending: Native default, explicit Atuin selection/status, rich filters where imported metadata exists, missing-tool fallback and keyboard-only provider choice.
Research findings are on #144. No real private database latency was measured.
Refs #144