ziros-worktree-discipline

Enforces non-destructive git commit practices for ZirOS worktrees via validation checks.

Updated Mar 27, 2026
One-click install
npx skills add https://github.com/AnubisQuantumCipher/ziros --skill ziros-worktree-discipline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ziros-worktree-discipline
Source: https://github.com/AnubisQuantumCipher/ziros/tree/main/.codex/skills/ziros-worktree-discipline
Command: npx skills add https://github.com/AnubisQuantumCipher/ziros --skill ziros-worktree-discipline

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enforce Codex-grade repo mutation discipline for ZirOS worktrees to prevent accidental edits and ensure auditable change paths.

Core Features & Use Cases

  • Enforce scoped edits to only touched files and folders
  • Run required tests and builds after tracked-file changes
  • Block or warn on destructive git operations and ensure safe commits

Quick Start

Run the discipline checker on your ZirOS worktree before committing to validate changes.

Frequently Asked Questions about ziros-worktree-discipline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent accidental repo mutations in ZirOS worktrees?

To prevent accidental repo mutations in ZirOS worktrees, enforce deterministic validation steps and guardrails that block destructive git operations and scope edits to only touched files.

What is non-destructive worktree mutation discipline?

Worktree mutation discipline is a practice that enforces scoped patch edits, runs postflight checks, and blocks destructive git operations to ensure auditable and safe repository change paths.

How do I run pre-commit quality checks for ZirOS worktree changes?

Run pre-commit quality checks by applying validation steps to multi-file changes, executing required tests and builds, and verifying postflight checks before finalizing your git commits.

Does the ZirOS discipline checker work with Hermes and operator runtime workflows?

Yes, the ZirOS discipline checker applies to Hermes and operator runtime workflows, enforcing safe commit practices and deterministic instructions across patch edits and multi-file changes.

How to ensure safe commits and block destructive git operations in a worktree?

Ensure safe commits by implementing guardrails that block destructive git operations, enforcing scoped edits to touched folders, and running required tests after tracked-file changes.

When should I use worktree mutation guardrails for patch edits?

Use worktree mutation guardrails when applying patch edits or multi-file changes to prevent accidental repository damage and ensure all changes pass postflight checks and test runs.