This is a public, read-only report. Striff reads this repository's docs, turns each sentence that makes a claim about the code into a rule, and checks the rule against the code on the default branch. How this works
Both files are merged into a single Agent365Config model at runtime using ConfigService.
ConfigService depends on Agent365Config
HoldsPR #496 · Oct 2
Component SetupHelpers, File SetupHelpers.cs, Description Shared helper methods EnsureResourcePermissionsAsync used by standalone callers and CopilotStudioSubcommand
2 rules from this sentence
CopilotStudioSubcommand depends on SetupHelpers
HoldsPR #496 · Oct 2
SetupHelpers has an EnsureResourcePermissionsAsync method
AzCliHelper.ResolveLoginHintAsync() — reads az account show if az CLI is present
AzCliHelper has a ResolveLoginHintAsync method
HoldsPR #496 · Oct 2
AuthenticationService.ResolveLoginHintFromCacheAsync() — reads the first account's UPN from the OS-protected MSAL persistent cache if az CLI is unavailable
AuthenticationService has a ResolveLoginHintFromCacheAsync method
HoldsPR #496 · Oct 2
Only GetAccessTokenAsync and ResolveLoginHintFromCacheAsync are on the interface.
2 rules from this sentence
IAuthenticationService has GetAccessTokenAsync
Holds
IAuthenticationService has ResolveLoginHintFromCacheAsync
Holds
Other methods (GetAccessTokenWithScopesAsync, GetAccessTokenForMcpAsync, ClearCache) stay on the concrete class and are used by commands that take AuthenticationService directly.
3 rules from this sentence
AuthenticationService has a GetAccessTokenWithScopesAsync method
Holds
AuthenticationService has a GetAccessTokenForMcpAsync method
Holds
AuthenticationService has a ClearCache method
Holds
Each command exposes a CreateCommand(...) method that receives its dependencies as explicit parameters and returns a Command object wired with a SetHandler lambda.
10 rules from this sentence
AllSubcommand, CleanupCommand, CopilotStudioSubcommand and 7 more have a CreateCommand method
Holdsall 10
RequirementsSubcommand.RunChecksOrExitAsync is the shared runner — prints [PASS]/[FAIL]/[WARN] per check and calls ExceptionHandler.ExitWithCleanup(1) on any failure:
2 rules from this sentence
RequirementsSubcommand depends on ExceptionHandler
Holds
RequirementsSubcommand has RunChecksOrExitAsync
Holds
Standalone callers:SetupHelpers.EnsureResourcePermissionsAsync handles a single resource with retry logic and is used by CopilotStudioSubcommand and direct callers.
2 rules from this sentence
CopilotStudioSubcommand depends on SetupHelpers
Holds
SetupHelpers has EnsureResourcePermissionsAsync
Holds
All custom exceptions inherit from Agent365Exception:
7 rules from this sentence
ConfigurationValidationException, SetupValidationException, ClientAppValidationException and 4 more extend Agent365Exception