Command Bar

The Command Bar is a Spotlight/Raycast-style overlay in the web portal that provides instant access to venture data and actions without navigating through tabs.

Activation

PlatformShortcut
Windows / LinuxCtrl+/
macOSCmd+/
CloseEsc
SubmitEnter
NavigateTab

Context Strip

When the Command Bar opens, it loads the current venture context and displays a strip at the top:

  • Active venture — name and prefix
  • Mission count — total and active missions
  • Fuel spent — current spend in dollars
  • Active missions — up to 5 most recent active missions with identifiers and priorities

Context loading is best-effort and non-blocking — the Command Bar opens immediately even if context is still loading.

Text Commands

Type a keyword and press Enter. The Command Bar recognizes these patterns:

InputAction
fuel, cost, spendShows fuel summary — total spent, venture count, active missions
missions, mission listLists up to 5 missions with identifier, priority, and title
squad, agent, agentsShows active squad count, Q-table size, and exploration rate
decision, decisionsDirects to mayros kaneru decisions list for full history
Any other textAcknowledged with a hint to use the CLI for full capabilities

Quick Actions

The Command Bar provides shortcuts for common operations:

  • Create mission — type a mission description to start creation
  • Check fuel — type "fuel" for an instant summary
  • Route task — describe a task to see which agent would handle it
  • List agents — type "agents" for squad status
  • Squad status — active squads and Q-learning metrics
  • Decisions — recent consensus outcomes

Voice Input

The Command Bar supports voice input via the Web Speech API:

  1. Click the microphone button (visible when Speech API is available)
  2. Speak your command
  3. Transcription auto-fills the input field
  4. Press Enter or wait for auto-submit

Voice is available in browsers that support SpeechRecognition or webkitSpeechRecognition (Chrome, Edge, Safari). The recognition runs in single-shot mode (continuous: false, interimResults: false) with en-US locale.

Voice States

StateIndicator
IdleMic button visible
RecordingMic button active, listening for speech
ProcessingInput field shows transcribed text
ErrorRecording stops, mic returns to idle

Keyboard Navigation

KeyAction
Ctrl+/ / Cmd+/Open Command Bar
EscClose Command Bar
EnterSubmit current query
TabNavigate between UI elements

Architecture

The Command Bar fetches venture data from the Gateway via WebSocket:

  • ventures.dashboard — for venture context, fuel stats, and mission lists
  • kaneru.dashboard — for squad and Q-learning metrics

All requests are non-blocking. If the Gateway is unavailable, the Command Bar still opens but shows limited context.

Next Steps

  • Canvas — full venture visualization surfaces
  • Setup Wizard — guided venture creation
  • Control UI — the web portal that hosts the Command Bar