Checkpoint

From phj128/autoworker · View interactive version

Checkpoint is an AI agent skill from the GitHub repository phj128/autoworker. Record progress to subtask: Phase completion (from autoworker:code) or test results (from autoworker:test). Auto-detects upstream type from conversation context. Ends by calling autoworker:dispatch.

How to use this skill

Skill file

autoworker:checkpoint — Record Progress (Phase Check-off / Test Results)

Called after every autoworker:code or autoworker:test completion. Performs different record-keeping based on upstream type, then always calls autoworker:dispatch.

Execution Flow

1. Locate Subtask

Glob `subtask_*.md` (exclude subtask_template.md) →
  0 found → stop, prompt to create subtask
  1 found → use directly (backward compatible)
  multiple → grep `status:` to filter:
    - Files without status field treated as active (backward compatible)
    - Exactly 1 active → use it
    - 0 active → list all files + status, prompt user to choose
    - >1 active → report anomaly
→ Read → locate "## Plan", "## Verification Plan", and "## Test Results" sections

2. Determine Upstream Type

Prioritize conversation context; when context is insufficient, infer from file state:

3a. Upstream is autoworker:code → Phase Check-off

  1. Extract the just-completed Phase number and Step list from conversation context
  2. Edit subtask's "Plan" section: check off all Steps for that Phase [x]
  3. Append completion record in "Progress Log" section:
**Phase X complete**
<brief change description>

3b. Upstream is autoworker:test → Test Results Write

  1. Extract test level and per-item results from conversation context
  2. Edit subtask's "Test Results" section, format:
### L<N>
- `<command>`: <output summary> PASS/FAIL
  1. Check off passed items [x] in the "Verification Plan" section

4. Judgment Criteria

Hard standard for "pass":

5. Output Summary

Checkpoint recorded:
- Type: Phase completion / Test record
- Content: Phase X checked off / L<N> results written
→ Invoking autoworker:dispatch

6. Chain: Immediately Invoke autoworker:dispatch

After outputting the summary, immediately invoke autoworker:dispatch. Do not wait for user instructions, do nothing else.

Important Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.