Repository navigation
fix: an unknown --mount is refused, not read as an empty store - #107
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
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.
--mountwith a mount that doesn't exist used to match nothing and exit 0. Soynm recall --mount projet, or--mount projectoutside an initialised repository, looked exactly like an empty store. For the Wheelhouse doctor, that reads as "no seat has an identity".Now it's refused with exit 2, and the error names the mounts there are:
Ynm.requireMount()accepts both local mounts and remote (hosted) ones. Every read that filters by mount calls it:recall,context,list,export,review,reindex,syncandwiki build.UnknownMountError, which the CLI maps to exit 2, as it does for other input it refuses.docs/reference/exit-codes-and-json.mdnow lists the case.recall,list,context,exportandwiki buildoutside a repository with--mount project, and checks they exit 2 with the message.--mount bogusexits 2, while--mount projectand the remote--mount teamstill work.make check,make typecheck,make test-tutorials(12/12) andmake docs-linkspass.opencodeon PATH. It fails the same way ondevelop.🤖 Generated with Claude Code