Validate namespace exists before starting Coder

t-352.4·WorkTask·
·
·
·Omni/Agent/Subagent/Coder.hs
Parent:t-352·Created1 month ago·Updated1 month ago

Description

Edit

Currently the init phase will catch a broken build but not a nonexistent namespace. If the user typos the namespace (e.g., 'Omni/Aget/Coder' instead of 'Omni/Agent/Coder'), the coder will fail with a confusing build error.

Add validation in runCoderInit: 1. Check if the namespace file exists (for .hs, .py, etc.) 2. For directory namespaces, check the directory exists 3. Return a clear InitFailed error if namespace is invalid

This gives immediate, clear feedback instead of a cryptic build failure.

Timeline (2)

🔄[human]Open → InProgress1 month ago
🔄[human]InProgress → Done1 month ago