diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 0a17550..48ad72e 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -63,6 +63,7 @@ Use these repository instructions as the starting point. When code or validated - For Copilot tool metadata such as `skip_permission` and `defer`, prefer `CopilotTool.DefineTool(..., new CopilotToolOptions { ... }, ...)` over magic-string `AdditionalProperties`. Keep RepoSyncRadar's small radar tool set pre-loaded with `CopilotToolDefer.Never`. - Restrict sessions to the registered radar tools and explicitly disable tool search, ambient custom instructions, org-level custom agents, coauthor trailers, scheduler integration, experimental mode, session memory, and the cross-session store unless a feature deliberately needs them. Inject managed permission settings that disable bypass-permissions mode and deny shell access as defense in depth. - Keep experimental API warning suppressions local to the integration that requires them. +- Keep session file-change tracking disabled until RepoSyncRadar has a user-visible rewind flow; current radar tools do not edit workspace files. - Treat SDK capabilities as unavailable until confirmed in the installed package's public API. Do not rely on runtime internals or prompt-only structured-output guarantees. - Keep `scripts/CopilotCliRelease.props` synchronized with the SDK package's `CopilotCliVersion`. If the package download target cannot resolve that CLI, use official GitHub Release assets with published SHA-256 verification. diff --git a/Directory.Packages.props b/Directory.Packages.props index 13f840e..e9f6368 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -41,7 +41,7 @@ - + diff --git a/scripts/CopilotCliRelease.props b/scripts/CopilotCliRelease.props index f1f8b1a..ccbd0da 100644 --- a/scripts/CopilotCliRelease.props +++ b/scripts/CopilotCliRelease.props @@ -1,10 +1,10 @@ - + - 1.0.79-6 - 8949f2c4510b1bf47e15b51a7841599a8a53eb38fa0b5dcf6e2bee7c6284ec31 - 903147b5722359a48a7ccd7cb71882892bff2910ace98a36d0887915aa6ecdd9 + 1.0.79 + ae87705442b502853374a58938ca48309b44ad1aef201e3de56b9ff89fe3b6bd + 5e582cf1a15ca0b35f46e5b872c6703abe75fa88781f9ee0c804018fc0c34179 diff --git a/src/RepoSyncRadar.App/Copilot/SessionConfigBuilder.cs b/src/RepoSyncRadar.App/Copilot/SessionConfigBuilder.cs index 0514961..683b0b4 100644 --- a/src/RepoSyncRadar.App/Copilot/SessionConfigBuilder.cs +++ b/src/RepoSyncRadar.App/Copilot/SessionConfigBuilder.cs @@ -46,6 +46,7 @@ public static SessionConfig Build( }, OnPermissionRequest = permissionHandler, EnableSessionTelemetry = copilot.EnableSessionTelemetry, + EnableFileChangeTracking = false, EnableSessionStore = false, EnableExperimentalMode = false, Memory = new MemoryConfiguration { Enabled = false }, diff --git a/src/RepoSyncRadar.App/Settings/ThirdPartyNotices.cs b/src/RepoSyncRadar.App/Settings/ThirdPartyNotices.cs index af24829..0925011 100644 --- a/src/RepoSyncRadar.App/Settings/ThirdPartyNotices.cs +++ b/src/RepoSyncRadar.App/Settings/ThirdPartyNotices.cs @@ -13,7 +13,7 @@ public static class ThirdPartyNotices { public static IReadOnlyList All { get; } = [ - Mit("GitHub.Copilot.SDK", "1.0.10-preview.0", "Copyright (c) Microsoft Corporation. All rights reserved.", "https://github.com/github/copilot-sdk"), + Mit("GitHub.Copilot.SDK", "1.0.11-preview.2", "Copyright (c) Microsoft Corporation. All rights reserved.", "https://github.com/github/copilot-sdk"), new( "Markdig", "1.2.0", diff --git a/tests/RepoSyncRadar.App.Tests/Components/ThirdPartyNoticesPanelTests.cs b/tests/RepoSyncRadar.App.Tests/Components/ThirdPartyNoticesPanelTests.cs index fa9f4b6..1408193 100644 --- a/tests/RepoSyncRadar.App.Tests/Components/ThirdPartyNoticesPanelTests.cs +++ b/tests/RepoSyncRadar.App.Tests/Components/ThirdPartyNoticesPanelTests.cs @@ -28,7 +28,7 @@ public void Renders_Third_Party_Notices() Assert.Contains("MudBlazor", packages); var sdkIndex = Array.IndexOf(packages, "GitHub.Copilot.SDK"); Assert.NotEqual(-1, sdkIndex); - Assert.Equal("1.0.10-preview.0", versions[sdkIndex]); + Assert.Equal("1.0.11-preview.2", versions[sdkIndex]); Assert.Contains("Microsoft.Web.WebView2", packages); Assert.Contains("BSD-2-Clause", cut.Markup, StringComparison.Ordinal); Assert.Contains("MIT", cut.Markup, StringComparison.Ordinal); diff --git a/tests/RepoSyncRadar.App.Tests/Copilot/SessionConfigBuilderTests.cs b/tests/RepoSyncRadar.App.Tests/Copilot/SessionConfigBuilderTests.cs index 4bec4c3..27a11ca 100644 --- a/tests/RepoSyncRadar.App.Tests/Copilot/SessionConfigBuilderTests.cs +++ b/tests/RepoSyncRadar.App.Tests/Copilot/SessionConfigBuilderTests.cs @@ -38,6 +38,7 @@ public async Task Build_For_Triage_Produces_Append_Mode_Streaming_With_Configure Assert.Equal(ContextTier.LongContext, config.ContextTier); Assert.True(config.Streaming); Assert.False(config.EnableSessionTelemetry); + Assert.False(config.EnableFileChangeTracking); Assert.False(config.EnableSessionStore); Assert.False(config.EnableExperimentalMode); Assert.NotNull(config.Memory);