Notion → espec local → work
Sincroniza páginas Notion como specs locales; ejecuta sólo snapshots.
Notion → espec local → work
Principio
Notion jamás sirve ejecución en vivo. AgentFlow opera siempre snapshots filesystem ubicados .agentflow/specs/ (también alternativamente paths sources.local). Sync trae contenido remoto trabajo consume árboles disco + registros SQLite.
Producto/design sigue usando Notions mientras ingeniería repite corrida estable snapshot inmutable aislando caos medio vuelos donde editor cambia schemas.
Configuración
YAML igual que schema oficial activa connector nombra variable secreta identificador BD import pref .agentflow/specs.
sources:
notion:
enabled: true
token_env: NOTION_TOKEN
specs_database_id: "<your-database-id>"
import_path: .agentflow/specsExport secreto PAT shell:
export NOTION_TOKEN="ntn_..."Sincronizar
Individual URL via sync notion mientras tanto sync all recorrer fuentes opcionales habilitadas.
agentflow sync notion --page "https://www.notion.so/..."
agentflow sync allPrevisualización:
agentflow --dry-run sync notion --page "https://www.notion.so/..."Interactivo puede advertir ante sobrescritura archivo local tocado tras sync previo divergente manual.
Trabajar post snapshot
Lista + pipeline consultan mismo árbol descargado:
agentflow inbox --source notion
agentflow work "develop billing-v2" --source notionCompensaciones
| Beneficio | Riesgo |
|---|---|
| Gestión contenido stakeholder Notion cómodo | Fuga token repos si commit descuidados |
| Modo offline post sync | Derivación cambios props Notion ruptura parsers |