Fix Challenge Tool Configurations

Repair legacy or malformed tool configuration records after schema changes.

Back to challenges
Scope
Challenge records

Only configuration metadata is repaired.

Use when
Tools are missing

Especially after migrations or schema changes.

Warning
Admin utility

Run intentionally and review the result.

Challenge AI tools configuration repair

Use this when the AI tools tab is blank because older challenges do not have the current configuration structure.

Many older challenge records were saved before the current `ai_tool_configuration` shape was enforced. This utility normalizes those records so the builder and detail views can read them safely again.