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.
Summary
Arrowhead now works out of the box inside arbitrary Markdown directories while remaining fully backward compatible with Obsidian vaults.
Workspace detection & settings
Vault::newinspects.obsidian/and.arrowhead/workspace.toml, logging which source was chosen and exposing helpers (workspace_kind,workspace_source). Non-Obsidian folders automatically inherit attachments, ignore lists, daily note formats, and link styles from the Arrowhead config file.arrowhead workspace show/setso users can inspect and mutate.arrowhead/workspace.tomlwithout re-runningarrowhead init --force. The command validates relative paths, prevents parent directory escapes, and refuses to run when Obsidian metadata is present.arrowhead initkeeps behaviour unchanged inside Obsidian vaults, but when.obsidian/is absent it seeds the workspace config up front, restores it after--force, and surfaces--attachments-dir,--ignore,--daily-note-format, and--link-styleflags.Runtime + MCP compatibility
Vault::new, so they share the same workspace semantics with no extra wiring.discovery_get_vault_conventionsnow emits both the legacyobsidianblock and a newworkspacepayload so existing clients keep working while newer tools can reason about generic vaults. Tests cover both an Obsidian fixture and a synthetic generic workspace...segments), preventing configs from pointing outside the vault. Docs describe the workflow so developers know how to configure generic workspaces.