Repository navigation
v1.2.0 - Universal Protocol: Learning Persistence & Extended Commands
🌟 Highlights
The Starlight Protocol now learns from every mission. Successfully resolved semantic goals are saved to
starlight_memory.jsonExtended Commands API brings comprehensive automation support—dropdowns, checkboxes, scrolling, and keyboard actions are now first-class citizens with full semantic resolution.
✨ New Features
🧠 Learning Persistence
- Hub saves successful goal→selector mappings to on shutdown
starlight_memory.json - Automatically loads learned mappings on startup for instant self-healing
- Console shows learning activity:
[CBA Hub] 🧠 LEARNED: click:Submit -> button[type="submit"]
🎛️ Extended Commands
New automation commands with semantic goal support:
Command | IntentRunner Method -- | -- Dropdown selection | selectGoal('Country', 'usa') Checkbox check/uncheck | checkGoal('Terms'), uncheckGoal('Newsletter') Mouse hover | hoverGoal('Menu') Scroll to element | scrollToGoal('Footer'), scrollToBottom() Keyboard press | press('Enter'), type('Hello')🐛 Bug Fixes
- Fixed goal resolution order - Command-specific resolvers (fill, select, check) now run before default click resolver
- Fixed failure reporting - In-progress commands are properly recorded as failed when mission is interrupted
- Added screenshot capture for interrupted commands - Timed-out commands now show final state in report
📁 Files Changed
- src/hub.js - Learning system, extended commands, failure tracking
- src/intent_runner.js - New semantic goal methods
- schemas/starlight.intent.schema.json - Updated command enum
- sentinels/janitor.py - CAPTCHA detection patterns
- docs/user_guide.md - Phase 18 documentation