Skip to content

Latest commit

 

History

History
56 lines (46 loc) · 1.69 KB

File metadata and controls

56 lines (46 loc) · 1.69 KB

CLI Wireframe

Command shape

solverforge-calendar-cli <group> <action> [flags]

Supported groups:

  • calendars
  • projects
  • events
  • dependencies
  • google auth
  • google calendars
  • google sync
  • google sync-status
  • google conflicts
  • ical import
  • tasks
  • planner settings
  • planner optimize
  • planner proposals

Success response

{
  "status": "ok",
  "data": { "...": "..." }
}

Error response

{
  "status": "error",
  "code": "validation_error",
  "message": "human-readable explanation"
}

Behavioral notes

  • Parsing is strict: unknown flags and malformed values fail fast.
  • There are no prompts or interactive confirmations.
  • Destructive behavior stays explicit through flags or direct commands.
  • google sync is explicit and non-interactive.
  • google sync-status and google conflicts expose durable sync health for automation.
  • ical import returns structured counts plus warnings for skipped or unsupported ICS shapes.
  • tasks create accepts required --title, --duration-minutes, and --target-calendar-id, plus --priority and --cognitive-load (low|medium|high).
  • planner settings update requires a timezone and repeatable typed weekly --availability DAY=HH:MM-HH:MM values before the first optimization; its cognitive fields define one global daily window for each load level plus high-load recovery settings.
  • planner optimize only creates a proposal. planner proposals apply <id> is the explicit mutation boundary and checks that inbox tasks have not changed.
  • Active Google calendars must have a successful explicit sync checkpoint before planner optimize; no planner command starts a Google sync.