Refs #272
Branch mode: `new`; base: `main`; head: `feature/272`
Implementation model: `gpt-6.1-sol` / reasoning: `medium`
## Automated implementation (requires human review)
タグ補完で前方一致を優先し、20件に満たない場合に後方一致を重複なく末尾へ追加しました。正式名・別名・外部タグが対象です。
`git diff --check` は通過しました。指定に従い、テスト・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: Codex Night Worker <codex-night@localhost>
Co-authored-by: miteruzo <miteruzo@naver.com>
Co-authored-by: みてるぞ <miteruzo@naver.com>
Reviewed-on: #458
Co-authored-by: テツノニジカ <969+codex-bot@noreply.localhost>
Refs #279
Branch mode: `continue`; base: `main`; head: `feature/279`
Implementation model: `gpt-6.1-sol` / reasoning: `medium`
## Automated implementation (requires human review)
`backend/spec/requests/tags_spec.rb` を修正しました。`_` 単独検索で共通データの `spec_tag` まで一致するため、このテスト内だけ名前を `background-tag` に変更しました。
本体コードの変更・テスト追加はありません。差分の空白検査は通過しました。テストは指示どおり自身では実行せず、コントローラーの検証に引き継ぎます。
過去の `event_id` 制約エラーは原因を特定できておらず、解消済みとは判断していません。
## Verification
**PASS**: bundle check, /usr/bin/python3 /opt/gitea-codex-v4/prepare_btrc_test.py, bundle exec rspec
- A passing test suite is not a substitute for human UI/security review.
- The repository owner alone reviews changes. No AI review is executed.
- Do not merge before human acceptance and required checks.
---------
Co-authored-by: Codex Night Worker <codex-night@localhost>
Co-authored-by: みてるぞ <miteruzo@naver.com>
Co-authored-by: miteruzo <miteruzo@naver.com>
Reviewed-on: #488
Co-authored-by: テツノニジカ <969+codex-bot@noreply.localhost>