pass

AIN-506 P0 Embedding Contract Gate Receipt

Build-time contracts, validation, versioning, and retrieval-quality scaffolding are enforced before canonical Personalization Engine processing.

Retrieval Harness

50 seed queries, 50 fixture embedding records, top-1 success 50/50. Live Gemini API invoked: False.

Checks

agent_instructions_presentPASS
batch_api_preferredPASS
canonical_work_blocked_in_instructionsPASS
design_document_html_presentPASS
design_document_markdown_presentPASS
duckdb_vss_experimental_onlyPASS
embedding_dimension_lockedPASS
embedding_output_schema_validatesPASS
embedding_ready_schema_validatesPASS
exact_cosine_documentedPASS
exact_cosine_firstPASS
free_tier_blocked_for_proprietary_dataPASS
gemini_model_lockedPASS
gemini_provider_lockedPASS
live_gemini_api_not_invoked_in_ciPASS
normalized_entity_schema_validatesPASS
paid_api_required_for_live_runtimePASS
pandera_contracts_availablePASS
parquet_duckdb_storage_selectedPASS
pydantic_ai_not_required_for_build_gatePASS
pydantic_contracts_definedPASS
retrieval_harness_validPASS
retrieval_seed_count_50PASS
storage_layout_documentedPASS
vss_experimental_only_documentedPASS

Runtime Boundary

Live Gemini embedding jobs remain blocked until a paid Gemini API project and privacy stance are explicitly confirmed. CI and local validation use deterministic fixture embeddings only. The gate may detect whether the configured API-key environment variable is present, but it never writes the secret value to artifacts.