You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(ai): library api drift and deprecation usage auditor #79
When upgrading dependencies, developers lack automated tooling to identify where workspace code uses deprecated, removed, or modified library parameters.
Proposed Solution & Architectural Design
Implement devops ai audit-library-usage [OPTIONS] <package_name>.
Parse workspace AST calls and compare against the ingested library contracts.
Flag deprecated parameters, renamed methods, and signature mismatches with line-level file locations and suggested remediations.
Acceptance Criteria
devops ai audit-library-usage reports API mismatches with file paths and line numbers.
Rich terminal table and JSON export supported.
Unit tests in tests/test_library_drift.py pass with >= 90% coverage.
Implemented LibraryDriftAuditor in src/devops_cli/ai/library/drift_auditor.py auditing workspace AST call sites against indexed library contracts in .data/libraries/.
Supports detection of REMOVED_METHOD, UNKNOWN_ATTRIBUTE, UNRECOGNIZED_KWARG, and DEPRECATED_CALL.
Activity
feat(ai): integrate tree-sitter multilingual ast engine and library d…
dan-petty commentedon Sep 9, 2026
Completed in commit 72d3470:
LibraryDriftAuditorinsrc/devops_cli/ai/library/drift_auditor.pyauditing workspace AST call sites against indexed library contracts in.data/libraries/.REMOVED_METHOD,UNKNOWN_ATTRIBUTE,UNRECOGNIZED_KWARG, andDEPRECATED_CALL.devops ai audit-library-usage [--package <pkg>] [--dir <dir>] [--contracts-dir <dir>] [--fail-on-breaking] [--json]._audit_file_callsand_audit_call_node.tests/test_library_drift_auditor.py(5/5 passed) and full CI quality gate (10/10 passed).feat(release): v0.2.14 (#86)