mirror of
https://github.com/microsoft/BCQuality.git
synced 2026-10-05 14:46:55 +01:00
Strengthen review contracts and HTTP guidance
- add outbound HttpClient transport and HTTP status review rules with paired fixtures`n- resolve layered action-skill overrides deterministically across enabled layers`n- validate findings reports and enforce measurable changed-fixture coverage
This commit is contained in:
parent
07e324ddbc
commit
45ca57a23e
21 changed files with 830 additions and 34 deletions
|
|
@ -203,9 +203,19 @@ foreach ($layer in 'microsoft', 'community', 'custom') {
|
|||
}
|
||||
}
|
||||
|
||||
$ids = @($records | Group-Object id | Where-Object Count -gt 1)
|
||||
if ($ids.Count) {
|
||||
throw "Duplicate action-skill IDs: $($ids.Name -join ', ')"
|
||||
$idsWithinLayer = @(
|
||||
$records |
|
||||
Group-Object { "$($_.layer)`0$($_.id)" } |
|
||||
Where-Object Count -gt 1
|
||||
)
|
||||
if ($idsWithinLayer.Count) {
|
||||
$duplicates = @(
|
||||
$idsWithinLayer | ForEach-Object {
|
||||
$parts = $_.Name -split "`0", 2
|
||||
"$($parts[0]):$($parts[1])"
|
||||
}
|
||||
)
|
||||
throw "Duplicate action-skill IDs within a layer: $($duplicates -join ', ')"
|
||||
}
|
||||
|
||||
foreach ($record in $records) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue