Skip to content

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Latest commit

 

History

236 Commits

Folders and files

Repository files navigation

Clarity

Engineering-organization intelligence for a CTO — turns deployments, incidents, infrastructure cost, AI-tool usage, and projects into decisions, not dashboards.

Product name provisional — rename here + in docs/ once the team locks it.


Competition

MAZA OVERCLOCK 2026


Team

Name GitHub Role
AbdulRahman AbuKarsh https://github.com/thisisabukarsh Team Lead
Osama Nimer https://github.com/Osama-Nimer Backend Engineer
Mohammad Al-Sallal https://github.com/mohasallal product manager

See TEAM.md for collaboration details and responsibilities.


Problem Statement

Emma is the CTO of a software company with 300+ engineers. Every day she must make critical engineering decisions across deployments, incidents, infrastructure, AI tools, and hundreds of ongoing projects. She doesn't need more data — she needs clarity.

Existing tools give her dashboards: walls of charts that require her to already know what to look for. At her scale, the signal is buried. Clarity inverts that: it ingests the organization's operational signals and surfaces what changed, why it matters, and where to act — so Emma understands, operates, and improves her engineering organization without drowning in metrics.


Unique Features

  • Insight cards, and charts — the system synthesizes raw signals into ranked, plain-language findings ("Payments deploy-failure rate up 3× this week; MTTR 4h vs 40m org median"), each drilling down into the underlying data.
  • One-click org synthesis — a Recompute org clarity action fires async workers that re-aggregate the whole organization and regenerate insights, with live progress — heavy work made visible.
  • Built to scale, honest about it — an HTTP gateway + gRPC core with a pre-aggregated read model designed for 1M-user read fan-out; the scaling path is documented and the seams are real (see ARCHITECTURE.md).
  • Bilingual — full English + Arabic (RTL) interface.

Demo

OmniEngine is fully self-serve — sign up, connect a GitHub org (or a single repo), and the whole console lights up with your real engineering data: repos become projects, commits/PRs are ingested, deployments and incidents are derived, and DORA metrics are computed live. The AI assistant answers questions grounded in that same data.

Item Details
Demo URL https://overclock.mentorajo.com/
Credentials Self-serve — sign up with any email; a one-time code is sent to your inbox
Landing page https://app.overclock.mentorajo.com/

Evaluation Guide

  1. Sign up (any email → OTP) → create your first product — you land in an isolated, empty tenant (real multi-tenancy: every query is scoped to your org membership).
  2. Connect GitHub (Integrations → Connect GitHub → paste a personal access token) → choose your org, a single repo, or personal repos → Sync repositories. Repos become projects; commits/PRs ingest; deployments/incidents are derived.
  3. Metrics → DORA scorecard + per-team and per-project breakdowns, computed from the data just synced (Elite/High/Medium/Low ratings against real benchmarks).
  4. Ask OmniEngine → questions about your org's engineering data get grounded, cited answers (vector retrieval over the ingested signals; falls back gracefully when there is nothing to ground on).
  5. Honesty check — non-GitHub integrations are labeled Coming soon; pages whose provider isn't connected say so instead of showing fake numbers.

Running Locally

Prerequisites

  • Node.js ≥ 20 + npm (backend services, src/be/*)
  • pnpm (frontend Turborepo, src/fe)
  • Docker + Docker Compose (Postgres 18, Redis 7, Qdrant)

Setup

# 1. Clone the repository
git clone https://github.com/Maza-Overclock/2026-team-mentorajo.git
cd 2026-team-mentorajo

See RUN.md for How to Run the project.

Verification

After following RUN.md, confirm the stack is healthy:

  • Console UI: open http://localhost:3000 or the configured console URL.
  • Gateway API: http://localhost:5000/api/v1 should be reachable through protected routes; unauthenticated protected org routes should return 401, which confirms the gateway and auth guard are active.
  • Core HTTP: http://localhost:5001 is the core HTTP listener for JWKS/health-style routes.
  • Core gRPC: mentora-core listens on 50052; gateway modules call it through proto contracts.
  • Worker: logs should include mentora-worker listening on queue "mentora-jobs".
  • Local Docker: docker compose ps from src/be/ should show postgres, redis, mentora-core, mentora-gateway, and mentora-worker running.

Technologies Used

Category Technologies
Languages TypeScript
Frameworks NestJS (backend), Next.js App Router (frontend)
Libraries Drizzle ORM, gRPC, BullMQ, Redis, TanStack Query, Redux Toolkit, next-intl, Tailwind CSS, jose (JWT), Zod
AI Tools Claude Code (architecture, restructure, scaffolding — see ARCHITECTURE.md)
Infrastructure Hetzner (self-hosted), Docker Compose, nginx, PostgreSQL, Redis, Qdrant

Repository Structure

.
├── README.md              # Project overview and setup instructions
├── ARCHITECTURE.md        # System design and technical decisions
├── TEAM.md                # Team members and collaboration model
├── OVERCLOCK.md           # Competition rules and submission requirements
├── RUN.md                 # Local runbook
├── deploy/                # Production Docker Compose and deployment topology
├── src/
│   ├── be/
│   │   ├── mentora-gateway/ # HTTP edge, auth guards, REST-to-gRPC proxy
│   │   ├── mentora-core/    # NestJS core: IAM/AuthRbac + org domain modules
│   │   ├── mentora-worker/  # BullMQ consumers for snapshots, insights, email, KB
│   │   └── docker-compose.yml
│   └── fe/
│       ├── apps/console/    # CTO console application
│       ├── apps/web/        # Public web app shell
│       └── packages/        # Shared UI, hooks, i18n, API client, config
├── docs/                  # Feature docs and screenshots
├── assets/                # Static assets (logo, branding)
└── .github/               # CI workflows and GitHub templates

See ARCHITECTURE.md for the full system design and extraction/scaling story.


Future Improvements

  • Wire live connectors for GitHub/GitLab, PagerDuty/Opsgenie, cloud billing, and AI-tool telemetry instead of relying on seeded/demo signals.
  • Move the remaining hot metric reads fully behind metric_snapshots + Redis and add load tests with k6 thresholds for the deployed gateway.
  • Expand the assistant into a richer retrieval workflow over Qdrant with explainable citations from deployments, incidents, costs, and integration docs.
  • Add production dashboards/alerts for gateway, core, worker, Postgres, Redis, and queue lag.
  • Harden multi-tenant organization scoping, audit logs, and integration secret rotation for production onboarding.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages