anti-entropy-governanc…
Use when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or schema/persistence/source-of-truth boundaries; identify opportunities…
Use when a task is multi-step, may span context resets or sessions, uses subagents, or risks losing state before completion.
$ npx -y skills add GanyuanRan/Aegis --skill long-task-continuation --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/long-task-continuationContext preview
The summary Claude sees to decide when to auto-load this skill.
Use when a task is multi-step, may span context resets or sessions, uses subagents, or risks losing state before completion.
name: long-task-continuation description: "Use when a task is multi-step, may span context resets or sessions, uses subagents, or risks losing state before completion."
Keep long work checkpointed, resumable, drift-aware, and evidence-gated. This protocol does not execute plans, dispatch subagents, run tests, or grant completion authority.
The Method Pack owns continuation discipline only. It does not own the parent plan, host retry/watchdog behavior, authoritative `GateDecision`, evidence sufficiency, requirement acceptance, or completion.
Use this skill when the work has meaningful phases, may be compacted/resumed or handed off, uses subagents, or explicitly needs continuity and drift control. Architecture, contract, shared-workflow, and verification-gate changes also benefit from it. Do not force it onto a short answer or one-command check.
Choose exactly one state carrier:
needs handoff, or requires resumable state;
Multi-step, todo-driven, possible-compaction, and subagent use do not force durable records by themselves. Do not create both carriers or a record per slice.
A durable task has one process trail under `docs/aegis/work/YYYY-MM-DD-<slug>/`. It keeps logical intent/baseline state, the latest todo/checkpoint/resume state, terminal evidence/drift state, and a completion reflection when warranted. These are `TaskIntentDraft`, `BaselineReadSetHint`, `BaselineUsageDraft`, `ImpactStatementDraft`, `TodoCheckpointDraft`, `ResumeStateHint`, `DriftCheckDraft`, and `EvidenceBundleDraft` views—not authoritative runtime records or separate plan owners.
Read only the lifecycle-matched section of `durable-work-guidance.md`:
The reference owns artifact layout and `<aegis-workspace-helper>` command detail; this file owns carrier selection, resume order, drift decisions, and stop conditions.
An `Execution Readiness View` may be kept in the intent or active checkpoint for medium/high, handoff-prone, long-running, subagent-driven, architecture, contract, compatibility, or retirement-sensitive work. It renders existing intent, scope, baseline, owner, test, review, and drift constraints; it is not a new JSON artifact or completion authority.
Planless Slice Lane:
current checkpoint. For a no-parent direct bounded request with no new durable or unclear verification boundary, use an inline checkpoint.
`none — direct bounded request`), Files, Boundary, Verification, and Stop.
or direct bounded request through `verification-before-completion`.
create per-slice plans/specs or work records.
migration, persistence, security/permission, distribution/release surface, unclear verification boundary, or mismatch with parent scope or acceptance appears.
When durable architecture decisions are in scope, these work records are the preferred ADR Auto Backfill source. Preserve decision signals, source refs, alternatives, compatibility, retirement, drift, and baseline-sync questions.
Before execution:
1. Capture requested outcome, scope, non-goals, risks, parent plan/goal, success evidence, and stop states (`done | blocked | needs-verification | scope-exceeded`). 2. Identify required baseline refs and record acknowledged, cited, and missing refs. Missing authority pauses in `needs-baseline-readback`. 3. Choose inline or durable state once, then record the todo map, active slice, completed slices/evidence, blockers, next step, and current branch/HEAD. 4. When an `Execution Readiness View` exists, retain its intent lock, scope fence, baseline lock, compatibility/retirement boundary, tests, reviews, evidence, and rewind rules. 5. For a new helper-backed record, use `durable-work-guidance.md` to create and structurally check it before implementation.
A failed verification is another attempt in the current slice, not a new slice. Keep failed-attempt telemetry out of terminal evidence and normal commits. Only `evidence-finalized`, `blocked`, or `abandoned` is terminal. When retry state reaches `process-artifact-pressure`, stop auto-retry and route to `systematic-debugging` or `verification-before-completion`. Load the durable reference only when the attempt/evidence commands or sidecar rules are needed.
Before each slice, state the current goal/todo, intended edits, explicit non-edits, verification, and readiness alignment. A bounded parent-plan or no-parent slice uses the compact Slice Card rather than a new plan/spec.
After each slice, update completed todos, evidence refs, newly used baseline refs, blockers, next step, and drift decision. When an active helper-backed work record exists, read `durable-work-guidance.md` and update that same record; never create another workstream for bookkeeping.
When patch-shape/ripple triage, an H-class finding, or a bounded compatibility mitigation fired, a locally green result does not clear the direction. Retain `PatchShape`, `CanonicalOwner`, `U
Aegis Method Pack Make your AI coding agent trustworthy: fewer reworks, safer changes, proof before "done". English · 中文 · Fast-Track Playbook · 速通秘籍 Stop babysitting your agent.
Use when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or schema/persistence/source-of-truth boundaries; identify opportunities…
Use when defining ambiguous or high-complexity new features, product behavior, UI/component design, architecture choices, contract changes, or when…
Use when the user asks for caveman mode, fewer tokens, brief responses, compressed communication, or otherwise explicitly requests a much shorter answer.
Use when facing 2+ independent tasks without a written plan, with no shared state or sequential dependencies, where parallel delegation beats inline cost;…
Use when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active…
Use when executing a written implementation plan across sessions or with review checkpoints. Small or single-slice plans stay inline. For same-session…