PABCD Initiative Documentation Hub pabcd_initiative codexclaw cli-jaw

Static Analysis Gate — Toolchain Commands & Rule Mapping

Source: dev/references/static-analysis-gate.md

Static Analysis Gate — Toolchain Commands & Rule Mapping

Companion to dev/SKILL.md §7. Read when running the static-analysis part of the

verification gate or configuring lint/typecheck for a project.

Per-Toolchain Gate Commands

ToolchainCommandMust Pass
TypeScripttsc --noEmitZero errors
Python (typed)mypy . or pyrightZero errors on changed files
ESLint / Biomenpx eslint . or npx biome check .Zero errors
Gogo vet ./...Zero issues
Rustcargo clippy -- -D warningsZero warnings
C#dotnet build /warnaserrorZero warnings

Per-Language Type Annotation Rules

LanguageRule TypeScriptstrict: true in tsconfig. Avoid implicit any; explicit any requires a line comment with justification. PythonType hints on all function params and returns (def fetch(url: str) -> Response:).
GoAlready enforced by compiler — ensure exported types have doc comments.
C# / JavaUse nullability annotations (?, @Nullable). Avoid raw Object or dynamic.
GeneralIf the language supports a strict/pedantic mode, enable it.

Common Rule ↔ Prose Mapping

Anti-Pattern (prose)ESLint / Biome Rule
Unused variable/importno-unused-vars, @typescript-eslint/no-unused-vars
Unsafe any type@typescript-eslint/no-explicit-any
Loose equality (==)eqeqeq
Circular importimport/no-cycle (ESLint), noBarrelFile/useImportRestrictions (Biome)
Unhandled async@typescript-eslint/no-floating-promises
var usageno-var, prefer-const
Complex functioncomplexity, max-depth, max-lines-per-function

This table is not exhaustive — the project's own config is the canonical rule set.

Sources

ClaimSourceChecked Biome barrel-file rule exists (noBarrelFile)https://biomejs.dev/linter/rules/no-barrel-file/2026-07-02
ponytail necessity-gate discipline (DEV-NECESSITY-01 source)https://github.com/DietrichGebert/ponytail2026-07-02