Detect World Bank sourcing in any piece of text (article body OR analysis
markdown). Returns true when the text contains either a strong fingerprint
(the phrase "World Bank", an MCP tool name, etc.) or an indicator code with
clean word boundaries.
This is the single source of truth for the policy quality gate — both the
content validator and the CLI validator's filesystem fallback use it so a
legitimate evidence trail on either side satisfies the rule, and generic
prose mentions of economic terms do not.
Parameters
text: string
Text to scan
Returns boolean
true when at least one strong or word-bounded fingerprint matches
Detect World Bank sourcing in any piece of text (article body OR analysis markdown). Returns
truewhen the text contains either a strong fingerprint (the phrase "World Bank", an MCP tool name, etc.) or an indicator code with clean word boundaries.This is the single source of truth for the policy quality gate — both the content validator and the CLI validator's filesystem fallback use it so a legitimate evidence trail on either side satisfies the rule, and generic prose mentions of economic terms do not.