Summary
Epic: shuttle notion — sync tasks between an existing Notion database and local markdown (data/tasks/).
Local repository is the source of truth. Shuttle never creates databases, views, formulas, or board layout.
CLI convention (local-centric)
| Direction |
Verb |
Command |
| Notion → local |
ingest |
shuttle notion ingest |
| Local → Notion |
deploy |
shuttle notion deploy |
| Full loop |
sync |
shuttle notion sync (ingest then deploy) |
| Remote cleanup |
cleanup |
shuttle notion cleanup --yes |
Hidden legacy: download / upload, and older export / import.
Configuration
notion:
database_id: your-database-id
task_directory: data/tasks
cleanup_before_deploy: false
properties:
title: Name
status: Status
priority: Priority
tags: Tags
id: ID
created: Created
updated: Updated
Auth: NOTION_TOKEN (integration token). Never commit tokens.
Local task format
One file per task: data/tasks/{id}.md — YAML frontmatter + # Description / # Notes / # Checklist.
Current scaffold (shipped)
Child issues
Non-goals
Database creation, views, filters, formulas, relations, bidirectional sync (v1).
Definition of done (epic)
Execution
Close children #20–#23; link PRs to this epic.
Summary
Epic:
shuttle notion— sync tasks between an existing Notion database and local markdown (data/tasks/).Local repository is the source of truth. Shuttle never creates databases, views, formulas, or board layout.
CLI convention (local-centric)
ingestshuttle notion ingestdeployshuttle notion deploysyncshuttle notion sync(ingest then deploy)cleanupshuttle notion cleanup --yesHidden legacy:
download/upload, and olderexport/import.Configuration
Auth:
NOTION_TOKEN(integration token). Never commit tokens.Local task format
One file per task:
data/tasks/{id}.md— YAML frontmatter +# Description/# Notes/# Checklist.Current scaffold (shipped)
ingest/deploy/sync/cleanupwith token +database_idvalidationdownload,upload,export,import)shuttle/services/notion_sync.pystubs (NotImplementedError)data/tasks/.gitkeepscripts/notion/ingest.sh,deploy.sh,sync.sh,cleanup.shdocs/notion.md, README sectionChild issues
data/tasks/markdown)data/tasks/→ board)Non-goals
Database creation, views, filters, formulas, relations, bidirectional sync (v1).
Definition of done (epic)
Execution
Close children #20–#23; link PRs to this epic.