feat(media): controlled audio transcription derivations
Motivation
This continues the useful direction from #31 by @RaviTharuma. Memorix now has a controlled asset lifecycle, so transcription must be a durable derivative of a registered audio asset rather than a separate untracked MCP write path.
Scope
- Explicit audio asset to transcript derivative with source, provider/model, status, cost/audit, and retry provenance.
- Provider-specific configuration and credential resolution; no misleading fallback between incompatible providers.
- CLI as the complete management surface, with an intentionally bounded MCP operation.
- Quota, deletion, and reindex behavior that keep the transcript and its source asset consistent.
Acceptance
- A configured provider, unavailable provider, cancellation, cleanup, and recovery all have focused tests.
- CLI, MCP, and documentation describe the same behavior.
- No paid or ambient transcription is triggered by merely retrieving memory.
Credit
Created to preserve and evolve the design contribution in #31. The original PR remains the source of the initial audio-ingestion proposal.
Proposed implementation plan: build on the shared media-derivative contract from #173; add an explicit audio-to-transcript provider adapter with source/provider/model/status/cost/audit/retry metadata; expose a complete CLI and bounded MCP operation; make cancellation, unavailable providers, quota, deletion, and reindex deterministic; add offline tests and keep paid/ambient transcription opt-in only. Retrieval must not silently transcribe audio. The implementation will preserve and credit #31/RaviTharuma.