AINA Data Engine Room checkpoint · 2026-06-13 · branch ali/ain-506-p0-gate-2026-06-12

Runtime Contract Source-Authority Signal Handoff

The guarded JD-aware repair signal is now visible in promoted runtime contracts.

Ali Mehdi Mukadam · co-authored with Codex · 5 minute read

The Single Idea

The guarded JD-aware source-authority repair signal is now visible in the promoted runtime contract artifacts. Runtime consumers no longer have to infer whether a role decision came from deterministic payloads, a source-backed payload repair, a JD-aware local backstop, or a confirmation-blocked ambiguous context.

01 · What Changed

Runtime contracts now carry source-authority state.

This slice extends production_runtime_contracts without changing the public runtime boundary. RoleContextEvidenceV1 now carries richer JD context status values, and RoleResolutionDecisionV1 carries source-authority status, repair case id, and repair notes.

DeterministicExisting payload remains the default authority when source-backed and unambiguous.
BackstopRuntime payload repair can be named as a source-backed local fallback.
JD-awareFixture-ready JD context can become a local synthetic backstop.
BlockedAmbiguity and confirmation flags remain visible instead of being over-promoted.
02 · Why It Matters

This is the title-only correction made concrete.

Earlier work proved that title-only matching is not enough. A title like case manager can point to very different real-world jobs depending on JD, company, industry, responsibility text, and source context. This checkpoint turns that lesson into runtime-visible contract data rather than a side receipt.

Production readiness here means the engine can say why a personalization decision is safe, weak, blocked, or context-dependent. That is more valuable than forcing every generic title into a premature match.
03 · Current Proof

The generated runtime artifact is passing.

MetricValue
Runtime payload contracts1,004
Role-context evidence rows1,004
Role-resolution decisions1,004
Source-authority repair metadata decisions4
JD-authoritative decisions1
JD confirmation-blocked decisions1
JD confirmation-blocked role-context rows3
Source-conflict-preserved decisions2
Source-authority statusCount
deterministic_payload965
source_authority_incomplete35
runtime_payload_backstop_with_source_conflicts2
jd_context_authoritative_backstop1
jd_context_confirmation_blocked1
04 · Validation

The local gate stack is green.

CheckResult
Focused pytest7 passed
RuffAll checks passed
AIN-506 P0 gatepass
AIN-510 retrieval promotion gatepromotion_ready
Production runtime readinessready_to_harden_headless_production_runtime
Full validationpass

AIN-510 remains stable with 6,510 valid vectors, zero stale vectors, complete top 500 and top 1,000 coverage, and a known-pair mean cosine gap of 0.190463. Runtime embedding authority remains unpromoted.

05 · Files Touched

The slice is narrow.

The core edits are in /srv/aina/aina-data-engine-room/src/aina_data_engine/production_runtime_contracts.py and /srv/aina/aina-data-engine-room/tests/test_production_runtime_contracts.py. The remaining touched files are generated validation receipts and report companions under artifacts/validation and artifacts/reports.

No live Gemini call was made, no raw learner data was used, no public runtime route was unlocked, and no human_review fields were introduced.

The next slice should consume the signal.

The clean next move is to add the local query or consumer surface that reads source_authority_status directly, then add confirmation fixtures for the blocked JD-aware cases: case manager, director bi, and web designer. After that, clean-before-embed expansion can continue only for source families whose JD/source-authority evidence passes semantic checks.

Where to start

Start by running production-runtime-contracts and then wire consumers to the explicit source-authority status instead of parsing side receipts.