cycle sync — architecture
energy-aware task planner connecting cycle phases, chronotype, and zone of genius with notion/clickup. schedules and strategies tasks around your best energy windows.
status
in-progress — architecture phase
the concept
four layers combine to produce a match score, strategy, and reschedule signal for every task.
CYCLE PHASE → what your body is optimized for this week
CHRONOTYPE → when in the day your brain peaks
ZONE OF GENIUS → what type of work you're wired for
TASKS → pulled from notion or clickup
──────────────────────────────────────────────────────────
→ match score + strategy + reschedule signaljavascriptintelligence layers
cycle phase
computed from last period date + average cycle length.
chronotype
set once at onboarding.
zone of genius
user defines at onboarding. maps to ideal phase + time windows.
options: deep focus · creative · strategic · communication · admin · learning
task integration
pulled via oauth from notion or clickup.
reads: title, due date, priority, type/tag
writes back: energy_match score + recommended_slot
recommendation engine
for every task:
score = taskType × phaseMatch × chronotypeWindow × zoneOfGeniusMatch
output:
match → green (do it now) | yellow (doable, strategy attached) | red (move it)
strategy → 2–3 micro-strategies via claude api
reschedule → best day + time window if yellow or redjavascriptexample ai output
task: "write product strategy doc"
phase: luteal day 24 — detail energy, tires by 3pm
chronotype: bear — peak 9am–noon
zone of genius: strategic + written
→ decent match for luteal — this is refinement, not ideation.
do it 9–11am. use existing notes as scaffold, skip the blank page.
90-min focused block, editing mode only. no new ideas today.javascripttech stack
data model
users
id, chronotype, cycle_start, cycle_length (default 28),
zone_of_genius[], created_at
cycle_logs
id, user_id, date, cycle_day, energy_rating (1–5),
notes, symptoms[]
tasks (cached from notion/clickup)
id, user_id, external_id, source (notion|clickup),
title, due_date, priority, task_type,
energy_match, recommended_slot, synced_at
integrations
id, user_id, provider (notion|clickup),
access_token, workspace_id, database_idsqlbuild phases
phase 1 — core engine
phase 2 — task intelligence
phase 3 — integrations
phase 4 — learning layer
file structure
src/
app/
(auth)/ onboarding, login
(app)/ main app shell
page.tsx today view
week/ week forecast
tasks/ task list + match scores
log/ daily energy log
settings/ cycle, chronotype, integrations
components/
energy/ phase card, energy score, chronotype window
tasks/ task card, match badge, strategy drawer
onboarding/ quiz steps, zone picker
integrations/ notion connect, clickup connect
lib/
engine/ cycle.ts, chronotype.ts, scoring.ts, strategies.ts
integrations/ notion.ts, clickup.ts
ai/ claude.ts (strategy generation)
types/
cycle.ts, tasks.ts, integrations.tsjavascript