synthesis_checkpoint

Save progress after completing meaningful work.

When to Call

Call checkpoint after any significant task:

Input Schema

ParameterTypeRequiredDescription
project_idstringYesProject ID from synthesis_start
summarystringYesBrief summary of what was accomplished
files_changedstring[]NoList of files modified
completed_stepsnumber[]No1-based indices of Next Steps to mark complete
add_next_stepstringNoNew step to add if discovered
detailsstringNoLonger description for work log

Example Request

{
  "project_id": "my-api-project",
  "summary": "Implemented JWT authentication",
  "files_changed": ["src/auth/jwt.js", "src/routes/login.js"],
  "completed_steps": [2],
  "add_next_step": "Add refresh token rotation"
}

Response

{
  "success": true,
  "project_id": "my-api-project",
  "summary": "Implemented JWT authentication",
  "actions": [
    "updated context",
    "completed step 2",
    "added next step",
    "created work-log entry"
  ]
}

What Gets Updated

Lesson Hints

If the summary contains keywords like "fix", "bug", "error", the response includes a hint:

"lesson_hint": {
  "should_create_lesson": true,
  "type": "incident",
  "reason": "This work involved fixing issues."
}