Install
Works with Drupal: ^11.3Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
44.14 KB
MD5: 1ec5c1c4b2e02c72a3c1721ce28e7dce
SHA-1: f4ff890097c1c4456550023a356fb1c200033800
SHA-256: 85744d9e6147b2f466861b059c8d08d11251bc10605a0749e27322ffdd43132d
Download zip
77.64 KB
MD5: 916b10bb92b439ac61844edf5b24987d
SHA-1: 6f7e7459e9b0214b15b7f128ec71075de242372f
SHA-256: 8c714ba05307039154b0fd74c3c4b7ca040d4da01020cd725fe09e622f45fa51
Release notes
AI Architect (AIA) 1.0.0-alpha2
Release Date: February 16, 2026
This release adds a complete rollback system, comprehensive task history tracking, and verified Real AI integration with multiple providers.
π What's New in Alpha 2
π Rollback System
- Undo any operation with a single command
- Complete cleanup of content types, fields, taxonomies, and all configurations
- Safe operation with confirmation prompts
- Works for all three action types
- Command:
drush aia:rollback <task-id>
π Task History & Audit Logging
- Every execution logged to database with new
aia_taskentity - Track user, timestamp, payload, result, and rollback status
- Web interface at
/admin/reports/aia - Command:
drush aia:tasks - Full audit trail for compliance and debugging
π€ Real AI Integration (Verified Working)
- Fixed and tested with AI module 1.2.8+
- Compatible with Anthropic (Claude), Google Gemini, OpenAI, and other providers
- Verified with actual API calls to Gemini and Anthropic
- Proper JSON response cleaning and error handling
- Mock AI remains default for zero-cost development
β¨ Enhanced Admin UI
- Task history viewer with status indicators (Success/Failed/Rolled Back)
- Improved error messages and user feedback
- AJAX-powered action selection with descriptions
- Better navigation and polish
π¦ Installation
composer require drupal/aia drush en aia -y
π Quick Start
Using Mock AI (No Setup Required)
# Preview changes drush aia:dry-run generate_content_type # Execute with confirmation drush aia:execute generate_content_type # View task history drush aia:tasks # Rollback if needed drush aia:rollback 1
Using Real AI (Requires API Key)
- Install AI module:
composer require drupal/ai - Configure provider at
/admin/config/ai/providers - Set as default for "Chat" capability at
/admin/config/ai/settings - Edit
aia.services.ymlto switch from Mock to Real AI - Clear cache and test
π― Use Cases
Example 1: Complete Workflow
# Create content type drush aia:execute generate_content_type --auto-approve # Add field to it drush aia:execute add_field --auto-approve # Create taxonomy drush aia:execute generate_taxonomy --auto-approve # View history drush aia:tasks # Rollback if needed (reverse order) drush aia:rollback 3 drush aia:rollback 2 drush aia:rollback 1
Example 2: Safe Experimentation
# Try different configurations drush aia:execute generate_taxonomy # Output: Task ID: 1 # Not happy with the result? drush aia:rollback 1 # Try again drush aia:execute generate_taxonomy # Output: Task ID: 2 (different AI-generated result)
π§ Technical Details
- New Entity Type:
aia_taskcontent entity for persistent task storage - New Services:
aia.task_logger,aia.rollback_service,aia.logger - Database Schema: Automatically created on module install via entity definition manager
- Architecture: Full dependency injection, no static calls, 100% backward compatible
- Tests: 52 tests, 258 assertions, 100% core coverage
β οΈ Known Limitations
- Rollback only via Drush (UI-based rollback planned for Beta 1)
- Must rollback tasks individually (batch rollback planned)
- Cannot rollback failed tasks (only successful operations)
- Real AI requires external API and associated costs
π οΈ Upgrading from Alpha 1
- Update code:
composer update drupal/aia - Database updates:
drush updb -y(createsaia_tasktable) - Clear cache:
drush cr - Test:
drush aia:execute generate_taxonomy
No breaking changes - All Alpha 1 functionality remains unchanged.
π§ Roadmap to Beta 1
- Additional action plugins (Views, Blocks, Menus)
- UI-based rollback with confirmation dialogs
- Batch operations (rollback multiple tasks, execute multiple actions)
- Custom natural language prompts
- Export/import task configurations
- Enhanced validation and error recovery
π Feedback Welcome
This is an alpha release. Please report issues, share feedback, and suggest features in the issue queue.
If you test Real AI integration with your provider, please share your results!
π Resources
```
---