feat(ingestion): add Phase 6 operator tooling, smoke validation, and verification tests

- Add app/ingest.py CLI command for standalone document ingestion
- Add app/ingestion_smoke.py opt-in real-provider smoke test harness with redacted diagnostics
- Add unit and integration tests for Phase 6 operator tooling and audit import coverage
- Update tests/README.md with Phase 5/6 acceptance test results
This commit is contained in:
amirhosein mazaheri
2026-10-07 16:21:52 +03:30
parent 9663caf48e
commit ff9c32823c
6 changed files with 932 additions and 2 deletions
+14 -1
View File
@@ -18,7 +18,20 @@ def audit(event, args):
raise AssertionError("Unexpected I/O: " + event)
sys.addaudithook(audit)
for name in ("app.modules.documents.settings", "app.modules.documents.types",
"app.modules.documents.ports", "app.infrastructure.database", "app.bootstrap"):
"app.modules.documents.ports", "app.infrastructure.database", "app.bootstrap", "app.ingest",
"app.infrastructure.file_store",
"app.modules.documents.intake", "app.modules.documents.formats",
"app.modules.documents.errors", "app.modules.documents.extraction_artifacts",
"app.modules.documents.normalization",
"app.modules.documents.extraction", "app.modules.documents.chunking",
"app.modules.documents.processing", "app.infrastructure.gemini_vision",
"app.infrastructure.extraction_candidates",
"app.infrastructure.intake_repository",
"app.modules.documents.embeddings", "app.infrastructure.openai_embeddings",
"app.modules.documents.worker", "app.infrastructure.worker_repository", "app.worker",
"app.modules.documents.review", "app.modules.documents.operational_limits",
"app.infrastructure.review_candidates", "app.infrastructure.review_repository",
"app.ingestion_smoke"):
importlib.import_module(name)
assert "app.core.config" not in sys.modules
"""