[2026-02-01 16:03:06] Starting Notion sync...
[2026-02-01 16:03:08] Git pull complete
[2026-02-01 16:03:08] Syncing STATUS.md to System State...
TypeError: notion.databases.query is not a function
    at findCCRow (/root/clawd/scripts/sync-status-to-notion.js:55:43)
    at updateSystemState (/root/clawd/scripts/sync-status-to-notion.js:66:23)
    at main (/root/clawd/scripts/sync-status-to-notion.js:93:11)
[2026-02-01 16:03:08] Syncing INBOX.md to Work Tracker...
Found 0 tasks in INBOX.md
Inbox sync complete
[2026-02-01 16:03:08] Notion sync complete
[2026-02-01 16:30:01] Starting Notion sync...
[2026-02-01 16:30:02] Git pull complete
[2026-02-01 16:30:02] Syncing STATUS.md to System State...
@notionhq/client warn: request fail {
  code: 'invalid_request_url',
  message: 'Invalid request URL.',
  requestId: 'edb6b133-f22d-47d0-bacb-ed983d368561'
}
Query error: Invalid request URL.
Created CC row in System State
Status sync complete
[2026-02-01 16:30:04] Syncing INBOX.md to Work Tracker...
Found 0 tasks in INBOX.md
Inbox sync complete
[2026-02-01 16:30:04] Notion sync complete
[2026-02-01 17:00:01] Starting Notion sync...
[2026-02-01 17:00:03] Git pull complete
[2026-02-01 17:00:03] Syncing STATUS.md to System State...
@notionhq/client warn: request fail {
  code: 'invalid_request_url',
  message: 'Invalid request URL.',
  requestId: '1b035ab0-9e9b-4099-8261-ddacdc70b292'
}
Query error: Invalid request URL.
Created CC row in System State
Status sync complete
[2026-02-01 17:00:05] Syncing INBOX.md to Work Tracker...
Found 0 tasks in INBOX.md
Inbox sync complete
[2026-02-01 17:00:05] Notion sync complete
[2026-02-01 17:30:01] Starting Notion sync...
[2026-02-01 17:30:02] Git pull complete
[2026-02-01 17:30:02] Syncing STATUS.md to System State...
@notionhq/client warn: request fail {
  code: 'invalid_request_url',
  message: 'Invalid request URL.',
  requestId: 'ff37efd2-3396-4abd-8f64-337bbc3616ab'
}
Query error: Invalid request URL.
Created CC row in System State
Status sync complete
[2026-02-01 17:30:03] Syncing INBOX.md to Work Tracker...
Found 0 tasks in INBOX.md
Inbox sync complete
[2026-02-01 17:30:03] Notion sync complete
[2026-02-01 18:00:01] Starting Notion sync...
[2026-02-01 18:00:03] Git pull complete
[2026-02-01 18:00:03] Syncing STATUS.md to System State...
@notionhq/client warn: request fail {
  code: 'invalid_request_url',
  message: 'Invalid request URL.',
  requestId: '4bd29b8a-0926-4761-a89c-b0121c62e545'
}
Query error: Invalid request URL.
Created CC row in System State
Status sync complete
[2026-02-01 18:00:04] Syncing INBOX.md to Work Tracker...
Found 0 tasks in INBOX.md
Inbox sync complete
[2026-02-01 18:00:04] Notion sync complete
[2026-02-01 18:30:01] Starting Notion sync...
[2026-02-01 18:30:02] Git pull complete
[2026-02-01 18:30:02] Syncing STATUS.md to System State...
@notionhq/client warn: request fail {
  code: 'invalid_request_url',
  message: 'Invalid request URL.',
  requestId: '79f0003d-41b3-4a01-bea3-579e4587dd2c'
}
Query error: Invalid request URL.
Created CC row in System State
Status sync complete
[2026-02-01 18:30:03] Syncing INBOX.md to Work Tracker...
Found 0 tasks in INBOX.md
Inbox sync complete
[2026-02-01 18:30:03] Notion sync complete
[2026-02-01 19:00:01] Starting Notion sync...
[2026-02-01 19:00:03] Git pull complete
[2026-02-01 19:00:03] Syncing STATUS.md to System State...
@notionhq/client warn: request fail {
  code: 'invalid_request_url',
  message: 'Invalid request URL.',
  requestId: '65a9b692-7bc0-4ddf-aa2a-e5bae90f8262'
}
Query error: Invalid request URL.
Created CC row in System State
Status sync complete
[2026-02-01 19:00:04] Syncing INBOX.md to Work Tracker...
Found 0 tasks in INBOX.md
Inbox sync complete
[2026-02-01 19:00:04] Notion sync complete
[2026-02-01 19:30:01] Starting Notion sync...
[2026-02-01 19:30:02] Git pull complete
[2026-02-01 19:30:02] Syncing STATUS.md to System State...
@notionhq/client warn: request fail {
  code: 'invalid_request_url',
  message: 'Invalid request URL.',
  requestId: 'b56ce3cb-f9ab-4684-a112-d8a69d5324ba'
}
Query error: Invalid request URL.
Created CC row in System State
Status sync complete
[2026-02-01 19:30:04] Syncing INBOX.md to Work Tracker...
Found 0 tasks in INBOX.md
Inbox sync complete
[2026-02-01 19:30:04] Notion sync complete
[2026-02-01 20:00:01] Starting Notion sync...
[2026-02-01 20:00:03] Git pull complete
[2026-02-01 20:00:03] Syncing STATUS.md to System State...
@notionhq/client warn: request fail {
  code: 'invalid_request_url',
  message: 'Invalid request URL.',
  requestId: 'a58b2ce4-6c7c-455b-9c22-038d685d1032'
}
Query error: Invalid request URL.
Created CC row in System State
Status sync complete
[2026-02-01 20:00:04] Syncing INBOX.md to Work Tracker...
Found 0 tasks in INBOX.md
Inbox sync complete
[2026-02-01 20:00:04] Notion sync complete
[2026-02-01 20:30:01] Starting Notion sync...
[2026-02-01 20:30:02] Git pull complete
[2026-02-01 20:30:02] Syncing STATUS.md to System State...
@notionhq/client warn: request fail {
  code: 'invalid_request_url',
  message: 'Invalid request URL.',
  requestId: 'e489af9c-de18-4ffd-96c5-d0a3ed1a400c'
}
Query error: Invalid request URL.
Created CC row in System State
Status sync complete
[2026-02-01 20:30:03] Syncing INBOX.md to Work Tracker...
Found 0 tasks in INBOX.md
Inbox sync complete
[2026-02-01 20:30:03] Notion sync complete
[2026-02-01 21:00:01] Starting Notion sync...
[2026-02-01 21:00:02] Git pull complete
[2026-02-01 21:00:02] Syncing STATUS.md to System State...
@notionhq/client warn: request fail {
  code: 'invalid_request_url',
  message: 'Invalid request URL.',
  requestId: '0df5bb51-2ba1-4688-9589-1934b44f9e93'
}
Query error: Invalid request URL.
Created CC row in System State
Status sync complete
[2026-02-01 21:00:04] Syncing INBOX.md to Work Tracker...
Found 0 tasks in INBOX.md
Inbox sync complete
[2026-02-01 21:00:04] Notion sync complete
[2026-02-01 21:30:01] Starting Notion sync...
[2026-02-01 21:30:02] Git pull complete
[2026-02-01 21:30:02] Syncing STATUS.md to System State...
@notionhq/client warn: request fail {
  code: 'invalid_request_url',
  message: 'Invalid request URL.',
  requestId: '0d666ed0-215a-4f61-b515-3958d134ee1b'
}
Query error: Invalid request URL.
Created CC row in System State
Status sync complete
[2026-02-01 21:30:04] Syncing INBOX.md to Work Tracker...
Found 0 tasks in INBOX.md
Inbox sync complete
[2026-02-01 21:30:04] Notion sync complete
[2026-02-01 22:00:01] Starting Notion sync...
[2026-02-01 22:00:02] Git pull complete
[2026-02-01 22:00:02] Syncing STATUS.md to System State...
@notionhq/client warn: request fail {
  code: 'invalid_request_url',
  message: 'Invalid request URL.',
  requestId: '4c73c9a6-9cc7-48bd-a5c3-0dac39967c70'
}
Query error: Invalid request URL.
Created CC row in System State
Status sync complete
[2026-02-01 22:00:03] Syncing INBOX.md to Work Tracker...
Found 0 tasks in INBOX.md
Inbox sync complete
[2026-02-01 22:00:03] Notion sync complete
[2026-02-01 22:30:01] Starting Notion sync...
[2026-02-01 22:30:02] Git pull complete
[2026-02-01 22:30:02] Syncing STATUS.md to System State...
@notionhq/client warn: request fail {
  code: 'invalid_request_url',
  message: 'Invalid request URL.',
  requestId: 'f6f6d487-882a-4e61-bbf3-826cc71d20c8'
}
Query error: Invalid request URL.
Created CC row in System State
Status sync complete
[2026-02-01 22:30:04] Syncing INBOX.md to Work Tracker...
Found 0 tasks in INBOX.md
Inbox sync complete
[2026-02-01 22:30:04] Notion sync complete
[2026-02-01 23:00:02] Starting Notion sync...
[2026-02-01 23:00:03] Git pull complete
[2026-02-01 23:00:03] Syncing STATUS.md to System State...
@notionhq/client warn: request fail {
  code: 'invalid_request_url',
  message: 'Invalid request URL.',
  requestId: 'eb79d069-544b-47da-bc61-0d2e2e9e3c40'
}
Query error: Invalid request URL.
Created CC row in System State
Status sync complete
[2026-02-01 23:00:05] Syncing INBOX.md to Work Tracker...
Found 0 tasks in INBOX.md
Inbox sync complete
[2026-02-01 23:00:05] Notion sync complete
