Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:memo: Add entry visibility maintenance guideline

Daniela8f6aea1b87c
diff --git a/AGENTS.md b/AGENTS.md
index 6724dc95bb..5e96448cbc 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -55,6 +55,7 @@ SiYuan repository guide. Module path `github.com/siyuan-note/siyuan`, license AG
- For capabilities that did not previously exist, write the title from a support perspective and prefer `Support ...`
- If no applicable label is available, infer the perspective from the issue content
8. **LD246:** When accessing `ld246.com`, set the HTTP `User-Agent` header to `SiYuan-Coding-Agent`
+9. **Configurable entries:** When adding, removing, renaming, moving, or changing the `data-id` / `data-type` of a desktop menu item or dock entry covered by entry visibility, update `app/src/config/entryVisibility/catalog.ts` in the same change, including its hierarchy, label, and Simple profile default, and update the related tests. Keep parent and child paths aligned with the actual menu hierarchy. The menu `ignore` option controls conditional rendering and must not be used to opt an entry out of visibility configuration
---