Skip to content

feat(schedule): c3_schedule tool, c3 schedule CLI, Hub Schedules tab (2.156.0) - #219

Merged
drknowhow merged 3 commits into
mainfrom
feat/scheduled-tasks-tool
Oct 13, 2026
Merged

drknowhow merged 3 commits into
mainfrom
feat/scheduled-tasks-tool

Conversation

@drknowhow

Copy link
Copy Markdown
Owner

Stacked on #218. Last C3-side PR of the Scheduled Tasks series; the Desk app tab follows in c3-desktop.

  • c3_schedule MCP tool (cli/tools/schedule.py): create / update / enable / disable / delete / run_now / list / get / runs / preview / approvals / status. From an agent a schedule defaults to autonomy=approval and to the session's project. No decide action.
  • c3 schedule list|add|show|rm|enable|disable|run|runs|approvals|approve|deny.
  • Hub Schedules tab (cli/hub_ui/components/hub_schedules.js): list with run now / pause / edit / delete, pending-approval strip with Approve and Deny, recent runs with duration and cost, and a create/edit modal with a live next-fires preview.
  • Guide card for c3_schedule; version 2.156.0; changelog entry for the whole series.

Two commits: the tool and CLI, then the Hub tab and release bump. Full suite green locally on the stacked branch (3,3xx tests).

https://claude.ai/code/session_01JUcvmQq81aLo9ewD9Xc4qY

@groyep

groyep Bot commented Oct 13, 2026

Copy link
Copy Markdown

Gro could not finish this review.

@drknowhow
drknowhow force-pushed the feat/scheduled-tasks-tool branch from 555dd06 to 33eefc0 Compare October 13, 2026 14:10
@drknowhow
drknowhow force-pushed the feat/scheduled-tasks-surfaces branch from 730f44f to 8ed3ff6 Compare October 13, 2026 14:19
@drknowhow
drknowhow force-pushed the feat/scheduled-tasks-tool branch from 33eefc0 to 2230a8f Compare October 13, 2026 14:20
@drknowhow
drknowhow force-pushed the feat/scheduled-tasks-surfaces branch from 8ed3ff6 to 0cd0ec4 Compare October 13, 2026 14:32
Agents propose and inspect schedules with c3_schedule (create defaults to
autonomy=approval and the session's project; list, get, update, enable,
disable, delete, run_now, runs, preview, approvals, status). There is no
decide action: approving is human-only, here via `c3 schedule approve|deny`,
which joins list/add/show/rm/enable/disable/run/runs/approvals. Registered in
_C3_MCP_ALLOW. Verified: 8 handler tests plus the permissions registry test.

Claude-Session: https://claude.ai/code/session_01JUcvmQq81aLo9ewD9Xc4qY
The Hub gains a Schedules view: every schedule with run now / pause / edit /
delete, a strip of approvals waiting on the user with Approve and Deny, the
last 30 runs with duration and cost, and a create/edit modal whose cadence
field previews the next fires live. Registered as a persisted main_view and
bundled with the other hub components. The guide gets a c3_schedule card and
the version moves to 2.156.0 with the changelog entry for the series.

Claude-Session: https://claude.ai/code/session_01JUcvmQq81aLo9ewD9Xc4qY
The Desk gateway client speaks GET/POST/PUT/DELETE only.

Claude-Session: https://claude.ai/code/session_01JUcvmQq81aLo9ewD9Xc4qY
@drknowhow
drknowhow changed the base branch from feat/scheduled-tasks-surfaces to main October 13, 2026 14:48
@drknowhow
drknowhow force-pushed the feat/scheduled-tasks-tool branch from 2230a8f to 6c0b528 Compare October 13, 2026 14:49
@drknowhow drknowhow closed this Oct 13, 2026
@drknowhow drknowhow reopened this Oct 13, 2026
@groyep

groyep Bot commented Oct 13, 2026

Copy link
Copy Markdown

Gro could not finish this review.

@drknowhow
drknowhow merged commit bb6b1cf into main Oct 13, 2026
12 of 24 checks passed
@drknowhow
drknowhow deleted the feat/scheduled-tasks-tool branch October 13, 2026 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant