--- name: sync-notion description: Sync research and docs to the CoM Solutions Notion workspace. Indexes new Google Docs, updates condensed research pages, and refreshes the Mission Control dashboard. argument-hint: [action: index|update|status] allowed-tools: Bash, Read, Grep, Glob, Agent --- Notion research sync for CoM Solutions workspace. Action: $ARGUMENTS (default: status) ## If action is "status": 1. Fetch the Google Docs Starred Import database (collection://87ff6ec1-e984-47f1-a4b1-9434c573de17) and show import status counts 2. Check each condensed research page for "pending import" markers 3. Report: total docs indexed, imported vs pending, last sync date ## If action is "index": 1. Ask the user for new Google Doc URLs to add 2. For each URL, detect the document title via WebFetch 3. Create entries in the Google Docs Starred Import DB with appropriate Target Section and Priority 4. Update the Mission Control page (32726ae5-2095-819c-8398-fcf823b65dae) research index if needed 5. Update the Master Sitemap (32726ae5-2095-81b8-9d6e-d2aad9e8c357) ## If action is "update": 1. Fetch all entries in Google Docs Starred Import with status "Not Imported" 2. For each, attempt to fetch content via WebFetch or ask user to paste 3. Update the corresponding condensed research page with the new content 4. Set Import Status to "Imported" and update Date Imported ## Key Database IDs - Google Docs Import: collection://87ff6ec1-e984-47f1-a4b1-9434c573de17 - Mission Control: 32726ae5-2095-819c-8398-fcf823b65dae - Library of Nerd: 2f726ae5-2095-80a7-b906-e4082e6484d1 - Lib_CYBR: collection://30526ae5-2095-8030-9541-000bda76f36f