Reset local env

From c9r-io/orchestrator · View interactive version

Reset local env is an AI agent skill from the GitHub repository c9r-io/orchestrator. Reset local development state only after discovering the repository-owned reset contract; use project-scoped Orchestrator cleanup here and Docker Compose reset only for applicable generated projects.

How to use this skill

Skill file

Reset Local Environment

Reset is destructive. Resolve the exact state boundary first and preserve unrelated projects, tickets, and in-flight tasks.

Agent Orchestrator Repository

This repository has no Docker Compose reset contract. For isolated QA state, prefer the product-owned project boundary:

orchestrator delete project/<project> --force
orchestrator apply -f fixtures/manifests/bundles/<fixture>.yaml --project <project>

Before deletion, list tasks for the target project and confirm the project name. Do not delete ~/.orchestratord/, its SQLite database, or tracked files in docs/ticket/ as a routine reset.

If the database is missing, orchestrator init creates runtime state. It is not a reset command.

Generated Project Docker Branch

Only a target generated by project-bootstrap is expected to carry scripts/reset-docker.sh and docker/docker-compose.yml. Require both paths and preview the script before running it:

test -x scripts/reset-docker.sh
test -f docker/docker-compose.yml
sed -n '1,240p' scripts/reset-docker.sh

Then state explicitly that containers, project images, and volumes will be replaced. Run the repository-owned script only after the user-authorized target and data loss boundary are clear.

Verification

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.