Skip to content

Commit 8cb0d77

Browse files
Rishi Kolisettyclaude
authored andcommitted
v1.0.0: CodeMax — full-stack MCP bridging frontend and backend analysis
9 tools: full_stack_audit, health_check, check_contracts, trace_issue, map_dependencies, scan_frontend, scan_backend, check_env, detect_project. Cross-stack analysis engine detects phantom calls, dead endpoints, contract drift, auth gaps, over-fetching, N+1 patterns, and env drift. 74 passing tests across 4 test suites. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
0 parents  commit 8cb0d77

26 files changed

+8227
-0
lines changed

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
node-version: [18, 20, 22]
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
19+
- name: Use Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
24+
- name: Install dependencies
25+
run: npm ci
26+
27+
- name: Build
28+
run: npm run build
29+
30+
- name: Run tests
31+
run: npm test
32+
33+
- name: Type check
34+
run: npm run lint

.github/workflows/release.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
publish:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- uses: actions/setup-node@v4
17+
with:
18+
node-version: 20
19+
registry-url: https://registry.npmjs.org/
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Build
25+
run: npm run build
26+
27+
- name: Run tests
28+
run: npm test
29+
30+
- name: Publish to npm
31+
run: npm publish
32+
env:
33+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
34+
35+
- name: Create GitHub Release
36+
uses: softprops/action-gh-release@v2
37+
with:
38+
generate_release_notes: true

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
node_modules/
2+
dist/
3+
coverage/
4+
*.tsbuildinfo
5+
.DS_Store
6+
*.log
7+
.env
8+
.env.*

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Changelog
2+
3+
## [1.0.0] - 2026-03-28
4+
5+
### Added
6+
- **Full-stack audit engine** — comprehensive cross-stack analysis with health scoring
7+
- **API contract verification** — phantom calls, dead endpoints, method & field mismatches
8+
- **Issue tracer** — bug attribution across frontend, backend, and cross-stack layers
9+
- **Dependency mapper** — frontend-to-backend connection graph with orphan detection
10+
- **Environment analyzer** — cross-references .env files against frontend & backend usage
11+
- **Health scoring** — 0-100 score across 6 dimensions (contracts, errors, security, performance, data flow, environment)
12+
- **Project detector** — auto-detects frameworks, monorepos, ORMs, and layer boundaries
13+
- **Frontend scanner** — finds fetch, axios, SWR, React Query, and server action calls
14+
- **Backend scanner** — finds Next.js (App + Pages router), Express, and server action handlers
15+
16+
### Supported Frameworks
17+
- **Frontend**: Next.js (App Router, Pages Router), React, Vue, Svelte, Angular
18+
- **Backend**: Next.js API Routes, Next.js Server Actions, Express, Fastify, tRPC, GraphQL
19+
- **ORM**: Prisma, Drizzle, TypeORM, Sequelize
20+
- **Package Managers**: npm, yarn, pnpm, bun
21+
22+
### Tools (9)
23+
- `full_stack_audit` — comprehensive analysis with health score
24+
- `health_check` — quick pulse check with top 5 issues
25+
- `check_contracts` — API contract verification
26+
- `trace_issue` — bug attribution and root cause analysis
27+
- `map_dependencies` — frontend ↔ backend dependency graph
28+
- `scan_frontend` — frontend-only API call analysis
29+
- `scan_backend` — backend-only route analysis
30+
- `check_env` — environment variable cross-referencing
31+
- `detect_project` — project structure detection

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Rishi Kolisetty
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)