Preview fallback for fake docx artifacts and readable Office errors #96

Merged
weichen merged 11 commits from feature/preview-sniff-fallback into main 2026-10-01 05:20:49 +00:00
11 Commits
Author SHA1 Message Date
weichen 6b5da25f89 Record the sync checkpoint
ci / test (pull_request) Failing after 1m58s
2026-10-01 05:20:28 +00:00
weichen 62d39037af Merge remote-tracking branch 'origin/main' into feature/preview-sniff-fallback 2026-10-01 05:20:28 +00:00
weichenandCursor 5f9b33ae22 Record the preview sniff sync and xlsx fallback
ci / test (pull_request) Failing after 31s
Why: the task card still described xlsx/pptx sniff as out of scope, and
the combo test had not been written down after the merge.

Evidence: make test passed on a11fed4 (frontend 40, ui 68).

Impact: task card only.

Refs: Dev PR #96
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 04:08:34 +00:00
weichenandCursor a11fed43da Merge origin/main into preview-sniff-fallback
Why: the preview sniff branch predated the shell redesign and could not
merge. Module gitlinks now include current main plus ZIP fallback for
docx, xlsx, and pptx.

Evidence: conflict was only the shared sync-log card; both sides' rows
kept. UI and Frontend tests passed on the updated module SHAs.

Impact: parent branch contains origin/main. .mimosa/ ignore stays.

Refs: task feature/preview-sniff-fallback, Dev PR #96
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 04:07:40 +00:00
weichenandCursor 89481a6ee3 Advance preview sniff gitlinks onto current module mains
Why: the open preview-sniff PRs were cut before the shell redesign, so
they could not merge. UI and Frontend now contain origin/main plus the
ZIP sniff, including xlsx and pptx text fallback.

Evidence: UI vitest 68 and tsc clean; Frontend vitest 40 and tsc clean.
UI pulls/21 and Frontend pulls/22 updated.

Impact: gitlinks only. Dev still needs to merge origin/main before the
parent PR can land.

Refs: task feature/preview-sniff-fallback
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-01 04:07:21 +00:00
weichen 244eea93c9 Record the PR links in the task card
ci / test (pull_request) Failing after 30s
2026-09-30 18:11:21 +00:00
weichen c6b243b766 Record the sync checkpoint 2026-09-30 18:10:55 +00:00
weichen 7ababf2a54 Merge remote-tracking branch 'origin/main' into feature/preview-sniff-fallback 2026-09-30 18:10:55 +00:00
weichen af13fbadf8 Record the sync checkpoint
ci / test (pull_request) Failing after 1m37s
2026-09-30 17:51:59 +00:00
weichen 0b883469a2 Pin preview-sniff-fallback module combination
Why: track 2 of the fake-docx remediation — read-only preview fallback for
stock text-masquerading docx artifacts; also ignore the Mimosa plugin's
per-session .mimosa state dir that kept dirtying the tree and blocking precheck.

Evidence: modules/ui 83367f7 (doc->binary dispatch + readable Office error),
modules/frontend cd77340 (PK magic sniff + markdown fallback); make test-ui
49/49, make test-frontend 33/33, frontend tsc --noEmit clean.

Impact: parent pins move to the two submodule branches; .gitignore gains
.mimosa/; no code outside those modules.

Refs: .task/feature-preview-sniff-fallback.md
2026-09-30 17:51:53 +00:00
weichen 15296bf9d8 Record the task card for feature-preview-sniff-fallback 2026-09-30 17:46:06 +00:00