DOCS / REFERENCE

Port reference

Implement replaceable capabilities without changing the Lumis SDK domain or application layer.

PHASE 1 · PRE-1.0PYTHON 3.11+EDIT ON GITHUB ↗

Current public ports

PortResponsibility
EvidenceProviderReturn bounded typed evidence and structured failures for one incident.
ModelGatewayReturn structured diagnosis and auditable invocation metadata.
MemoryStoreSave incidents, record confirmed resolutions, and search with transparent reasons.
ReportWriterPersist a human-readable or machine-readable diagnosis report.
ContextProviderRetrieve bounded evidence without mutation.
PolicyEvaluatorPropose a recommendation-only action plan.
ApprovalProviderRecord an explicit decision.
RecoveryVerifierReturn verification state without remediation.
AuditTrailRecord lifecycle transitions.

Compatibility posture

Ports are experimental pre-1.0 interfaces; changes require compatibility notes. New core ports require an RFC because they expand the framework's dependency and authority surface. The testkit ships reusable contract assertions—evidence collection, JSON report round-trip, async memory store, plugin factory—so independent implementations can prove conformance in their own CI.