cw_document_state
Checks whether SONAR has a project open by reading the window title, so agents know if document, view, and track commands are available before acting.
Instructions
Whether SONAR has a document open, read from the window title — the one piece of project state this process can see. This gates a lot: with no project the menu bar has only the application-level menus and the track controls do not exist, which makes view and document commands look broken. With a project open the menu tree is 270 entries and the track strips appear.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||