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
8
.github/scripts/validate_frontmatter.py
vendored
8
.github/scripts/validate_frontmatter.py
vendored
|
|
@ -688,12 +688,16 @@ def run(root: Path) -> Report:
|
|||
if domain_dir.is_dir():
|
||||
validate_samples_in_domain(domain_dir, root, report)
|
||||
|
||||
# Third pass: R24 unique ids within kind
|
||||
# Third pass: R24 unique ids within kind. Layered action-skill overrides
|
||||
# may share an id, but two definitions in one layer are ambiguous.
|
||||
by_kind: dict[str, dict[str, list[Path]]] = {}
|
||||
for rec in skill_records:
|
||||
if rec.skill_id is None:
|
||||
continue
|
||||
by_kind.setdefault(rec.kind, {}).setdefault(rec.skill_id, []).append(rec.path)
|
||||
scope = rec.kind
|
||||
if rec.kind == "action-skill":
|
||||
scope = f"{rec.kind}:{rec.path.relative_to(root).parts[0]}"
|
||||
by_kind.setdefault(scope, {}).setdefault(rec.skill_id, []).append(rec.path)
|
||||
for kind, by_id in by_kind.items():
|
||||
for sid, paths in by_id.items():
|
||||
if len(paths) > 1:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue