[{"data":1,"prerenderedAt":2603},["ShallowReactive",2],{"/ja-jp/blog/fix-bugs-with-codex-and-gitlab":3,"navigation-ja-jp":1887,"banner-ja-jp":2321,"footer-ja-jp":2329,"blog-post-authors-ja-jp-Michael Friedrich":2568,"blog-related-posts-ja-jp-fix-bugs-with-codex-and-gitlab":2583,"blog-share-wrapper-ja-jp":2584,"next-steps-ja-jp":2594},{"id":4,"title":5,"authors":6,"body":8,"category":1863,"date":1864,"description":1865,"extension":1866,"externalUrl":1867,"faq":1867,"featured":161,"heroImage":1868,"hidePromo":1869,"meta":1870,"navigation":161,"path":1871,"seo":1872,"slug":1877,"stem":1878,"tags":1879,"template":1884,"updatedDate":1885,"__hash__":1886},"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",false,{},"/ja-jp/blog/fix-bugs-with-codex-and-gitlab",{"ogTitle":1873,"ogImage":1868,"ogDescription":1865,"ogSiteName":613,"ogType":1874,"ogUrl":1875,"title":1873,"canonicalUrls":1875,"description":1876},"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,1880,1881,1882,1883],"product","DevSecOps platform","tutorial","workflow","BlogPost","2026-08-07","QNekX-r_B9elIJ1ww6vZ9y0InY1YEecFdaQ2N1wMnV8",{"logo":1888,"freeTrial":1893,"sales":1898,"login":1903,"items":1908,"search":2239,"minimal":2273,"duo":2291,"switchNav":2300,"pricingDeployment":2311},{"config":1889},{"href":1890,"dataGaName":1891,"dataGaLocation":1892},"/ja-jp/","gitlab logo","header",{"text":1894,"config":1895},"無料トライアルを開始",{"href":1896,"dataGaName":1897,"dataGaLocation":1892},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/ja-jp&glm_content=default-saas-trial/","free trial",{"text":1899,"config":1900},"デモをリクエスト",{"href":1901,"dataGaName":1902,"dataGaLocation":1892},"/ja-jp/request-a-demo/","sales",{"text":1904,"config":1905},"サインイン",{"href":1906,"dataGaName":1907,"dataGaLocation":1892},"https://gitlab.com/users/sign_in/","sign in",[1909,1995,2083,2088,2163,2217],{"text":1910,"left":161,"config":1911,"menu":1913},"プラットフォーム",{"dataNavLevelOne":1912},"platform",{"type":1914,"link":1915,"columns":1919,"feature":1984},"lists",{"text":1916,"config":1917},"プラットフォームを詳しく見る",{"href":1918,"dataGaName":1912,"dataGaLocation":1892},"/ja-jp/platform/",[1920,1943,1966],{"title":1921,"items":1922},"DevOps",[1923,1928,1933,1938],{"text":1924,"config":1925},"CI/CD",{"href":1926,"dataGaLocation":1892,"dataGaName":1927},"/ja-jp/solutions/continuous-integration/","ci/cd",{"text":1929,"config":1930},"ソースコード管理",{"href":1931,"dataGaLocation":1892,"dataGaName":1932},"/ja-jp/solutions/source-code-management/","source code management",{"text":1934,"config":1935},"アジャイルデリバリー",{"href":1936,"dataGaLocation":1892,"dataGaName":1937},"/ja-jp/solutions/agile-delivery/","agile delivery",{"text":1939,"config":1940},"アーティファクト管理",{"href":1941,"dataGaLocation":1892,"dataGaName":1942},"/ja-jp/artifact-central/","artifact management",{"title":1944,"items":1945},"セキュリティとガバナンス",[1946,1951,1956,1961],{"text":1947,"config":1948},"アプリケーションセキュリティテスト",{"href":1949,"dataGaLocation":1892,"dataGaName":1950},"/ja-jp/solutions/application-security-testing/","application security testing",{"text":1952,"config":1953},"ガバナンスとコンプライアンス",{"href":1954,"dataGaLocation":1892,"dataGaName":1955},"/ja-jp/solutions/software-compliance/","governance and compliance",{"text":1957,"config":1958},"シークレット管理",{"href":1959,"dataGaLocation":1892,"dataGaName":1960},"/ja-jp/gitlab-secrets-manager/","secrets management",{"text":1962,"config":1963},"サプライチェーンセキュリティ",{"href":1964,"dataGaLocation":1892,"dataGaName":1965},"/ja-jp/solutions/supply-chain/","supply chain security",{"title":1967,"items":1968},"エージェント型AIとコンテキスト",[1969,1974,1979],{"text":1970,"config":1971},"Duo Agent Platform",{"href":1972,"dataGaLocation":1892,"dataGaName":1973},"/ja-jp/gitlab-duo-agent-platform/","duo agent platform",{"text":1975,"config":1976},"Orbitコンテキストグラフ",{"href":1977,"dataGaLocation":1892,"dataGaName":1978},"/ja-jp/gitlab-orbit/","orbit",{"text":1980,"config":1981},"可視性と測定",{"href":1982,"dataGaLocation":1892,"dataGaName":1983},"/ja-jp/solutions/visibility-measurement/","visibility and measurement",{"config":1985,"title":1988,"text":1989,"link":1990},{"background":1986,"textColor":1987},"url('https://res.cloudinary.com/about-gitlab-com/image/upload/v1790185102/o7dn32anqcb6z8dgd3as.jpg')","#000","GitLab Orbitが一般提供開始","エージェントの精度向上とトークンコストの削減",{"text":1991,"config":1992},"発表を読む",{"href":1993,"dataGaName":1994,"dataGaLocation":1892},"/ja-jp/blog/gitlab-orbit-ga/","orbit ga announcement",{"text":1996,"left":161,"config":1997,"menu":1999},"ソリューション",{"dataNavLevelOne":1998},"solutions",{"type":1914,"link":2000,"columns":2004,"feature":2074},{"text":2001,"config":2002},"すべてのソリューションを表示",{"href":2003,"dataGaName":1998,"dataGaLocation":1892},"/ja-jp/solutions/",[2005,2023,2041],{"title":2006,"items":2007},"成果",[2008,2013,2018],{"text":2009,"config":2010},"DevOpsモダナイゼーション",{"href":2011,"dataGaLocation":1892,"dataGaName":2012},"/ja-jp/assessments/devops-modernization-assessment/","devops modernization",{"text":2014,"config":2015},"セキュリティモダナイゼーション",{"href":2016,"dataGaLocation":1892,"dataGaName":2017},"/ja-jp/assessments/security-modernization-assessment/","security modernization",{"text":2019,"config":2020},"AIモダナイゼーション",{"href":2021,"dataGaLocation":1892,"dataGaName":2022},"/ja-jp/assessments/ai-modernization-assessment/","ai modernization",{"title":2024,"items":2025},"規模別",[2026,2031,2036],{"text":2027,"config":2028},"エンタープライズ",{"href":2029,"dataGaLocation":1892,"dataGaName":2030},"/ja-jp/enterprise/","enterprise",{"text":2032,"config":2033},"スモールビジネス",{"href":2034,"dataGaLocation":1892,"dataGaName":2035},"/ja-jp/small-business/","small business",{"text":2037,"config":2038},"スタートアップ",{"href":2039,"dataGaLocation":1892,"dataGaName":2040},"/ja-jp/solutions/startups/","startups",{"title":2042,"items":2043},"業界",[2044,2049,2054,2059,2064,2069],{"text":2045,"config":2046},"金融サービス",{"href":2047,"dataGaLocation":1892,"dataGaName":2048},"/ja-jp/solutions/finance/","financial services",{"text":2050,"config":2051},"公共部門",{"href":2052,"dataGaLocation":1892,"dataGaName":2053},"/ja-jp/solutions/public-sector/","public sector",{"text":2055,"config":2056},"通信",{"href":2057,"dataGaLocation":1892,"dataGaName":2058},"/ja-jp/solutions/telecommunications/","telecommunications",{"text":2060,"config":2061},"自動車",{"href":2062,"dataGaLocation":1892,"dataGaName":2063},"/ja-jp/solutions/automotive/","automotive",{"text":2065,"config":2066},"教育",{"href":2067,"dataGaLocation":1892,"dataGaName":2068},"/ja-jp/solutions/education/","education",{"text":2070,"config":2071},"航空宇宙",{"href":2072,"dataGaLocation":1892,"dataGaName":2073},"/ja-jp/solutions/aerospace/","aerospace",{"config":2075,"title":2076,"text":2077,"link":2078},{"background":1986,"textColor":1987},"GitLabのセキュリティ標準","セキュリティを犠牲にすることなく、ソフトウェアファクトリーを強化し、自律的なAIエージェントを実現する方法をご覧ください。",{"text":2079,"config":2080},"標準を見る",{"href":2081,"dataGaName":2082,"dataGaLocation":1892},"/ja-jp/gitlab-security-standard/","gitlab security standard",{"text":2084,"config":2085},"料金",{"href":2086,"dataGaName":2087,"dataGaLocation":1892,"dataNavLevelOne":2087},"/ja-jp/pricing/","pricing",{"text":2089,"config":2090,"menu":2092},"リソース",{"dataNavLevelOne":2091},"resources",{"type":1914,"link":2093,"columns":2097,"feature":2154},{"text":2094,"config":2095},"すべてのリソースを表示",{"href":2096,"dataGaName":2091,"dataGaLocation":1892},"/ja-jp/resources/",[2098,2126],{"title":2099,"items":2100},"検索する",[2101,2106,2111,2116,2121],{"text":2102,"config":2103},"製品ドキュメント",{"href":2104,"dataGaName":2105,"dataGaLocation":1892},"https://docs.gitlab.com/ja-jp/","docs",{"text":2107,"config":2108},"GitLab University",{"href":2109,"dataGaName":2110,"dataGaLocation":1892},"https://university.gitlab.com/","university",{"text":2112,"config":2113},"技術デモ",{"href":2114,"dataGaName":2115,"dataGaLocation":1892},"/ja-jp/gitlab-technical-demo-series/","demo series",{"text":2117,"config":2118},"インタラクティブデモ",{"href":2119,"dataGaName":2120,"dataGaLocation":1892},"/ja-jp/demo-hub/","demo hub",{"text":2122,"config":2123},"GitLabサービス",{"href":2124,"dataGaName":2125,"dataGaLocation":1892},"/ja-jp/services/","services",{"title":2127,"items":2128},"つなげる",[2129,2134,2139,2144,2149],{"text":2130,"config":2131},"ブログ",{"href":2132,"dataGaName":2133,"dataGaLocation":1892},"/ja-jp/blog/","blog",{"text":2135,"config":2136},"コミュニティ",{"href":2137,"dataGaName":2138,"dataGaLocation":1892},"/community/","community",{"text":2140,"config":2141},"お客様事例",{"href":2142,"dataGaName":2143,"dataGaLocation":1892},"/ja-jp/customers/","customers",{"text":2145,"config":2146},"パートナー",{"href":2147,"dataGaName":2148,"dataGaLocation":1892},"/ja-jp/partners/","partners",{"text":2150,"config":2151},"イベント",{"href":2152,"dataGaName":2153,"dataGaLocation":1892},"/events/","events",{"config":2155,"title":2156,"text":2157,"link":2158},{"background":1986,"textColor":1987},"GitLabの最新情報","最新の機能と改善点に関する情報をお届けします。",{"text":2159,"config":2160},"最新情報を読む",{"href":2161,"dataGaName":2162,"dataGaLocation":1892},"/ja-jp/whats-new/","whats new",{"text":2164,"config":2165,"menu":2167},"企業情報",{"dataNavLevelOne":2166},"company",{"type":1914,"columns":2168},[2169],{"items":2170},[2171,2176,2182,2187,2192,2197,2202,2207,2212],{"text":2172,"config":2173},"GitLabについて",{"href":2174,"dataGaName":2175,"dataGaLocation":1892},"/ja-jp/company/","about",{"text":2177,"config":2178,"footerGa":2181},"採用情報",{"href":2179,"dataGaName":2180,"dataGaLocation":1892},"/jobs/","jobs",{"dataGaName":2180},{"text":2183,"config":2184},"プレス",{"href":2185,"dataGaName":2186,"dataGaLocation":1892},"/press/","press",{"text":2188,"config":2189},"ハンドブック",{"href":2190,"dataGaName":2191,"dataGaLocation":1892},"https://handbook.gitlab.com/","handbook",{"text":2193,"config":2194},"経営陣",{"href":2195,"dataGaName":2196,"dataGaLocation":1892},"/company/team/e-group/","leadership",{"text":2198,"config":2199},"投資家向け情報",{"href":2200,"dataGaName":2201,"dataGaLocation":1892},"https://ir.gitlab.com/overview/default.aspx","investor relations",{"text":2203,"config":2204},"トラストセンター",{"href":2205,"dataGaName":2206,"dataGaLocation":1892},"/ja-jp/security/","trust center",{"text":2208,"config":2209},"AI Transparency Center",{"href":2210,"dataGaName":2211,"dataGaLocation":1892},"/ja-jp/ai-transparency-center/","ai transparency center",{"text":2213,"config":2214},"ニュースレター",{"href":2215,"dataGaName":2216,"dataGaLocation":1892},"/company/contact/#contact-forms","newsletter",{"text":2218,"config":2219,"menu":2220},"お問い合わせ",{"dataNavLevelOne":2166},{"type":1914,"columns":2221},[2222],{"items":2223},[2224,2229,2234],{"text":2225,"config":2226},"営業担当へのお問い合わせ",{"href":2227,"dataGaName":2228,"dataGaLocation":1892},"/ja-jp/sales/","talk to sales",{"text":2230,"config":2231},"サポートポータル",{"href":2232,"dataGaName":2233,"dataGaLocation":1892},"https://support.gitlab.com/hc/en-us","support portal",{"text":2235,"config":2236},"カスタマーポータル",{"href":2237,"dataGaName":2238,"dataGaLocation":1892},"https://customers.gitlab.com/customers/sign_in/","customer portal",{"close":2240,"login":2241,"suggestions":2248},"閉じる",{"text":2242,"link":2243},"リポジトリとプロジェクトを検索するには、次にログインします",{"text":2244,"config":2245},"GitLab.com",{"href":1906,"dataGaName":2246,"dataGaLocation":2247},"search login","search",{"text":2249,"default":2250},"提案",[2251,2254,2258,2260,2264,2268],{"text":2252,"config":2253},"GitLab Duo Agent Platform",{"href":1972,"dataGaName":2252,"dataGaLocation":2247},{"text":2255,"config":2256},"コード提案（AI）",{"href":1972,"dataGaName":2257,"dataGaLocation":2247},"Code Suggestions (AI)",{"text":1924,"config":2259},{"href":1926,"dataGaName":1924,"dataGaLocation":2247},{"text":2261,"config":2262},"GitLab on AWS",{"href":2263,"dataGaName":2261,"dataGaLocation":2247},"/ja-jp/partners/technology-partners/aws/",{"text":2265,"config":2266},"GitLab on Google Cloud",{"href":2267,"dataGaName":2265,"dataGaLocation":2247},"/ja-jp/partners/technology-partners/google-cloud-platform/",{"text":2269,"config":2270},"GitLabを選ぶ理由",{"href":2271,"dataGaName":2272,"dataGaLocation":2247},"/ja-jp/why-gitlab/","Why GitLab?",{"freeTrial":2274,"mobileIcon":2278,"desktopIcon":2283,"secondaryButton":2286},{"text":1894,"config":2275},{"href":2276,"dataGaName":1897,"dataGaLocation":2277},"https://gitlab.com/-/trials/new/","nav",{"altText":2279,"config":2280},"GitLabアイコン",{"src":2281,"dataGaName":2282,"dataGaLocation":2277},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203874/jypbw1jx72aexsoohd7x.svg","gitlab icon",{"altText":2279,"config":2284},{"src":2285,"dataGaName":2282,"dataGaLocation":2277},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1758203875/gs4c8p8opsgvflgkswz9.svg",{"text":2287,"config":2288},"はじめに",{"href":2289,"dataGaName":2290,"dataGaLocation":2277},"https://gitlab.com/-/trial_registrations/new?glm_source=about.gitlab.com/ja-jp/get-started/","get started",{"freeTrial":2292,"mobileIcon":2296,"desktopIcon":2298},{"text":2293,"config":2294},"GitLab Duoの詳細はこちら",{"href":1972,"dataGaName":2295,"dataGaLocation":2277},"gitlab duo",{"altText":2279,"config":2297},{"src":2281,"dataGaName":2282,"dataGaLocation":2277},{"altText":2279,"config":2299},{"src":2285,"dataGaName":2282,"dataGaLocation":2277},{"button":2301,"mobileIcon":2306,"desktopIcon":2308},{"text":2302,"config":2303},"/switch",{"href":2304,"dataGaName":2305,"dataGaLocation":2277},"#contact","switch",{"altText":2279,"config":2307},{"src":2281,"dataGaName":2282,"dataGaLocation":2277},{"altText":2279,"config":2309},{"src":2310,"dataGaName":2282,"dataGaLocation":2277},"https://res.cloudinary.com/about-gitlab-com/image/upload/v1773335277/ohhpiuoxoldryzrnhfrh.png",{"freeTrial":2312,"mobileIcon":2317,"desktopIcon":2319},{"text":2313,"config":2314},"料金ページに戻る",{"href":2086,"dataGaName":2315,"dataGaLocation":2277,"icon":2316},"back to pricing","GoBack",{"altText":2279,"config":2318},{"src":2281,"dataGaName":2282,"dataGaLocation":2277},{"altText":2279,"config":2320},{"src":2285,"dataGaName":2282,"dataGaLocation":2277},{"title":2322,"titleMobile":1988,"button":2323,"config":2327},"GitLab Orbitが一般提供開始。エージェントの精度を高め、トークンコストを削減",{"text":1991,"config":2324},{"href":1993,"dataGaName":2325,"dataGaLocation":2326},"orbit-ga-banner","global-banner",{"layout":2328,"disabled":1869},"release",{"data":2330},{"text":2331,"config":2332,"items":2337,"minimal":2560},"GitはSoftware Freedom Conservancyの商標です。当社は「GitLab」をライセンスに基づいて使用しています",{"twitter":2333,"facebook":2334,"youtube":2335,"linkedin":2336},"https://twitter.com/gitlab","https://www.facebook.com/gitlab","https://www.youtube.com/channel/UCnMGQ8QHMAnVIsI3xJrihhg","https://www.linkedin.com/company/gitlab-com",[2338,2385,2443,2485,2527],{"title":2339,"links":2340,"subMenu":2356},"価格",[2341,2346,2351],{"text":2342,"config":2343},"プランの表示",{"href":2086,"dataGaName":2344,"dataGaLocation":2345},"view plans","footer",{"text":2347,"config":2348},"Premiumを選ぶ理由",{"href":2349,"dataGaName":2350,"dataGaLocation":2345},"/ja-jp/pricing/premium/","why premium",{"text":2352,"config":2353},"Ultimateを選ぶ理由",{"href":2354,"dataGaName":2355,"dataGaLocation":2345},"/ja-jp/pricing/ultimate/","why ultimate",[2357],{"title":2218,"links":2358},[2359,2361,2363,2365,2370,2375,2380],{"text":2225,"config":2360},{"href":2227,"dataGaName":1902,"dataGaLocation":2345},{"text":2230,"config":2362},{"href":2232,"dataGaName":2233,"dataGaLocation":2345},{"text":2235,"config":2364},{"href":2237,"dataGaName":2238,"dataGaLocation":2345},{"text":2366,"config":2367},"ステータス",{"href":2368,"dataGaName":2369,"dataGaLocation":2345},"https://status.gitlab.com/","status",{"text":2371,"config":2372},"利用規約",{"href":2373,"dataGaName":2374,"dataGaLocation":2345},"/terms/","terms of use",{"text":2376,"config":2377},"プライバシーに関する声明",{"href":2378,"dataGaName":2379,"dataGaLocation":2345},"/ja-jp/privacy/","privacy statement",{"text":2381,"config":2382},"Cookie設定",{"dataGaName":2383,"dataGaLocation":2345,"id":2384,"isOneTrustButton":161},"cookie preferences","ot-sdk-btn",{"title":1910,"links":2386,"subMenu":2401},[2387,2389,2391,2393,2395,2397],{"text":1916,"config":2388},{"href":1918,"dataGaName":1912,"dataGaLocation":2345},{"text":1970,"config":2390},{"href":1972,"dataGaName":1973,"dataGaLocation":2345},{"text":1924,"config":2392},{"href":1926,"dataGaName":1927,"dataGaLocation":2345},{"text":1975,"config":2394},{"href":1977,"dataGaName":1978,"dataGaLocation":2345},{"text":1957,"config":2396},{"href":1959,"dataGaName":1960,"dataGaLocation":2345},{"text":2398,"config":2399},"GitLabが選ばれる理由",{"href":2271,"dataGaName":2400,"dataGaLocation":2345},"why gitlab",[2402],{"title":2403,"links":2404},"トピック",[2405,2409,2414,2418,2423,2428,2433,2438],{"text":1924,"config":2406},{"href":2407,"dataGaName":2408,"dataGaLocation":2345},"/ja-jp/topics/ci-cd/","cicd",{"text":2410,"config":2411},"GitOps",{"href":2412,"dataGaName":2413,"dataGaLocation":2345},"/ja-jp/topics/gitops/","gitops",{"text":1921,"config":2415},{"href":2416,"dataGaName":2417,"dataGaLocation":2345},"/ja-jp/topics/devops/","devops",{"text":2419,"config":2420},"バージョン管理",{"href":2421,"dataGaName":2422,"dataGaLocation":2345},"/ja-jp/topics/version-control/","version control",{"text":2424,"config":2425},"DevSecOps",{"href":2426,"dataGaName":2427,"dataGaLocation":2345},"/ja-jp/topics/devsecops/","devsecops",{"text":2429,"config":2430},"クラウドネイティブ",{"href":2431,"dataGaName":2432,"dataGaLocation":2345},"/ja-jp/topics/cloud-native/","cloud native",{"text":2434,"config":2435},"コーディングのためのAI",{"href":2436,"dataGaName":2437,"dataGaLocation":2345},"/ja-jp/topics/devops/ai-for-coding/","ai for coding",{"text":2439,"config":2440},"エージェント型AI",{"href":2441,"dataGaName":2442,"dataGaLocation":2345},"/ja-jp/topics/agentic-ai/","agentic ai",{"title":1996,"links":2444},[2445,2447,2449,2451,2453,2456,2458,2460,2462,2464,2466,2468,2470,2473,2477,2481],{"text":2009,"config":2446},{"href":2011,"dataGaName":2012,"dataGaLocation":2345},{"text":2014,"config":2448},{"href":2016,"dataGaName":2017,"dataGaLocation":2345},{"text":2019,"config":2450},{"href":2021,"dataGaName":2022,"dataGaLocation":2345},{"text":2045,"config":2452},{"href":2047,"dataGaName":2048,"dataGaLocation":2345},{"text":2454,"config":2455},"公共機関",{"href":2052,"dataGaName":2053,"dataGaLocation":2345},{"text":2055,"config":2457},{"href":2057,"dataGaName":2058,"dataGaLocation":2345},{"text":2060,"config":2459},{"href":2062,"dataGaName":2063,"dataGaLocation":2345},{"text":2065,"config":2461},{"href":2067,"dataGaName":2068,"dataGaLocation":2345},{"text":2070,"config":2463},{"href":2072,"dataGaName":2073,"dataGaLocation":2345},{"text":2027,"config":2465},{"href":2029,"dataGaName":2030,"dataGaLocation":2345},{"text":2032,"config":2467},{"href":2034,"dataGaName":2035,"dataGaLocation":2345},{"text":2037,"config":2469},{"href":2039,"dataGaName":2040,"dataGaLocation":2345},{"text":2410,"config":2471},{"href":2472,"dataGaName":2413,"dataGaLocation":2345},"/ja-jp/solutions/gitops/",{"text":2474,"config":2475},"ソフトウェアコンポジション解析",{"href":1964,"dataGaName":2476,"dataGaLocation":2345},"software composition analysis",{"text":2478,"config":2479},"バリューストリーム管理",{"href":1982,"dataGaName":2480,"dataGaLocation":2345},"value stream management",{"text":2482,"config":2483},"すべてのソリューション",{"href":2003,"dataGaName":2484,"dataGaLocation":2345},"all solutions",{"title":2089,"links":2486},[2487,2492,2497,2500,2502,2504,2506,2508,2510,2512,2514,2516,2518,2520,2523],{"text":2488,"config":2489},"インストール",{"href":2490,"dataGaName":2491,"dataGaLocation":2345},"/ja-jp/install/","install",{"text":2493,"config":2494},"クイックスタートガイド",{"href":2495,"dataGaName":2496,"dataGaLocation":2345},"/ja-jp/get-started/","quick setup checklists",{"text":2102,"config":2498},{"href":2499,"dataGaName":2105,"dataGaLocation":2345},"https://docs.gitlab.com/ja-jp",{"text":2107,"config":2501},{"href":2109,"dataGaName":2110,"dataGaLocation":2345},{"text":2112,"config":2503},{"href":2114,"dataGaName":2115,"dataGaLocation":2345},{"text":2117,"config":2505},{"href":2119,"dataGaName":2120,"dataGaLocation":2345},{"text":2122,"config":2507},{"href":2124,"dataGaName":2125,"dataGaLocation":2345},{"text":2130,"config":2509},{"href":2132,"dataGaName":2133,"dataGaLocation":2345},{"text":2135,"config":2511},{"href":2137,"dataGaName":2138,"dataGaLocation":2345},{"text":2140,"config":2513},{"href":2142,"dataGaName":2143,"dataGaLocation":2345},{"text":2145,"config":2515},{"href":2147,"dataGaName":2148,"dataGaLocation":2345},{"text":2150,"config":2517},{"href":2152,"dataGaName":2153,"dataGaLocation":2345},{"text":2213,"config":2519},{"href":2215,"dataGaName":2216,"dataGaLocation":2345},{"text":2521,"config":2522},"最新リリース",{"href":2161,"dataGaName":2162,"dataGaLocation":2345},{"text":2524,"config":2525},"すべてのリソース",{"href":2096,"dataGaName":2526,"dataGaLocation":2345},"all resources",{"title":2528,"links":2529},"会社情報",[2530,2532,2534,2536,2538,2540,2542,2544,2546,2550,2555],{"text":2172,"config":2531},{"href":2174,"dataGaName":2166,"dataGaLocation":2345},{"text":2177,"config":2533},{"href":2179,"dataGaName":2180,"dataGaLocation":2345},{"text":2183,"config":2535},{"href":2185,"dataGaName":2186,"dataGaLocation":2345},{"text":2188,"config":2537},{"href":2190,"dataGaName":2191,"dataGaLocation":2345},{"text":2193,"config":2539},{"href":2195,"dataGaName":2196,"dataGaLocation":2345},{"text":2198,"config":2541},{"href":2200,"dataGaName":2201,"dataGaLocation":2345},{"text":2203,"config":2543},{"href":2205,"dataGaName":2206,"dataGaLocation":2345},{"text":2208,"config":2545},{"href":2210,"dataGaName":2211,"dataGaLocation":2345},{"text":2547,"config":2548},"Sustainability",{"href":2549,"dataGaName":2547,"dataGaLocation":2345},"/sustainability/",{"text":2551,"config":2552},"ダイバーシティ、インクルージョン、ビロンギング（DIB）",{"href":2553,"dataGaName":2554,"dataGaLocation":2345},"/ja-jp/diversity-inclusion-belonging/","Diversity, inclusion and belonging",{"text":2556,"config":2557},"現代奴隷制の透明性に関する声明",{"href":2558,"dataGaName":2559,"dataGaLocation":2345},"https://handbook.gitlab.com/handbook/legal/modern-slavery-act-transparency-statement/","modern slavery transparency statement",{"items":2561},[2562,2564,2566],{"text":2371,"config":2563},{"href":2373,"dataGaName":2374,"dataGaLocation":2345},{"text":2381,"config":2565},{"dataGaName":2383,"dataGaLocation":2345,"id":2384,"isOneTrustButton":161},{"text":2376,"config":2567},{"href":2378,"dataGaName":2379,"dataGaLocation":2345},[2569],{"id":2570,"title":7,"body":1867,"config":2571,"content":2573,"description":1867,"extension":2577,"meta":2578,"navigation":161,"path":2579,"seo":2580,"stem":2581,"__hash__":2582},"blogAuthors/en-us/blog/authors/michael-friedrich.yml",{"template":2572},"BlogAuthor",{"name":7,"config":2574},{"headshot":2575,"ctfId":2576},"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",[],{"header":2585,"text":2586,"button":2590,"disclaimer":2593},"無料の\n\n30日間のGitLabトライアルを開始\n",[2587,2588,2589],"GitLab Duo Agent Platformへのアクセス","GitLabの最も高度な機能を試す","AIで複雑なタスクを自動化する",{"text":1894,"config":2591},{"href":2592,"dataGaName":1897,"dataGaLocation":2133},"https://gitlab.com/-/trials/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/ja-jp/blog/","クレジットカードなしでご登録いただけます。",{"header":2595,"blurb":2596,"button":2597,"secondaryButton":2601},"今すぐ開発をスピードアップ","DevSecOpsに特化したインテリジェントオーケストレーションプラットフォームで実現できることをご確認ください。\n",{"text":1894,"config":2598},{"href":2599,"dataGaName":1897,"dataGaLocation":2600},"https://gitlab.com/-/trial_registrations/new?glm_content=default-saas-trial&glm_source=about.gitlab.com/ja-jp/","feature",{"text":2218,"config":2602},{"href":2227,"dataGaName":1902,"dataGaLocation":2600},1794911809984]