Manage resource lifecycle

From Mountain-Nomad-BC/Pacify-X · View interactive version

Manage resource lifecycle is an AI agent skill from the GitHub repository Mountain-Nomad-BC/Pacify-X. Classify, register, retain, reconcile, and safely reclaim PACIFY-X-owned workspaces and process trees with fail-closed path, evidence, quarantine, recovery, budget, and receipt controls. Use when tests, scans, builds, temporary environments, staging, certification, cancellation, restart recovery, cl

How to use this skill

Skill file

Manage Resource Lifecycle

Use runtime.resource_lifecycle as the sole runtime owner. Read

references/lifecycle-policy.md before authorizing reclamation, process-tree

termination, quarantine disposition, or run closure.

Workflow

  1. Identify the project, run, lane, creator, purpose, expected cleanup event, and

allowed cleanup root.

  1. Classify every resource as protected, evidence, quarantine, ephemeral,

or unknown. Retain on ambiguity.

  1. Register owned paths and processes when created; do not infer ownership from a

name, age, size, executable, or location.

  1. Promote required outputs and evidence outside disposable workspaces, then

validate their presence and readability.

  1. Mark the owning run completed, failed, cancelled, abandoned, or

recoverable. Preserve recoverable resources.

  1. Evaluate the safe reclamation gate. Treat every failed or unknown check as a

retain decision.

  1. Run one conservative cleanup worker by default, refuse link/reparse ambiguity,

verify the target is absent, and write a cleanup receipt.

  1. Reconcile active processes, unexplained ephemerals, quarantine, evidence,

cleanup failures, and receipts before certifying run closure.

Runtime interface

Boundaries

quarantine data.

registered identity remains provable.

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.