Private
Public Access
0
0

chore(audit): create empty scripts/audit_code_path_audit_coverage.py

Module docstring + usage comment. The schema validator goes in
Phase 12.
This commit is contained in:
2026-06-22 00:41:55 -04:00
parent e9d1867bbc
commit 18226779bf
3 changed files with 22 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
"""Meta-audit for src.code_path_audit v2 output schema.
Verifies that every AggregateProfile produced by the v2 audit
has all 14 required top-level fields, that the
cross_audit_findings has 5 audit scripts, that the
decomposition_cost has the 8 fields, etc. The convention: any
new audit must have a corresponding schema-validator script.
Usage:
uv run python scripts/audit_code_path_audit_coverage.py
uv run python scripts/audit_code_path_audit_coverage.py --strict
"""
from __future__ import annotations
+1
View File
@@ -0,0 +1 @@
This file ensures tests/fixtures/audit_inputs/ is tracked in git. The 6 input JSON files (audit_weak_types.json, audit_exception_handling.json, audit_optional_in_3_files.json, audit_no_models_config_io.json, audit_main_thread_imports.json, type_registry.json) are populated in Phase 10. The .gitkeep is removed when the first JSON file is added.
+8
View File
@@ -0,0 +1,8 @@
"""Synthetic src/ fixture for code_path_audit v2 integration tests.
Defines 3 TypeAliases (Metadata, FileItems, History) + 6 functions
(2 producers, 4 consumers). The integration tests assert the
exact expected profiles per aggregate. See
conductor/tracks/code_path_audit_20260607/plan_v2.md Phase 10.
"""
from __future__ import annotations