| @@ -209,8 +209,18 @@ | ||
| 209 | 209 | // Update action matches |
| 210 | 210 | this.updateActionMatches(testingData.action_matches || []); |
| 211 | 211 | |
| 212 | 212 | // Log summary |
| 213 | + // 58f8b4: URL-guard outcome — surface silent stripping. | |
| 214 | + if (testingData.url_validation) { | |
| 215 | + var uv = testingData.url_validation; | |
| 216 | + if (uv.removed_count > 0) { | |
| 217 | + this.log('URL guard stripped ' + uv.removed_count + ' unapproved link' + (uv.removed_count !== 1 ? 's' : '') + ': ' + (uv.removed_urls || []).join(', ')); | |
| 218 | + } else if (uv.checked > 0) { | |
| 219 | + this.log('URL guard: all ' + uv.checked + ' link' + (uv.checked !== 1 ? 's' : '') + ' in the answer approved (' + (uv.strict ? 'strict' : 'lenient') + ' mode)'); | |
| 220 | + } | |
| 221 | + } | |
| 222 | + | |
| 213 | 223 | if (testingData.knowledge_base_type) { |
| 214 | 224 | this.log('Knowledge Base: ' + testingData.knowledge_base_type); |
| 215 | 225 | } |
| 216 | 226 | if (testingData.similarity_threshold) { |