Skip to content

v1.2.0 - Universal Protocol: Learning Persistence & Extended Commands

Choose a tag to compare

@godhiraj-code godhiraj-code released this 07 Jan 11:59
· 72 commits to main since this release
58839f4

🌟 Highlights

The Starlight Protocol now learns from every mission. Successfully resolved semantic goals are saved to 

starlight_memory.json
 and automatically reused for self-healing in future runs. The Hub becomes smarter with every execution.

Extended 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 
    starlight_memory.json
     on shutdown
  • 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