2026年5月第4週 週次実装サマリー¶
- 作成日: 2026-05-27
- 最終更新日: 2026-05-27
- 取得時刻: 2026-05-27T16:53:53+09:00
- 対象週: 2026年5月第4週
- 作成者: Codex (GPT-5)
- レビュー者: 未設定
- 承認者: 未設定
目的¶
対象期間の git commit を根拠に、実施した作業を週次サマリーとして残す。未コミット作業や Issue ベースの推測は含めない。
情報源¶
git --no-pager log --since='2026-05-20T17:00:37+09:00' --until='2026-05-27T16:53:53+09:00' --date=iso-strict --pretty=format:'%ad%x09%s'- 対象コミット数: 774件
対象期間¶
- 2026-05-20T17:00:37+09:00〜2026-05-27T16:53:53+09:00
今週やったこと¶
SMILE 連携・価格マスタの拡張¶
- 価格マスタ import / export の本格化: SMILE 価格マスタ entity、import processor、CSV export、価格優先順位、unitTypeCode、priceKind / unitType 内訳、非課税商品、軽減税率、売価掛率区分マスタ正規化を追加・改善した。
- 非同期化と再 import 保護: Price Master import を Job Queue 化し、商品再 import 時の variant 名・規格・metadata 保持、dev startup race 回避、rollbackability check 最適化を進めた。
- SMILE コード体系の整理: 配送時間帯の SMILE code mapping、税区分コード、salesDiscountRateClassCode / collectionMethod 連携、回収方法ベースの決済 eligibility 判定を整備した。
- custom field 整理: SMILE 由来の重複 name / delivery / inventory / consent / order line field を削除・移動し、編集不可・SMILE SSoT・自作 extension marker の label helper と docs を更新した。
価格・Commercial Rule Engine・可視性ポリシー¶
- 価格計算モデルの刷新: 3-tier pricing model、DTO entrypoint、evaluation input builder、discriminated union、
@ritsubi/domainへの helper 移管を進め、旧 calculatePrice wrapper / deprecated price fields / legacy simulation path を削除した。 - Storefront 価格表示の改善: 商品・カート・注文詳細の価格内訳表示、rich breakdown、内部 system name / code のマスク、SMILE 未登録商品の標準売価 fallback、価格テスト fixture を更新した。
- 可視性ルールの構造化: visibility rule model、typed rule、description field、policy seed / backfill、Admin Overview の実効表示・priority・paging / filtering を追加した。
- ポリシー UI の改善: Dashboard の policy editor、visibility rule form、commercial simulator を新しい価格・可視性モデルへ追従させ、list guard と静的チェックを追加した。
Storefront UX・認証・商品閲覧¶
- 商品閲覧と画像最適化: browse / search pagination、collection tree、商品カード / list / carousel、brand image frame、srcset、CMS image / CSS sanitization、safe HTML rendering、public collection cache を整備した。
- 購買 UI の改善: purchase unit 表示、低在庫購入不可メッセージ、cart / checkout / order detail の価格・決済・配送表示、代引き回収額表示、auto postcard 表示、default post-auth redirect の修正を行った。
- 認証・セキュリティの強化: production login flow、CSRF / rate limiting、auth worker、Origin validation、GraphQL envelope validation、error page / logger / Sentry capture を強化した。
- UI 品質と a11y: header / cart / banner の touch target、navigation progress bar、mobile checkout、footer / shell model、React component test・visual regression test を追加・更新した。
Vendure / Dashboard 機能¶
- Dashboard 管理機能の追加: collection hierarchy、customer management / create、tax category detail、SMILE sync history、priceKind / unitType 表示、SB Payment admin link、external redirect page を追加した。
- 配送・休業日 UI: province delivery profiles、shipping simulation、business schedule UI、delivery time slot mapping configuration を拡張し、シミュレーターは全配送方法比較へ整理した。
- レポート・請求書: invoice pre-generation、real API smoke、帳票テンプレートの professional layout、report template list 表示、template hint を整備した。
- 紙同意 postcard flow: postcard product variant selection、assignment logic、cart / checkout 表示、integration / dashboard tests を追加した。
決済・SBPS・予約注文¶
- SBPS 連携の安定化: request date JST 化、金額 yen 変換、result callback、TDS2INFO token handoff、Shift-JIS form middleware、XML API 403 handling、hash utility 抽出、payinfo signed token 必須化を行った。
- 決済 UX と検証: カード決済 redirect latency / progress overlay、payment-test の SKU / Variant ID 解決、checkout complete response 整合、SBPS amount / hash / refund test を追加した。
- 予約・分割チェックアウト: reservation split checkout guard、予約上限チェック、自動キャンセルスケジューラ、予約元注文リンク表示、関連 docs / tests を更新した。
メール・WordPress / CMS・メディア¶
- メールテンプレート運用: メール header / footer を DB SSoT に移行し、Dashboard 編集、template hint、受注キャンセル / 出荷メールの商品明細・追跡 URL・代引き回収額を追加した。
- WordPress / CMS 連携: WordPress resolver / GraphQL client の信頼性・セキュリティ、multiple content type cache、preview URL、media offload repair の dry-run / confirm / cooldown / audit、env からの media offload settings auto-sync を整備した。
- CMS 表示の安全化: CMS content processor、style sanitization、CSS sanitizer、detail layout 幅、legacy collection link / cursor 仕様の文書更新を行った。
インフラ・デプロイ・運用ガード¶
- Vendure deploy の強化: Fly kill_timeout、SIGINT drain、health 503、blue-green strategy、advisory lock、auth pre-flight、migration safety scan、Dashboard co-deploy、deploy-all / manual-deploy-production recipe を追加した。
- Nx Cloud / CI 方針の整理:
neverConnectToCloud、offline fallback、GitHub artifact cache fallback、disabled token handling、CI 最小フットプリント、local equivalent command、PR / staging smoke の安定化を進めた。 - ビルド・開発環境の高速化: BuildKit cache mount、registry cache、Sentry sourcemap build 最適化、post-deploy probe 並列化、process-compose local orchestration、dev watch / workspace package sync / Vite restart を改善した。
- バックアップ・復旧・運用 docs: PostgreSQL / WordPress VPS backup、manual deploy fan-in、production release checklist、DR 手順、セキュリティ証跡、UAT plan、monitoring operations を更新した。
Migration・schema・generated artifacts¶
- 13桁 migration timestamp 標準化: 14桁 legacy migration 名を runtime で補正し、pending visibility / consent migrations を 13-digit Unix ms に修正し、data guard / pre-commit hook / project docs を強化した。
- schema drift と baseline: required baseline seeding、runtime drift detection、schema missing reconcilable prefix、migration history analysis、initial data、tax category / product variant custom field の NULL 制約修正を進めた。
- GraphQL / SDK / codegen 同期: admin / storefront / contract schema、generated types、Shop SDK、codegen task、fragment strategy、PaginatedListDataTable contract を更新した。
テスト・品質・セキュリティ¶
- Storefront CT / E2E 拡充: account、cart、product card/list/carousel、home、search、consent、purchase restriction、favorites、pricing breakdown、CSP integrity、a11y axe coverage を追加・安定化した。
- Dashboard / plugins tests: list guard、visibility evaluator / resolver、SMILE parser / CSV assembler、price master priority、reservation guard、report template、customer creation、dashboard auth を検証した。
- セキュリティ対応: js-cookie / idna / brace-expansion / qs / ws を patched version へ更新し、Trivy scan 対象、CodeQL / Dependabot security config、WordPress customer picker 権限、X-Forwarded-For 不信任化を整備した。
- 型安全・lint 改善: silent catch、
as any、unknown type guard、dead code、unused files / deps、@ts-nocheck、eslint no-deprecated warning、knip / audit suppression を整理した。
リリース・同期・ドキュメント¶
- develop → main promote: #687、#688、#691、#695 follow-up、#740、#762、#770、#816 などの promotion と main / develop 同期を実施した。
- Changesets と release 管理: SMILE、pricing、visibility、deploy、invoice、dashboard list、PageBlock cleanup、migration guard など、出荷物に関わる changeset を追加・更新した。
- 仕様・運用文書の更新: pricing architecture、SMILE master data、delivery rules、visibility policy、custom field marker、development / infrastructure / frontend / dashboard guides、AGENTS ルールを更新した。
補足¶
- 次回 weekly の集計開始時刻は、この
取得時刻を基準にする。 対象週は 1〜7日=第1週、8〜14日=第2週、15〜21日=第3週、22〜28日=第4週、29日以降=第5週の固定ルールで判定した(2026-05-27 → 第4週)。- 記載内容はコミット件名ベースの要約であり、merge commit・docs・CI・tooling・generated artifacts・changeset 変更も週内作業として含めている。
- 774 件全件をテーマに回収済み。