Deep verify

From baekenough/oh-my-customcode · View interactive version

Deep verify is an AI agent skill from the GitHub repository baekenough/oh-my-customcode. Multi-angle release quality verification using parallel expert review teams

How to use this skill

Skill file

/deep-verify — Multi-Angle Release Quality Verification

Purpose

Performs deep cross-iterative verification of code changes before release, using multiple independent review perspectives to catch issues that single-pass review misses.

Usage

/deep-verify [branch|PR]

If no argument, verifies current branch against its base (usually develop).

Workflow

Round 1: Baseline Assessment

Round 2: Parallel Expert Review (6 agents)

Spawn 6 parallel review agents, each with a different focus:

  1. Correctness Reviewer — Logic errors, edge cases, off-by-one, null handling
  2. Security Reviewer — Injection, auth bypass, data exposure, OWASP top 10
  3. Performance Reviewer — O(n^2) loops, unbounded queries, memory leaks, missing indexes
  4. Integration Reviewer — API contract breaks, migration safety, cross-module side effects
  5. Philosophy Reviewer — Project concept/metaphor alignment, separation of concerns (R006), orchestrator rules (R010), advisory-first enforcement (R021), compilation metaphor integrity
  6. Regression & Performance Reviewer — Feature regression risk, API contract preservation, query performance impact, index effectiveness, algorithm complexity at realistic scale

Each agent receives the full diff and returns findings as structured JSON:

{
  "severity": "HIGH|MEDIUM|LOW",
  "file": "path/to/file",
  "line": 42,
  "finding": "description",
  "suggestion": "fix suggestion"
}

Round 3: Cross-Verification

Round 4: FALSE POSITIVE Filter

Round 5: Fix Application

Round 6: Final Verification

Round 7: Philosophy & Regression Gate

Regression Guards

Run these checks before declaring release READY. Any match is a release blocker.

| Guard | Detection Command | Severity | Remediation |

|-------|-------------------|----------|-------------|

| Residual deprecated /tmp sensitive-path bypass narrative | grep -rnE -e 'regardless of[[:space:]]+.?bypassPermissions' -e '(MUST|MANDATORY|Mandatory)[^\n]{0,80}/tmp/\*\.sh' -e '/tmp/\*\.sh[^\n]{0,80}(MANDATORY|MUST be used|bypass script)' .claude/skills/ templates/.claude/skills/ .claude/agents/ templates/.claude/agents/ 2>/dev/null | BLOCK | Remove the deprecated temp-script bypass narrative — it was retired in CC v2.1.121 (#1101). Under the bypassPermissions permission mode, write directly to .claude/ with Write/Edit. See R006 "Sensitive Path Handling" |

Why: The temp-script sensitive-path bypass for .claude/ paths was deprecated in CC v2.1.121 (2026-04-28, #1101). Direct Write/Edit/Bash on .claude/** works under the bypassPermissions permission mode; only catastrophic shell operations (rm -rf /) remain independently blocked. Residual bypass procedures or false "guard blocks bypassPermissions" claims in skills/agents are now defects — this guard catches them with a cheap deterministic grep (R023 shift-left: catch stale platform procedures before they reach expensive review).

Output Format

╔══════════════════════════════════════════════════════╗
║  Deep Verification Report                            ║
╠══════════════════════════════════════════════════════╣
║  Branch: {branch}                                    ║
║  Commits: {count}                                    ║
║  Files changed: {count}                              ║
╠══════════════════════════════════════════════════════╣
║  Findings:                                           ║
║    HIGH:   {n} ({confirmed} confirmed, {fp} FP)      ║
║    MEDIUM: {n} ({confirmed} confirmed, {fp} FP)      ║
║    LOW:    {n}                                       ║
╠══════════════════════════════════════════════════════╣
║  Fixes Applied: {n}                                  ║
║  Tests: {pass}/{total} passing                       ║
║  Verdict: READY / NEEDS REVIEW / BLOCKED             ║
║  Philosophy: ALIGNED / {n} CONCERNS                  ║
║  Regression: CLEAN / {n} RISKS                       ║
╚══════════════════════════════════════════════════════╝

Notes

Permission Mode

Pass mode: "bypassPermissions" on Agent calls for compatibility: it is required on CC < 2.1.212 (the per-call default, acceptEdits, overrides agent frontmatter permissionMode) and ignored on 2.1.212+, where subagents inherit the parent session's permission mode (adjustable via agent frontmatter permissionMode). Verify the effective mode before unattended runs: see R010 "Universal bypassPermissions".

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.