feat: scheduler_task_import — external task bridge (CF integration) #5
Labels
No labels
area:backend
area:cf-integration
area:flutter-ui
priority:blocking-v1
priority:v1-polish
type:docs
type:epic
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: eva/focus-flow#5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
CircuitForge (CF) wants to push tasks generated by CF products (starting with Kiwi, a pantry tracker) into Focus Flow so users have one calm place to see executive-function tasks. This is separate from #2 (LLM assistant) — this ticket is about a generic external-task-import surface, not natural language parsing.
Full design:
circuitforge-plans/shared/superpowers/specs/2026-07-05-focus-flow-task-bridge-design.md(private CF repo, ask Alan for the relevant section if needed).Proposed scope
New package
packages/scheduler_task_import(AGPL-3.0, matching the rest of this repo):127.0.0.1only, configurable portPOST /import/tasks— accepts one or more tasks in the schema below, upserts byexternal_id(idempotent){external_id, status, completed_at}back to a per-sourcecallback_urlscheduler_persistence(AGENTS.md section 2) —scheduler_coreshould not import this package directly, keep it swappable like the other adaptersTask schema (schema_version 1)
kindwill always be"flexible"from external sources in v1 — never"inflexible","critical","locked", or"surprise". External products should never be able to inject urgency into your scheduler's UX.statusis"active"or"cancelled"(source-side deletion/update should cancel the task, not just stop pushing updates).Privacy note
Everything stays on
127.0.0.1, no CF server touches this data. No cloud variant is in scope for this ticket.License note
This package is AGPL-3.0, written by you or a contributor under this repo's normal AGENTS.md workflow. CF is not contributing code directly to this ticket, just the schema/contract above and a Kiwi-side implementation in Kiwi's own repo. Happy to talk through the contract or adjust it if anything here doesn't fit your architecture.