بنقرة واحدة
checkpoint
Save session context to a checkpoint file so the next session can resume without losing state
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Save session context to a checkpoint file so the next session can resume without losing state
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | checkpoint |
| description | Save session context to a checkpoint file so the next session can resume without losing state |
When a task must be paused mid-way, save the exact state so the next session can continue without questions.
DATE=$(date +%Y%m%d-%H%M)
cat > /home/familia/axiomdb/docs/checkpoint-$DATE.md << 'CHECKPOINT'
# Checkpoint [DATE]
## Phase state
Phase: N — [name]
Current task: [name of the task within the sprint]
## What was being done exactly
[precise description — which function, which file, which problem]
## Pending decision (if any)
[what needed to be decided before continuing]
[options considered]
[missing information to decide]
## Exact next step
[precise instruction — enough to continue without context]
Example: "Implement fn insert() in crates/axiomdb-index/src/btree.rs line 42,
following the algorithm in the spec at specs/fase-02/spec-btree.md section 'Insert'"
## Test state
cargo test result: [X passing, Y failing]
Failing tests (expected during development):
- [test name] — [why it fails, what is missing]
## Modified files
- [file] — [what changed]
- [file] — [what changed]
## What NOT to redo
[things already tried that did not work]
CHECKPOINT
git add docs/checkpoint-$DATE.md
git commit -m "checkpoint: pause at [brief description]"
1. Read the most recent docs/checkpoint-DATE.md
2. Run targeted tests for the touched crate(s) and related dependents to see the current state
3. Reserve cargo test --workspace for the final close/review gate
4. Read the "Exact next step" and execute it
5. Delete the checkpoint when the task is complete
Verify and fix documented gaps one at a time — reproduce, root cause, minimal fix, wire-test regression, close
Discover undocumented gaps by comparing AxiomDB against MySQL/PostgreSQL — build inventory, run tests, classify, hand off to hunt-gap
Run Criterion micro-benchmarks and 3-Docker comparison benchmarks, verify no regression against MySQL/PostgreSQL
Explore approaches before proposing — read context, ask questions, present 2+ options with trade-offs, write sprint with dependencies
Systematic debug protocol — reproduce with minimal test, 2+ hypotheses, fix root cause, add regression test
Full phase close protocol — tests, clippy, fmt, benchmarks, docs, memory update, commit, push