Skip to content

feat(enrichment): scaffold the review-enrichment service (REES) — hono server, bearer auth, Railway deploy - #1485

Merged
JSONbored merged 1 commit into
mainfrom
feat/review-enrichment-railway
Jun 26, 2026
Merged

feat(enrichment): scaffold the review-enrichment service (REES) — hono server, bearer auth, Railway deploy#1485
JSONbored merged 1 commit into
mainfrom
feat/review-enrichment-railway

Conversation

@JSONbored

Copy link
Copy Markdown
Owner

Standalone Railway microservice that returns a structured review brief the engine splices into the prompt next to grounding + RAG, supplying the heavy/external/historical analysis the no-checkout claude --print reviewer is blind to.

This scaffold ships the transport + contract only:

  • GET /health, GET /ready
  • POST /v1/enrich — constant-time Bearer auth → EnrichRequestReviewBrief (empty, non-partial)

The five analyzers (#1474#1478) land behind this stable contract.

Isolation: top-level dir (not a workspace), own Dockerfile/railway.json/lockfile; excluded from the engine image via .dockerignore; outside the engine's tsc/vitest/codecov scope, so the engine build/CI is untouched.

Deploy: separate Railway service, Root Directory review-enrichment, REES_SHARED_SECRET set as a service variable.

Closes #1473

…o server, bearer auth, Railway deploy

A standalone Railway microservice that returns a structured review brief the engine
splices into the prompt next to grounding + RAG, supplying the heavy/external/historical
analysis the no-checkout 'claude --print' reviewer is blind to. This scaffold ships the
transport + contract only: GET /health, GET /ready, and an authenticated POST /v1/enrich
(constant-time bearer) returning an empty non-partial brief. The five analyzers land
behind this stable contract (#1474-#1478). Self-contained: top-level dir (not a workspace),
own Dockerfile/railway.json/lockfile; excluded from the engine image via .dockerignore;
outside the engine's tsc/vitest/codecov scope.

Closes #1473
@dosubot dosubot Bot added the size:L label Jun 26, 2026
@JSONbored JSONbored self-assigned this Jun 26, 2026
@JSONbored JSONbored added the gittensor:feature Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier. label Jun 26, 2026
@superagent-security

Copy link
Copy Markdown
Contributor

Superagent didn't find any vulnerabilities or security issues in this PR.

@JSONbored
JSONbored merged commit b38debf into main Jun 26, 2026
14 checks passed
@JSONbored
JSONbored deleted the feat/review-enrichment-railway branch June 26, 2026 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gittensor:feature Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(selfhost): review-enrichment service scaffold — hono server, bearer auth, config loader + Railway deploy

1 participant