#2313·exo

Track WarnExtraModel forbid follow-up: flip extra=ignore to extra=forbid after deprecation notice

Author: cdvankammenCreated Sep 18, 2026Updated Sep 18, 2026

Context

PR #2015 added WarnExtraModel (src/exo/utils/extra_fields_warner.py) as a deprecation path for unknown fields on public API request models: surface the problem in logs, then forbid in a follow-up.

The follow-up is currently untracked — no issue, no TODO, no card. This issue makes it explicit and schedulable per the deprecation policy (DEPRECATIONS.md).

Scope of follow-up

  • Flip the affected request models from extra=\"ignore\" (via WarnExtraModel) to extra=\"forbid\" once the warning has shipped for at least one minor-version window.
  • Consumers: src/exo/api/types/api.py:18, src/exo/api/types/claude_api.py:8.
  • Decide fate of the WarnExtraModel base class afterwards (keep as opt-in, or remove).

Deprecation policy reference

DEPRECATIONS.md (repo root): removals must first ship a marker for at least one minor-version window.

Tracking issue from GAP-DEP-4 (Exo-research cross-deprecation analysis, t_99c1804c).