[{"data":1,"prerenderedAt":2645},["ShallowReactive",2],{"/ja-jp/blog/fix-bugs-with-codex-and-gitlab":3,"navigation-ja-jp":1886,"banner-ja-jp":2316,"footer-ja-jp":2325,"blog-post-authors-ja-jp-Michael Friedrich":2567,"blog-related-posts-ja-jp-fix-bugs-with-codex-and-gitlab":2582,"blog-promotions-ja-jp":2583,"next-steps-ja-jp":2636},{"id":4,"title":5,"authors":6,"body":8,"category":1863,"date":1864,"description":1865,"extension":1866,"externalUrl":1867,"faq":1867,"featured":161,"heroImage":1868,"meta":1869,"navigation":161,"path":1870,"seo":1871,"slug":1876,"stem":1877,"tags":1878,"template":1883,"updatedDate":1884,"__hash__":1885},"blogPosts/ja-jp/blog/fix-bugs-with-codex-and-gitlab.md","CodexとGitLab：コード修正から本番リリースまで",[7],"Michael Friedrich",{"type":9,"value":10,"toc":1848},"minimark",[11,22,25,28,41,50,54,94,99,102,121,169,172,184,191,195,204,207,236,243,256,263,342,352,360,363,372,381,387,394,397,403,417,423,426,432,435,438,451,455,458,465,473,479,483,492,504,510,534,558,571,624,634,652,655,674,678,685,694,701,708,715,723,730,743,750,753,756,762,765,771,775,778,799,802,822,828,867,876,882,889,897,903,921,927,930,933,942,948,957,963,969,981,988,1003,1006,1012,1016,1020,1025,1162,1176,1775,1784,1787,1790,1793,1796,1799,1802,1805,1808,1844],[12,13,14,15,21],"p",{},"Codexはコーディングエージェントとして、ターミナルに集中しているときに真価を発揮します。リポジトリを指定してタスクを与えるだけで、すぐに動き出します。コードを読み込み、修正案を提示し、コマンドを実行して、フローを中断することなくアイデアをコードへと変換します。このような開発者体験こそが、エージェント型コーディングツールの魅力であり、先日公開した",[16,17,20],"a",{"href":18,"rel":19},"https://about.gitlab.com/ja-jp/blog/claude-code-and-gitlab/",[],"Claude Codeチュートリアル","が好評を得た理由でもあります。",[12,23,24],{},"しかし、コードを書くことはあくまで最初のステップです。その後にも、イシューの作成、マージリクエスト、CI/CDパイプライン、レビュー、そして最終的な人間の判断によるリリースが待っています。コードを書くこととソフトウェアをリリースすることは別物であり、コーディングエージェントが高速化するほど、その差は明確になっていきます。",[12,26,27],{},"そこでGitLabの出番です。このチュートリアルでは、CodexとGitLab Duo Agent Platformを組み合わせた次の3つのユースケースを順に紹介します。",[29,30,31,35,38],"ol",{},[32,33,34],"li",{},"Codexを使い始めてRustバックエンドのバグを修正する",[32,36,37],{},"GitLab MCPでコンテキストを補完し、イシューの要件に沿ってRustのバグを修正する",[32,39,40],{},"GitLab Duo Agent Platformの外部エージェントとしてCodexを活用し、マージリクエストのレビューフィードバックに対応する",[12,42,43,44,49],{},"3つのユースケースすべてに",[16,45,48],{"href":46,"rel":47},"https://gitlab.com/gitlab-da/use-cases/ai/gitlab-duo-agent-platform/demo-environments/tanuki-iot-platform",[],"Tanuki IoTプラットフォームプロジェクト","を使用します。RustのメトリクスバックエンドにはWebSocketメトリクスフィルターのバグとREST APIバリデーションのバグという、実践的な2つの問題が含まれています。さっそく始めましょう。",[51,52,53],"h2",{"id":53},"前提条件",[29,55,56,64,71,86],{},[32,57,58,59],{},"ターミナルで設定・起動済みの",[16,60,63],{"href":61,"rel":62},"https://developers.openai.com/codex",[],"Codex",[32,65,66,67,70],{},"バグレポートや機能提案のイシューが登録されたGitLabプロジェクト（例：",[16,68,48],{"href":46,"rel":69},[],"）",[32,72,73,74,79,80,85],{},"特定のユースケース向け：",[16,75,78],{"href":76,"rel":77},"https://docs.gitlab.com/ja-jp/user/gitlab_duo/model_context_protocol/mcp_server/",[],"GitLab MCPサーバー","と、",[16,81,84],{"href":82,"rel":83},"https://docs.gitlab.com/ja-jp/user/duo_agent_platform/agents/external/",[],"外部エージェント","を有効化したGitLab Duo Agent Platform",[32,87,88,89,70],{},"コードのビルド用：CargoおよびRustコンパイラ（例：",[16,90,93],{"href":91,"rel":92},"https://rustup.rs/",[],"rustup",[95,96,98],"h3",{"id":97},"gitlabプロジェクトの準備","GitLabプロジェクトの準備",[12,100,101],{},"自分の環境でワークフローを再現する場合は、まずプロジェクトをインポートしてクローンし、リポジトリルートでCodexを起動します。",[29,103,104,110,113],{},[32,105,106,109],{},[16,107,48],{"href":46,"rel":108},[],"をGitLab環境にインポートし、すべてのオープンイシューも含めて取り込みます。",[32,111,112],{},"プロジェクトをローカル環境にクローンし、ディレクトリに移動します。",[32,114,115,116,120],{},"ターミナルを開き、",[117,118,119],"code",{},"codex","でCodexを起動します。",[122,123,128],"pre",{"className":124,"code":125,"language":126,"meta":127,"style":127},"language-bash shiki shiki-themes github-light","git clone https://gitlab.example.com/examplegroup/tanuki-iot-platform.git\ncd tanuki-iot-platform\n\ncodex\n","bash","",[117,129,130,146,156,163],{"__ignoreMap":127},[131,132,135,139,143],"span",{"class":133,"line":134},"line",1,[131,136,138],{"class":137},"s7eDp","git",[131,140,142],{"class":141},"sYBdl"," clone",[131,144,145],{"class":141}," https://gitlab.example.com/examplegroup/tanuki-iot-platform.git\n",[131,147,149,153],{"class":133,"line":148},2,[131,150,152],{"class":151},"sYu0t","cd",[131,154,155],{"class":141}," tanuki-iot-platform\n",[131,157,159],{"class":133,"line":158},3,[131,160,162],{"emptyLinePlaceholder":161},true,"\n",[131,164,166],{"class":133,"line":165},4,[131,167,168],{"class":137},"codex\n",[12,170,171],{},"プロンプトでプロジェクトの概要を確認します。",[122,173,177],{"className":174,"code":175,"language":176,"meta":127,"style":127},"language-markdown shiki shiki-themes github-light","What is this project about?\n","markdown",[117,178,179],{"__ignoreMap":127},[131,180,181],{"class":133,"line":134},[131,182,175],{"class":183},"sgsFI",[12,185,186,187,190],{},"このチュートリアルで扱うのは、",[117,188,189],{},"backend/","ディレクトリにあるRustのメトリクスストアです。センサーがREST APIを通じて計測値を送信し、ダッシュボードがWebSocketストリームでリアルタイムデータを受信する仕組みです。問題点と修正内容がわかりやすい構成になっています。",[51,192,194],{"id":193},"codexとgitlabを使い始めてrustバックエンドのバグを修正する","CodexとGitLabを使い始めてRustバックエンドのバグを修正する",[12,196,197,198,203],{},"このシナリオでは、ライブWebSocketストリームに",[16,199,202],{"href":200,"rel":201},"https://gitlab.com/gitlab-da/use-cases/ai/gitlab-duo-agent-platform/demo-environments/tanuki-iot-platform/-/work_items/32",[],"バグ","が存在します。バックエンドはREST API側ではすでにメトリクスフィルタリングをサポートしていますが、WebSocketストリームではメトリクスによる絞り込みが正しく機能していません。試しに1つのセンサーと1つのメトリクスをサブスクライブしても、他のメトリクスのデータまで返ってきます。ターミナルで問題を確認してみましょう。",[12,205,206],{},"ターミナル1でバックエンドを起動し、ポート9090でリッスンします。",[122,208,210],{"className":124,"code":209,"language":126,"meta":127,"style":127},"PORT=9090 cargo run --manifest-path backend/rust-metrics-store/Cargo.toml\n",[117,211,212],{"__ignoreMap":127},[131,213,214,217,221,224,227,230,233],{"class":133,"line":134},[131,215,216],{"class":183},"PORT",[131,218,220],{"class":219},"sD7c4","=",[131,222,223],{"class":141},"9090",[131,225,226],{"class":137}," cargo",[131,228,229],{"class":141}," run",[131,231,232],{"class":151}," --manifest-path",[131,234,235],{"class":141}," backend/rust-metrics-store/Cargo.toml\n",[12,237,238,239,242],{},"ターミナル2でWebSocketクライアントを開きます。macOSの場合、websocat はHomebrewで入手できます：",[117,240,241],{},"brew install websocat","。",[122,244,246],{"className":124,"code":245,"language":126,"meta":127,"style":127},"websocat 'ws://localhost:9090/ws?sensor=arduino-iot-collector&metric=temperature_celsius'\n",[117,247,248],{"__ignoreMap":127},[131,249,250,253],{"class":133,"line":134},[131,251,252],{"class":137},"websocat",[131,254,255],{"class":141}," 'ws://localhost:9090/ws?sensor=arduino-iot-collector&metric=temperature_celsius'\n",[12,257,258,259,262],{},"次に、",[117,260,261],{},"arduino-iot-collector","センサーに対して2種類のメトリクスを送信します。",[122,264,266],{"className":124,"code":265,"language":126,"meta":127,"style":127},"curl -s -X POST http://localhost:9090/api/metrics \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"sensor\":\"arduino-iot-collector\",\"metric\":\"temperature_celsius\",\"value\":23.5}'\n\ncurl -s -X POST http://localhost:9090/api/metrics \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"sensor\":\"arduino-iot-collector\",\"metric\":\"humidity_percent\",\"value\":61.2}'\n",[117,267,268,288,298,306,310,325,334],{"__ignoreMap":127},[131,269,270,273,276,279,282,285],{"class":133,"line":134},[131,271,272],{"class":137},"curl",[131,274,275],{"class":151}," -s",[131,277,278],{"class":151}," -X",[131,280,281],{"class":141}," POST",[131,283,284],{"class":141}," http://localhost:9090/api/metrics",[131,286,287],{"class":151}," \\\n",[131,289,290,293,296],{"class":133,"line":148},[131,291,292],{"class":151},"  -H",[131,294,295],{"class":141}," 'Content-Type: application/json'",[131,297,287],{"class":151},[131,299,300,303],{"class":133,"line":158},[131,301,302],{"class":151},"  -d",[131,304,305],{"class":141}," '{\"sensor\":\"arduino-iot-collector\",\"metric\":\"temperature_celsius\",\"value\":23.5}'\n",[131,307,308],{"class":133,"line":165},[131,309,162],{"emptyLinePlaceholder":161},[131,311,313,315,317,319,321,323],{"class":133,"line":312},5,[131,314,272],{"class":137},[131,316,275],{"class":151},[131,318,278],{"class":151},[131,320,281],{"class":141},[131,322,284],{"class":141},[131,324,287],{"class":151},[131,326,328,330,332],{"class":133,"line":327},6,[131,329,292],{"class":151},[131,331,295],{"class":141},[131,333,287],{"class":151},[131,335,337,339],{"class":133,"line":336},7,[131,338,302],{"class":151},[131,340,341],{"class":141}," '{\"sensor\":\"arduino-iot-collector\",\"metric\":\"humidity_percent\",\"value\":61.2}'\n",[12,343,344,347,348,351],{},[117,345,346],{},"temperature_celsius","だけが表示されるはずですが、ストリームには",[117,349,350],{},"humidity_percent","も表示されます。バグが確認できました。",[12,353,354],{},[355,356],"img",{"alt":357,"src":358,"title":359},"3つのターミナルセッション：メトリクスバックエンドの実行、websocatによるWebSocketストリームの読み取り、curlによるテストメトリクスの送信。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1779101134/codexgitlabimage1.png","3つのターミナルセッション：メトリクスバックエンドの実行、`websocat`によるWebSocketストリームの読み取り、curlによるテストメトリクスの送信。",[12,361,362],{},"この問題をCodexに渡します。",[122,364,366],{"className":174,"code":365,"language":176,"meta":127,"style":127},"I need help with a backend change to add metric filtering to /ws so live streams can be narrowed to one metric.\n",[117,367,368],{"__ignoreMap":127},[131,369,370],{"class":133,"line":134},[131,371,365],{"class":183},[12,373,374,375,380],{},"GitLabプロジェクト内の",[16,376,379],{"href":377,"rel":378},"https://gitlab.com/gitlab-da/use-cases/ai/gitlab-duo-agent-platform/demo-environments/tanuki-iot-platform/-/blob/main/backend/rust-metrics-store/AGENTS.md?ref_type=heads#build-commands",[],"AGENTS.md","ファイルのおかげで、CodexはRustバックエンドの構成、実行すべきコマンド、コード品質の基準を把握しています。",[12,382,383],{},[355,384],{"alt":385,"src":386,"title":385},"Rustツールチェーンのセットアップとエージェントのビルドコマンドが記載されたAGENTS.md。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1779101171/codexgitlabimage2.png",[12,388,389,390,393],{},"CodexはRustのソースコードを調べ、不足している部分を特定します。",[117,391,392],{},"/ws","エンドポイントはすでにsensorクエリパラメーターを受け付けていますが、オプションのmetricパラメーターも必要です。Codexはハンドラーロジックの更新、テストの追加、ドキュメントとコードの同期を行います。",[12,395,396],{},"コード変更後、Codexはフォーマット、テスト、ビルドを実行します。その後、Gitに触れる前に最終確認を行い、ブランチの作成、コミット、プッシュまで対応します。",[12,398,399],{},[355,400],{"alt":401,"src":402,"title":401},"バグを修正するCodex。差分の編集内容を表示。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1779101152/codexgitlabimage3.png",[12,404,405,410,411,416],{},[16,406,409],{"href":407,"rel":408},"https://gitlab.com/gitlab-da/use-cases/ai/gitlab-duo-agent-platform/demo-environments/tanuki-iot-platform/-/merge_requests/88",[],"マージリクエスト","が作成されると、GitLabがソフトウェアライフサイクルの次のステージを担います。CI/CDパイプラインが起動し、セキュリティスキャンが実行され、GitLab Duo Code Reviewが",[16,412,415],{"href":413,"rel":414},"https://gitlab.com/gitlab-da/use-cases/ai/gitlab-duo-agent-platform/demo-environments/tanuki-iot-platform/-/blob/main/.gitlab/duo/mr-review-instructions.yaml?ref_type=heads#L202",[],"Rustコードスタイル要件","に照らして変更内容を検証します。",[12,418,419],{},[355,420],{"alt":421,"src":422,"title":421},"RustコードのためのGitLab Duo Code Reviewの設定。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1779101180/codexgitlabimage4.png",[12,424,425],{},"デプロイ後にローカルテストを再実行すると、センサーとメトリクスの両方を指定した場合、WebSocketストリームが要求されたメトリクスのみを返すようになったことを確認できます。結果はマージリクエストにコメントとして投稿します。",[12,427,428],{},[355,429],{"alt":430,"src":431,"title":430},"GitLab Duo Code Reviewのフィードバックと、開発者がローカルテスト結果を共有しているMRコメント。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1779101160/codexgitlabimage5.png",[12,433,434],{},"この最初のユースケースが基本形です。Codexがコードのそばにいてパッチをマージリクエストのライフサイクルに渡すと、GitLabがそこから作業を引き継ぎます。",[12,436,437],{},"Codex、GitLab CI/CD、GitLab Duo Agent Platformの動作を収録したデモ動画をご覧ください。",[439,440,443,444],"figure",{"className":441},[442],"video_container","\n  ",[445,446,450],"iframe",{"src":447,"frameBorder":448,"allowFullScreen":449},"https://www.youtube.com/embed/IQxrwvzLai4","0","true"," ",[51,452,454],{"id":453},"gitlab-mcpと開発ライフサイクルのコンテキストを使ってwebsocketメトリクスフィルターを修正する","GitLab MCPと開発ライフサイクルのコンテキストを使ってWebSocketメトリクスフィルターを修正する",[12,456,457],{},"最初のユースケースでは、Codexはプロジェクトリポジトリを参照できていましたが、GitLabのイシュー、合意された要件、実装メモ、マージリクエストやパイプラインの状態といったコンテキストは見えていませんでした。そのコンテキストはGitLabの中にあり、ローカルファイルには存在しません。",[12,459,460,461,464],{},"そこで登場するのが",[16,462,78],{"href":76,"rel":463},[],"です。",[12,466,467,468,472],{},"このユースケースでは、",[16,469,471],{"href":200,"rel":470},[],"イシュー","がすでに詳細に記述された状態で存在しています。問題の説明、機能要件・非機能要件、テスト、README.mdおよびAGENTS.mdの更新が明示されています。Codexはそれらをプロンプトに貼り付ける必要なく、イシューを直接取得して開発者が参照するのと同じ情報源から作業を進めることができます。",[12,474,475],{},[355,476],{"alt":477,"src":478,"title":477},"提案、機能要件、動作、非機能要件、実装メモを含むGitLabのイシュー。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1779101184/codexgitlabimage6.png",[95,480,482],{"id":481},"gitlab-mcpサーバーの設定","GitLab MCPサーバーの設定",[12,484,485,486,491],{},"次に、GitLab MCPサーバーをCodexに追加します。インスタンスまたは最上位グループで",[16,487,490],{"href":488,"rel":489},"https://docs.gitlab.com/ja-jp/user/gitlab_duo/model_context_protocol/mcp_server/#prerequisites",[],"有効化","されていることを確認してください。",[12,493,494,495,498,499,503],{},"新しいターミナルを開き、",[117,496,497],{},"http","トランスポートタイプを使って",[16,500,78],{"href":501,"rel":502},"https://docs.gitlab.com/ja-jp/user/gitlab_duo/model_context_protocol/mcp_server/#connect-openai-codex-to-the-gitlab-mcp-server",[],"をCodexに追加します。",[12,505,506,509],{},[117,507,508],{},"gitlab.example.com","を使用するGitLabインスタンスのアドレスに変更します。",[122,511,513],{"className":124,"code":512,"language":126,"meta":127,"style":127},"codex mcp add --url \"https://\u003Cgitlab.example.com>/api/v4/mcp\" GitLab\n",[117,514,515],{"__ignoreMap":127},[131,516,517,519,522,525,528,531],{"class":133,"line":134},[131,518,119],{"class":137},[131,520,521],{"class":141}," mcp",[131,523,524],{"class":141}," add",[131,526,527],{"class":151}," --url",[131,529,530],{"class":141}," \"https://\u003Cgitlab.example.com>/api/v4/mcp\"",[131,532,533],{"class":141}," GitLab\n",[12,535,536,537,540,541,544,545,548,549,552,553,557],{},"CodexのMCPクライアントでは、Rustの",[117,538,539],{},"rmcp_client","にフィーチャーフラグが必要な場合があります。",[117,542,543],{},"~/.codex/config.toml","を開いて",[117,546,547],{},"[features]","セクションを追加します。",[117,550,551],{},"mcp_servers.","セクションで",[16,554,78],{"href":555,"rel":556},"https://about.gitlab.com/ja-jp/blog/what-is-mcp-server/",[],"が追加されていることも確認できます。",[122,559,561],{"className":124,"code":560,"language":126,"meta":127,"style":127},"vim ~/.codex/config.toml\n",[117,562,563],{"__ignoreMap":127},[131,564,565,568],{"class":133,"line":134},[131,566,567],{"class":137},"vim",[131,569,570],{"class":141}," ~/.codex/config.toml\n",[122,572,576],{"className":573,"code":574,"language":575,"meta":127,"style":127},"language-toml shiki shiki-themes github-light","[features]\n\"rmcp_client\" = true\n\n[mcp_servers.GitLab]\nurl = \"https://\u003Cgitlab.example.com>/api/v4/mcp\"\n","toml",[117,577,578,589,597,601,616],{"__ignoreMap":127},[131,579,580,583,586],{"class":133,"line":134},[131,581,582],{"class":183},"[",[131,584,585],{"class":137},"features",[131,587,588],{"class":183},"]\n",[131,590,591,594],{"class":133,"line":148},[131,592,593],{"class":183},"\"rmcp_client\" = ",[131,595,596],{"class":151},"true\n",[131,598,599],{"class":133,"line":158},[131,600,162],{"emptyLinePlaceholder":161},[131,602,603,605,608,611,614],{"class":133,"line":165},[131,604,582],{"class":183},[131,606,607],{"class":137},"mcp_servers",[131,609,610],{"class":183},".",[131,612,613],{"class":137},"GitLab",[131,615,588],{"class":183},[131,617,618,621],{"class":133,"line":312},[131,619,620],{"class":183},"url = ",[131,622,623],{"class":141},"\"https://\u003Cgitlab.example.com>/api/v4/mcp\"\n",[12,625,626,627,629,630,633],{},"新しいターミナルで",[117,628,119],{},"を実行し、",[117,631,632],{},"/mcp","と入力してGitLab MCPサーバーの認証を行います（追加時に自動的に行われなかった場合）。",[122,635,637],{"className":124,"code":636,"language":126,"meta":127,"style":127},"codex\n\n/mcp\n",[117,638,639,643,647],{"__ignoreMap":127},[131,640,641],{"class":133,"line":134},[131,642,168],{"class":137},[131,644,645],{"class":133,"line":148},[131,646,162],{"emptyLinePlaceholder":161},[131,648,649],{"class":133,"line":158},[131,650,651],{"class":137},"/mcp\n",[12,653,654],{},"接続を確認するには、Codexに次のように尋ねます。",[122,656,658],{"className":174,"code":657,"language":176,"meta":127,"style":127},"Which GitLab MCP tools are available to you?\n\nShow the GitLab MCP Server version.\n",[117,659,660,665,669],{"__ignoreMap":127},[131,661,662],{"class":133,"line":134},[131,663,664],{"class":183},"Which GitLab MCP tools are available to you?\n",[131,666,667],{"class":133,"line":148},[131,668,162],{"emptyLinePlaceholder":161},[131,670,671],{"class":133,"line":158},[131,672,673],{"class":183},"Show the GitLab MCP Server version.\n",[95,675,677],{"id":676},"codexにwebsocketフィルターのイシュー実装を依頼する","CodexにWebSocketフィルターのイシュー実装を依頼する",[12,679,680,681,684],{},"Codexを開き、",[16,682,471],{"href":200,"rel":683},[],"への対応を依頼します。",[122,686,688],{"className":174,"code":687,"language":176,"meta":127,"style":127},"Can you help me implement issue 32?\n",[117,689,690],{"__ignoreMap":127},[131,691,692],{"class":133,"line":134},[131,693,687],{"class":183},[12,695,696,697,700],{},"ここでワークフローが変わります。このシナリオでは、CodexはMCPの",[117,698,699],{},"get_issue","ツールを呼び出し、コードを変更する前にイシューの詳細をセッションに取り込みます。要件、ラベル、ノート、作業の全体的なスコープを把握した上で実装に取り組みます。",[12,702,703],{},[355,704],{"alt":705,"src":706,"title":707},"GitLab MCPサーバーツールのget_issueを呼び出し、ターミナルにイシューの詳細を表示するCodex。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1779101166/codexgitlabimage7.png","GitLab MCPサーバーツールの`get_issue`を呼び出し、ターミナルにイシューの詳細を表示するCodex。",[12,709,710,711,714],{},"修正の内容は同じです。オプションの",[117,712,713],{},"metric","パラメーターの追加、マッチングロジックの更新、テストとドキュメントの更新。ただし、情報源が異なります。最初のユースケースではリポジトリとプロンプトが情報源でしたが、このユースケースではイシューとリポジトリが一緒に機能します。",[12,716,717,718,722],{},"ローカル検証後、CodexはMCPツール呼び出しを通じてブランチを作成し、作業をコミットし、",[16,719,409],{"href":720,"rel":721},"https://gitlab.com/gitlab-da/use-cases/ai/gitlab-duo-agent-platform/demo-environments/tanuki-iot-platform/-/merge_requests/89",[],"を作成します。Gitプッシュオプションやブラウザの操作は不要です。",[12,724,725],{},[355,726],{"alt":727,"src":728,"title":729},"GitLab MCPサーバーツールのcreate_merge_requestを使用してマージリクエストを作成するCodex。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1779101144/codexgitlabimage8.png","GitLab MCPサーバーツールの`create_merge_request`を使用してマージリクエストを作成するCodex。",[12,731,732,733,736,737,742],{},"イシューのコンテキストを把握しているため、Codexはマージリクエストの説明に",[117,734,735],{},"closes 32","も追加します。これにより、",[16,738,741],{"href":739,"rel":740},"https://docs.gitlab.com/ja-jp/user/project/issues/managing_issues/#closing-issues-automatically",[],"マージ時にイシューが自動的にクローズ","されます。",[12,744,745],{},[355,746],{"alt":747,"src":748,"title":749},"マージ後にクローズされることを示すCloses #32をDescriptionに追加したCodex。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1779101188/codexgitlabimage9.png","マージ後にクローズされることを示す`Closes #32`をDescriptionに追加したCodex。",[12,751,752],{},"このワークフローの意義は想像以上に大きなものです。エージェントは単にコードを書くだけでなく、イシュー、マージリクエスト、パイプラインのコンテキストを踏まえてソフトウェアデリバリーに参加しています。これがGitLab MCPがエンドツーエンドの開発ワークフローにもたらす価値です。",[12,754,755],{},"GitLab Duo Code ReviewとテストがGOサインを出した段階で、最終レビューとマージの準備が整います。",[12,757,758],{},[355,759],{"alt":760,"src":761,"title":760},"GitLab Duo Code Reviewとローカルテストのスクリーンショットを含むマージリクエストのコメント。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1779101130/codexgitlabimage10.png",[12,763,764],{},"GitLab MCPサーバーを活用してCodexが問題を解決する様子を動画でご確認ください。",[439,766,443,768],{"className":767},[442],[445,769,450],{"src":770,"frameBorder":448,"allowFullScreen":449},"https://www.youtube.com/embed/okx4cw2p-3I",[51,772,774],{"id":773},"外部エージェントとしてのcodexでレビューフィードバックと要件を検証する","外部エージェントとしてのCodexでレビューフィードバックと要件を検証する",[12,776,777],{},"3つ目のユースケースはさらに興味深い内容です。Codexがマージリクエストをオープンできるかどうかではなく、より実践的な問いに答えます。マージリクエスト作成後に、マージリクエスト内のレビューフィードバックへの対応を支援できるのでしょうか？",[12,779,780,781,786,787,790,791,794,795,798],{},"このユースケースでは、別の",[16,782,785],{"href":783,"rel":784},"https://gitlab.com/gitlab-da/use-cases/ai/gitlab-duo-agent-platform/demo-environments/tanuki-iot-platform/-/work_items/33",[],"REST APIバリデーションのバグ","に切り替えます。このバグが示す問題は次のとおりです。",[117,788,789],{},"POST /api/metrics","が無効な入力を受け付けても",[117,792,793],{},"201 Created","を返してしまいます。空のメトリクスなど無効なペイロードの場合は",[117,796,797],{},"400 Bad Request","を返すべきです。",[12,800,801],{},"2つのターミナルで動作を確認します。ターミナル1でポート9090のメトリクスストアサーバーを起動します。",[122,803,804],{"className":124,"code":209,"language":126,"meta":127,"style":127},[117,805,806],{"__ignoreMap":127},[131,807,808,810,812,814,816,818,820],{"class":133,"line":134},[131,809,216],{"class":183},[131,811,220],{"class":219},[131,813,223],{"class":141},[131,815,226],{"class":137},[131,817,229],{"class":141},[131,819,232],{"class":151},[131,821,235],{"class":141},[12,823,824,825,827],{},"ターミナル2で、空のメトリクス値を含む特定のREST APIリクエストを",[117,826,272],{},"で送信してエラーを発生させます。",[122,829,831],{"className":124,"code":830,"language":126,"meta":127,"style":127},"curl -w \"\\nHTTP %{http_code}\\n\" -X POST http://localhost:9090/api/metrics \\\n  -H \"Content-Type: application/json\" \\\n  -d '{\"sensor\": \"sensor-a\", \"metric\": \"  \", \"value\": 23.5, \"labels\": {}}'\n",[117,832,833,851,860],{"__ignoreMap":127},[131,834,835,837,840,843,845,847,849],{"class":133,"line":134},[131,836,272],{"class":137},[131,838,839],{"class":151}," -w",[131,841,842],{"class":141}," \"\\nHTTP %{http_code}\\n\"",[131,844,278],{"class":151},[131,846,281],{"class":141},[131,848,284],{"class":141},[131,850,287],{"class":151},[131,852,853,855,858],{"class":133,"line":148},[131,854,292],{"class":151},[131,856,857],{"class":141}," \"Content-Type: application/json\"",[131,859,287],{"class":151},[131,861,862,864],{"class":133,"line":158},[131,863,302],{"class":151},[131,865,866],{"class":141}," '{\"sensor\": \"sensor-a\", \"metric\": \"  \", \"value\": 23.5, \"labels\": {}}'\n",[12,868,869,870,875],{},"Codexはすでに主要な修正を加えた最初の",[16,871,874],{"href":872,"rel":873},"https://gitlab.com/gitlab-da/use-cases/ai/gitlab-duo-agent-platform/demo-environments/tanuki-iot-platform/-/merge_requests/92",[],"ドラフトマージリクエスト","を作成しています。ローカルで再テストすると、コアの動作が改善され、無効な入力に対して400が返るようになっています。",[12,877,878],{},[355,879],{"alt":880,"src":881,"title":880},"バグがある状態と修正後の2つのcurl呼び出しの比較。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1779101190/codexgitlabimage11.png",[12,883,884,885,888],{},"しかし、まだ完了ではありません。GitLab Duo Code Reviewが",[16,886,415],{"href":413,"rel":887},[],"に基づいて2つの不足点を指摘します。",[29,890,891,894],{},[32,892,893],{},"公開アイテムにドキュメントコメントが必要。",[32,895,896],{},"API変更にはサクセスパスとフェイルパスのハンドラーテストが必要だが、バリデーションテストが1つ欠けている。",[12,898,899],{},[355,900],{"alt":901,"src":902,"title":901},"RustコードへのGitLab Duo Code Reviewのフィードバック。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1779101149/Blog/Imported/sandy-s-test/image12.png",[12,904,905,906,910,911,916,917,920],{},"ここでローカルターミナルからGitLab UIに移ります。",[907,908,909],"strong",{},"AI > Agents","メニューの",[16,912,915],{"href":913,"rel":914},"https://docs.gitlab.com/ja-jp/user/duo_agent_platform/ai_catalog/",[],"GitLab AIカタログ","からCodexエージェントを有効化します。",[117,918,919],{},"@ai-codex-agent","で始まるサービスアカウントハンドルを確認し、マージリクエストのディスカッションでエージェントを直接メンションしてレビューフィードバックへの対応を依頼します。",[12,922,923],{},[355,924],{"alt":925,"src":926,"title":925},"プロジェクトで有効化されたCodex Agent by GitLab。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1779101175/codexgitlabimage13.png",[12,928,929],{},"マージリクエストがCodexエージェントの作業領域となります。コードの差分、レビューコメント、CI/CDパイプライン、セキュリティスキャン結果、承認ルールすべてが揃っています。Codexはコラボレーションがすでに行われている場所で、フォローアップ作業を進めることができます。",[12,931,932],{},"修正をマージリクエストに直接プッシュするよう指示しながら、新しいコメントで支援を依頼します。",[122,934,936],{"className":174,"code":935,"language":176,"meta":127,"style":127},"Please help address the review feedback, and push a fix.\n",[117,937,938],{"__ignoreMap":127},[131,939,940],{"class":133,"line":134},[131,941,935],{"class":183},[12,943,944],{},[355,945],{"alt":946,"src":947,"title":946},"マージリクエストのフィードバックコメントでCodexエージェントをメンション。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1779101156/codexgitlabimage14.png",[12,949,950,951,956],{},"Codexはフィードバックに対応し、欠けていたバリデーションテストを追加してコミットし、",[16,952,955],{"href":953,"rel":954},"https://docs.gitlab.com/ja-jp/user/duo_agent_platform/sessions/",[],"Agent Session","内で独自の実行コンテキストでチェックを再実行し、マージリクエストにサマリーコメントを投稿します。",[12,958,959],{},[355,960],{"alt":961,"src":962,"title":961},"新しいGitコミットによってCI/CDパイプラインが自動的にトリガーされた様子。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1779101192/codexgitlabimage15.png",[12,964,965],{},[355,966],{"alt":967,"src":968,"title":967},"Codex Agent by GitLabが新しいCI/CDパイプラインをトリガーした様子。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1779101140/codexgitlabimage16.png",[12,970,971,976,977,980],{},[16,972,975],{"href":973,"rel":974},"https://gitlab.com/gitlab-da/use-cases/ai/gitlab-duo-agent-platform/demo-environments/tanuki-iot-platform/-/jobs/14375432932",[],"ジョブログ","で新しく追加された",[117,978,979],{},"ingest_rejects_blank_metric","テスト関数も確認できます。",[12,982,983],{},[355,984],{"alt":985,"src":986,"title":987},"ingest_rejects_blank_metricを検索したCI/CDジョブログ。","https://res.cloudinary.com/about-gitlab-com/image/upload/v1779101126/codexgitlabmage17.png","`ingest_rejects_blank_metric`を検索したCI/CDジョブログ。",[12,989,990,991,996,997,1002],{},"外部エージェントモデルが実際に役立つのはこの点です。外部エージェントはレビューの代替として面白いのではなく、マージリクエスト、承認、最終的な人間の判断を適切な場所に保ちながら、レビューフィードバックと次のリビジョンの間のギャップを縮めるために有用です。また、",[16,992,995],{"href":993,"rel":994},"https://docs.gitlab.com/ja-jp/user/duo_agent_platform/triggers/",[],"イベントトリガー","や",[16,998,1001],{"href":999,"rel":1000},"https://docs.gitlab.com/ja-jp/user/duo_agent_platform/flows/custom/",[],"カスタムフロー","を通じて、GitLab Duo Agent Platformにさらに深く統合することも可能です。",[12,1004,1005],{},"GitLab Duo Agent PlatformでCodexが外部エージェントとしてレビューを支援する様子を動画でご確認ください。",[439,1007,443,1009],{"className":1008},[442],[445,1010,450],{"src":1011,"frameBorder":448,"allowFullScreen":449},"https://www.youtube.com/embed/BapLAKxeomI",[51,1013,1015],{"id":1014},"codexとgitlabを活用するためのヒント","CodexとGitLabを活用するためのヒント",[95,1017,1019],{"id":1018},"agentsmdによるカスタムインストラクション","AGENTS.mdによるカスタムインストラクション",[12,1021,1022,1024],{},[117,1023,379],{},"のエントリーを使うことで、コミット前にコードのビルドとテストを行う、変更を最小限に保つ、プロジェクトアーキテクチャをより深く理解するといった指示をエージェントに与えることができます。Tanuki IoTプラットフォームはルートレベルのファイルに加え、センサーとバックエンド向けのサブディレクトリごとのファイルと指示を使用しています。",[122,1026,1028],{"className":124,"code":1027,"language":126,"meta":127,"style":127},"tree -P AGENTS.md --prune\n.\n├── AGENTS.md\n├── backend\n│   └── rust-metrics-store\n│       └── AGENTS.md\n└── sensors\n    ├── arduino-iot-collector\n    │   └── AGENTS.md\n    ├── c-file-monitor\n    │   └── AGENTS.md\n    ├── cobol-mainframe-bridge\n    │   └── AGENTS.md\n    └── java-http-metrics-collector\n        └── AGENTS.md\n",[117,1029,1030,1044,1049,1057,1064,1075,1084,1092,1101,1111,1119,1128,1136,1145,1154],{"__ignoreMap":127},[131,1031,1032,1035,1038,1041],{"class":133,"line":134},[131,1033,1034],{"class":137},"tree",[131,1036,1037],{"class":151}," -P",[131,1039,1040],{"class":141}," AGENTS.md",[131,1042,1043],{"class":151}," --prune\n",[131,1045,1046],{"class":133,"line":148},[131,1047,1048],{"class":151},".\n",[131,1050,1051,1054],{"class":133,"line":158},[131,1052,1053],{"class":137},"├──",[131,1055,1056],{"class":141}," AGENTS.md\n",[131,1058,1059,1061],{"class":133,"line":165},[131,1060,1053],{"class":137},[131,1062,1063],{"class":141}," backend\n",[131,1065,1066,1069,1072],{"class":133,"line":312},[131,1067,1068],{"class":137},"│",[131,1070,1071],{"class":141},"   └──",[131,1073,1074],{"class":141}," rust-metrics-store\n",[131,1076,1077,1079,1082],{"class":133,"line":327},[131,1078,1068],{"class":137},[131,1080,1081],{"class":141},"       └──",[131,1083,1056],{"class":141},[131,1085,1086,1089],{"class":133,"line":336},[131,1087,1088],{"class":137},"└──",[131,1090,1091],{"class":141}," sensors\n",[131,1093,1095,1098],{"class":133,"line":1094},8,[131,1096,1097],{"class":137},"    ├──",[131,1099,1100],{"class":141}," arduino-iot-collector\n",[131,1102,1104,1107,1109],{"class":133,"line":1103},9,[131,1105,1106],{"class":137},"    │",[131,1108,1071],{"class":141},[131,1110,1056],{"class":141},[131,1112,1114,1116],{"class":133,"line":1113},10,[131,1115,1097],{"class":137},[131,1117,1118],{"class":141}," c-file-monitor\n",[131,1120,1122,1124,1126],{"class":133,"line":1121},11,[131,1123,1106],{"class":137},[131,1125,1071],{"class":141},[131,1127,1056],{"class":141},[131,1129,1131,1133],{"class":133,"line":1130},12,[131,1132,1097],{"class":137},[131,1134,1135],{"class":141}," cobol-mainframe-bridge\n",[131,1137,1139,1141,1143],{"class":133,"line":1138},13,[131,1140,1106],{"class":137},[131,1142,1071],{"class":141},[131,1144,1056],{"class":141},[131,1146,1148,1151],{"class":133,"line":1147},14,[131,1149,1150],{"class":137},"    └──",[131,1152,1153],{"class":141}," java-http-metrics-collector\n",[131,1155,1157,1160],{"class":133,"line":1156},15,[131,1158,1159],{"class":137},"        └──",[131,1161,1056],{"class":141},[12,1163,1164,1165,1172,1173,1175],{},"Rustバックエンド向けには、",[16,1166,1169],{"href":1167,"rel":1168},"https://gitlab.com/gitlab-da/use-cases/ai/gitlab-duo-agent-platform/demo-environments/tanuki-iot-platform/-/blob/main/backend/rust-metrics-store/AGENTS.md?ref_type=heads",[],[117,1170,1171],{},"backend/rust-metric-store/AGENTS.md","にディレクトリレベルの",[117,1174,379],{},"が用意されています。Rustのコードスタイルと標準、ドキュメント、ファイル構成、エラーハンドリング、非同期プログラミング、コンテナ化とCI/CD、利用可能なツールチェーン（Cargo）でのビルドと実行方法が定義されています。詳細はGitLabプロジェクトのリンク先ファイルを参照してください。",[122,1177,1179],{"className":174,"code":1178,"language":176,"meta":127,"style":127},"# rust-metrics-store - Agent Instructions\n\n## Overview\n\nThe `rust-metrics-store` is a lightweight, standalone time-series metrics backend for the Tanuki IoT Platform. It accepts metrics from all sensors via a simple REST API and streams live data to frontend clients over WebSocket. No external dependencies — a single binary with in-memory ring buffers.\n\n## Code Style and Standards\n\n### Rust Standards\n\n- Use Rust 2021 edition idioms\n- Run `cargo fmt` before committing\n- Run `cargo clippy -- -D warnings` and resolve all warnings\n- Prefer `Arc\u003CT>` + `RwLock\u003CT>` for shared state; avoid `Mutex` unless write-heavy\n- Use `?` for error propagation in fallible functions; only `unwrap()` on truly unrecoverable states (e.g., lock poisoning)\n- Derive `Debug`, `Clone`, `Serialize`, `Deserialize` only where needed\n- Keep `pub` visibility minimal — expose only what callers need\n\n### Documentation\n\n- Public types and functions must have a doc comment\n- Include `# Errors` section in doc comments for fallible functions\n- Document env vars and their defaults in `README.md`, not in code\n\n### File Organization\n\n- **`src/main.rs`** — router wiring and `tokio::main`; no business logic\n- **`src/store.rs`** — `MetricsStore` and data types; no HTTP concerns\n- **`src/handlers.rs`** — Axum extractors and response types; thin layer over the store\n\n### Error Handling\n\n- HTTP handlers should return meaningful status codes (201 for ingest, 404 for unknown sensor)\n- Log warnings for recoverable issues (e.g., lagging WebSocket clients) with `tracing::warn!`\n- Never silently swallow errors\n\n### Async and Concurrency\n\n- Use `tokio::sync::broadcast` for the live-stream fan-out; `RwLock` for the ring-buffer map\n- WebSocket handlers must break cleanly on send errors — do not loop after a closed socket\n- Handle `RecvError::Lagged` by logging and continuing, not by disconnecting\n\n### Containerization\n\n- Use a multi-stage Dockerfile: `rust:1.95-slim` builder, `debian:bookworm-slim` runtime\n- Always run the container as a non-root user — create `appuser` with `addgroup`/`adduser` and set `USER appuser` before `CMD`\n- Include a `.dockerignore` that excludes `target/` and `.git/` to keep build context small\n- Use specific image tags — never `latest` in Dockerfile or CI base templates\n\n### CI/CD\n\n- Pin all CI images to specific tags (e.g., `rust:1.95`) — never use `rust:latest` or `debian:latest`\n- The `.rust_base` template in `.gitlab-ci.yml` must match the Dockerfile builder image version\n\n## Local Toolchain Setup\n\n// More instructions in the file\n",[117,1180,1181,1187,1191,1196,1200,1211,1215,1220,1224,1229,1233,1242,1255,1267,1292,1311,1341,1355,1360,1366,1371,1379,1393,1407,1412,1418,1423,1447,1468,1483,1488,1494,1499,1507,1518,1526,1531,1537,1542,1561,1569,1583,1588,1594,1599,1619,1654,1680,1694,1699,1705,1710,1733,1753,1758,1764,1769],{"__ignoreMap":127},[131,1182,1183],{"class":133,"line":134},[131,1184,1186],{"class":1185},"surfw","# rust-metrics-store - Agent Instructions\n",[131,1188,1189],{"class":133,"line":148},[131,1190,162],{"emptyLinePlaceholder":161},[131,1192,1193],{"class":133,"line":158},[131,1194,1195],{"class":1185},"## Overview\n",[131,1197,1198],{"class":133,"line":165},[131,1199,162],{"emptyLinePlaceholder":161},[131,1201,1202,1205,1208],{"class":133,"line":312},[131,1203,1204],{"class":183},"The ",[131,1206,1207],{"class":151},"`rust-metrics-store`",[131,1209,1210],{"class":183}," is a lightweight, standalone time-series metrics backend for the Tanuki IoT Platform. It accepts metrics from all sensors via a simple REST API and streams live data to frontend clients over WebSocket. No external dependencies — a single binary with in-memory ring buffers.\n",[131,1212,1213],{"class":133,"line":327},[131,1214,162],{"emptyLinePlaceholder":161},[131,1216,1217],{"class":133,"line":336},[131,1218,1219],{"class":1185},"## Code Style and Standards\n",[131,1221,1222],{"class":133,"line":1094},[131,1223,162],{"emptyLinePlaceholder":161},[131,1225,1226],{"class":133,"line":1103},[131,1227,1228],{"class":1185},"### Rust Standards\n",[131,1230,1231],{"class":133,"line":1113},[131,1232,162],{"emptyLinePlaceholder":161},[131,1234,1235,1239],{"class":133,"line":1121},[131,1236,1238],{"class":1237},"sqxcx","-",[131,1240,1241],{"class":183}," Use Rust 2021 edition idioms\n",[131,1243,1244,1246,1249,1252],{"class":133,"line":1130},[131,1245,1238],{"class":1237},[131,1247,1248],{"class":183}," Run ",[131,1250,1251],{"class":151},"`cargo fmt`",[131,1253,1254],{"class":183}," before committing\n",[131,1256,1257,1259,1261,1264],{"class":133,"line":1138},[131,1258,1238],{"class":1237},[131,1260,1248],{"class":183},[131,1262,1263],{"class":151},"`cargo clippy -- -D warnings`",[131,1265,1266],{"class":183}," and resolve all warnings\n",[131,1268,1269,1271,1274,1277,1280,1283,1286,1289],{"class":133,"line":1147},[131,1270,1238],{"class":1237},[131,1272,1273],{"class":183}," Prefer ",[131,1275,1276],{"class":151},"`Arc\u003CT>`",[131,1278,1279],{"class":183}," + ",[131,1281,1282],{"class":151},"`RwLock\u003CT>`",[131,1284,1285],{"class":183}," for shared state; avoid ",[131,1287,1288],{"class":151},"`Mutex`",[131,1290,1291],{"class":183}," unless write-heavy\n",[131,1293,1294,1296,1299,1302,1305,1308],{"class":133,"line":1156},[131,1295,1238],{"class":1237},[131,1297,1298],{"class":183}," Use ",[131,1300,1301],{"class":151},"`?`",[131,1303,1304],{"class":183}," for error propagation in fallible functions; only ",[131,1306,1307],{"class":151},"`unwrap()`",[131,1309,1310],{"class":183}," on truly unrecoverable states (e.g., lock poisoning)\n",[131,1312,1314,1316,1319,1322,1325,1328,1330,1333,1335,1338],{"class":133,"line":1313},16,[131,1315,1238],{"class":1237},[131,1317,1318],{"class":183}," Derive ",[131,1320,1321],{"class":151},"`Debug`",[131,1323,1324],{"class":183},", ",[131,1326,1327],{"class":151},"`Clone`",[131,1329,1324],{"class":183},[131,1331,1332],{"class":151},"`Serialize`",[131,1334,1324],{"class":183},[131,1336,1337],{"class":151},"`Deserialize`",[131,1339,1340],{"class":183}," only where needed\n",[131,1342,1344,1346,1349,1352],{"class":133,"line":1343},17,[131,1345,1238],{"class":1237},[131,1347,1348],{"class":183}," Keep ",[131,1350,1351],{"class":151},"`pub`",[131,1353,1354],{"class":183}," visibility minimal — expose only what callers need\n",[131,1356,1358],{"class":133,"line":1357},18,[131,1359,162],{"emptyLinePlaceholder":161},[131,1361,1363],{"class":133,"line":1362},19,[131,1364,1365],{"class":1185},"### Documentation\n",[131,1367,1369],{"class":133,"line":1368},20,[131,1370,162],{"emptyLinePlaceholder":161},[131,1372,1374,1376],{"class":133,"line":1373},21,[131,1375,1238],{"class":1237},[131,1377,1378],{"class":183}," Public types and functions must have a doc comment\n",[131,1380,1382,1384,1387,1390],{"class":133,"line":1381},22,[131,1383,1238],{"class":1237},[131,1385,1386],{"class":183}," Include ",[131,1388,1389],{"class":151},"`# Errors`",[131,1391,1392],{"class":183}," section in doc comments for fallible functions\n",[131,1394,1396,1398,1401,1404],{"class":133,"line":1395},23,[131,1397,1238],{"class":1237},[131,1399,1400],{"class":183}," Document env vars and their defaults in ",[131,1402,1403],{"class":151},"`README.md`",[131,1405,1406],{"class":183},", not in code\n",[131,1408,1410],{"class":133,"line":1409},24,[131,1411,162],{"emptyLinePlaceholder":161},[131,1413,1415],{"class":133,"line":1414},25,[131,1416,1417],{"class":1185},"### File Organization\n",[131,1419,1421],{"class":133,"line":1420},26,[131,1422,162],{"emptyLinePlaceholder":161},[131,1424,1426,1428,1432,1435,1438,1441,1444],{"class":133,"line":1425},27,[131,1427,1238],{"class":1237},[131,1429,1431],{"class":1430},"sbYKK"," **",[131,1433,1434],{"class":1185},"`src/main.rs`",[131,1436,1437],{"class":1430},"**",[131,1439,1440],{"class":183}," — router wiring and ",[131,1442,1443],{"class":151},"`tokio::main`",[131,1445,1446],{"class":183},"; no business logic\n",[131,1448,1450,1452,1454,1457,1459,1462,1465],{"class":133,"line":1449},28,[131,1451,1238],{"class":1237},[131,1453,1431],{"class":1430},[131,1455,1456],{"class":1185},"`src/store.rs`",[131,1458,1437],{"class":1430},[131,1460,1461],{"class":183}," — ",[131,1463,1464],{"class":151},"`MetricsStore`",[131,1466,1467],{"class":183}," and data types; no HTTP concerns\n",[131,1469,1471,1473,1475,1478,1480],{"class":133,"line":1470},29,[131,1472,1238],{"class":1237},[131,1474,1431],{"class":1430},[131,1476,1477],{"class":1185},"`src/handlers.rs`",[131,1479,1437],{"class":1430},[131,1481,1482],{"class":183}," — Axum extractors and response types; thin layer over the store\n",[131,1484,1486],{"class":133,"line":1485},30,[131,1487,162],{"emptyLinePlaceholder":161},[131,1489,1491],{"class":133,"line":1490},31,[131,1492,1493],{"class":1185},"### Error Handling\n",[131,1495,1497],{"class":133,"line":1496},32,[131,1498,162],{"emptyLinePlaceholder":161},[131,1500,1502,1504],{"class":133,"line":1501},33,[131,1503,1238],{"class":1237},[131,1505,1506],{"class":183}," HTTP handlers should return meaningful status codes (201 for ingest, 404 for unknown sensor)\n",[131,1508,1510,1512,1515],{"class":133,"line":1509},34,[131,1511,1238],{"class":1237},[131,1513,1514],{"class":183}," Log warnings for recoverable issues (e.g., lagging WebSocket clients) with ",[131,1516,1517],{"class":151},"`tracing::warn!`\n",[131,1519,1521,1523],{"class":133,"line":1520},35,[131,1522,1238],{"class":1237},[131,1524,1525],{"class":183}," Never silently swallow errors\n",[131,1527,1529],{"class":133,"line":1528},36,[131,1530,162],{"emptyLinePlaceholder":161},[131,1532,1534],{"class":133,"line":1533},37,[131,1535,1536],{"class":1185},"### Async and Concurrency\n",[131,1538,1540],{"class":133,"line":1539},38,[131,1541,162],{"emptyLinePlaceholder":161},[131,1543,1545,1547,1549,1552,1555,1558],{"class":133,"line":1544},39,[131,1546,1238],{"class":1237},[131,1548,1298],{"class":183},[131,1550,1551],{"class":151},"`tokio::sync::broadcast`",[131,1553,1554],{"class":183}," for the live-stream fan-out; ",[131,1556,1557],{"class":151},"`RwLock`",[131,1559,1560],{"class":183}," for the ring-buffer map\n",[131,1562,1564,1566],{"class":133,"line":1563},40,[131,1565,1238],{"class":1237},[131,1567,1568],{"class":183}," WebSocket handlers must break cleanly on send errors — do not loop after a closed socket\n",[131,1570,1572,1574,1577,1580],{"class":133,"line":1571},41,[131,1573,1238],{"class":1237},[131,1575,1576],{"class":183}," Handle ",[131,1578,1579],{"class":151},"`RecvError::Lagged`",[131,1581,1582],{"class":183}," by logging and continuing, not by disconnecting\n",[131,1584,1586],{"class":133,"line":1585},42,[131,1587,162],{"emptyLinePlaceholder":161},[131,1589,1591],{"class":133,"line":1590},43,[131,1592,1593],{"class":1185},"### Containerization\n",[131,1595,1597],{"class":133,"line":1596},44,[131,1598,162],{"emptyLinePlaceholder":161},[131,1600,1602,1604,1607,1610,1613,1616],{"class":133,"line":1601},45,[131,1603,1238],{"class":1237},[131,1605,1606],{"class":183}," Use a multi-stage Dockerfile: ",[131,1608,1609],{"class":151},"`rust:1.95-slim`",[131,1611,1612],{"class":183}," builder, ",[131,1614,1615],{"class":151},"`debian:bookworm-slim`",[131,1617,1618],{"class":183}," runtime\n",[131,1620,1622,1624,1627,1630,1633,1636,1639,1642,1645,1648,1651],{"class":133,"line":1621},46,[131,1623,1238],{"class":1237},[131,1625,1626],{"class":183}," Always run the container as a non-root user — create ",[131,1628,1629],{"class":151},"`appuser`",[131,1631,1632],{"class":183}," with ",[131,1634,1635],{"class":151},"`addgroup`",[131,1637,1638],{"class":183},"/",[131,1640,1641],{"class":151},"`adduser`",[131,1643,1644],{"class":183}," and set ",[131,1646,1647],{"class":151},"`USER appuser`",[131,1649,1650],{"class":183}," before ",[131,1652,1653],{"class":151},"`CMD`\n",[131,1655,1657,1659,1662,1665,1668,1671,1674,1677],{"class":133,"line":1656},47,[131,1658,1238],{"class":1237},[131,1660,1661],{"class":183}," Include a ",[131,1663,1664],{"class":151},"`.dockerignore`",[131,1666,1667],{"class":183}," that excludes ",[131,1669,1670],{"class":151},"`target/`",[131,1672,1673],{"class":183}," and ",[131,1675,1676],{"class":151},"`.git/`",[131,1678,1679],{"class":183}," to keep build context small\n",[131,1681,1683,1685,1688,1691],{"class":133,"line":1682},48,[131,1684,1238],{"class":1237},[131,1686,1687],{"class":183}," Use specific image tags — never ",[131,1689,1690],{"class":151},"`latest`",[131,1692,1693],{"class":183}," in Dockerfile or CI base templates\n",[131,1695,1697],{"class":133,"line":1696},49,[131,1698,162],{"emptyLinePlaceholder":161},[131,1700,1702],{"class":133,"line":1701},50,[131,1703,1704],{"class":1185},"### CI/CD\n",[131,1706,1708],{"class":133,"line":1707},51,[131,1709,162],{"emptyLinePlaceholder":161},[131,1711,1713,1715,1718,1721,1724,1727,1730],{"class":133,"line":1712},52,[131,1714,1238],{"class":1237},[131,1716,1717],{"class":183}," Pin all CI images to specific tags (e.g., ",[131,1719,1720],{"class":151},"`rust:1.95`",[131,1722,1723],{"class":183},") — never use ",[131,1725,1726],{"class":151},"`rust:latest`",[131,1728,1729],{"class":183}," or ",[131,1731,1732],{"class":151},"`debian:latest`\n",[131,1734,1736,1738,1741,1744,1747,1750],{"class":133,"line":1735},53,[131,1737,1238],{"class":1237},[131,1739,1740],{"class":183}," The ",[131,1742,1743],{"class":151},"`.rust_base`",[131,1745,1746],{"class":183}," template in ",[131,1748,1749],{"class":151},"`.gitlab-ci.yml`",[131,1751,1752],{"class":183}," must match the Dockerfile builder image version\n",[131,1754,1756],{"class":133,"line":1755},54,[131,1757,162],{"emptyLinePlaceholder":161},[131,1759,1761],{"class":133,"line":1760},55,[131,1762,1763],{"class":1185},"## Local Toolchain Setup\n",[131,1765,1767],{"class":133,"line":1766},56,[131,1768,162],{"emptyLinePlaceholder":161},[131,1770,1772],{"class":133,"line":1771},57,[131,1773,1774],{"class":183},"// More instructions in the file\n",[12,1776,1777,1778,1783],{},"これらの",[16,1779,1782],{"href":1780,"rel":1781},"https://docs.gitlab.com/ja-jp/user/duo_agent_platform/customize/agents_md/",[],"カスタムインストラクション","は、GitLab Duo Agent Platform上のエージェントとフローにも適用されます。",[12,1785,1786],{},"コーディングエージェントからより良い結果を得たいなら、まずここから始めましょう。リポジトリの仕組み、重要なコマンド、触れてはいけない箇所、良い変更の定義を書き記すことで、ローカルのコーディングツール、GitLab MCP、外部エージェントすべてに効果が生まれます。",[51,1788,1789],{"id":1789},"まとめ",[12,1791,1792],{},"このチュートリアルの3つのユースケースは互いに発展していますが、より大きなポイントも示しています。",[12,1794,1795],{},"Codexは問題の記述からコードへと素早く移行する点で優れています。GitLabはそのコードを、理解・検証・レビュー・自信を持ってリリースできる変更へと変えるためのソフトウェアデリバリーコンテキストを提供します。",[12,1797,1798],{},"最初のユースケースではコードのそばにとどまり、リポジトリとローカルのエージェントインストラクションをもとにCodexを活用しました。2つ目のユースケースでは、GitLab MCPがイシュー、要件、マージリクエストのワークフローをターミナルセッションに直接取り込みました。3つ目のユースケースでは、Codexがマージリクエストそのものにアクセスしてレビューフィードバックと次のリビジョンの間のギャップを縮めました。",[12,1800,1801],{},"この発展こそが、組み合わせを説得力あるものにします。コーディングツールとDevSecOpsプラットフォームのどちらかを選ぶのではありません。エージェント型コーディングのスピードをソフトウェアライフサイクル全体へと拡張するのです。多くのプロジェクト、多くのリリースマイルストーン、多くのチームにわたって規模を拡大しながら。",[12,1803,1804],{},"すでにCodexを使用している場合、GitLabはコーディングのスピードとパッチが存在した後に重要となるコンテキスト・コラボレーションをつなぐ実用的な方法を提供します。GitLab Duo Agent Platformをすでに使用している場合、外部エージェントによってマージリクエストの監査証跡や最終的な人間の意思決定を失わずに、サードパーティのコーディングツールをGitLabに取り込む新しい方法が生まれます。",[12,1806,1807],{},"ぜひ小さく始めてみてください。目に見えるバグを1つ選び、イシューで期待される動作を定義し、ここで紹介した流れを順に試してみます。ローカルコーディング、イシュー連携での実装、マージリクエストでのコラボレーション。そこで、この組み合わせが単なる高速なパッチをはるかに超えたものになります。",[1809,1810,1811,1820,1829],"blockquote",{},[12,1812,1813,1814,1819],{},"GitLab Duo Agent Platformをまだご利用でない場合は、",[16,1815,1818],{"href":1816,"rel":1817},"https://about.gitlab.com/ja-jp/gitlab-duo-agent-platform/",[],"無料トライアル","からお試しください。",[12,1821,1822,1823,1828],{},"GitLabの無料プランをご利用の場合は、",[16,1824,1827],{"href":1825,"rel":1826},"https://docs.gitlab.com/ja-jp/subscriptions/gitlab_credits/#for-the-free-tier-on-gitlabcom",[],"簡単な手順","に従ってGitLab Duo Agent Platformにサインアップできます。",[12,1830,1831,1832,1837,1838,1843],{},"GitLab PremiumまたはUltimateをご契約中の場合は、",[16,1833,1836],{"href":1834,"rel":1835},"https://docs.gitlab.com/ja-jp/user/duo_agent_platform/turn_on_off/",[],"Duo Agent Platformをオンにする","だけで利用開始でき、サブスクリプションに",[16,1839,1842],{"href":1840,"rel":1841},"https://docs.gitlab.com/ja-jp/subscriptions/gitlab_credits/#included-credits",[],"含まれている","GitLabクレジットをすぐにご活用いただけます。",[1845,1846,1847],"style",{},"html pre.shiki code .s7eDp, html code.shiki .s7eDp{--shiki-default:#6F42C1}html pre.shiki code .sYBdl, html code.shiki .sYBdl{--shiki-default:#032F62}html pre.shiki code .sYu0t, html code.shiki .sYu0t{--shiki-default:#005CC5}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html pre.shiki code .sgsFI, html code.shiki .sgsFI{--shiki-default:#24292E}html pre.shiki code .sD7c4, html code.shiki .sD7c4{--shiki-default:#D73A49}html pre.shiki code .surfw, html code.shiki .surfw{--shiki-default:#005CC5;--shiki-default-font-weight:bold}html pre.shiki code .sqxcx, html code.shiki .sqxcx{--shiki-default:#E36209}html pre.shiki code .sbYKK, html code.shiki .sbYKK{--shiki-default:#24292E;--shiki-default-font-weight:bold}",{"title":127,"searchDepth":148,"depth":148,"links":1849},[1850,1853,1854,1858,1859,1862],{"id":53,"depth":148,"text":53,"children":1851},[1852],{"id":97,"depth":158,"text":98},{"id":193,"depth":148,"text":194},{"id":453,"depth":148,"text":454,"children":1855},[1856,1857],{"id":481,"depth":158,"text":482},{"id":676,"depth":158,"text":677},{"id":773,"depth":148,"text":774},{"id":1014,"depth":148,"text":1015,"children":1860},[1861],{"id":1018,"depth":158,"text":1019},{"id":1789,"depth":148,"text":1789},"AI","2026-05-18","Codexをターミナルで活用する方法、GitLab MCPによるイシュー連携開発、GitLab Duo Agent Platformの外部AIエージェントを使ってバグ報告からレビュー済み変更へ移行する手順を解説します。","md",null,"https://res.cloudinary.com/about-gitlab-com/image/upload/v1776457632/llddiylsgwuze0u1rjks.png",{},"/ja-jp/blog/fix-bugs-with-codex-and-gitlab",{"ogTitle":1872,"ogImage":1868,"ogDescription":1865,"ogSiteName":613,"ogType":1873,"ogUrl":1874,"title":1872,"canonicalUrls":1874,"description":1875},"CodexとGitLabでバグを修正する","article","https://about.gitlab.com/blog/fix-bugs-with-codex-and-gitlab","Codexをターミナルで活用する方法、GitLab MCPを使ったイシュー連携開発、そしてGitLab Duo Agent Platformの外部エージェントを活用してバグ報告からレビュー済みの変更へスムーズに移行する手順をステップごとに解説します。","fix-bugs-with-codex-and-gitlab","ja-jp/blog/fix-bugs-with-codex-and-gitlab",[1863,1879,1880,1881,1882],"product","DevSecOps platform","tutorial","workflow","BlogPost","2026-08-07","SeGDITBhGO68eJzGDDUkRFbZYO8XIbz1HRRQNz03MIE",{"logo":1887,"freeTrial":1892,"sales":1897,"login":1902,"items":1907,"search":2236,"minimal":2269,"duo":2286,"switchNav":2295,"pricingDeployment":2306},{"config":1888},{"href":1889,"dataGaName":1890,"dataGaLocation":1891},"/ja-jp/","gitlab logo","header",{"text":1893,"config":1894},"無料トライアルを開始",{"href":1895,"dataGaName":1896,"dataGaLocation":1891},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/ja-jp&glm_content=default-saas-trial/","free trial",{"text":1898,"config":1899},"デモをリクエスト",{"href":1900,"dataGaName":1901,"dataGaLocation":1891},"/ja-jp/sales/?contact-topic=request-demo","sales",{"text":1903,"config":1904},"サインイン",{"href":1905,"dataGaName":1906,"dataGaLocation":1891},"https://gitlab.com/users/sign_in/","sign in",[1908,1937,2039,2044,2158,2214],{"text":1909,"config":1910,"menu":1912},"プラットフォーム",{"dataNavLevelOne":1911},"platform",{"type":1913,"columns":1914},"cards",[1915,1921,1929],{"title":1909,"description":1916,"link":1917},"DevSecOpsに特化したインテリジェントオーケストレーションプラットフォーム",{"text":1918,"config":1919},"プラットフォームの詳細はこちら",{"href":1920,"dataGaName":1911,"dataGaLocation":1891},"/ja-jp/platform/",{"title":1922,"description":1923,"link":1924},"GitLab Duo Agent Platform","ソフトウェアライフサイクル全体を支えるエージェント型AI",{"text":1925,"config":1926},"GitLab Duoのご紹介",{"href":1927,"dataGaName":1928,"dataGaLocation":1891},"/ja-jp/gitlab-duo-agent-platform/","gitlab duo agent platform",{"title":1930,"description":1931,"link":1932},"GitLabが選ばれる理由","エンタープライズがGitLabを選ぶ主な理由をご覧ください",{"text":1933,"config":1934},"詳細はこちら",{"href":1935,"dataGaName":1936,"dataGaLocation":1891},"/ja-jp/why-gitlab/","why gitlab",{"text":1938,"left":161,"config":1939,"menu":1941},"製品",{"dataNavLevelOne":1940},"solutions",{"type":1942,"link":1943,"columns":1947,"feature":2018},"lists",{"text":1944,"config":1945},"すべてのソリューションを表示",{"href":1946,"dataGaName":1940,"dataGaLocation":1891},"/ja-jp/solutions/",[1948,1973,1996],{"title":1949,"description":1950,"link":1951,"items":1956},"自動化","CI/CDと自動化でデプロイを加速",{"config":1952},{"icon":1953,"href":1954,"dataGaName":1955,"dataGaLocation":1891},"AutomatedCodeAlt","/ja-jp/solutions/delivery-automation/","automated software delivery",[1957,1961,1964,1969],{"text":1958,"config":1959},"CI/CD",{"href":1960,"dataGaLocation":1891,"dataGaName":1958},"/ja-jp/solutions/continuous-integration/",{"text":1922,"config":1962},{"href":1927,"dataGaLocation":1891,"dataGaName":1963},"gitlab duo agent platform - product menu",{"text":1965,"config":1966},"ソースコード管理",{"href":1967,"dataGaLocation":1891,"dataGaName":1968},"/ja-jp/solutions/source-code-management/","Source Code Management",{"text":1970,"config":1971},"自動化されたソフトウェアデリバリー",{"href":1954,"dataGaLocation":1891,"dataGaName":1972},"Automated software delivery",{"title":1974,"description":1975,"link":1976,"items":1981},"セキュリティ","セキュリティを犠牲にすることなくコード作成を高速化",{"config":1977},{"href":1978,"dataGaName":1979,"dataGaLocation":1891,"icon":1980},"/ja-jp/solutions/application-security-testing/","security and compliance","ShieldCheckLight",[1982,1986,1991],{"text":1983,"config":1984},"アプリケーションセキュリティテスト",{"href":1978,"dataGaName":1985,"dataGaLocation":1891},"Application security testing",{"text":1987,"config":1988},"ソフトウェアサプライチェーンセキュリティ",{"href":1989,"dataGaLocation":1891,"dataGaName":1990},"/ja-jp/solutions/supply-chain/","Software supply chain security",{"text":1992,"config":1993},"ソフトウェアコンプライアンス",{"href":1994,"dataGaName":1995,"dataGaLocation":1891},"/ja-jp/solutions/software-compliance/","software compliance",{"title":1997,"link":1998,"items":2003},"測定",{"config":1999},{"icon":2000,"href":2001,"dataGaName":2002,"dataGaLocation":1891},"DigitalTransformation","/ja-jp/solutions/visibility-measurement/","visibility and measurement",[2004,2008,2013],{"text":2005,"config":2006},"可視性と測定",{"href":2001,"dataGaLocation":1891,"dataGaName":2007},"Visibility and Measurement",{"text":2009,"config":2010},"バリューストリーム管理",{"href":2011,"dataGaLocation":1891,"dataGaName":2012},"/ja-jp/solutions/value-stream-management/","Value Stream Management",{"text":2014,"config":2015},"分析とインサイト",{"href":2016,"dataGaLocation":1891,"dataGaName":2017},"/ja-jp/solutions/analytics-and-insights/","Analytics and insights",{"title":2019,"type":1942,"items":2020},"GitLabが活躍する場所",[2021,2027,2033],{"text":2022,"config":2023},"大企業",{"icon":2024,"href":2025,"dataGaLocation":1891,"dataGaName":2026},"Building","/ja-jp/enterprise/","enterprise",{"text":2028,"config":2029},"スモールビジネス",{"icon":2030,"href":2031,"dataGaLocation":1891,"dataGaName":2032},"Work","/ja-jp/small-business/","small business",{"text":2034,"config":2035},"公共部門",{"icon":2036,"href":2037,"dataGaLocation":1891,"dataGaName":2038},"Organization","/ja-jp/solutions/public-sector/","public sector",{"text":2040,"config":2041},"価格",{"href":2042,"dataGaName":2043,"dataGaLocation":1891,"dataNavLevelOne":2043},"/ja-jp/pricing/","pricing",{"text":2045,"config":2046,"menu":2048},"関連リソース",{"dataNavLevelOne":2047},"resources",{"type":1942,"link":2049,"columns":2053,"feature":2147},{"text":2050,"config":2051},"すべてのリソースを表示",{"href":2052,"dataGaName":2047,"dataGaLocation":1891},"/ja-jp/resources/",[2054,2087,2114],{"title":2055,"items":2056},"はじめに",[2057,2062,2067,2072,2077,2082],{"text":2058,"config":2059},"インストール",{"href":2060,"dataGaName":2061,"dataGaLocation":1891},"/ja-jp/install/","install",{"text":2063,"config":2064},"クイックスタートガイド",{"href":2065,"dataGaName":2066,"dataGaLocation":1891},"/ja-jp/get-started/","quick setup checklists",{"text":2068,"config":2069},"学ぶ",{"href":2070,"dataGaLocation":1891,"dataGaName":2071},"https://university.gitlab.com/","learn",{"text":2073,"config":2074},"製品ドキュメント",{"href":2075,"dataGaName":2076,"dataGaLocation":1891},"https://docs.gitlab.com/ja-jp/","product documentation",{"text":2078,"config":2079},"ベストプラクティスビデオ",{"href":2080,"dataGaName":2081,"dataGaLocation":1891},"/ja-jp/getting-started-videos/","best practice videos",{"text":2083,"config":2084},"インテグレーション",{"href":2085,"dataGaName":2086,"dataGaLocation":1891},"/ja-jp/integrations/","integrations",{"title":2088,"items":2089},"検索する",[2090,2095,2100,2105,2109],{"text":2091,"config":2092},"お客様成功事例",{"href":2093,"dataGaName":2094,"dataGaLocation":1891},"/ja-jp/customers/","customer success stories",{"text":2096,"config":2097},"ブログ",{"href":2098,"dataGaName":2099,"dataGaLocation":1891},"/ja-jp/blog/","blog",{"text":2101,"config":2102},"Demo Hub",{"href":2103,"dataGaName":2104,"dataGaLocation":1891},"/ja-jp/demo-hub/","demo hub",{"text":2106,"config":2107},"The Source",{"href":2108,"dataGaName":2099,"dataGaLocation":1891},"/ja-jp/the-source/",{"text":2110,"config":2111},"リモート",{"href":2112,"dataGaName":2113,"dataGaLocation":1891},"https://handbook.gitlab.com/handbook/company/culture/all-remote/","remote",{"title":2115,"items":2116},"つなげる",[2117,2122,2127,2132,2137,2142],{"text":2118,"config":2119},"GitLabサービス",{"href":2120,"dataGaName":2121,"dataGaLocation":1891},"/ja-jp/services/","services",{"text":2123,"config":2124},"コントリビュート",{"href":2125,"dataGaName":2126,"dataGaLocation":1891},"https://contributors.gitlab.com","contribute",{"text":2128,"config":2129},"コミュニティ",{"href":2130,"dataGaName":2131,"dataGaLocation":1891},"/community/","community",{"text":2133,"config":2134},"フォーラム",{"href":2135,"dataGaName":2136,"dataGaLocation":1891},"https://forum.gitlab.com/","forum",{"text":2138,"config":2139},"イベント",{"href":2140,"dataGaName":2141,"dataGaLocation":1891},"/events/","events",{"text":2143,"config":2144},"パートナー",{"href":2145,"dataGaName":2146,"dataGaLocation":1891},"/ja-jp/partners/","partners",{"config":2148,"title":2151,"text":2152,"link":2153},{"background":2149,"textColor":2150},"url('https://res.cloudinary.com/about-gitlab-com/image/upload/v1777322348/qpq8yrgn8knii57omj0c.png')","#000","GitLabの最新情報","最新の機能と改善点に関する情報をお届けします。",{"text":2154,"config":2155},"最新情報を読む",{"href":2156,"dataGaName":2157,"dataGaLocation":1891},"/ja-jp/whats-new/","whats new",{"text":2159,"config":2160,"menu":2162},"企業情報",{"dataNavLevelOne":2161},"company",{"type":1942,"columns":2163},[2164],{"items":2165},[2166,2171,2177,2179,2184,2189,2194,2199,2204,2209],{"text":2167,"config":2168},"GitLabについて",{"href":2169,"dataGaName":2170,"dataGaLocation":1891},"/ja-jp/company/","about",{"text":2172,"config":2173,"footerGa":2176},"採用情報",{"href":2174,"dataGaName":2175,"dataGaLocation":1891},"/jobs/","jobs",{"dataGaName":2175},{"text":2138,"config":2178},{"href":2140,"dataGaName":2141,"dataGaLocation":1891},{"text":2180,"config":2181},"経営陣",{"href":2182,"dataGaName":2183,"dataGaLocation":1891},"/company/team/e-group/","leadership",{"text":2185,"config":2186},"ハンドブック",{"href":2187,"dataGaName":2188,"dataGaLocation":1891},"https://handbook.gitlab.com/","handbook",{"text":2190,"config":2191},"投資家向け情報",{"href":2192,"dataGaName":2193,"dataGaLocation":1891},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":2195,"config":2196},"トラストセンター",{"href":2197,"dataGaName":2198,"dataGaLocation":1891},"/ja-jp/security/","trust center",{"text":2200,"config":2201},"AI Transparency Center",{"href":2202,"dataGaName":2203,"dataGaLocation":1891},"/ja-jp/ai-transparency-center/","ai transparency center",{"text":2205,"config":2206},"ニュースレター",{"href":2207,"dataGaName":2208,"dataGaLocation":1891},"/company/contact/#contact-forms","newsletter",{"text":2210,"config":2211},"プレス",{"href":2212,"dataGaName":2213,"dataGaLocation":1891},"/press/","press",{"text":2215,"config":2216,"menu":2217},"お問い合わせ",{"dataNavLevelOne":2161},{"type":1942,"columns":2218},[2219],{"items":2220},[2221,2226,2231],{"text":2222,"config":2223},"お問い合わせはこちら",{"href":2224,"dataGaName":2225,"dataGaLocation":1891},"/ja-jp/sales/","talk to sales",{"text":2227,"config":2228},"サポートを受ける",{"href":2229,"dataGaName":2230,"dataGaLocation":1891},"https://support.gitlab.com/hc/en-us","support portal",{"text":2232,"config":2233},"カスタマーポータル",{"href":2234,"dataGaName":2235,"dataGaLocation":1891},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":2237,"login":2238,"suggestions":2245},"閉じる",{"text":2239,"link":2240},"リポジトリとプロジェクトを検索するには、次にログインします",{"text":2241,"config":2242},"GitLab.com",{"href":1905,"dataGaName":2243,"dataGaLocation":2244},"search login","search",{"text":2246,"default":2247},"提案",[2248,2250,2255,2257,2261,2265],{"text":1922,"config":2249},{"href":1927,"dataGaName":1922,"dataGaLocation":2244},{"text":2251,"config":2252},"コード提案（AI）",{"href":2253,"dataGaName":2254,"dataGaLocation":2244},"/ja-jp/solutions/code-suggestions/","Code Suggestions (AI)",{"text":1958,"config":2256},{"href":1960,"dataGaName":1958,"dataGaLocation":2244},{"text":2258,"config":2259},"GitLab on AWS",{"href":2260,"dataGaName":2258,"dataGaLocation":2244},"/ja-jp/partners/technology-partners/aws/",{"text":2262,"config":2263},"GitLab on Google Cloud",{"href":2264,"dataGaName":2262,"dataGaLocation":2244},"/ja-jp/partners/technology-partners/google-cloud-platform/",{"text":2266,"config":2267},"GitLabを選ぶ理由",{"href":1935,"dataGaName":2268,"dataGaLocation":2244},"Why GitLab?",{"freeTrial":2270,"mobileIcon":2274,"desktopIcon":2279,"secondaryButton":2282},{"text":1893,"config":2271},{"href":2272,"dataGaName":1896,"dataGaLocation":2273},"https://gitlab.com/-/trials/new/","nav",{"altText":2275,"config":2276},"GitLabアイコン",{"src":2277,"dataGaName":2278,"dataGaLocation":2273},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":2275,"config":2280},{"src":2281,"dataGaName":2278,"dataGaLocation":2273},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":2055,"config":2283},{"href":2284,"dataGaName":2285,"dataGaLocation":2273},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/ja-jp/get-started/","get started",{"freeTrial":2287,"mobileIcon":2291,"desktopIcon":2293},{"text":2288,"config":2289},"GitLab Duoの詳細について",{"href":1927,"dataGaName":2290,"dataGaLocation":2273},"gitlab duo",{"altText":2275,"config":2292},{"src":2277,"dataGaName":2278,"dataGaLocation":2273},{"altText":2275,"config":2294},{"src":2281,"dataGaName":2278,"dataGaLocation":2273},{"button":2296,"mobileIcon":2301,"desktopIcon":2303},{"text":2297,"config":2298},"/switch",{"href":2299,"dataGaName":2300,"dataGaLocation":2273},"#contact","switch",{"altText":2275,"config":2302},{"src":2277,"dataGaName":2278,"dataGaLocation":2273},{"altText":2275,"config":2304},{"src":2305,"dataGaName":2278,"dataGaLocation":2273},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":2307,"mobileIcon":2312,"desktopIcon":2314},{"text":2308,"config":2309},"料金ページに戻る",{"href":2042,"dataGaName":2310,"dataGaLocation":2273,"icon":2311},"back to pricing","GoBack",{"altText":2275,"config":2313},{"src":2277,"dataGaName":2278,"dataGaLocation":2273},{"altText":2275,"config":2315},{"src":2281,"dataGaName":2278,"dataGaLocation":2273},{"title":2317,"button":2318,"config":2322},"GitLab Orbitが登場: AIエージェントのためのコンテキストレイヤー",{"text":1933,"config":2319},{"href":2320,"dataGaName":2321,"dataGaLocation":1891},"/ja-jp/gitlab-orbit/","orbit",{"layout":2323,"disabled":2324},"release",false,{"data":2326},{"text":2327,"source":2328,"edit":2334,"contribute":2339,"config":2344,"items":2349,"minimal":2558},"GitはSoftware Freedom Conservancyの商標です。当社は「GitLab」をライセンスに基づいて使用しています",{"text":2329,"config":2330},"ページのソースを表示",{"href":2331,"dataGaName":2332,"dataGaLocation":2333},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/","page source","footer",{"text":2335,"config":2336},"このページを編集",{"href":2337,"dataGaName":2338,"dataGaLocation":2333},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/-/blob/main/content/","web ide",{"text":2340,"config":2341},"ご協力をお願いします",{"href":2342,"dataGaName":2343,"dataGaLocation":2333},"https://gitlab.com/gitlab-com/marketing/digital-experience/about-gitlab-com/-/blob/main/CONTRIBUTING.md/","please contribute",{"twitter":2345,"facebook":2346,"youtube":2347,"linkedin":2348},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[2350,2395,2448,2491,2525],{"title":2040,"links":2351,"subMenu":2366},[2352,2356,2361],{"text":2353,"config":2354},"プランの表示",{"href":2042,"dataGaName":2355,"dataGaLocation":2333},"view plans",{"text":2357,"config":2358},"Premiumを選ぶ理由",{"href":2359,"dataGaName":2360,"dataGaLocation":2333},"/ja-jp/pricing/premium/","why premium",{"text":2362,"config":2363},"Ultimateを選ぶ理由",{"href":2364,"dataGaName":2365,"dataGaLocation":2333},"/ja-jp/pricing/ultimate/","why ultimate",[2367],{"title":2215,"links":2368},[2369,2371,2373,2375,2380,2385,2390],{"text":2215,"config":2370},{"href":2224,"dataGaName":1901,"dataGaLocation":2333},{"text":2227,"config":2372},{"href":2229,"dataGaName":2230,"dataGaLocation":2333},{"text":2232,"config":2374},{"href":2234,"dataGaName":2235,"dataGaLocation":2333},{"text":2376,"config":2377},"ステータス",{"href":2378,"dataGaName":2379,"dataGaLocation":2333},"https://status.gitlab.com/","status",{"text":2381,"config":2382},"利用規約",{"href":2383,"dataGaName":2384,"dataGaLocation":2333},"/terms/","terms of use",{"text":2386,"config":2387},"プライバシーに関する声明",{"href":2388,"dataGaName":2389,"dataGaLocation":2333},"/ja-jp/privacy/","privacy statement",{"text":2391,"config":2392},"Cookie 優先設定",{"dataGaName":2393,"dataGaLocation":2333,"id":2394,"isOneTrustButton":161},"cookie preferences","ot-sdk-btn",{"title":1938,"links":2396,"subMenu":2405},[2397,2401],{"text":2398,"config":2399},"DevSecOpsプラットフォーム",{"href":1920,"dataGaName":2400,"dataGaLocation":2333},"devsecops platform",{"text":2402,"config":2403},"AI支援開発",{"href":1927,"dataGaName":2404,"dataGaLocation":2333},"ai-assisted development",[2406],{"title":2407,"links":2408},"トピック",[2409,2413,2418,2423,2428,2433,2438,2443],{"text":1958,"config":2410},{"href":2411,"dataGaName":2412,"dataGaLocation":2333},"/ja-jp/topics/ci-cd/","cicd",{"text":2414,"config":2415},"GitOps",{"href":2416,"dataGaName":2417,"dataGaLocation":2333},"/ja-jp/topics/gitops/","gitops",{"text":2419,"config":2420},"DevOps",{"href":2421,"dataGaName":2422,"dataGaLocation":2333},"/ja-jp/topics/devops/","devops",{"text":2424,"config":2425},"バージョン管理",{"href":2426,"dataGaName":2427,"dataGaLocation":2333},"/ja-jp/topics/version-control/","version control",{"text":2429,"config":2430},"DevSecOps",{"href":2431,"dataGaName":2432,"dataGaLocation":2333},"/ja-jp/topics/devsecops/","devsecops",{"text":2434,"config":2435},"クラウドネイティブ",{"href":2436,"dataGaName":2437,"dataGaLocation":2333},"/ja-jp/topics/cloud-native/","cloud native",{"text":2439,"config":2440},"コーディングのためのAI",{"href":2441,"dataGaName":2442,"dataGaLocation":2333},"/ja-jp/topics/devops/ai-for-coding/","ai for coding",{"text":2444,"config":2445},"エージェント型AI",{"href":2446,"dataGaName":2447,"dataGaLocation":2333},"/ja-jp/topics/agentic-ai/","agentic ai",{"title":2449,"links":2450},"ソリューション",[2451,2454,2456,2461,2465,2468,2471,2474,2476,2478,2481,2486],{"text":1983,"config":2452},{"href":1978,"dataGaName":2453,"dataGaLocation":2333},"Application Security Testing",{"text":1970,"config":2455},{"href":1954,"dataGaName":1955,"dataGaLocation":2333},{"text":2457,"config":2458},"アジャイル開発",{"href":2459,"dataGaName":2460,"dataGaLocation":2333},"/ja-jp/solutions/agile-delivery/","agile delivery",{"text":2462,"config":2463},"SCM",{"href":1967,"dataGaName":2464,"dataGaLocation":2333},"source code management",{"text":1958,"config":2466},{"href":1960,"dataGaName":2467,"dataGaLocation":2333},"continuous integration & delivery",{"text":2009,"config":2469},{"href":2011,"dataGaName":2470,"dataGaLocation":2333},"value stream management",{"text":2414,"config":2472},{"href":2473,"dataGaName":2417,"dataGaLocation":2333},"/ja-jp/solutions/gitops/",{"text":2022,"config":2475},{"href":2025,"dataGaName":2026,"dataGaLocation":2333},{"text":2028,"config":2477},{"href":2031,"dataGaName":2032,"dataGaLocation":2333},{"text":2479,"config":2480},"公共機関",{"href":2037,"dataGaName":2038,"dataGaLocation":2333},{"text":2482,"config":2483},"教育",{"href":2484,"dataGaName":2485,"dataGaLocation":2333},"/ja-jp/solutions/education/","education",{"text":2487,"config":2488},"金融サービス",{"href":2489,"dataGaName":2490,"dataGaLocation":2333},"/ja-jp/solutions/finance/","financial services",{"title":2492,"links":2493},"リソース",[2494,2496,2498,2500,2504,2506,2509,2511,2513,2515,2517,2519,2521,2523],{"text":2058,"config":2495},{"href":2060,"dataGaName":2061,"dataGaLocation":2333},{"text":2063,"config":2497},{"href":2065,"dataGaName":2066,"dataGaLocation":2333},{"text":2068,"config":2499},{"href":2070,"dataGaName":2071,"dataGaLocation":2333},{"text":2073,"config":2501},{"href":2502,"dataGaName":2503,"dataGaLocation":2333},"https://docs.gitlab.com/ja-jp","docs",{"text":2096,"config":2505},{"href":2098,"dataGaName":2099,"dataGaLocation":2333},{"text":2507,"config":2508},"最新リリース",{"href":2156,"dataGaName":2157,"dataGaLocation":2333},{"text":2091,"config":2510},{"href":2093,"dataGaName":2094,"dataGaLocation":2333},{"text":2110,"config":2512},{"href":2112,"dataGaName":2113,"dataGaLocation":2333},{"text":2118,"config":2514},{"href":2120,"dataGaName":2121,"dataGaLocation":2333},{"text":2123,"config":2516},{"href":2125,"dataGaName":2126,"dataGaLocation":2333},{"text":2128,"config":2518},{"href":2130,"dataGaName":2131,"dataGaLocation":2333},{"text":2133,"config":2520},{"href":2135,"dataGaName":2136,"dataGaLocation":2333},{"text":2138,"config":2522},{"href":2140,"dataGaName":2141,"dataGaLocation":2333},{"text":2143,"config":2524},{"href":2145,"dataGaName":2146,"dataGaLocation":2333},{"title":2526,"links":2527},"会社情報",[2528,2530,2532,2534,2536,2538,2542,2547,2549,2551,2553],{"text":2167,"config":2529},{"href":2169,"dataGaName":2161,"dataGaLocation":2333},{"text":2172,"config":2531},{"href":2174,"dataGaName":2175,"dataGaLocation":2333},{"text":2180,"config":2533},{"href":2182,"dataGaName":2183,"dataGaLocation":2333},{"text":2185,"config":2535},{"href":2187,"dataGaName":2188,"dataGaLocation":2333},{"text":2190,"config":2537},{"href":2192,"dataGaName":2193,"dataGaLocation":2333},{"text":2539,"config":2540},"Sustainability",{"href":2541,"dataGaName":2539,"dataGaLocation":2333},"/sustainability/",{"text":2543,"config":2544},"ダイバーシティ、インクルージョン、ビロンギング（DIB）",{"href":2545,"dataGaName":2546,"dataGaLocation":2333},"/ja-jp/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":2195,"config":2548},{"href":2197,"dataGaName":2198,"dataGaLocation":2333},{"text":2205,"config":2550},{"href":2207,"dataGaName":2208,"dataGaLocation":2333},{"text":2210,"config":2552},{"href":2212,"dataGaName":2213,"dataGaLocation":2333},{"text":2554,"config":2555},"現代奴隷制の透明性に関する声明",{"href":2556,"dataGaName":2557,"dataGaLocation":2333},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":2559},[2560,2562,2565],{"text":2381,"config":2561},{"href":2383,"dataGaName":2384,"dataGaLocation":2333},{"text":2563,"config":2564},"Cookieの設定",{"dataGaName":2393,"dataGaLocation":2333,"id":2394,"isOneTrustButton":161},{"text":2386,"config":2566},{"href":2388,"dataGaName":2389,"dataGaLocation":2333},[2568],{"id":2569,"title":7,"body":1867,"config":2570,"content":2572,"description":1867,"extension":2576,"meta":2577,"navigation":161,"path":2578,"seo":2579,"stem":2580,"__hash__":2581},"blogAuthors/en-us/blog/authors/michael-friedrich.yml",{"template":2571},"BlogAuthor",{"name":7,"config":2573},{"headshot":2574,"ctfId":2575},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1749659879/Blog/Author%20Headshots/dnsmichi-headshot.jpg","dnsmichi","yml",{},"/en-us/blog/authors/michael-friedrich",{},"en-us/blog/authors/michael-friedrich","lJ-nfRIhdG49Arfrxdn1Vv4UppwD51BB13S3HwIswt4",[],{"promotions":2584},[2585,2599,2610,2622],{"id":2586,"categories":2587,"header":2589,"text":2590,"button":2591,"image":2596},"ai-modernization",[2588],"ai","AIの真価、組織全体で発揮できていますか？","所要時間は5分以内です",{"text":2592,"config":2593},"AI成熟度スコアを確認する",{"href":2594,"dataGaName":2595,"dataGaLocation":2099},"/ja-jp/assessments/ai-modernization-assessment/","modernization assessment",{"config":2597},{"src":2598},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138786/qix0m7kwnd8x2fh1zq49.png",{"id":2600,"categories":2601,"header":2602,"text":2590,"button":2603,"image":2607},"devops-modernization",[1879,2432],"単にツールを管理するだけでなく、イノベーションを提供していますか？",{"text":2604,"config":2605},"DevOps成熟度スコアを確認しましょう",{"href":2606,"dataGaName":2595,"dataGaLocation":2099},"/ja-jp/assessments/devops-modernization-assessment/",{"config":2608},{"src":2609},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138785/eg818fmakweyuznttgid.png",{"id":2611,"categories":2612,"header":2614,"text":2590,"button":2615,"image":2619},"security-modernization",[2613],"security","スピードのためにセキュリティを犠牲にしていませんか？",{"text":2616,"config":2617},"セキュリティ成熟度スコアを確認しましょう",{"href":2618,"dataGaName":2595,"dataGaLocation":2099},"/ja-jp/assessments/security-modernization-assessment/",{"config":2620},{"src":2621},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1772138786/p4pbqd9nnjejg5ds6mdk.png",{"id":2623,"paths":2624,"header":2627,"text":2628,"button":2629,"image":2634},"github-azure-migration",[2625,2626],"migration-from-azure-devops-to-gitlab","integrating-azure-devops-scm-and-gitlab","チームはGitHubのAzure移行に対応できていますか？","GitHubはすでにAzureを基盤として再構築を進めています。それがあなたのチームにとって何を意味するのか、ご確認ください。",{"text":2630,"config":2631},"GitLabとGitHubの比較を見る",{"href":2632,"dataGaName":2633,"dataGaLocation":2099},"/ja-jp/compare/gitlab-vs-github/github-azure-migration/","github azure migration",{"config":2635},{"src":2609},{"header":2637,"blurb":2638,"button":2639,"secondaryButton":2643},"今すぐ開発をスピードアップ","DevSecOpsに特化したインテリジェントオーケストレーションプラットフォームで実現できることをご確認ください。\n",{"text":1893,"config":2640},{"href":2641,"dataGaName":1896,"dataGaLocation":2642},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/ja-jp/","feature",{"text":2215,"config":2644},{"href":2224,"dataGaName":1901,"dataGaLocation":2642},1786803790206]