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
refactor: rebuild schema, source, and ingestion boundary contracts #271
The next highest-payoff renewal slice is the oldest schema/source/ingestion stratum. These modules still carry the strongest path dependence from earlier agent-authored code: dict-shaped payload flow, broad object-typed seams, and repeated coercion logic around provider/source ingestion.
Scope
Focus on schema/source/ingestion substrate work, not surface polish:
polylogue/schemas/
polylogue/sources/
ingestion-oriented polylogue/pipeline/ services
Likely hard-center files include:
polylogue/schemas/extraction.py
polylogue/schemas/synthetic/runtime.py
polylogue/sources/dispatch.py
polylogue/sources/drive_gateway.py
polylogue/pipeline/services/ingest_batch.py
polylogue/pipeline/services/ingest_worker.py
Acceptance criteria
Open payload dictionaries are replaced with explicit aliases, records, or typed adapters where the structure is known.
Repeated provider/source coercion is collapsed into shared helpers instead of being re-implemented in multiple files.
Cast pressure and weak boundary types are materially reduced in the targeted modules.
The tranche lands as one coherent PR with full verification.
Out of scope
Major CLI/UI polish
Broad test-suite cleanup beyond fallout and targeted contract assertions
Activity
refactor: rebuild schema, source, and ingestion boundary contracts (#275
refactor: rebuild schema, source, and ingestion boundary contracts (#275
refactor: rebuild schema, source, and ingestion boundary contracts (#275
refactor: rebuild schema, source, and ingestion boundary contracts (#275