Skip to main content

Module audit

Module audit 

Source

Modules§

keys
review_deltas
routing
weakening
Weakening-signal pass (6.F), PROMOTED TO A HEADLINE per v6.

Structs§

AuditAttribution
New-vs-inherited issue counts for audit.
AuditKeySnapshot
AuditOptions
AuditResult
Full audit result containing verdict, summary, and sub-results.
AuditSummary
Per-category summary counts for the audit result.

Enums§

AuditVerdict
Verdict for the audit command.

Functions§

audit_json_header_input
execute_audit
Run the audit pipeline: resolve base ref, run analyses, compute verdict.
insert_audit_dead_code_json
insert_audit_duplication_json
insert_audit_health_json
print_audit_findings
Print the per-analysis findings sections (dead code, duplication, complexity) plus the explain tip and vital signs, with section headers when enabled.
print_audit_result
Print audit results and return the appropriate exit code.
run_audit
Run the full audit command: execute analyses, print results, return exit code. Run audit, optionally tagged with a gate marker (e.g. "pre-commit") so Fallow Impact can record a containment event when the gate blocks then clears. The marker only affects the local Impact store; it never changes the verdict, exit code, or output.
run_decision_surface
Run the standalone fallow decision-surface command: the separable, cheap apex. Executes the SAME changed-code analysis the review brief runs (it is the brief path, NOT the full project pipeline), then emits ONLY the decision surface envelope. Always exit 0 (the surface is advisory, never a gate).