Skip to content

fix(ce-doc-review): block diagram deletion as a fix recommendation#775

Merged
tmchow merged 1 commit intomainfrom
tmchow/preserve-ascii-diagrams
May 5, 2026
Merged

fix(ce-doc-review): block diagram deletion as a fix recommendation#775
tmchow merged 1 commit intomainfrom
tmchow/preserve-ascii-diagrams

Conversation

@tmchow
Copy link
Copy Markdown
Collaborator

@tmchow tmchow commented May 5, 2026

ce-doc-review reviewers were silently deleting ASCII diagrams when the prose covered the same content, citing rationales like "ornamental" or "adds no value over the prose." A real inconsistency in the diagram (e.g., a 19-vs-20 line-count drift) got auto-applied as a deletion via safe_auto, even though the natural fix is to update the count.

The subagent-template false-positive catalog now treats visual-aid removal as redundancy as a non-finding. Real inconsistencies get a suggested_fix that updates the visual aid, and deletion is not eligible at any tier. The synthesis safe_auto patterns also replace the prose/diagram-prose-more-detailed wording (which the reviewer read as license to delete) with prose-vs-diagram inconsistency where the diagram is mechanically updated to match.


Compound Engineering
Claude Code

Reviewers were silently deleting ASCII diagrams when prose covered the
same content, citing "ornamental" or "adds no value over the prose."
Diagrams are intentional communication choices that aid spatial
comprehension, and they were getting auto-applied as safe_auto fixes
even when the underlying issue was a fixable inconsistency (e.g., a
19-vs-20 line-count drift).

Two changes:

- subagent-template.md FP catalog: visual-aid removal as redundancy is
  a non-finding. Real inconsistencies (drifted counts, mismatched
  labels) get a suggested_fix that updates the visual aid; deletion is
  not eligible at any tier.
- synthesis-and-presentation.md safe_auto patterns: replace the
  prose/diagram-prose-more-detailed wording (which the agent read as
  license to delete) with prose-vs-diagram inconsistency where the
  diagram is mechanically updated to match.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@tmchow tmchow merged commit 1f3c646 into main May 5, 2026
2 checks passed
@github-actions github-actions Bot mentioned this pull request May 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant