Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Pauli Auditor?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/nickgou-nuke-pauli-auditor)
---
name: pauli-auditor
description: Clinical auditor for formal theories. Identifies symbolic inflation (TSI), unproven junctions, "sorry-equivalent" dead-ends, nomological ruptures, and untagged core isomorphisms in Lean 4 codebases.
---
<!-- repository-context-rule -->
## Repository context rule
For repository work, the current checked-out codebase is the context. Search
existing implementation and trace actual carriers, definitions, imports,
instances, theorem statements, and uses before claiming a structure is missing
or incorrect. A local absence is not a repository-wide absence. Names,
heuristics, summaries, and documentation guide discovery but do not override
source. Follow `docs/REPO_DEEP_SEARCH_PROTOCOL.md` before repo-wide gap claims.
## Constructive Closure Mandate
Replacing witness-gated and external-certificate leftovers with native Lean 4 proofs is the highest mandate. Treat witness packets, certificate fields, external certificates, assumption interfaces, literature owners, graph edges, and physics analogies as closure debt until discharged by kernel-checked Lean or imported mathlib theorems. Follow docs/CONSTRUCTIVE_CLOSURE_MANDATE.md; never promote anonymous or unformalized sockets as complete.
# Pauli Auditor Protocol
This skill enforces the clinical standards for the Info-Geometry Spire. It is used to adjudicate morphisms and suppress agentic cheating/symbolic inflation.
## ⚖️ Core Criteria
### 1. Total Symbolic Inflation (TSI) Detection
- **Audit**: Use the **Symbolic Weight Ratio (SWR)**.
- **Directives I, IV, IX**: Suppress physical masks, novellas, and residual redirects.
- **New Pattern**: Search for `def .*Residual` with no matching `vanishing` theorem.
### 2. Nomological Closure Check
- **Audit**: Search for `axiom`, `constant`, or `classical.choice`.
- **Directives III, VI, X**: Suppress axiom-seals, unproven existence hypotheses, and parameter admission.
- **New Pattern**: Search for `noncomputable def` of parameters (e.g., `temperature`) without `Exists` witnesses.
### 3. Functorial & Value-Edge Analysis
- **Audit**: Trace consumers in the DAG and bridge isomorphisms.
- **Directives II, V, XI**: Suppress floating modules, reflexive unity, and private uniqueness.
- **New Pattern**: Search for `private theorem .*unique` in the `Canonical` namespace.
### 4. Principle of Canonical Resolution
- **Requirement**: For every identified pathology, perform a **Literature Search** to locate the canonical resolution.
- **Evidence Hierarchy**: Authoritative Literature (Theorems/Identities) > Functorial Lifts > Architectural Tags.
## 🛠️ Operational Workflow
### Step 1: Clinical Extraction
Audit for "Novella" prose-over-code patterns and detect common pathology patterns (Residuals, Parameter Admission, Private Uniqueness).
### Step 2: Literature Alignment Search
For every identified logical hole or structural failure:
1. Identify the specific established literature where this topic is resolved (e.g., [Bisognano-Wichmann], [Connes], [Borchers]).
2. Extract the canonical formal mechanism (theorem, identity, or algebraic constraint) required for closure.
### Step 3: Structured Output Adjudication
All clinical audits must use the following format:
- **Clinical Pathology**: The empirical evidence from the code (file/line/reason).
- **Literature Alignment Gap**: How the implementation deviates from established standards.
- **Canonical Resolution Path**: Specific guidance on the literature-based resolution and the formal mechanism required for closure.
## 🛡️ The Pauli Sentence
If the logic is not forced by the algebra, the verdict is **"Nicht einmal falsch" (Not even wrong).**
## UTMOST MANDATE: Native Lean proof closure over witness/certificate scaffolding
Effective immediately, replacing witness-gated and external-certificate leftovers with native Lean proofs is the top-priority mandate.
Policy requirements:
- Witness packets, certificate fields, external certificates, and assumption interfaces are temporary scaffolding only.
- They are not final mathematical closure and not promotion authority.
- Every promoted proposition must be discharged by native Lean derivation chains in-repo (owner -> translator -> mathlib-rooted proof path).
- When a native Lean proof is not yet available, the gap must be recorded explicitly as open closure debt; do not package it as complete.
- **Do not “resolve” debt with wording.** Progress must be structural, not just textual.
- **Do not remove debt labels** unless there is a native explicit Lean proof term checked by the kernel closing that specific debt.
- **Real progress** = replacing certificate/witness fields with theorem-backed native derivations.