docs(agents): reinforce cross-repository link conventions against absolute file URIs
Brain Structural Validation / Validate Markdown Structure & Links (push) Successful in 6s
Brain Structural Validation / Validate Markdown Structure & Links (push) Successful in 6s
This commit is contained in:
1 parent
53db1148e0
commit
ef6dc2b177
1 file changed
+3
-2
@@ -184,11 +184,12 @@ project: optional-project-name
|
|||||||
|
|
||||||
## Link Conventions
|
## Link Conventions
|
||||||
|
|
||||||
- Use standard relative Markdown links: `[text](../relative/path.md)`
|
- Use standard relative Markdown links for intra-vault files: `[text](../relative/path.md)`.
|
||||||
- Do not use Obsidian `[[double-bracket]]` syntax. The repository must be valid Markdown without Obsidian.
|
- Do not use Obsidian `[[double-bracket]]` syntax. The repository must be valid Markdown without Obsidian.
|
||||||
- For links to files in separate repositories (e.g., `bitetrack-api`), use their public GitHub URLs.
|
- **Cross-Repository Portability**: For links to files in separate repositories (e.g., `homelab-core`, `bitetrack-api`), use their public/forge Git URLs (e.g., `https://gitea.roadtotech.me/...` or `https://github.com/...`) or semantic code blocks. **Never use machine-specific absolute file URIs (`file:///...`)**.
|
||||||
- When reorganizing files, run `python scripts/validate-brain.py` to catch broken links before committing.
|
- When reorganizing files, run `python scripts/validate-brain.py` to catch broken links before committing.
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Git Commit Standards
|
## Git Commit Standards
|
||||||
|
|||||||
Reference in new issue
Block a user