{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["platform-badges","admonition","img"]},"type":"markdown"},"seo":{"title":"Treasure AI Studio - GitHub への接続","description":"Treasure AI GitHub Integration App をインストールしてコネクションを認可し、Treasure AI Studio のエージェントがコード・Issue・プルリクエストを操作できるようにします。","siteUrl":"https://docs.treasure.ai","image":"/assets/treasure-ai-social-preview.e6fefb35676f6da91c2d1bc783bd39e618e7af2b1ad3aa52a96ae69d72e700fe.b1bff462.png","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"github-への接続","__idx":0},"children":["GitHub への接続"]},{"$$mdtype":"Tag","name":"PlatformBadges","attributes":{"platforms":["Web","Desktop"]},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["GitHub コネクタを使うと、Treasure AI Studio のエージェントがチャット中に GitHub リポジトリを操作できます。コードのクローン、ファイルの読み取り・編集、プルリクエストの作成・レビュー、Issue の管理などをあなたに代わって行います。エージェントはサンドボックス内で ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["gh"]}," CLI と HTTPS 経由の ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["git"]}," を使い、あなたのコネクションで認証します。Treasure Data コネクタと同様に、ベンダー側で OAuth アプリケーションを作成する必要はありません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["セットアップは 3 つの部分に分かれ、それぞれ担う役割が異なります。Studio の管理者が ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["コネクタを有効化"]}," し、GitHub アカウントまたは Organization に権限を持つ人が、エージェントにアクセスさせたいリポジトリに ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Treasure AI GitHub App をインストール"]}," し、各ユーザーが ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["自分のコネクションを認可"]}," します。真ん中の部分は完全に GitHub 側で完結し、Studio アカウントとは結び付きません。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#github-app-%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%AF-studio-%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88%E3%81%A8%E3%81%AF%E7%8B%AC%E7%AB%8B%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99"},"children":["GitHub App のインストールは Studio アカウントとは独立しています"]}," を参照してください。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"コネクションが初めての方へ"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["まず ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/connections"},"children":["コネクション"]}," を読んで、全体像 — コネクタとコネクションの違い、管理者とユーザーの役割 — を把握してください。このページでは GitHub 固有の手順を説明します。"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"目的","__idx":1},"children":["目的"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["GitHub コネクタを有効化し、エージェントにアクセスさせたいリポジトリに Treasure AI GitHub App をインストールし、コネクションを認可して、エージェントがコード・Issue・プルリクエストを操作できるようにします。また、GitHub App がどの操作を実行できるのかも確認します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"前提条件","__idx":2},"children":["前提条件"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure AI Studio のアカウント管理者権限 — ステップ 1（コネクタの有効化）でのみ必要です"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["エージェントに作業させたい場所に GitHub App をインストールできる GitHub 側の権限 — ステップ 2 でのみ必要です。自分が所有する個人アカウントにはインストールできます。Organization にインストールする場合は Organization のオーナー権限が必要です。これは GitHub 側の権限であり、Studio でのロールとは関係ありません。"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ステップ-1--github-コネクタを有効化するstudio-管理者","__idx":3},"children":["ステップ 1 — GitHub コネクタを有効化する（Studio 管理者）"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure AI が GitHub App とその OAuth クライアントを管理するため、ベンダー側で登録するものはなく、入力する Client ID や Secret もありません。コネクタの有効化は、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Connections]"]}," タブに GitHub を表示させるための操作です。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Treasure AI Studio で ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Settings] → [Connector Settings]"]},"（",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Organization]"]}," の下）を開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Add Connector]"]},"（または ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Add your first connector]"]},"）をクリックし、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[GitHub]"]}," を選択します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["GitHub コネクタには入力する設定項目がありません。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Save]"]}," をクリックして追加します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ユーザーがコネクションを認可できるよう、コネクタが ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["有効化"]}," されていることを確認します。これで、全ユーザーの ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Connections]"]}," タブの ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Available]"]}," に GitHub が表示されます。"]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/ai-studio-connector-select-github.30b169a90728d3973fba37d01946c919bf58e12c9a3d3edffc78b44523e72277.fdfbfafb.webp","alt":"GitHub コネクタと [追加] ボタンが表示された [コネクタを選択] 画面。設定済みの Treasure Data・Databricks・Snowflake コネクタも並んでいる","framed":false,"withLightbox":true,"width":"800px"},"children":[]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/ai-studio-connector-configure-github.7e487cc0660647b608f0b226dad7ce8304af18490a3918f4b09729905ad4c340.fdfbfafb.webp","alt":"[Save] と [Cancel] ボタンのみを備えた [GitHub の設定] フォームと、[Save] をクリックしてから GitHub App をインストールするよう案内する [Setup Guide] パネル（GitHub App インストールページへのリンクを含む）","framed":false,"withLightbox":true,"width":"800px"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["フォームの横に表示される ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Setup Guide]"]}," パネルには GitHub App インストールページへのリンクが記載されています。このパネル自体はコネクタ追加フォームの一部なので、コネクタを追加している最中にのみ表示されますが、そこに記載されたリンクはパネルと一緒に消えるわけではありません。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Save]"]}," をクリックした後、保存されたコネクタの行には、展開アイコン（展開すると保存済みの設定項目の値が表示されますが、GitHub コネクタには設定項目がありません）・有効化トグル・削除ボタンがあります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["その下には、コネクタが到達する必要のあるドメインごとのリマインダーが表示され、最下部に GitHub App インストールページへのリンクを記した注記が常に表示されます。"]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/ai-studio-connector-github-configured.360ff4f39b4e1c4c4f3f7289c1c8d9a7b02dad3b2e9d886fbb64df7edce6e143.fdfbfafb.webp","alt":"[Connector Settings] に保存された GitHub コネクタの行。展開アイコン・有効化トグル・削除ボタン、[Allow github.com in your network policy] と [Allow api.github.com in your network policy] という 2 つのリマインダー、および GitHub App インストールページへのリンクを記した注記が表示されている","framed":false,"withLightbox":true,"width":"800px"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このリマインダーは egress ドメインを宣言するすべてのコネクタについて表示され、ネットワークポリシーで既に許可済みかどうかに関係なく表示され続けます。設定に不備があることを示すものではなく、そのコネクタが何を必要とするかを示しています。リマインダーの下の注記はインストールページへのリンクを繰り返し表示するため、コネクタを追加している最中に限らず、いつでもアクセスできます（このページは公開された GitHub の URL であり、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#%E3%82%B9%E3%83%86%E3%83%83%E3%83%97-2--treasure-ai-github-app-%E3%82%92%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8Bgithub-%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88%E3%81%BE%E3%81%9F%E3%81%AF-organization-%E3%81%AE%E3%82%AA%E3%83%BC%E3%83%8A%E3%83%BC"},"children":["ステップ 2"]}," に完全な形で記載しています）。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"ベンダー側での OAuth 設定は不要"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Databricks と Snowflake のコネクタでは、管理者がベンダーのコンソールで OAuth アプリケーションを作成し、その Client ID と Secret を貼り付ける必要があります。GitHub コネクタではそれらが一切不要です。GitHub App とその OAuth クライアントは Treasure AI が提供・管理するため、設定フォームは空です。"]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"ネットワークポリシーで egress ドメインを許可する"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アカウントでネットワークポリシーを使用している場合、コネクタの ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["egress ドメイン"]},"（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["github.com"]}," と ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["api.github.com"]},"）を許可し、エージェントのサンドボックスが GitHub に到達できるようにしてください。各コネクタが必要とするドメインは ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Connector Settings]"]}," に表示されます。"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ステップ-2--treasure-ai-github-app-をインストールするgithub-アカウントまたは-organization-のオーナー","__idx":4},"children":["ステップ 2 — Treasure AI GitHub App をインストールする（GitHub アカウントまたは Organization のオーナー）"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["アクセスを実際に付与するのはインストールです。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["エージェントは Treasure AI GitHub App がインストールされたリポジトリにのみアクセスできます。"]}," これがエージェントの到達範囲を制御する仕組みです。エージェントに操作させたいリポジトリにのみインストールしてください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["この App は ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Treasure AI GitHub Integration"]}," という名前で GitHub に公開されており、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["treasure-data"]}," Organization が所有しています。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"32%","data-label":"ページ"},"children":["ページ "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"68%","data-label":"URL"},"children":["URL "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["App の公開ページ（説明と権限）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/apps/treasure-ai-github-integration"},"children":["https://github.com/apps/treasure-ai-github-integration"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インストール（アカウントまたは Organization を選択）"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/apps/treasure-ai-github-integration/installations/new"},"children":["https://github.com/apps/treasure-ai-github-integration/installations/new"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/apps/treasure-ai-github-integration/installations/new"},"children":["インストールページ"]}," を開きます。GitHub にサインインしている必要があります。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["インストール先の ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Organization"]}," または ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["個人アカウント"]}," を選びます。GitHub には、あなたが App をインストールできるアカウント（自分の個人アカウントと、インストール権限を持つ Organization）のみが表示されます。必要な Organization が表示されない場合は、その Organization のオーナーにインストールを依頼してください（GitHub では、Organization のメンバーがオーナーにインストールをリクエストすることもできます）。"]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/github-app-install-target.da651bafc1f1772296cd8827b517de3640c7c987ca277fa191962a2e19f5609f.fdfbfafb.webp","alt":"GitHub の [Install Treasure AI GitHub Integration] 画面。インストール先として個人アカウントと Organization の 2 つが一覧表示されている","framed":false,"withLightbox":true,"width":"700px"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[All repositories]"]}," または ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Only select repositories]"]}," を選択し、エージェントにアクセスさせたいリポジトリを指定します。この画面に表示される GitHub 自身の注記も確認してください。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[All repositories]"]}," はそのアカウントが所有する現在および ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["将来"]}," のすべてのリポジトリが対象になり、どちらを選んだ場合も「public リポジトリは読み取り専用で含まれる」と記載されています。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["権限を確認し（下記の ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#github-app-%E3%81%8C%E5%AE%9F%E8%A1%8C%E3%81%A7%E3%81%8D%E3%82%8B%E6%93%8D%E4%BD%9C"},"children":["GitHub App が実行できる操作"]}," を参照）、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Install]"]}," をクリックします。この画面には ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[User permissions]"]}," も表示されます。これはステップ 3 で各ユーザーがコネクションを認可するときに、個別に要求されるアクセスです。"]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/github-app-install-permissions.9375c8b290809f796b464f545bc79656a8fce2ec2f204ad639fabe22ad572775.fdfbfafb.webp","alt":"GitHub App のインストールフォーム。インストール先、[All repositories] と [Only select repositories] の選択肢、読み取り権限と読み書き権限の一覧、メールアドレスの読み取りを要求する [User permissions] セクション、[Install] ボタンが表示されている","framed":false,"withLightbox":true,"width":"620px"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["必要な数のアカウントや Organization に対して、同じ手順を繰り返せます。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%AE%E4%BE%8B"},"children":["インストールの例"]}," を参照してください。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["エージェントが到達できるリポジトリを後で変更する、またはアクセスを完全に削除するには、GitHub でそのインストールの ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Configure]"]}," ページを開きます。Organization の場合は ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Your organizations] → [Settings] → [GitHub Apps]"]},"、個人アカウントの場合は ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Settings] → [Applications] → [Installed GitHub Apps]"]}," です。この操作にあたって Studio 側で変更すべきことはありません。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"順番はどちらでも構いません"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["App のインストールとコネクションの認可は互いに独立しているため、どちらを先に行っても構いません。このページではアクセス境界を理解しやすくするために App のインストールを先に説明しています。いずれの順序でも、エージェントがリポジトリを操作できるのは両方が揃ってからです。"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ステップ-3--コネクションを認可するユーザー","__idx":5},"children":["ステップ 3 — コネクションを認可する（ユーザー）"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コネクタが有効化され App がインストールされたら、エージェントに GitHub へアクセスさせたい各ユーザーは、自分のコネクションを認可します。事前に ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Settings]"]}," から行うことも、チャットからその場で行うこともできます。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Settings] → [Connections]"]}," を開きます。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Available]"]}," の下で ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[GitHub]"]}," を見つけ、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Connect]"]}," をクリックします。"]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/ai-studio-connections-github-available.b36218879b0bd3be470e9d3344ea897c67dd9d4d79b690f234e0cda95fe6ce30.fdfbfafb.webp","alt":"[利用可能] の下に GitHub が表示され、[接続] ボタンがある [コネクション] ページ。Snowflake・Databricks・Treasure Data も並んでいる","framed":false,"withLightbox":true,"width":"800px"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":3},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ポップアップで GitHub にサインインし、要求されたアクセスを承認します。GitHub の認可画面には、認可の対象となるアカウントが明示されます（",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Verify your GitHub identity (あなたのハンドル)]"]},"）。あわせて、アクセスできるリソースの把握、あなたに代わっての操作、メールアドレスの読み取りが許可対象として列挙されます。承認すると Studio に戻り、ポップアップが閉じます。"]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/github-app-authorize.d35eeb2651e4f5a9bb34af97d67fa826c86eefc8f9373e6c8ad40f836416807f.fdfbfafb.webp","alt":"Treasure AI GitHub Integration に対する GitHub の認可画面。アカウントのハンドルを含む GitHub アイデンティティの確認、アクセスできるリソースの把握、あなたに代わっての操作、メールアドレスの読み取り、[Authorize] と [Cancel] ボタンが表示されている","framed":false,"withLightbox":true,"width":"520px"},"children":[]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["ポップアップが閉じると、接続済みリストに ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["GitHub"]}," が接続日とともに表示され、横に削除（ゴミ箱）アイコンが並びます。"]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/ai-studio-connections-github-connected.5ab15478eb191dbe2f157a6f43fa5c8e3524f3356ea861b38456419fcc085053.fdfbfafb.webp","alt":"接続後の [コネクション] ページ。Treasure Data と GitHub が接続日と削除アイコンとともに接続済みリストに並び、Databricks は [利用可能] に残っている","framed":false,"withLightbox":true,"width":"800px"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["後でコネクションを削除するには、その削除（ゴミ箱）アイコンをクリックします。削除されるのは Studio に保存された認可情報で、GitHub App がアンインストールされるわけではありません。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"チャットから接続することもできます"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["事前に認可しておく必要はありません。接続前に GitHub の操作をエージェントに依頼すると、チャット内に ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Connection Required]"]},"（コネクションが必要）カードが表示されます。そこで ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Connect]"]}," をクリックすれば、会話を離れることなく同じ認可を実行できます。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/connections#%E3%83%81%E3%83%A3%E3%83%83%E3%83%88%E3%81%8B%E3%82%89%E6%8E%A5%E7%B6%9A%E3%81%99%E3%82%8B"},"children":["チャットから接続する"]}," を参照してください。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["エージェントはあなたとして認可され、あなたの GitHub アイデンティティで動作します。作成するコミットはあなたのアカウントに帰属します。重要な点として、エージェントがリポジトリに到達できるのは、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["両方"]},"の条件が満たされる場合だけです。そのリポジトリに GitHub App がインストールされていること（ステップ 2）、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["かつ"]}," あなた自身の GitHub アカウントがそのリポジトリにアクセスできること。言い換えると、エージェントの到達範囲は「App がインストールされたリポジトリ」と「あなた個人のアクセス範囲」の",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["積集合"]},"であり、あなた自身が到達できる範囲を超えることはありません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["1 つのコネクションで、App がインストールされているすべてのアカウントと Organization をカバーします。GitHub の認可は一度で済み、そのうえであなた個人がアクセスできるリポジトリすべてをエージェントが操作できます。Organization ごとに別のコネクションを作る必要はありません。"]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"接続したのにリポジトリが見つからない場合"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["コネクションを認可したのに、期待するリポジトリにエージェントがアクセスできない場合、ほとんどは Treasure AI GitHub App がそのリポジトリにインストールされていないことが原因です。インストールは GitHub 側での操作（",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#%E3%82%B9%E3%83%86%E3%83%83%E3%83%97-2--treasure-ai-github-app-%E3%82%92%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%99%E3%82%8Bgithub-%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88%E3%81%BE%E3%81%9F%E3%81%AF-organization-%E3%81%AE%E3%82%AA%E3%83%BC%E3%83%8A%E3%83%BC"},"children":["ステップ 2"]},"）で、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Connections]"]}," から行うことはできません。自分が所有するアカウントであれば自分でインストールし、そうでなければその GitHub Organization のオーナーに依頼してください。なお、あなた自身がアクセスできないリポジトリも到達可能にはなりません。"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"ステップ-4--チャットで-github-を使う","__idx":6},"children":["ステップ 4 — チャットで GitHub を使う"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["接続が完了したら、リポジトリの操作をエージェントに依頼します。たとえば、リポジトリのクローン、最近の変更の要約、プルリクエストの作成、PR のレビュー、Issue のトリアージなどです。エージェントはあなたのコネクションで ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["gh"]}," と ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["git"]}," のコマンドを自動的に実行します。チャット内で追加の設定は不要です。",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["gh"]}," CLI はサンドボックス内で事前に認証済みのため、エージェントが ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["gh auth login"]}," を実行することはありません。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"github-app-のインストールは-studio-アカウントとは独立しています","__idx":7},"children":["GitHub App のインストールは Studio アカウントとは独立しています"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["GitHub App は必ず ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["GitHub のアカウント"]},"（個人アカウントまたは Organization）にインストールされます。GitHub が作成するオブジェクトはこのインストールですが、それが実際に ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["与える"]}," アクセスは、そのアカウント内のリポジトリ単位に絞られます（",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[All repositories]"]}," か、選択したリポジトリのリスト）。つまり、インストールの対象はアカウントで、渡されるアクセスはリポジトリ単位です。Treasure AI Studio にインストールされるわけではなく、インストール時に GitHub があなたの Studio アカウントを認識することもありません。インストールページへのリンクが Studio の中にあるため、両者が紐づけられるように見えてしまいますが、そうではありません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Studio のあるアカウントからインストールページを開いてインストールしても、その GitHub アカウントとその Studio アカウントが関連付けられることはなく、Treasure AI は両者の対応関係を保持していません。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Treasure AI GitHub Integration"]}," という単一の App が、すべてのリージョンのすべての Studio アカウントに対して使われています。したがって 1 つのインストールは、それを作成した人に固定されません。対象リポジトリに到達できる GitHub アカウントで認可した Studio ユーザーであれば、誰でも同じアクセスを得ます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["実際にアクセスを決めるのは、次の 2 つの条件です。そのリポジトリに Treasure AI GitHub App がインストールされていること（ステップ 2）、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["かつ"]}," コネクションを認可した本人が自分の GitHub アカウントでそのリポジトリにアクセスできること（ステップ 3）。2 番目の条件が常に効くため、インストールを共有していても、その人が GitHub 上でもともと持っていた権限を超えることはありません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["実務上の意味は次のとおりです。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"38%","data-label":"事実"},"children":["事実 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"62%","data-label":"意味すること"},"children":["意味すること "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インストールは GitHub 側のオブジェクトである"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["App のインストールは GitHub アカウント/Organization ごとに 1 回で、Studio アカウントごとに必要なわけではありません。同じ GitHub Organization で作業している、別の Studio アカウントの同僚が、独自にインストールする必要はありません。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Studio のアイデンティティと GitHub のアイデンティティは別物である"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ある人として Studio にサインインし、別の GitHub アカウントで GitHub を認可することもできます。エージェントは認可された ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["GitHub"]}," アカウントとして動作し、コミットはそのアカウントに帰属します。GitHub の認可画面には認可対象のハンドルが明示されるため、承認する前にどのアカウントとして動作するのかを確認できます。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["2 つのライフサイクルは独立している"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Studio でコネクションを削除しても GitHub 側の App はアンインストールされず、GitHub 側で App をアンインストールしても Studio のコネクションは削除されません。アクセスを完全に断つには両方を行ってください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Studio 側にリポジトリを絞る設定はない"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["エージェントが操作できるリポジトリは、GitHub 側のインストールの ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Configure]"]}," ページだけで決まります。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Connector Settings]"]}," にリポジトリの許可リストはありません。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"warning","name":"Organization へのインストールはその Organization としての意思決定です"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["1 つのインストールが、それを参照できる全員に適用されるため、共有 Organization に App をインストールすると、その Organization の GitHub メンバーのうちコネクションを認可した ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["すべての人"]}," が、対象リポジトリをエージェント経由で操作できるようになります（各自のリポジトリアクセス範囲に限られます）。インストールは Organization レベルの意思決定として扱い、狭く始めたい場合は ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Only select repositories]"]}," を使ってください。"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"インストールの例","__idx":8},"children":["インストールの例"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure AI GitHub Integration App のインストールでよくある 3 つのケースと、それぞれに必要な作業です。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"会社の-organization-にインストールする一般的な展開","__idx":9},"children":["会社の Organization にインストールする（一般的な展開）"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["チームのリポジトリが会社の GitHub Organization にあり、そこで作業する全員がエージェントを使えるようにしたいケースです。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Studio の管理者が GitHub コネクタを一度有効化します（ステップ 1）。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["GitHub Organization のオーナー"]}," がその Organization に App をインストールします。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Only select repositories]"]}," を選び、エージェントに操作させるリポジトリを指定します（ステップ 2）。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["各メンバーが自分のコネクションを認可します（ステップ 3）。メンバーごとに GitHub 側で追加の作業は不要です。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["各メンバーのエージェントは「選択したリポジトリ」と「そのメンバー自身のアクセス範囲」の積集合に限定されます。したがって、あるリポジトリに読み取り権限しか持たない人が、エージェントに push させることはできません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Organization のメンバーではあるがオーナーではない場合、同じページはリクエスト用の画面に変わります。ボタンが ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Install]"]}," ではなく ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Request]"]}," になり、GitHub がそのリクエストを Organization のオーナーに送って承認を求めます。"]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/github-app-install-request-organization.df51998f30a27a58b6bc507117a2541ecf60b9290a3c2b9e172109079b517eb5.fdfbfafb.webp","alt":"オーナーではないユーザーが Organization 向けに GitHub App のインストールページを開いた画面。見出しは [Request Treasure AI GitHub Integration] で、リポジトリと権限の選択肢は同じだが、ボタンが [Install] ではなく [Request] になっている","framed":false,"withLightbox":true,"width":"560px"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"後から別のアカウントや-organization-を追加する","__idx":10},"children":["後から別のアカウントや Organization を追加する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["すでに会社の Organization で使っていて、さらに別の場所のリポジトリ（自分の個人アカウント、2 つ目の Organization、顧客の Organization など）もエージェントに操作させたいケースです。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/apps/treasure-ai-github-integration/installations/new"},"children":["インストールページ"]}," を再度開き、追加したいアカウントまたは Organization に App をインストールします。必要なのは ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["その場所"]}," でのインストール権限で、自分の個人アカウントであれば自分だけで完結します。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Studio 側の変更はありません。新しいコネクタも、2 つ目のコネクションも不要です。既存の GitHub コネクションが、App がインストールされたすべてのアカウントをすでにカバーしています。"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このケースは両者の独立性が最もはっきり現れます。Studio の管理者は関与せず、追加した Organization を記録する Studio の設定もありません。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"既存のインストールのリポジトリ設定を変更する","__idx":11},"children":["既存のインストールのリポジトリ設定を変更する"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["App はすでにインストールされているが、エージェントに必要なリポジトリが含まれていない、または対象から外したいケースです。"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["GitHub でそのインストールの ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Configure]"]}," ページを開きます。Organization の場合は ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Your organizations] → [Settings] → [GitHub Apps] → [Treasure AI GitHub Integration]"]},"、個人アカウントの場合は ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Settings] → [Applications] → [Installed GitHub Apps]"]}," です。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Repository access]"]}," でリポジトリを追加または削除し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Save]"]}," をクリックします。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Studio 側の変更はなく、コネクションを再認可する必要もありません。同じコネクションが、更新後のリポジトリ選択をそのままカバーします。"]}]},{"$$mdtype":"Tag","name":"Image","attributes":{"src":"/assets/github-app-configure-repository-access.3f877dbf049c26b7889f00d442734d87ade5ea66abbceb7e62b39a7c8ae63987.fdfbfafb.webp","alt":"GitHub 上でインストール済みの Treasure AI GitHub Integration の [Configure] ページ。実効アクセスが「App がインストールされたリポジトリ」と「認可したユーザーがアクセスできるリポジトリ」の積集合であることを説明する [How access is scoped] セクション、付与された権限、[Only select repositories] と選択済みの 2 リポジトリを示す [Repository access] パネルが表示されている","framed":false,"withLightbox":true,"width":"800px"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このページには、GitHub 自身によるアクセスルールの説明も記載されています。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[How access is scoped]"]}," の項では、実効アクセスは「App がインストールされたリポジトリ」と「認可したユーザーが到達できるリポジトリ」の積集合であり、エージェントはその積集合の外にあるリポジトリにはアクセスできないと明記されています。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["このページからアンインストールすると、そのアカウントのすべてのリポジトリへのエージェントのアクセスが一度に失われます。Studio のコネクションはそのまま残るため、保存された認可情報も削除したい場合はコネクションも削除してください。"]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"github-app-が実行できる操作","__idx":12},"children":["GitHub App が実行できる操作"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure AI の GitHub App は固定の権限セットを要求します。インストールごとに権限を広げたり狭めたりすることはできません。エージェントがコードを操作し、Issue やプルリクエストで共同作業するために必要な範囲に絞られており、管理系やシークレット管理系の機能は意図的に除外されています。以下の表は、App が保持するすべての権限を示します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"リポジトリ権限","__idx":13},"children":["リポジトリ権限"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"22%","data-label":"権限"},"children":["権限 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"16%","data-label":"アクセス"},"children":["アクセス "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"62%","data-label":"用途"},"children":["用途 "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Contents"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read & Write"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["リポジトリのクローン、ファイルとブランチの読み取り・作成・編集。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pull requests"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read & Write"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["プルリクエストの作成・読み取り・レビュー・コメント・更新。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Issues"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read & Write"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Issue の作成・読み取り・コメント・更新。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Discussions"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read & Write"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["リポジトリの Discussion の読み取りと参加。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Projects"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read & Write"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["リポジトリのプロジェクトの読み取りと更新。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Actions"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read & Write"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ワークフロー実行ログの読み取りと再実行。ワークフロー定義の作成・変更はできません（",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#%E4%BB%98%E4%B8%8E%E3%81%95%E3%82%8C%E3%81%AA%E3%81%84%E6%A8%A9%E9%99%90"},"children":["付与されない権限"]}," を参照）。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Merge queues"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read & Write"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["マージキューが有効な場合に、プルリクエストをキューへ追加。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Code scanning alerts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read & Write"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コードスキャンアラートの読み取りと管理。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Dependabot alerts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read & Write"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Dependabot アラートの読み取りと却下（dismiss）。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["License compliance alerts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read & Write"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ライセンスコンプライアンスアラートの読み取りと却下。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Metadata"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read-only"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["基本的なリポジトリメタデータの読み取り（常に必須）。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Commit statuses"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read-only"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コミットに報告されたステータスチェックの読み取り。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Checks"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read-only"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["チェック実行と結果の読み取り（書き込みは CI ツールに委ねられます）。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Deployments"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read-only"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["デプロイ記録の読み取り。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Environments"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read-only"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["環境設定の読み取り。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Packages"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read-only"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["公開済みパッケージの読み取り（公開は CI に委ねられます）。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Pages"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read-only"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GitHub Pages の設定の読み取り。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Artifact metadata"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read-only"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ビルドアーティファクトのメタデータの読み取り。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Code quality"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read-only"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コード品質の結果の読み取り。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Secret scanning alerts"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read-only"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["シークレットスキャンの結果の読み取り。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Repository security advisories"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read-only"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["リポジトリのセキュリティアドバイザリの読み取り。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Custom properties"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read-only"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["リポジトリのカスタムプロパティの読み取り。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Variables"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read-only"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GitHub Actions の変数（シークレットでない値）の読み取り。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Webhooks"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read-only"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["リポジトリの Webhook 設定の読み取り。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"organization-およびアカウント権限","__idx":14},"children":["Organization およびアカウント権限"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"width":"22%","data-label":"権限"},"children":["権限 "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"16%","data-label":"アクセス"},"children":["アクセス "]},{"$$mdtype":"Tag","name":"th","attributes":{"width":"62%","data-label":"用途"},"children":["用途 "]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Organization members"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read-only"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["メンバー一覧を読み取り、エージェントが適切な相手を @メンションできるようにします。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Account email addresses"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Read-only"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コミットがあなたに帰属するよう、メールアドレスを読み取ります。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"付与されない権限","__idx":15},"children":["付与されない権限"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["安全のため、App は最も機微な機能には ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["一切アクセスできません"]},"。主なものは次のとおりです。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Secrets"]}," および ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Dependabot secrets"]}," — リポジトリや Actions のシークレットの読み書きは行いません。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Workflows"]}," — GitHub Actions のワークフロー定義を作成・変更できません（Actions 権限により、既存の実行を再実行できるのみです）。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Administration"]}," — リポジトリ設定、コラボレーター、ブランチ保護を変更できません。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Codespaces"]}," および ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Copilot agent settings"]}," — エージェントの対象外です。"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["シークレットスキャンのバイパス・却下リクエスト"]},"、および ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["attestations"]},"。"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"リファレンス","__idx":16},"children":["リファレンス"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"項目"},"children":["項目"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"値"},"children":["値"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コネクタ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GitHub"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GitHub App"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Treasure AI GitHub Integration"]},"（",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["treasure-data"]}," Organization が公開） — ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/apps/treasure-ai-github-integration"},"children":["公開ページ"]},"、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/apps/treasure-ai-github-integration/installations/new"},"children":["インストール"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["インストールの単位"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GitHub の個人アカウントまたは Organization ごと。管理はすべて GitHub 側で行います。Studio アカウントとは独立しています — ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#github-app-%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%AF-studio-%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88%E3%81%A8%E3%81%AF%E7%8B%AC%E7%AB%8B%E3%81%97%E3%81%A6%E3%81%84%E3%81%BE%E3%81%99"},"children":["GitHub App のインストールは Studio アカウントとは独立しています"]}," を参照"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["認証"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Treasure AI 管理の GitHub App による OAuth 2.0（user-to-machine）、PKCE 付き"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["権限"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GitHub App の細粒度なインストール権限 — ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#github-app-%E3%81%8C%E5%AE%9F%E8%A1%8C%E3%81%A7%E3%81%8D%E3%82%8B%E6%93%8D%E4%BD%9C"},"children":["GitHub App が実行できる操作"]}," を参照"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["エージェントのアイデンティティ"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["認可したユーザーとして動作し、コミットはそのユーザーに帰属します"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アクセス境界"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GitHub App がインストールされたリポジトリと、あなた自身の GitHub アカウントがアクセスできるリポジトリの積集合"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["サンドボックスで使用するツール"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["gh"]}," CLI（事前認証済み）と HTTPS 経由の ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["git"]}]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["必要な設定"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["なし — GitHub App と OAuth クライアントは Treasure AI が管理し、管理者はコネクタを有効化するだけです"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["egress ドメイン"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["github.com"]},"、",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["api.github.com"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"トラブルシューティング","__idx":17},"children":["トラブルシューティング"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"問題"},"children":["問題"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"解決策"},"children":["解決策"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["[コネクション] タブに GitHub が表示されない"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["管理者が ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Connector Settings]"]}," で GitHub コネクタを追加し、有効化する必要があります。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["GitHub App のインストールページが見つからない"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["公開された GitHub の URL です: ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://github.com/apps/treasure-ai-github-integration/installations/new"},"children":["github.com/apps/treasure-ai-github-integration/installations/new"]},"。Studio 内では、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Connector Settings]"]}," の保存済みコネクタ行からもリンクされています。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コネクションは認可されたが、エージェントがリポジトリを見つけられない・アクセスできない"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["アクセスは「App がインストールされている範囲」と「あなたが到達できる範囲」の積集合です。まず、そのリポジトリに Treasure AI GitHub App がインストールされているか確認してください。自分が所有するアカウントであれば自分でインストールし、そうでなければその GitHub Organization のオーナーに依頼します（ステップ 2）。次に、あなた自身の GitHub アカウントがそのリポジトリにアクセスできることを確認してください。あなたが到達できないものにはエージェントも到達できません。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["追加したリポジトリに到達できない、リポジトリを追加したい"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["リポジトリの選択は Studio ではなく GitHub 側で管理します。インストールの ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Configure]"]}," ページ（Organization: ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Settings] → [GitHub Apps]"]},"、個人アカウント: ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Settings] → [Applications] → [Installed GitHub Apps]"]},"）を開き、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Repository access]"]}," を更新してください。Studio 側の変更や再認可は不要です。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["別の Organization のリポジトリをエージェントに操作させたい"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["その Organization またはアカウントにも App をインストールしてください。1 つのコネクションで、App がインストールされたすべてのアカウントをカバーします。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#%E5%BE%8C%E3%81%8B%E3%82%89%E5%88%A5%E3%81%AE%E3%82%A2%E3%82%AB%E3%82%A6%E3%83%B3%E3%83%88%E3%82%84-organization-%E3%82%92%E8%BF%BD%E5%8A%A0%E3%81%99%E3%82%8B"},"children":["後から別のアカウントや Organization を追加する"]}," を参照してください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["コネクションを削除したのに GitHub 側に App がインストールされたまま残っている"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["想定どおりの動作です。両者は独立しています。コネクションの削除は Studio に保存された認可情報を削除する操作であり、App のアンインストールは GitHub 側の別の操作です。アクセスを完全に断つには両方を行ってください。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["エージェントが GitHub にまったく到達できない"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ネットワークポリシーで egress ドメイン ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["github.com"]}," と ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["api.github.com"]}," を許可してください（",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["[Connector Settings]"]}," に表示されるドメインを参照）。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ワークフローを再実行できるが、編集できない"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["これは想定どおりの動作です。App には ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Workflows"]}," 権限がないため、ワークフロー定義を変更できず、既存の実行を再実行できるのみです。"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["リポジトリ設定・シークレット・コラボレーターを管理できない"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["これは想定どおりの動作です。App は ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Administration"]}," や ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Secrets"]}," へのアクセスを保持していません。",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"#%E4%BB%98%E4%B8%8E%E3%81%95%E3%82%8C%E3%81%AA%E3%81%84%E6%A8%A9%E9%99%90"},"children":["付与されない権限"]}," を参照してください。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"次のステップ","__idx":18},"children":["次のステップ"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/connections"},"children":["コネクション"]}," — コネクションの全体像と管理者向けの制御"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/connections/treasure-data"},"children":["Treasure Data CDP への接続"]}," — コネクタの有効化と Treasure Data コネクションの認可"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/skills/skills"},"children":["スキルとマーケットプレイス"]}," — スキルがエージェントにドメイン専門知識を与える仕組み"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/products/ai-studio/security"},"children":["セキュリティ概要"]}," — Studio でのアクセス制御の仕組み"]}]}]},"headings":[{"value":"GitHub への接続","id":"github-への接続","depth":1},{"value":"目的","id":"目的","depth":2},{"value":"前提条件","id":"前提条件","depth":2},{"value":"ステップ 1 — GitHub コネクタを有効化する（Studio 管理者）","id":"ステップ-1--github-コネクタを有効化するstudio-管理者","depth":2},{"value":"ステップ 2 — Treasure AI GitHub App をインストールする（GitHub アカウントまたは Organization のオーナー）","id":"ステップ-2--treasure-ai-github-app-をインストールするgithub-アカウントまたは-organization-のオーナー","depth":2},{"value":"ステップ 3 — コネクションを認可する（ユーザー）","id":"ステップ-3--コネクションを認可するユーザー","depth":2},{"value":"ステップ 4 — チャットで GitHub を使う","id":"ステップ-4--チャットで-github-を使う","depth":2},{"value":"GitHub App のインストールは Studio アカウントとは独立しています","id":"github-app-のインストールは-studio-アカウントとは独立しています","depth":2},{"value":"インストールの例","id":"インストールの例","depth":2},{"value":"会社の Organization にインストールする（一般的な展開）","id":"会社の-organization-にインストールする一般的な展開","depth":3},{"value":"後から別のアカウントや Organization を追加する","id":"後から別のアカウントや-organization-を追加する","depth":3},{"value":"既存のインストールのリポジトリ設定を変更する","id":"既存のインストールのリポジトリ設定を変更する","depth":3},{"value":"GitHub App が実行できる操作","id":"github-app-が実行できる操作","depth":2},{"value":"リポジトリ権限","id":"リポジトリ権限","depth":3},{"value":"Organization およびアカウント権限","id":"organization-およびアカウント権限","depth":3},{"value":"付与されない権限","id":"付与されない権限","depth":3},{"value":"リファレンス","id":"リファレンス","depth":2},{"value":"トラブルシューティング","id":"トラブルシューティング","depth":2},{"value":"次のステップ","id":"次のステップ","depth":2}],"frontmatter":{"seo":{"title":"Treasure AI Studio - GitHub への接続","description":"Treasure AI GitHub Integration App をインストールしてコネクションを認可し、Treasure AI Studio のエージェントがコード・Issue・プルリクエストを操作できるようにします。"},"platforms":["Web","Desktop"]},"lastModified":"2026-10-30T13:02:52.086Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/products/ai-studio/connections/github","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}