fix(knowledge): ignore Markdown code when parsing wikilinks #770
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.36) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 114 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.284
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #770"
general
weight: 0.35
thejesh23
Summary
Mask fenced, blockquoted, indented, and inline Markdown code before extracting wikilinks from articles and
index.md, preventing code examples from creating false graph edges while preserving real links.Linked issue(s)
Refs #769; this PR addresses the code-sample false positives only and leaves the reported edge-type concern separate.
How I tested this
python3 -m unittest discover -s tests/skill/knowledge -p 'test_*.py' -v— 17 passed.git diff --check— passed.pnpm lint,pnpm --filter @understand-anything/core test, andpnpm test— not run because dependencies were absent; no dependencies were installed.Versioning
Bumped all seven manifests to
2.9.9as required byCLAUDE.md; the MCP package had been2.9.7while the other six were2.9.8.