Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
address review (codex): whitespace-tolerant section resolution; honest copy toast
[._.]/ Adam Eivyfca73c7f6fad
diff --git a/client/src/components/pipeline/manuscript/ManuscriptCommentCard.jsx b/client/src/components/pipeline/manuscript/ManuscriptCommentCard.jsxindex f4c847c828..ad9ccd61b1 100644--- a/client/src/components/pipeline/manuscript/ManuscriptCommentCard.jsx+++ b/client/src/components/pipeline/manuscript/ManuscriptCommentCard.jsx@@ -29,7 +29,7 @@ export function CopyId({ id }) {return (<buttontype="button"- onClick={() => { copyToClipboard(id); toast.success('Comment id copied'); }}+ onClick={() => copyToClipboard(id, 'Comment id copied')}title={`Copy comment id: ${id}`}className="inline-flex items-center gap-1 text-[10px] font-mono text-gray-500 hover:text-gray-300">diff --git a/server/services/pipeline/manuscriptFix.js b/server/services/pipeline/manuscriptFix.jsindex accc924f60..3c8ac91d5d 100644--- a/server/services/pipeline/manuscriptFix.js+++ b/server/services/pipeline/manuscriptFix.js@@ -83,7 +83,10 @@ function resolveEditSection(raw, targets) {if (targets.length === 1) return targets[0];const find = typeof raw?.find === 'string' ? raw.find : '';if (find) {- const matches = targets.filter((s) => (s.content || '').includes(find));+ // Whitespace-tolerant (same as accept), so a multi-section / story-level+ // comment whose `find` differs only in spacing still resolves to its section+ // instead of being dropped before normalizeFix's tolerant check.+ const matches = targets.filter((s) => locateFindSpan(s.content || '', find) !== null);if (matches.length === 1) return matches[0];}return null;