Expand description
Orphan detection and soft auto-links (algorithmic, low weight).
Explicit edges (relates_to, anchors, …) are user/agent-authored.
Auto edges use relation_type values prefixed with auto_ and lower
weights so context hops prefer human links.
Structs§
- Auto
Link Report - Report from
run_auto_link. - Auto
Link Suggestion - One proposed or applied soft edge endpoint.
- Orphan
Note - A note with no explicit (non-auto) graph edges.
Constants§
- REL_
AUTO_ FILENAME - Soft edge: same filename stem under different paths (e.g. goals/x.md ↔ concepts/x.md).
- REL_
AUTO_ TAG - Soft edge: shared tag (excluding trivial type-only tags).
- WEIGHT_
AUTO_ FILENAME - Default weight for filename-stem matches.
- WEIGHT_
AUTO_ TAG - Default weight for shared-tag matches.
Functions§
- is_
auto_ relation - True when
relation_typeis a soft auto-link. - is_
explicit_ relation - True when the relation is user/agent-authored (not auto).
- list_
orphan_ notes - List non-symbol notes that have zero explicit edges (auto edges ignored).
- normalize_
target_ arg - Normalize a user path argument to something resolve_target can use.
- path_
stem - Filename stem for auto-filename matching (
docs/goals/rust-fluency.md→rust-fluency). - run_
auto_ link - Create soft auto-links for all orphans, or for one file/path/node id.