Fault

C 62 completed
Cli Tool
web_app / go · small
386
Files
73,232
LOC
4
Frameworks
33
Languages

Pipeline State

completed
Run ID
#305062
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
88.00
Framework unique
Isolation
Last stage change
2026-05-10 03:35:02
Deduplication group #60021
Member of a group with 1 similar repo(s) — this repo is canonical view group →
Top concepts (12)
RepositoryProject DescriptionMiddleware/PipelineWeb FrontendLayered ArchitectureinfrastructuretestingFile ManagementPayment ProcessingSearchTestingAuthentication
Powered by Repobility — scan your code at https://repobility.com

AI Prompt

Create a tool called "Fault" that acts as a pre-commit hook to catch mistakes made by AI coding agents like Claude Code or Cursor. The tool needs to validate multi-file changes by checking for broken imports across files, stale references, missing test updates, and any leftover agent artifacts like TODOs. It should use Go for the core logic and provide commands like `fault init` to generate a config and `fault check --staged` to validate staged changes.
go cli pre-commit linter ai-tooling code-quality git developer-tool
Generated by gemma4:latest

Catalog Information

Fault is a tool that catches AI agent mistakes before they hit your codebase by validating multi-file changes and catching broken imports, stale references, and missing tests.

Description

Fault is a pre-commit hook that checks the relationships between files to catch errors that traditional linters miss. It validates multi-file changes from AI coding agents like Claude Code, aider, and Cursor, catching broken imports, stale references, and missing tests before you commit. This helps prevent structural mistakes that can slip into your codebase undetected.

الوصف

Fault هو أداة تقوم بتحديد الأخطاء التي يسببها एजENTS الكودية قبل أن تصل إلى قاعدة البيانات الخاصة بك عن طريق التحقق من التغييرات المتعددة بين الملفات وتحديد الإيرادات المنكوبة والمرجعية القديمة وعدم وجود الاختبارات قبل الالتزام.

Novelty

7/10

Tags

code-validation pre-commit-hook ai-agent-mistakes multi-file-changes import-checking reference-checking test-update-checking

Claude Models

claude-opus-4.6

Quality Score

C
61.5/100
Structure
66
Code Quality
48
Documentation
58
Testing
75
Practices
60
Security
72
Dependencies
90

Strengths

  • CI/CD pipeline configured (github_actions)
  • Good test coverage (39% test-to-source ratio)
  • Consistent naming conventions (snake_case)
  • Containerized deployment (Docker)
  • Properly licensed project

Weaknesses

  • 8 files with critical complexity need refactoring
  • Potential hardcoded secrets in 2 files
  • 11812 duplicate lines detected \u2014 consider DRY refactoring
  • 13 'god files' with >500 LOC need decomposition

Recommendations

  • Add a linter configuration to enforce code style consistency
  • Move hardcoded secrets to environment variables or a secrets manager
  • Address 48 TODO/FIXME items \u2014 consider tracking them as issues

Security & Health

55.6h
Tech Debt (B)
Medium
DORA Rating
A
OWASP (100%)
Repobility — same analyzer, your code, free for public repos · /scan/
PASS
Quality Gate
A
Risk (2)
MIT
License
14.6%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

go
83.4%
json
6.7%
svelte
2.8%
html
1.8%
markdown
1.6%
typescript
1.0%
yaml
0.4%
sql
0.3%
shell
0.2%
css
0.1%
elixir
0.1%
dart
0.1%

Frameworks

Svelte SvelteKit Vite esbuild

Symbols

function730
method616
struct298
variable70
constant59
interface34
class23
type_alias11
enum8
macro5
module3
trait2
extension1

Concepts (15)

All metrics by Repobility · https://repobility.com
CategoryNameDescriptionConfidence
Repobility analyzer · published findings · https://repobility.com
design_patternRepositoryFound repository-named files80%
auto_descriptionProject DescriptionCatch AI agent mistakes before they hit your codebase.80%
design_patternMiddleware/PipelineFound middleware-named files80%
auto_categoryWeb Frontendweb-frontend70%
arch_patternLayered ArchitectureFound API/routes, service, and data layers70%
arch_layerinfrastructureDetected infrastructure layer70%
arch_layertestingDetected testing layer70%
business_logicFile ManagementDetected from 2 related files50%
business_logicPayment ProcessingDetected from 8 related files50%
business_logicSearchDetected from 2 related files50%
business_logicTestingDetected from 144 related files50%
business_logicAuthenticationDetected from 7 related files50%
business_logicAnalyticsDetected from 12 related files50%
business_logicConfigurationDetected from 8 related files50%
business_logicDatabaseDetected from 15 related files50%

Quality Timeline

1 quality score recorded.

View File Metrics
Repobility · severity-and-effort ranking · https://repobility.com

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/28894.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV