strategic-compact-resume
Checkpoint and resume long agent work when context pressure or a handoff could lose constraints, verified progress, or ownership of active jobs.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- strategic-compact-resume
- license
- MIT
- metadata
- { "source": "affaan-m/everything-claude-code", "source-commit": "846ffb75da9a5f4e677d927af1ad4a1951652267", "revision-status": "experimental-unbenchmarked" }
- description
- Checkpoint and resume long agent work when context pressure or a handoff could lose constraints, verified progress, or ownership of active jobs.
02 资源文件 3
- 许可证LICENSE1.0 KB
- 参考文档provenance/original-SKILL.md3.9 KB
- 参考文档references/token-accounting.md943 B
03 SKILL.md 正文
Resume from verified state
Write a small task-local checkpoint at a phase boundary, before a handoff, or when the runtime reports context pressure. Use the current context meter when available. See token accounting when deriving headroom from provider telemetry.
Keep what changes the next decision:
- Scope and authorization. Record the current objective, latest corrections, required constraints, and any pending decision. Preserve exact time gates and their timezones. Obtain explicit authorization when the task requires it.
- Work and evidence. Record the checkout or environment, relevant revision, completed checks with their input identities and evidence paths, unresolved failures, and the next actionable step. Use stable item IDs and the original total for large reviews. Count an item complete only when its required evidence exists. Keep raw outputs in their existing locations.
- Live work. Record the actual job or session handle, its owner, the last observed state, and the evidence required to declare it finished. For a local process, use an owned handle or an identity that includes creation time. A numeric PID can be reused.
On resumption, read the latest user instruction and applicable repository policy, then inspect current worktree and external state for the next action. Check the same live job before retrying or starting another. A wait expiring only ends the observation. If the handle is missing or status is unavailable, reconcile the authoritative service and its terminal artifacts before deciding whether to retry. Verify ownership before cleanup.
Bind completed checks to the inputs they actually used. Reuse valid evidence and rerun checks affected by changed source, configuration, or scope. Distinguish a terminal process from a successful deliverable by checking the required output and the outcome. Preserve failed attempts that explain the next action.
Write and read back the checkpoint before using the runtime's compaction or handoff mechanism. Continue from the next eligible item and update the record when the evidence changes. Keep task checkpoints out of personal memory and global hooks.
04 同仓库更多 Skills
makefile-generator-project-wrappers
Repair Python, Java and generic GNU Make wrappers that report false success, miss changed inputs or clean dependency environments. Preserve the actual project build system and test runner; use when adapting the collection's original Makefile generator.
makefile-generator-go
Author or repair GNU Make wrappers for Go modules, retaining Go's dependency discovery and build cache. Use when wrapper timestamps hide embedded-resource changes or build failures; preserve the project's existing build system and real test commands.
makefile-generator-cpp
Author or repair GNU Make builds for C++ executables, preserving compiler/linker flags, header dependencies and real project test contracts. Use the optional scaffold for a flat src directory; retain an existing build system unless the task requires changing it.
eval-harness-integrity
Design and verify matched coding-agent evaluations when comparing skills, prompts, models, or harnesses using executable acceptance checks and native result evidence.
eval-harness-evidence
Design and verify matched coding-agent evaluations when comparing skills, prompts, models, or harnesses using executable acceptance checks and native result evidence.
e2e-testing-current
Build or repair Playwright end-to-end tests, page objects, readiness checks and CI diagnostics. Use for browser journeys and flaky test investigation; preserve the application's real contracts and existing runner.