# Stage 81: Fuzzy Entity Link & Unlink (aq81_link_or_unlink_fuzzy_entities / DB-UNIT-08)

Links records of the same person across name typos, phonetic spellings, and shared handles while unlinking over-merged distinct people when hard negative contradictions appear.

- Atomic micro-queue: `aq81_link_or_unlink_fuzzy_entities` (visibility: `public_commons`)
- Backing database unit: `DB-UNIT-08` (`Opt-In Prompt & Inference Wire Proxy Rule Core`)
- Database cell: `telemetry-db.teleon.dev` (`teleon_core.prompt_proxy_rule_sets`, `teleon_core.direct_deterministic_hit_catalog`, `teleon_core.wire_observation_headers`)
- Claim row hydration: `single_self_contained_flat_task_row` (100% context inline, normalized writeback)
- Track 2 Sister queue (`SISTER-08`): `sq08-improve-proxy-queue.teleon.dev` (Tune direct-answer confidence thresholds, context byte budgets, and promote frequent queries to 0-call cards.)
- Lanes: Jaro-Winkler + Typo Link, Phonetic + Log-Bayes, Contradiction Unlink

## Execution engines & AI Agent freedom contract

- **Deterministic (0 model calls)**: `wire_metadata_rule_and_direct_responder_v1` (Jaro-Winkler, phonetic skeleton, QWERTY-typo Fellegi-Sunter linker & contradiction unlinker)
- **Hybrid (<=1 model call)**: `compact_context_selector_hybrid_v1`
- **AI Agent & Bot Fleet (1..6 calls)**: `custom_enterprise_policy_simulator_v1` (Ambiguous entity corroborator & contradiction evidence verifier)
  - Contract: **Instructions + Resources + Freedom to search for new resources and new ways not bound by instructions**

## Database invariants

- Rule evaluation matches metadata only (never prompt prose) with strict deny -> require -> select precedence.
- User BYO provider keys pass only to the user's chosen inference host and never enter Teleon storage.

## External & internal bot fleet actions

- Link misspelled and phonetic name variants when corroborated by handles or corridors
- Unlink over-merged common-name clusters immediately upon registry or birth-year contradiction
- Preserve immutable split_from_cluster_id lineage on every entity cluster split

## Sister self-tuning areas

- Tune direct_response_min_score and max_injected_context_bytes per model family
- Promote high-frequency repeated tasks into verified deterministic direct-hit cards
- Add wire codec support and aspect tags for new local/cloud inference endpoints
