Files
stack/agents/darkwing/work/queue-54-review/r1/mut/D09.diff
T
jason.woltjeandClaude Opus 5.5 8a3ded5335 review(row54): round 1 packet, changes (darkwing)
Review of #1543 candidate dba2429e: gate green with Docker, 31 mutants
(26 killed), Node, import and Chromium probes. Posted as comment 27186.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-10 15:47:54 -05:00

14 lines
689 B
Diff

diff --git a/packages/webui/src/reads.mjs b/packages/webui/src/reads.mjs
index 0443a7c9..2e411db5 100644
--- a/packages/webui/src/reads.mjs
+++ b/packages/webui/src/reads.mjs
@@ -39,7 +39,7 @@ export function redactor({ configDir = null, dataRoot = null } = {}) {
.sort((a, b) => b[0].length - a[0].length)
.map(([p, label]) => [new RegExp(`${escape(p.replace(/\/+$/, ''))}(?![\\w.-])`, 'g'), label]);
return text => {
- let s = unquote(String(text));
+ let s = String(text);
for (const [re, label] of known) s = s.replace(re, label);
return s.replace(/(^|[\s('"`=,[{])\/[^\s'"`),;\]}]+/g, '$1<path>').replace(/(?<![\w.-])\d{17,20}(?![\w.-])/g, '<id>');
};