R/RelayEngineering intelligence

AI ENGINEERING COMMAND CENTER

Know the code.
Change it safely.

Get an architecture map, prioritized risks and a safe change plan.

github.com/
Public repositories · No token required
NEW · VERIFIED FIX

From production failure
to verified change.

Give Relay a signal. Its engineering agents trace the root cause, reproduce the failure, prepare the smallest safe patch and prove the result.

Evidence, not guesses.Every conclusion links back to a log, line of code, test or command result.
01

Investigate an incident

Paste a stack trace, log excerpt or bug report.

GPT-5.6 SOL

Project overview

acme/commerce-api

Event-driven commerce platform
maindemo From cache

Engineering score

89/100
Strong foundation. Address the focused findings to improve release confidence.

Executive summary · Heuristic fallback

A clean service boundary with three concentrated risks in authentication, database access, and release confidence.

100% eligible coverage24/24 files · 6 batches · 7 excluded
6Domains mapped3Priority findings6Agents completed
Recommended next step

Harden auth and order data access

3 proposed changes · 3 test additions

System architecture

How this codebase fits together

WEWeb App
APAPI Gateway
AUAuth
OROrders
PAPayments
POPostgres
Live architecture · 6 domains

Engineering scorecard

Quality by analyzed layer

100% eligible coverage
Architecture91
100% coverage92% confidence0 findings
Security76
100% coverage88% confidence1 findings

critical: Token verification accepts stale keys

Reliability92
100% coverage90% confidence0 findings
Performance86
100% coverage82% confidence1 findings

high: Order lookup can produce N+1 queries

Test quality92
100% coverage80% confidence1 findings

medium: Payment adapter lacks contract tests

Maintainability90
100% coverage90% confidence0 findings
Documentation94
100% coverage94% confidence0 findings
Dependencies93
100% coverage91% confidence0 findings

Priority findings

What deserves attention

critical

Token verification accepts stale keys

The auth path caches signing keys without a bounded TTL.

src/auth/verify.ts
high

Order lookup can produce N+1 queries

Line items are fetched inside the order iteration.

src/orders/service.ts
medium

Payment adapter lacks contract tests

Failure and retry semantics are not covered.

src/payments/adapter.ts