chore(format): prettier sweep over phase-2 touched files + stale planning docs

Picks up the prettier line-wraps the v1.5 phase-1 planning docs and
codex-protocol-spec.md missed, and brings the redact.ts + insights
generate route test into the project's standard form. No behaviour
change — pnpm format:check now passes clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Marc-André BombeckandClaude Opus 4.7 committed 2026-05-09 16:06:52 +02:00
1 parent d6696cf02b
commit 6b88e56aeb
6 files changed
+44 -39

No files matched your search

@@ -113,7 +113,7 @@ describe("POST /api/insights/generate — provider error mapping", () => {
it("maps a 401 from the provider to 422 with a readable message", async () => {
const err = Object.assign(new Error("OpenAI request failed (401)"), {
httpStatus: 401,
bodyExcerpt: "{\"error\":{\"code\":\"invalid_api_key\"}}",
bodyExcerpt: '{"error":{"code":"invalid_api_key"}}',
});
makeProviderThatThrows(err);