IAV-1203/feat: add wizardCompleted state to sub-agents and enforce configuration gating
Summary
This MR introduces a new wizardCompleted flag to sub-agents in order to clearly distinguish between:
- Sub-agents that have completed the setup wizard
- Sub-agents that are still partially configured
Motivation
Previously, there was no explicit way to differentiate incomplete agents from fully configured ones. This created ambiguity and allowed access to features that require a fully configured agent.
Changes
- Added
wizardCompletedproperty to sub-agents - Updated logic to identify configuration state more explicitly
- Prepared feature gating based on:
- Wizard completion
- Workflow creation
- Agent activation
Impact
- Enables blocking access to advanced features until configuration is complete
- Improves UX by guiding users through required setup steps
- Reduces risk of misconfigured or unusable agents
Next Steps
- Enforce UI restrictions based on full configuration state
- Add visual indicators for incomplete vs complete agents
- Integrate with workflow and activation checks
Testing
- Verified correct differentiation between
wizardCompleted: trueandfalse - Ensured no regression in sub-agent listing and selection
Related Issues
Closes IAV-1203