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): dynamic package introspection and type stub parser for library ingestion #75
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/aiAI review pipeline, personas, prompts, LLM client, or RAGtype/featureType feature: a new function
LLM reviewers frequently hallucinate third-party package APIs, non-existent methods, or deprecated parameter signatures when evaluating complex code diffs. A deterministic contract store of installed package types and signatures is required.
Proposed Solution & Architectural Design
Implement devops ai ingest library [OPTIONS] <package_name> to inspect installed packages using Python ast, pkgutil, inspect, and .pyi type stubs.
Extract classes, method signatures, parameter types, default values, and docstrings into structured Pydantic v2 schemas (LibraryContract, SymbolSignature).
Persist structured contracts in .data/libraries/ and provide --format json output.
Acceptance Criteria
devops ai ingest library parses standard and third-party packages into structured contracts.
Type stubs (.pyi) are prioritized when available for accurate type annotations.
Unit tests in tests/test_library_ingest.py pass with >= 90% code coverage.
priority/p1-highPriority P1: high-impact work for the next planned milestonescope/aiAI review pipeline, personas, prompts, LLM client, or RAGtype/featureType feature: a new function
Activity
dan-petty commentedon Sep 9, 2026
Closed by PR #82 merge into release/v0.2.14.