IdeaCredIdeaCred

brakit-ai/brakit

87

You writes your code. Brakit watches what it does.

What's novel

You writes your code. Brakit watches what it does.

Code Analysis

17 files read · 4 rounds

A zero-config, in-process API observability tool that monkeypatches Node.js HTTP servers and DB drivers to trace every request, query, and fetch call, then runs a rules engine to detect N+1 queries, PII leaks, duplicate calls, performance regressions, and security issues, serving results via a local

Strengths

Exceptionally well-architected with a clean event-bus pattern, safe wrapping that guarantees brakit failures never break the user's app, adaptive thresholds for performance detection that avoid false positives, and a thoughtful issue lifecycle with evidence-based auto-resolution. The instrumentation layer is non-invasive (diagnostics_channel for fetch, prototype patching for DB) and the graph builder's pending-buffer pattern elegantly solves the async timing problem.

Weaknesses

The security rules are regex-based pattern matching rather than deep semantic analysis, which limits their ability to catch obfuscated or novel attack patterns. The test suite (27 files) appears thin relative to the 198 source files, and I couldn't verify the depth of edge case coverage for the more complex paths like the graph builder clustering or the PII detection heuristics.

Score Breakdown

Innovation
6 (25%)
Craft
86 (35%)
Traction
19 (15%)
Scope
89 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+2

Craft

Ci+5
Tests+8
Polish+3
Releases+3
Has License+5
Code Quality+26
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+4
Has Dependency Mgmt+5

Traction

Forks+0
Stars+12
Hn Points+0
Watchers+0
Early Traction+5
Devto Reactions+0
Community Contribs+2

Scope

Commits+8
Languages+5
Subsystems+13
Bloat Penalty+0
Completeness+7
Contributors+6
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

90

Contributors

2

Files

296

Active weeks

6

TestsCI/CDREADMELicenseContributing

Repository

Language

TypeScript

Stars

11

Forks

0

License

MIT