You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stop telling a Word reader 'Only .docx files are supported' — a protected or corrupt .docx that fails to convert is met with a false claim about its format, the very claim #243 removed for workbooks #269
When a Word document fails to convert, the reader is told a falsehood about it. Any conversion failure — a password-protected .docx, a truncated download, a .doc or RTF renamed to .docx — surfaces as "This document could not be read. Only .docx files are supported." (ui-packages/web/src/features/reader/docx-reader.tsx:35). The store accepted the file as .docx, the reader opened it by that name, and the failure is about its content; the message claims the format is unsupported. A reader holding a protected contract concludes their file is the wrong kind and gives up or re-saves it for nothing.
This is the exact false claim #243 removed for workbooks, where the message now ends at "This workbook could not be read." (ui-packages/web/src/features/reader/xlsx-reader/index.tsx:28). #243's fix commit (4f2d801) touched only xlsx files; the Word twin kept the sentence.
Proposal
Drop the second sentence: a conversion failure shows "This document could not be read.", matching the workbook reader word for word.
Keep everything else — console.error already carries the underlying cause for diagnosis.
Goal
After this, a reader whose .docx fails to convert — protected, corrupt, or misnamed — meets an honest "could not be read" and never a claim that .docx is unsupported, on either format.
Verification
if grep -rq 'Only .docx' ui-packages/web/src/;thenecho'the false claim is still there';exit 1;fi
pnpm --filter @gamma-reader/web test src/features/reader
pnpm check
Refs
ui-packages/web/src/features/reader/docx-reader.tsx:35 — the sentence to remove
ui-packages/web/src/features/reader/xlsx-reader/index.tsx:28 — the fixed twin, word for word
No test asserts the docx message, so the one-line fix needs no test update.
Duplicate check: clean across open and closed. #267 is the same honesty family but a different door (pptx preview); #45/#209/#222 are about unconverted content, not a false format claim.
Sensor: lint ✓. Verify was broken as filed — repaired. The block's grep … ; echo "exit: $?" swallows the grep exit code, so verify passed on unfixed main — as a gate it could never fail, and a later beat would have closed this as implemented on a false signal. Per the anchor-repair rule I edited only the Verification block (first line is now if grep -rq 'Only .docx' ui-packages/web/src/; then … exit 1; fi); re-lint ✓, and verify now fails on main with the false claim is still there — the correct not-implemented verdict. Body edit logged: Verification block, first line only, nothing else touched.
Verdict: valid, stays open. The fix is the mirror of 4f2d801: drop the second sentence in docx-reader.tsx:35, keep the console.error.
Posted by the scheduled issue-reviewer loop, independent of the authoring session.
Re-audit @ d05b6b6 — last review (10-27) predated the four plugins commits (de9243b/b1cc4f8/4baf829/d05b6b6); none touch the cited files. Still valid; stays open.
Anchors re-verified, no drift.docx-reader.tsx:35 still carries the full sentence and is still the only 'Only .docx' in the tree; the fixed twin xlsx-reader/index.tsx:28 ends at "This workbook could not be read." as cited.
Sensor. lint ✓; verify ✗ failing at the first line — the repaired gate greps the sentence, finds it, exits 1. Correct not-implemented verdict; the fix (drop the second sentence, keep console.error) remains a one-liner with no test to update.
Posted by the scheduled issue-reviewer loop, independent of the authoring session.
Re-audit @ d05b6b6 — no commits since the 10-30 review; still valid, stays open.
Anchors hold.docx-reader.tsx:35 still carries the full 'This document could not be read. Only .docx files are supported.' and remains the only 'Only .docx' in the tree; the fixed twin xlsx-reader/index.tsx:28 still ends at "This workbook could not be read."
Sensor. lint ✓; verify ✗ at the first gate — the false claim is still there, the correct not-implemented verdict (the 10-27 repair of the swallowed grep exit code continues to hold).
Posted by the scheduled issue-reviewer loop, independent of the authoring session.
Re-audit at d05b6b6 (fourth pass; HEAD unchanged since 2026-10-28) — valid, stays open; no edits.
Anchors re-opened today, no drift: docx-reader.tsx:35 still carries the full 'This document could not be read. Only .docx files are supported.' and remains the only 'Only .docx' in the tree; the fixed twin xlsx-reader/index.tsx:28 still ends at "This workbook could not be read."
Sensor: lint ✓; verify ✗ at the first gate — the false claim is still there, the correct not-implemented verdict (the 10-27 repair of the swallowed grep exit code continues to hold).
Verdict unchanged; the fix remains the one-liner mirroring 4f2d801: drop the second sentence, keep console.error; no test asserts the message.
Posted by the scheduled issue-reviewer loop, independent of the authoring session.
Re-audit @ d05b6b6 (still HEAD — no commits since the 11-07 pass): valid. Evidence re-confirmed, sensor re-run, no new overlaps. Stays open.
Anchors intact: features/reader/docx-reader.tsx:35 still carries the full 'This document could not be read. Only .docx files are supported.' and remains the only 'Only .docx' in the tree; the fixed twin features/reader/xlsx-reader/index.tsx:28 still ends at "This workbook could not be read."
Sensor: lint ✓; verify ✗ at the first gate ("the false claim is still there") — truthful not-implemented.
No maintainer signal (zero unmarked comments, reactions, assignees). No action this beat beyond this record; the fix remains the one-liner mirroring 4f2d801 — drop the second sentence, keep console.error.
Activity
bencode commentedon Oct 27, 2026
Independent review — posted by the scheduled issue-reviewer loop, independent of the authoring session.
Evidence audit: all citations confirmed on main (
dbf9cb6).docx-reader.tsx:35still reads'This document could not be read. Only .docx files are supported.'— the only'Only .docx'occurrence in the tree.xlsx-reader/index.tsx:28ends at'This workbook could not be read.'.4f2d801verified as Let a workbook with a chart sheet open — today it fails whole as 'This workbook could not be read. Only .xlsx files are supported', a false claim about a file Excel itself wrote #243's fix: its diff onxlsx-reader/index.tsxis precisely the removal of'Only .xlsx files are supported.'; Let a workbook with a chart sheet open — today it fails whole as 'This workbook could not be read. Only .xlsx files are supported', a false claim about a file Excel itself wrote #243 closed by it 2026-10-27. No commit since touched the docx message.Duplicate check: clean across open and closed. #267 is the same honesty family but a different door (pptx preview); #45/#209/#222 are about unconverted content, not a false format claim.
Sensor: lint ✓. Verify was broken as filed — repaired. The block's
grep … ; echo "exit: $?"swallows the grep exit code, so verify passed on unfixed main — as a gate it could never fail, and a later beat would have closed this as implemented on a false signal. Per the anchor-repair rule I edited only the Verification block (first line is nowif grep -rq 'Only .docx' ui-packages/web/src/; then … exit 1; fi); re-lint ✓, and verify now fails on main withthe false claim is still there— the correct not-implemented verdict. Body edit logged: Verification block, first line only, nothing else touched.Verdict: valid, stays open. The fix is the mirror of
4f2d801: drop the second sentence indocx-reader.tsx:35, keep theconsole.error.bencode commentedon Oct 30, 2026
Posted by the scheduled issue-reviewer loop, independent of the authoring session.
Re-audit @ d05b6b6 — last review (10-27) predated the four plugins commits (de9243b/b1cc4f8/4baf829/d05b6b6); none touch the cited files. Still valid; stays open.
docx-reader.tsx:35still carries the full sentence and is still the only'Only .docx'in the tree; the fixed twinxlsx-reader/index.tsx:28ends at "This workbook could not be read." as cited.console.error) remains a one-liner with no test to update.--
bencode commentedon Nov 5, 2026
Posted by the scheduled issue-reviewer loop, independent of the authoring session.
Re-audit @ d05b6b6 — no commits since the 10-30 review; still valid, stays open.
docx-reader.tsx:35still carries the full'This document could not be read. Only .docx files are supported.'and remains the only'Only .docx'in the tree; the fixed twinxlsx-reader/index.tsx:28still ends at "This workbook could not be read."the false claim is still there, the correct not-implemented verdict (the 10-27 repair of the swallowed grep exit code continues to hold).console.error; no test asserts the message.bencode commentedon Nov 7, 2026
Posted by the scheduled issue-reviewer loop, independent of the authoring session.
Re-audit at
d05b6b6(fourth pass; HEAD unchanged since 2026-10-28) — valid, stays open; no edits.docx-reader.tsx:35still carries the full'This document could not be read. Only .docx files are supported.'and remains the only'Only .docx'in the tree; the fixed twinxlsx-reader/index.tsx:28still ends at "This workbook could not be read."the false claim is still there, the correct not-implemented verdict (the 10-27 repair of the swallowed grep exit code continues to hold).Verdict unchanged; the fix remains the one-liner mirroring
4f2d801: drop the second sentence, keepconsole.error; no test asserts the message.bencode commentedon Nov 11, 2026
Posted by the scheduled issue-reviewer loop, independent of the authoring session.
Re-audit @
d05b6b6(still HEAD — no commits since the 11-07 pass): valid. Evidence re-confirmed, sensor re-run, no new overlaps. Stays open.features/reader/docx-reader.tsx:35still carries the full'This document could not be read. Only .docx files are supported.'and remains the only'Only .docx'in the tree; the fixed twinfeatures/reader/xlsx-reader/index.tsx:28still ends at "This workbook could not be read."No maintainer signal (zero unmarked comments, reactions, assignees). No action this beat beyond this record; the fix remains the one-liner mirroring
4f2d801— drop the second sentence, keepconsole.error.