titan-gate

Validate staged changes with codegraph checks and lint/build/test suites.

86|20|Updated Feb 21, 2026
One-click install
npx skills add https://github.com/optave/ops-codegraph-tool --skill titan-gate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: titan-gate
Source: https://github.com/optave/ops-codegraph-tool/tree/main/.claude/skills/titan-gate
Command: npx skills add https://github.com/optave/ops-codegraph-tool --skill titan-gate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides an automated gate that validates staged changes against codegraph quality checks and the project's lint/build/test, preventing faulty commits and enabling fast rollback when issues are detected.

Core Features & Use Cases

  • Automated change validation: runs codegraph checks for cycles, blast radius, and architecture boundaries on the patch being committed.
  • Project quality enforcement: executes lint, build, and tests to ensure changes don't regress the project.
  • Auto-rollback on failure: automatically reverts the commit if critical checks fail, keeping the repository safe.
  • Titan Paradigm Phase 4 governance: provides a pass/warn/fail verdict with a detailed gate log for auditing and traceability.

Quick Start

Stage your changes and run the Titan gate to validate code quality and automate rollback if issues are detected.

Frequently Asked Questions about titan-gate

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

FAQPage Schema
How do I validate staged changes against lint, build, and tests before committing?

An automated gate validates staged changes by running codegraph checks and your project's lint, build, and test suite. It prevents faulty commits by providing a pass, warn, or fail verdict and can auto-rollback critical failures.

What is codegraph architecture validation for CI workflows?

Codegraph architecture validation analyzes your patch to detect dependency cycles, calculate blast radius, and enforce architecture boundaries. This ensures staged changes do not violate structural integrity before entering the commit history.

How do I automatically rollback a commit when critical CI checks fail?

You can auto-rollback a commit by applying a gate-style workflow that automatically reverts staged changes if critical checks fail. This keeps your repository safe by ensuring faulty code never persists in the branch history.

Can I enforce architecture boundaries and prevent dependency cycles during a commit?

Yes, you can enforce architecture boundaries and prevent dependency cycles by running codegraph quality checks on the staged patch. The gate evaluates the changes and blocks the commit with a fail verdict if structural violations are detected.

Does this gate validate staged changes without requiring external dependencies?

Yes, the gate validates staged changes without external dependencies, optionally leveraging local scripts, references, or assets when present. It uses frontmatter-defined metadata for discovery and relies on your project's own lint, build, and test suite.

What are the limitations of using a gate-style workflow for commit validation?

A limitation of gate-style commit validation is that auto-rollback only triggers when critical checks fail, meaning warnings pass through. Additionally, it relies entirely on your project's existing lint, build, and test suite to detect regressions accurately.