Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ Use these repository instructions as the starting point. When code or validated
- Morning Triage is triggered from `AppHeader` through `ICopilotAgent.RunMorningTriageAsync()`. Triage/Maintenance sessions register `RadarTools.CreateAll()` and `RadarWriteTools.CreateAll()`; write-like tools are permission-gated except `radar_score_commit`, which `RadarPermissionPolicy` pre-approves for scoring persistence. Final review decisions (`radar_save_review`) are user-owned and must not be auto-written by Morning Triage, but registered Ignore rules still auto-mark future matching commits as `Rejected` during ingestion.
- `radar_score_commit` auto-marks still-unreviewed commits with score `0.44` or lower as `ReviewStatus.Rejected` with reason `auto-low-score`. Do not overwrite user-owned review states such as `Adopted`, `Later`, `Archived`, or existing `Rejected` rows.
- Triage sends need the longer `MorningTriageSession.TriageSendTimeout` through `ICopilotSession.SendAsync(prompt, timeout, ct)`; the SDK default one-minute wait is too short.
- Adoption draft/explanation generation and JSON repair sends need `AdoptionSession.DraftSendTimeout`; docs diffs plus URL fetches can exceed the SDK default one-minute wait and leave regenerated drafts empty.
- Adoption draft/explanation generation needs `AdoptionSession.DraftSendTimeout`; docs diffs plus URL fetches can exceed the SDK default one-minute wait and leave regenerated drafts empty.
- Adoption drafts require SDK typed structured output for every selected model, including fallback models. Validate returned fields before persisting, and surface errors rather than silently resending failed structured turns.

## UI And Product Behavior

Expand Down
1 change: 1 addition & 0 deletions .github/skills/copilot-sdk-dotnet-audit/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ EF Core / .NET SDK preview 追随で migration 生成物が変わる場合は、
- `SendAndWaitAsync` は `AssistantMessageEvent?` を返す。最終テキストは `Data.Content`。
- timeout は idle 待ちの上限で、in-flight agent work の中止ではない。
- `MessageOptions` に JSON schema / response format が無い場合、JSON-only prompt だけを強保証として扱わない。
- Typed structured output が public API にある版では、実際の bundled CLI と対象モデルで synthetic な schema 送信を検証する。SDK の JSON deserialization は完全な schema validation ではないため、必須フィールドを保存前に確認する。構造化出力を必須とする機能では、未対応モデルのエラーを明示し、送信後の失敗を安易に無形式で再送しない。
- beta.9 以降の tool filter は source-qualified (`custom:*`, `builtin:*`, `mcp:*`) を優先する。

### 5. アプリ側の SDK 利用を棚卸しする
Expand Down
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

<ItemGroup Label="GitHub / Copilot">
<PackageVersion Include="Octokit" Version="14.0.0" />
<PackageVersion Include="GitHub.Copilot.SDK" Version="1.0.13" />
<PackageVersion Include="GitHub.Copilot.SDK" Version="1.0.15-preview.1" />
</ItemGroup>

<ItemGroup Label="Installer / Updates">
Expand Down
1 change: 1 addition & 0 deletions docs/USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ Commit List で 1 件選び、[`ReviewActions`](../src/RepoSyncRadar.App/Compone

- 既に文案があれば即表示。なければ **Regenerate** ボタンで生成。
- [`AdoptionSession`](../src/RepoSyncRadar.App/Copilot/AdoptionSession.cs) が、差分(50KB 超は安全に切り詰め) + 過去 5 件の注目例(few-shot)を Copilot に渡し、Twitter / 顧客向けの 2 媒体を JSON で返させて `Drafts` テーブルに保存。
- 共有文案は選択中のモデルで SDK の型付き構造化出力を使用します。JSON Schema に対応したモデルを選んでください。構造化出力が失敗した場合は文案を保存せず、エラーを表示します。
- 各媒体には **コピーボタン**(WPF Dispatcher 経由で Clipboard へ)。
- 注目キューで複数コミットをチェックすると、複数の差分を横断した **まとめて解説生成** が使えます。結果は選択セット向けの一時テキストとして Workbench に表示し、必要に応じてコピーできます。

Expand Down
8 changes: 4 additions & 4 deletions scripts/CopilotCliRelease.props
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<Project>

<!-- SHA-256 values published with the official v1.0.83 GitHub Release assets. -->
<!-- SHA-256 values published with the official v1.0.89-0 GitHub Release assets. -->
<PropertyGroup>
<CopilotCliReleaseVersion>1.0.83</CopilotCliReleaseVersion>
<CopilotCliWin32X64Sha256>0e07221a275fdf7e61619c53566e3a421fd646d74d8e9ca491dbbff221f22945</CopilotCliWin32X64Sha256>
<CopilotCliWin32Arm64Sha256>63f35c0ce1a5fdcc6f3e584890d689b1ede8f930933394aaf7b5e139b53d2cc1</CopilotCliWin32Arm64Sha256>
<CopilotCliReleaseVersion>1.0.89-0</CopilotCliReleaseVersion>
<CopilotCliWin32X64Sha256>516ec467dcb906651b6e80795c1cdc2e20868d3d50b7121fb917c81a4f719c09</CopilotCliWin32X64Sha256>
<CopilotCliWin32Arm64Sha256>b0c7b5766266f7fc3fc6d1934abdb2ea069d18db0ece58477b73fec2da4462c2</CopilotCliWin32Arm64Sha256>
</PropertyGroup>

</Project>
Loading
Loading