run_background_sync
Orchestrate scan, reconciliation, drift detection, and Todoist batch preview as a single auditable background run. Records run and logs steps; continues on failure.
Instructions
Run the finance pipeline as one auditable background run.
Orchestrates: scan charge candidates, reconcile transactions, detect drift, and preview the Todoist review batch (dry run). Records a run record plus an ordered operation-event log. A failing step is logged and the run continues (partial_success). Returns the run id, trace id, status, and step summaries.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of_date | Yes | ||
| options | No | ||
| run_type | No | daily_sync | |
| trigger_type | No | manual | |
| db_path | No |