myxce/docs
lei.chen 6020015fa7 feat(mcp-server): add scheduler_checkpoint + scheduler_restart tools
Expose two backend capabilities MCP previously omitted:
- scheduler_checkpoint: control action "checkpoint" (CRIU)
- scheduler_restart: POST /xce/v1/jobs/:id/restart (re-queues as a new
  job, resuming from the last checkpoint if one exists; returns new jobid)

schedulerclient gains CheckpointJob/RestartJob (RestartJobResult,
JobRestartRequest); Client interface updated. Both tools marked
destructive (confirm required). tools/list now reports 17 tools.

Unit tests added/updated in both modules — all pass. Backend endpoints
are existing apiserver routes; no backend changes in this commit.

Also syncs left_scheduler_work.md §八.4 (checkpoint/restart done; the
only remaining MCP tool gap is scheduler_modify, blocked on a controller
job-field-update opcode that does not exist yet).

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-08-30 10:36:54 +00:00
..
superpowers/plans update documents 2026-08-10 17:51:51 +08:00
aibot_poc_investiagting.md docs: mark PEND reason end-to-end done (bug-1513), note main_reason follow-up 2026-08-13 09:16:49 +00:00
Job-Finish-Robustness-设计文档.md fix(controller,worker): dual-state worker loss + resend actual job state (bug-1509 P3) 2026-08-06 06:49:24 +00:00
left_scheduler_work.md feat(mcp-server): add scheduler_checkpoint + scheduler_restart tools 2026-08-30 10:36:54 +00:00
pend-reason-investigation-design.md docs: PEND reason investigation + classification design (LSF-aligned) 2026-08-13 10:24:32 +00:00
Scheduler-Agent-设计文档.md docs: update status — Phase 2 done, human jobid, priorities (2026-08-13) 2026-08-13 03:35:00 +00:00