Repository navigation
v1.1.0 — Ingestion contract + source-aware metadata helpers
What's new
Adds the inversion-of-control bridge that lets per-connector OS packages (padosoft/askmydocs-connector-notion, padosoft/askmydocs-connector-google-drive, ...) stay 100% standalone-agnostic while still routing through any host's ingest pipeline.
Added
Contracts\ConnectorIngestionContract— 5-method IoC contract:dispatchIngestion(),resolveKbSourcePath(),redactContent(),emitAudit(),softDeleteByRemoteId(). Hosts bind their own implementation in a ServiceProvider.Contracts\NullConnectorIngestionContract— fail-loud default bound automatically when no host implementation is registered.Support\Metadata\SourceAwareMetadataBuilder— rich-metadata envelope builder (converter_hints.<source>+_derived).Support\Metadata\RecencyBucketer— coarse `this_week | this_month | this_quarter | older` buckets for reranker recency boost.Support\Metadata\VendorMimeSelector— synthetic vendor MIME chooser for Drive / OneDrive / Notion / Confluence / Jira / Evernote / Fabric.BaseConnector— constructor-injects the contract + exposes 5 proxy helpers.
Changed
BaseConnector::__constructnow takes a third parameter (ConnectorIngestionContract). Container-resolved subclasses pick it up automatically.
Notes
Backward-compatible at the ConnectorInterface level. Tests: 68 green (+23 from v1.0.0).