build: wire x-polaris-codes into polaris openapi #65

Merged
bart merged 2 commits from feature/openapi-code-catalogue into main 2026-09-11 11:25:06 +00:00
Collaborator

Closes #54.

Exactly the two-line change from the seam request: after building spec, merge in polaris.contracts.codes.build_x_polaris_codes() under the x-polaris-codes key before writing.

Verified now that #55 (engine contracts) is merged: polaris.contracts imports cleanly, ruff/mypy --strict/pytest clean, and backend/openapi.json regenerated with x-polaris-codes.{findings,errors,notifications} present (27/6/8 entries).

Ticks the second acceptance-criteria box on #12.

🤖 Generated with Claude Code

https://claude.ai/code/session_013YioTVKBPoE6thZqbnTtnM

Closes #54. Exactly the two-line change from the seam request: after building `spec`, merge in `polaris.contracts.codes.build_x_polaris_codes()` under the `x-polaris-codes` key before writing. Verified now that #55 (engine contracts) is merged: `polaris.contracts` imports cleanly, `ruff`/`mypy --strict`/`pytest` clean, and `backend/openapi.json` regenerated with `x-polaris-codes.{findings,errors,notifications}` present (27/6/8 entries). Ticks the second acceptance-criteria box on #12. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_013YioTVKBPoE6thZqbnTtnM
Closes #54. Ticks the second AC on #12. Held pending #55 (engine
contracts) merge — polaris.contracts.codes doesn't exist on main
yet, so this can't be verified or used to regenerate openapi.json
until then.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013YioTVKBPoE6thZqbnTtnM
Closes #54. Ticks the second AC on #12. Verified now that #55 (engine
contracts) is merged: regenerated backend/openapi.json, confirmed the
x-polaris-codes key carries all findings/errors/notifications.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013YioTVKBPoE6thZqbnTtnM
bart merged commit 19c2410146 into main 2026-09-11 11:25:06 +00:00
Sign in to join this conversation.
No reviewers
No labels
ready-for-agent
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
patrick/Polaris!65
No description provided.