# ApiVault Unified Developer Search

ApiVault v0.3.0 adds a unified metadata search layer across the existing ApiVault indexes.

## Scope

The unified search searches generated metadata only:

- API docs
- events and tables
- Interface resources
- XML templates
- TOC modules
- source examples
- secure patterns

## Commands

```text
/av search
/av global
```

## Safety

Unified search does not read source files at runtime, does not execute protected/secure code, and does not display full Blizzard source code. It only links generated metadata records that already exist in ApiVault data shards.

## Result Categories

```text
API
Resource
XML
Module
Example
Secure
```

## Cross-link behavior

Search results describe related metadata where available. Examples:

- API result → source usage count, source examples, secure pattern count
- Resource result → file metadata, XML template count, secure references
- XML result → template metadata and secure references
- Module result → TOC metadata and related counts
- Example result → generated example metadata and linked secure references
- Secure result → inspect-only secure pattern metadata

## Uncertainty policy

Search links are metadata relationships. They do not prove runtime behavior. Runtime behavior must be verified in-game, especially for context-dependent APIs, events, secure UI, protected APIs and combat-sensitive behavior.
