auto-fix: strip 2 broken wiki links

Pipeline auto-fixer: removed [[ ]] brackets from links
that don't resolve to existing claims in the knowledge base.
This commit is contained in:
Teleo Agents 2026-04-14 17:43:26 +00:00
parent 55aa56e6a3
commit d3a13bf9e9

View file

@ -13,7 +13,7 @@ a dashboard JSON.
**Data source:** All `.md` files in `domains/`, `core/`, `foundations/` **Data source:** All `.md` files in `domains/`, `core/`, `foundations/`
**Algorithm:** **Algorithm:**
1. For each claim file, extract all `[[wiki links]]` via regex: `\[\[([^\]]+)\]\]` 1. For each claim file, extract all `wiki links` via regex: `\[\[([^\]]+)\]\]`
2. For each link target, resolve to a file path and read its `domain:` frontmatter 2. For each link target, resolve to a file path and read its `domain:` frontmatter
3. Compare link target domain to source file domain 3. Compare link target domain to source file domain
4. Calculate: `cross_domain_links / total_links` per domain and overall 4. Calculate: `cross_domain_links / total_links` per domain and overall
@ -191,7 +191,7 @@ All five vital signs benefit from a pre-computed index:
} }
``` ```
**Build script:** Parse all `.md` files with `type: claim` frontmatter. Extract title (first `# ` heading), domain, confidence, created, and all `[[wiki links]]`. Resolve links bidirectionally. **Build script:** Parse all `.md` files with `type: claim` frontmatter. Extract title (first `# ` heading), domain, confidence, created, and all `wiki links`. Resolve links bidirectionally.
### Dashboard aggregation ### Dashboard aggregation