Runtime Authority Contract Source-Signal Handoff
Local semantic retrieval authority now depends on runtime source-authority proof.
AIN-510 local exact-cosine authority now depends on the promoted runtime contract source-authority signal. The engine can no longer request local semantic retrieval authority from AIN-510 proof alone; it must also prove that production_runtime_contracts_v1 is present, valid, local-only, abstention-aware, and carrying source-authority repair metadata.
The AIN-510 switch now reads the promoted contract.
ain_510_runtime_authority_contract_v1 now reads the generated production_runtime_contracts_v1.json receipt. The authority contract requires that receipt to be present, valid, local-only, abstention-aware, and carrying source-authority metadata before local exact-cosine authority can be granted.
The real receipt allows local-only exact cosine.
| Field | Value |
|---|---|
| Status | local_exact_cosine_authority_allowed |
| Valid | true |
| Failed checks | [] |
| Source-authority signal required | true |
| Source-authority contract source | production_runtime_contracts_v1 |
| Source-authority repair decisions | 4 |
| Source-authority status | Count |
|---|---|
deterministic_payload | 965 |
source_authority_incomplete | 35 |
runtime_payload_backstop_with_source_conflicts | 2 |
jd_context_authoritative_backstop | 1 |
jd_context_confirmation_blocked | 1 |
The focused and full checks pass.
| Check | Result |
|---|---|
| Focused pytest | 8 passed |
| Ruff | All checks passed |
| AIN-510 runtime authority contract | local_exact_cosine_authority_allowed |
| Full validation | pass |
No production boundary moved.
Build the local role-context query surface next.
The next slice should add a local role-context query surface that reads RoleResolutionDecisionV1.source_authority_status and routes each title through serve, fallback, abstain, or confirm-more-context. That is the production path for ambiguous titles like case manager, web designer, and director bi.
Start from the authority contract.
cd /srv/aina/aina-data-engine-room git status --short --branch uv run aina-data-engine --root /srv/aina/aina-data-engine-room ain-510-runtime-authority-contract --request-local-authority uv run aina-data-engine --root /srv/aina/aina-data-engine-room production-runtime-contracts uv run aina-data-engine --root /srv/aina/aina-data-engine-room validate
Use the source-authority status as the runtime routing signal, not as a report-only decoration.