Refs #439
Branch mode: `new`; base: `main`; head: `feature/439`
Implementation model: `gpt-6-luna` / reasoning: `low`
## Automated implementation (requires human review)
`POST /posts/:id/viewed` の登録を `UserPostView.create_or_find_by!` に変更しました。同じユーザーが同じ投稿を繰り返し閲覧済みにしても、複合キーの重複エラーになりません。
テスト、lint、ビルド等は実行していません。
## Verification
- Tests/builds/migrations were not authorized and were not invoked by the controller.
- Codex was instructed not to run them; inspect its command transcript.
- The repository owner alone reviews changes. No AI review is executed.
- Do not merge before human acceptance and required checks.
---------
Co-authored-by: みてるぞ <miteruzo@naver.com>
Co-authored-by: Codex Night Worker <codex-night@localhost>
Reviewed-on: #468
Co-authored-by: テツノニジカ <969+codex-bot@noreply.localhost>