feat(backend): Word add-in compatibility - CORS + documentContext

⛔ closed · #197 · Open-Legal-Products/mike ← amal66/mike · opened 24d ago by amal66 · closed 23d ago · +71-10 across 3 files · ↗ on GitHub

From the PR description

Layer 1 of 6 of the Word add-in, split for review. Supersedes #195.

⚠️ Review this PR's own commits, not the "Files changed" tab. The head is a fork branch and the per-layer base branches can't be pushed to this repo, so GitHub shows a cumulative diff (it includes the layers below). This layer's actual changes are only:

  • fix(backend): review fixes - CORS 500, documentContext guard + length cap (bf203b7)
  • feat(backend): Word add-in compatibility - CORS + documentContext (1b8bec4)

A true base-chained version with small per-layer diffs also exists as a stack in the amal66/mike fork.

Our analysis

Backend CORS and document-context support for a Word add-in — read the full analysis →

Think the analysis missed something the PR description covers?

Capture this PR into my fork

Download a Markdown prompt that tells Claude how to port every commit in this PR into your working tree. Run it via claude -p < capture-pull-197.md from inside the repo you want the changes in.

⬇ Download capture-pull-197.md