[codex] fix: plan action identities before action build
loading diff…
The current action-building flow lets the builder invent the final class name, and Mercury derives the slug from that class name. That makes action identity drift likely: finder names, knowledge files, builder output, and final Mercury slugs can diverge, which then leads to cleanup renames later.
action_namer planner that computes final slugs and class names before code generationcreate_app and build_action use the planned action identity before knowledge creation and action buildingActionBuilderRunner callers to pass both action_name and class_namecheck_code enforces the expected class name, expected enum, and explicit enum declarationmake fmtmake chkuv run pytest -q cortex/tests/test_common/test_action_namer.py cortex/tests/test_tools/test_check_code.pyenum, so no base-framework change was needed